summaryrefslogtreecommitdiffstats
path: root/files/slackpkg
Commit message (Collapse)AuthorAgeFilesLines
* Automatically rebuild package lists if missingpiterpunk2021-11-281-2/+1
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* New exit status for different situationspiterpunk2021-10-121-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | To make easier to do an unattended slackpkg update/upgrade process, this commit provides different exit codes to many situations: 0 Successful slackpkg execution. 1 Something wrong happened. 20 No package found to be downloaded, installed, reinstalled, upgraded, or removed. 50 Slackpkg itself was upgraded and you need to re-run it. 100 There are pending updates. Code and the main manpage are updated accordingly. In addition, this commit also: - removes the ChangeLog.txt in doinst.sh, so the needed 'slackpkg update' after Slackpkg upgrade won't says it's all OK and don't need to redo the package lists - removes AUTHORS from manpage. Nowadays there are code from many people in Slackpkg and shows a bit unfair to have only my and Evaldo's name listed there. Signed-off-by: Robby Workman <rworkman@slackware.com>
* Harden slackpkg with respect to obtaining GPG keyRobby Workman2021-06-041-11/+2
| | | | | Co-authored-by: CRTS <crts@gmx.net> Reviewed-by: Piter PUNK <piterpunk@slackware.com>
* Safer config sourcing.Dave Woodfall2021-04-051-1/+1
| | | | Guards against accidents/typos in the config.
* files/slackpkg: replace #!/bin/sh with #!/bin/bashRobby Workman2021-04-041-1/+1
| | | | | | From Eugen Wissner: /usr/sbin/slackpkg claims to be a /bin/sh script, but it is not, since it contains bashisms (bash arrays in the configuration, bash functions).
* Fix display of blacklisted packagesRobby Workman2021-03-121-1/+3
|
* Fix exit code for pending updates.Dave Woodfall2021-03-121-0/+1
|
* Use https for all slackpkg homepage linksRobby Workman2021-03-021-1/+1
|
* Convert ${ROOT}/${WORKDIR} > ${WORKDIR}Dave Woodfall2021-02-161-4/+8
| | | | | | | All ${WORKDIR} == old ${ROOT}/${WORKDIR} Set ${CONF} depending on ${ROOT} Signed-off-by: Robby Workman <rworkman@slackware.com>
* Further fixup/enhancement to blacklisting issuesRobby Workman2021-02-111-11/+3
|
* Fix "slackpkg blacklist" so that it shows blacklist againRobby Workman2021-02-111-1/+5
|
* Do not allow adding blacklist packages from slackpkg execRobby Workman2021-02-041-17/+5
| | | | | | | As of slackpkg shipped with Slackware 15.0, it is no longer supported to add packages to /etc/slackpkg/blacklist using the slackpkg executable; this should only be done with an editor pointing at /etc/slackpkg/blacklist
* Add aaa_glibc-solibs and aaa_libraries to early routineRobby Workman2021-02-041-1/+1
|
* Add show-changelog option and update manpagePeter Hyman2021-01-041-1/+10
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* Changes to checkchangelog functionPeter Hyman2021-01-041-2/+4
| | | | | | | | | | * Modify checkchangelog() function to only check CHECKSUMS.md5.asc. * Remove unneeded check of ChangeLog.txt from checkchangelog() function. * Move fetching of ChangeLog.txt to updatefilelists() function. * Modify check-updates to output need to update to stderr so cron jobs will notify sysadmin. Signed-off-by: Robby Workman <rworkman@slackware.com>
* Revert "More fixups for alternate ROOT ; thanks to zerouno."Robby Workman2020-02-261-3/+3
| | | | | | | | | This reverts commit fcc58ff5068146ab016c2f897bc14d4482f4a9cd because it breaks lxc container creation; ponce stated on LQ that "seems that forcing $CONF under $ROOT is what break things here: $CONF in the template is used to have a temporary location, outside of the container, in which to store the template, a blacklist and a mirror configuration for the container creation"
* More fixups for alternate ROOT ; thanks to zerouno.Robby Workman2020-02-191-3/+3
|
* Add config option to allow *not* saving .orig configsDarren Austin2018-09-191-0/+8
| | | | | | | | | | | | | | When admins choose to allow slackpkg new-config to overwrite currently installed config files with the .new counterparts from an upgraded package, slackpkg has traditionally created backups of the config files first, with the backups being written out with .orig extensions. This commit does not change the default behavior, but it does allow it to be turned off. TLDR: set "ORIG_BACKUPS" to "off" in /etc/slackpkg/slackpkg.conf if you do not wish to have .orig files left over Signed-off-by: Robby Workman <rworkman@slackware.com>
* files/slackpkg: SOURCE handling - land softer if no trailing /Didier Spaier2018-01-061-2/+15
|
* slackpkg: Abort if system date is near epochRobby Workman2018-01-031-0/+17
| | | | This merges slackpkg-quit-on-epoch.patch from Slackware ARM
* Add $ROOT to $WORKDIR, $TEMP, and $TMPDIR instancesRobby Workman2018-01-021-4/+5
| | | | | | | | This *should* have no effect if $ROOT is blank Files modified: files/core-functions.sh files/slackpkg
* *: Initial commit of slackpkg (as of 2.82.2 release)2.82.2Robby Workman2017-10-221-0/+574