Commit graph

58 commits

Author SHA1 Message Date
Robby Workman
a9c7e7d4c7 Fixup blacklist checking and appending when using alt $ROOT
Thanks to dive for the report.
2019-01-14 23:17:13 -06:00
Robby Workman
a2f35e3110 Release 2.84.0_beta3 2018-12-31 00:46:50 -06:00
Dave Woodfall
7a62e902c7 Fix support for package sets (try #2)
This adds ./$PKGMAIN/ to a blacklisted set line, which
ought to say turn kde/ into ./slackware64/kde as it listed in the
temp pkglist.  I've tightened up the patches/pasture/extra etc. lines
too.

Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-12-30 19:56:58 -06:00
Robby Workman
d358f77039 Release 2.84.0_beta2
This should fix blacklisting of entire package sets; thanks much
to David Woodfall (dive) for this. Note that the sample blacklist
file has changed to reflect the new syntax for blacklisting sets
(add a trailing slash, e.g. "kde/")
2018-12-30 04:21:36 -06:00
Dave Woodfall
a14cc9c888 Fix support for blacklisting entire package sets
Blacklisted sets now need a trailing / (eg. kde/)

Anything with a trailing slash is excluded from having \s added to it.
Then the slash is removed so the set is picked up by the old
functionality.

Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-12-30 04:18:24 -06:00
Robby Workman
fdba68e529 2.84.0_beta1 release
- Allow blacklisting of individual packages without collateral
  damage (e.g. glibc ---> glibc-*). This changes the prior behavior
  of the blacklist function; previously, adding "glibc" to the
  blacklist would cause glibc, glibc-profile, glibc-zoneinfo, et al
  to be ignored by slackpkg. The new behavior is that *only* the
  glibc package is ignored. If you want to blacklist all packages
  whose names begin with glibc, you would need to add "glibc.*" to
  the blacklist now.  Also note that any special characters, e.g. "+",
  will need to be escaped in the blacklist file. (David Woodfall)
- Add support for listing .new files without PAGER (David Woodfall)
- Remove switch.ch mirrors
- Add config option to allow *not* saving .orig configs (Darren Austin)
- Mention possible stale mirror if CHECKSUMS.md5 gpg verify fails
- Clarify that a press of "Enter" is needed to confirm kernel change
  (Mario Preksavec)
- doinst.sh Don't remove ChangeLog.txt upon upgrade/reinstall.
  (Patrick Volkerding)
- mirrors-x86*.sample: Remove bjtu.edu.cn mirror
- Fix for /var/log/packages/ possibly being a symlink to elsewhere
- Use CHECKSUMS.md5.asc to determine ChangeLog newness
  (Patrick Volkerding)
2018-12-02 00:50:44 -06:00
Robby Workman
0463acfd1d Note requirement to escape special characters in blacklist 2018-12-02 00:50:44 -06:00
Robby Workman
5fdb8c5a0b Update sample blacklist file 2018-11-22 23:28:39 -06:00
Dave Woodfall
532b90838e Fix (hopefully) blacklisting of specific packages
In short, it seems impossible to blacklist some packages without
catching other undesirable packages. As an example, blacklisting
glibc will also catch glibc-zoneinfo (and the other glibc-*)
packages. It would be good to have the ability to blacklist only
the glibc package without it catching the others.

With this change, if sysadmin wants the blacklist to be "greedy,"
then adding "glibc.*" to the blacklist will do that.

Reported-by: Peter Hyman <pete@peterhyman.com>
Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-11-22 23:28:39 -06:00
Robby Workman
5cf3313ce2 Minor tweaks to default slackpkg.conf 2018-11-22 23:28:27 -06:00
Robby Workman
098a71bc1f Minor grammatical fixup
Thanks to Gerard Lally on LQ.
2018-11-20 23:25:04 -06:00
Dave Woodfall
2cae1aa0af Adjust number of .new lines shown based on terminal size
Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-11-20 01:37:14 -06:00
Robby Workman
d93ee0f36d Update ChangeLog with changes since 2.83.0 2018-11-18 00:15:26 -06:00
Dave Woodfall
8ff792f2ef Add support for listing .new files without PAGER
Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-11-18 00:07:54 -06:00
Robby Workman
8bd2393f0e Remove switch.ch mirrors 2018-11-17 16:17:41 -06:00
Darren Austin
a805617e81 Add config option to allow *not* saving .orig configs
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>
2018-09-19 23:21:58 -05:00
Robby Workman
ff0b9ff70a Mention possible stale mirror if CHECKSUMS.md5 gpg verify fails
Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-09-05 22:50:09 -05:00
Mario Preksavec
24ec5a28f8 Clarify that a press of "Enter" is needed to confirm kernel change
Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-06-20 01:27:04 -05:00
Patrick J. Volkerding
09868036d8 doinst.sh Don't remove ChangeLog.txt upon upgrade/reinstall.
We're going to stop doing this and see if anything breaks :-)

Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-06-14 22:58:56 -05:00
Robby Workman
845c9adf65 mirrors-x86*.sample: Remove bjtu.edu.cn mirror
Thanks to Lockywolf on LQ for the report.
2018-06-12 12:46:25 -05:00
Robby Workman
10b2f7d493 Fix for /var/log/packages/ possibly being a symlink to elsewhere 2018-06-07 23:00:02 -05:00
Patrick J. Volkerding
e1fc7d9987 Use CHECKSUMS.md5.asc to determine ChangeLog newness
Thanks to drgibbon on LQ for the suggestion.

Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-06-07 19:03:40 -05:00
Robby Workman
406a3cbed3 2.83.0 release 2018-05-29 19:16:26 -05:00
Patrick J. Volkerding
cf6f58c4ef Bugfixes in SlackBuild script
Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-05-29 19:15:08 -05:00
Robby Workman
90f437c324 slackpkg.SlackBuild: tweaks to support PRINT_PACKAGE_NAME et al 2018-05-24 02:23:40 -05:00
Robby Workman
9c3bd23c8a slack-desc: Sync volkerdi's changes in -current 2018-04-29 13:07:15 -05:00
Robby Workman
d88c779699 2.83.0beta2 2018-04-04 02:14:39 -05:00
Robby Workman
b77f5bd5ee post-functions.sh: Tweak handling of new kernel prompts 2018-04-04 02:13:53 -05:00
orbea
3340c90614 files/slackpkg.8: mandoc lint fixes 2018-04-03 20:25:58 -05:00
Robby Workman
0cfc1f787d 2.83.0beta1 2018-04-03 20:06:33 -05:00
Robby Workman
80c5dc16dd post-functions.sh: Fix stray stuff in vimdiff prompt 2018-04-03 20:03:42 -05:00
Robby Workman
5d66c7cc39 post-functions.sh: Sort .new files list from looknew()
Thanks to Eduard Rozenberg.
2018-04-03 19:31:02 -05:00
Robby Workman
2cb98319cb post-functions.sh: Make sure user confirms kernel update 2018-04-03 19:19:18 -05:00
Robby Workman
b55bfd9645 post-functions.sh: Respect $ROOT in looknew()
Thanks again to burdi01 on LQ.
2018-04-03 19:14:27 -05:00
Robby Workman
caf6a1ab96 post-functions.sh: Don't offer to run lilo if initrd is in lilo.conf 2018-01-07 00:12:05 -06:00
Robby Workman
bc4ea512ee Make sure user knows that the warning about -current only shows once 2018-01-06 23:23:28 -06:00
Robby Workman
f59af2b4d7 2.82.3beta5 2018-01-06 17:55:18 -06:00
Didier Spaier
9cea505db9 files/slackpkg: SOURCE handling - land softer if no trailing / 2018-01-06 17:53:46 -06:00
Didier Spaier
b6cf5ec58c core-functions.sh: Warn (first time) if -current mirror is selected
Require confirmation the first time a -current mirror is selected.
2018-01-06 17:53:46 -06:00
Robby Workman
14ce3da94e post-functions.sh: Invert test for "not no" to "is yes"
Essentially, don't process a "not yes" as an "is yes"
2018-01-06 17:35:22 -06:00
Robby Workman
8c6d8b9947 post-functions.sh: check for /etc/lilo.conf too for lilo offer
Existence of /etc/lilo.conf coupled with executable /sbin/lilo
probably indicates lilo usage on the system, so that seems like
a reasonable compromise for everyone fussing about slackpkg's
offer to run /sbin/lilo for them after kernel upgrades even
though they use grub or whatever else.
2018-01-06 17:33:02 -06:00
Robby Workman
b5309a3b26 slack-desc: Minor tweaks 2018-01-04 21:31:23 -06:00
Robby Workman
68d43457e8 2.82.3beta4 2018-01-04 21:25:40 -06:00
Robby Workman
4e7a7c9ebb slackpkg: Abort if system date is near epoch
This merges slackpkg-quit-on-epoch.patch from Slackware ARM
2018-01-03 04:48:53 -06:00
Robby Workman
d426faa6e7 2.82.3beta3 2018-01-02 22:26:44 -06:00
Robby Workman
47a185d6c6 pkglist.awk: Handle the (hopefully rare) case of $ROOT usage 2018-01-02 17:58:49 -06:00
Robby Workman
70948050f9 Add $ROOT to $WORKDIR, $TEMP, and $TMPDIR instances
This *should* have no effect if $ROOT is blank

Files modified:
  files/core-functions.sh
  files/slackpkg
2018-01-02 17:58:49 -06:00
Robby Workman
c73c1a9008 core-functions.sh: Fix Slackware ARM gpg key 2018-01-02 17:58:14 -06:00
Robby Workman
bc7e966ee1 mirrors-arm.sample: Update mirror list 2017-12-31 00:43:20 -06:00
Robby Workman
dfb299531d core-functions.sh: Create $WORKDIR before using it
This should never be an issue on a properly installed
system (assuming slackpkg is installed on the system),
but it doesn't hurt anything either to be safe.
2017-12-30 01:16:09 -06:00