Commit graph

164 commits

Author SHA1 Message Date
Peter Hyman
8aad60b3ab Update slackpkg.conf.new and slackpkg.conf.5
- Show DOWNLOADER options for curl usage.
- Update manpage date and slackpkg version.
2022-06-20 07:03:54 -05:00
Robby Workman
b211490ee5 Release 15.0.10 2022-01-17 00:41:07 -06:00
Robby Workman
31fcf9620e Fix mirrors.ucr.ac.cr link address
Thanks to Emmet Ford.
2022-01-16 23:11:50 -06:00
Robby Workman
29b631f7d5 Remove wroc.pl mirrors (very stale)
Thanks to Emmet Ford.
2022-01-16 23:05:22 -06:00
Robby Workman
215a66f0c7 Remove kddilabs.jp from mirrors (very stale)
Thanks to Emmet Ford.
2022-01-16 23:04:09 -06:00
piterpunk
9d5166d13b Unattended usage improvements
- When in batch mode, don't wait for <enter> after kernel upgrade,
  so Slackpkg will not wait forever.
- Also in batch mode, allow to set a default action about what to
  do with .new config files
2022-01-16 02:54:16 -06:00
piterpunk
f8dfb7722f File to flag if the system needs restart
Creates /var/run/needs_restarting file if any "critical" package got
upgraded. As the /var/run/ is ephemeral and renewed each boot, the
file disappears after reboot.

The packages that flags the restart need are:

- kernel-generic, kernel-huge: as a new kernel needs a restart to be
  running.
- glibc, glibc-solibs: Restart is the only way to be sure that all
  running binaries are using the new glibc.
- eudev, elogind, dbus: those provides some very basic system
  services.
- openssl, openssl-solibs: security bugs on those libs are dangerous,
  the reboot makes sure that all running binaries are using the newer
  version.
2022-01-16 02:52:09 -06:00
Robby Workman
0ea2cf2f56 Release 15.0.9 2021-12-12 18:28:03 -06:00
Emmet Ford
a9664cecf4 files/mirrors-x86*: Remove bad mirrors from list
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-11-28 22:33:48 -06:00
piterpunk
ea08809a75 Automatically rebuild package lists if missing
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-11-28 01:35:37 -06:00
Robby Workman
25aac7e027 Release 15.0.8 2021-10-24 19:45:56 -05:00
piterpunk
13c79b1eb2 New exit status for different situations
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>
2021-10-12 00:34:27 -05:00
Robby Workman
9862db7e31 Release 15.0.7 2021-08-15 21:15:07 -05:00
Robby Workman
36c74cd719 Remove ftp://spout.ussg.indiana.edu from mirrorlist
Thanks to Andy Alt on LQ.
2021-07-13 23:44:18 -05:00
JK Wood
f9f1004bc7 Allow "slackpkg help" to work after slackpkg is upgraded
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-07-11 02:53:04 -05:00
Robby Workman
8ef7e17bb4 Add README.md for github display (not packaged) 2021-07-06 22:39:11 -05:00
Robby Workman
76629f61ba Release 15.0.6 2021-07-05 22:46:39 -05:00
Robby Workman
bd0e7982f8 Fix getting gpg key on ARM ; use only www.slackware.com 2021-07-05 22:46:39 -05:00
Robby Workman
58dabfd6a9 Remove support for Slackintosh project - it's dead, Jim 2021-06-09 11:53:22 -05:00
Robby Workman
cd95834328 Release 15.0.5 2021-06-04 22:56:09 -05:00
Koichi Murase
ae1b8712a6 Add "--" option to "command cd" in bash completion file
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-06-04 22:52:15 -05:00
Robby Workman
1d0b67507a Release 15.0.4 2021-06-04 22:33:03 -05:00
Robby Workman
4d5e9bce79 shell-completions/slackpkg.bash: add "show-changelog" 2021-06-04 22:33:03 -05:00
Robby Workman
911063fce4 Import bash-completion file from upstream project
Thanks to Igor Murzov <igor@gplsoft.org> for the initial
contribution of this file to the upstream bash-completion
project, and thanks to Ville Skyttä <ville.skytta@iki.fi>
and Koichi Murase <myoga.murase@gmail.com> for various
changes and fixes since then.

Co-authored-by: Igor Murzov <igor@gplsoft.org>
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2021-06-04 22:24:49 -05:00
piterpunk
ab87149522 Added the new-config actions for specific files
- Added code to parse a list with the .new files and the default
  action to do.
- Added post-functions.conf file to hold the aforementioned list
  and possible future configurations.
- Updated the SlackBuild to install the post-functions.conf file
2021-06-04 22:24:28 -05:00
Robby Workman
3c4c175de8 Harden slackpkg with respect to obtaining GPG key
Co-authored-by: CRTS <crts@gmx.net>
Reviewed-by: Piter PUNK <piterpunk@slackware.com>
2021-06-04 22:23:27 -05:00
Robby Workman
c43af13723 Release slackpkg-15.0.3 2021-05-03 18:55:24 -05:00
Dave Woodfall
3f318af8ed Fix 'continue' error message. 2021-04-21 15:42:51 +00:00
Robby Workman
941fe1897d Really release 15.0.2 :-) 2021-04-20 17:19:55 -05:00
PiterPUNK
065f4fd00f core-functions.sh: Fix package duplicate bug 2021-04-20 17:18:15 -05:00
Robby Workman
30bcb5e729 Release 15.0.2 2021-04-13 01:51:02 -05:00
Dave Woodfall
919b08049e Fix break error messages. 2021-04-05 06:47:51 +00:00
Dave Woodfall
af7d21a99e Remove now pointless if/then/else 2021-04-05 05:17:43 +00:00
Dave Woodfall
969f650ff1 Safer config sourcing.
Guards against accidents/typos in the config.
2021-04-05 05:10:23 +00:00
Robby Workman
88bb400532 files/slackpkg: replace #!/bin/sh with #!/bin/bash
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).
2021-04-04 23:42:01 -05:00
Dave Woodfall
9cd55c9ae2 Don't create blacklist when running update. 2021-04-04 22:17:52 -05:00
Dave Woodfall
a1dd8f3f53 Add show-changelog & help to non-root commands 2021-03-31 14:42:04 +00:00
Dave Woodfall
3d99ab68d3 Improve search blacklisting. 2021-03-20 18:56:53 +00:00
Robby Workman
05e40b5d2f Re-release slackpkg-15.0.1 (no package generated yet anyway) 2021-03-14 10:17:42 -05:00
Dave Woodfall
14566ba1b0 Modifiy blacklist regex line ending. 2021-03-14 10:16:29 -05:00
Robby Workman
eb897955e9 Release slackpkg-15.0.1 2021-03-12 21:30:55 -06:00
Robby Workman
c0a4ea8dbe Tweak default blacklist file's help text (thanks, dive) 2021-03-12 21:29:46 -06:00
Robby Workman
b53d9d7499 Fix display of blacklisted packages 2021-03-12 21:29:46 -06:00
Robby Workman
34c2bfbdea Tweaks to slack-desc 2021-03-12 20:08:15 -06:00
Robby Workman
dd9527b5fa Note that kernel-headers should not be blacklisted 2021-03-12 20:06:08 -06:00
Robby Workman
ee16fce251 Added Lithuania mirrors (thanks to Totoro-kun on LQ) 2021-03-12 20:01:57 -06:00
Dave Woodfall
0080f0810d Fix exit code for pending updates. 2021-03-12 19:48:41 -06:00
Robby Workman
2a9a6b25b3 Update ChangeLog 2021-03-09 22:20:59 -06:00
Dave Woodfall
844b3a5424 Avoid matching txz/tgz etc extension when blacklisting.
Make blacklist file a full package name regex.
Replace redundant 'print $0 } else { print $0' in cutpkg.awk.
Fix formatting on 'blacklist or ignore' message.
2021-03-06 08:01:53 +00:00
Robby Workman
90b86d84fe Use https for all slackpkg homepage links 2021-03-02 20:24:16 -06:00