Commit graph

177 commits

Author SHA1 Message Date
Robby Workman
9b950fcbaa Release 2.84.0_beta10 2020-11-27 15:14:58 -06:00
Robby Workman
7d8b3382ad Fix output if package is incorrectly named
Thanks to phenixia2003 (SeB) on LQ for the patch.
2020-11-27 02:57:52 -06:00
Robby Workman
775c2fa391 Release 2.84.0_beta9 2020-08-03 00:22:21 -05:00
Robby Workman
c0ae293961 Add Switzerland mirrors
Thanks to xpetrl on LQ
2020-08-03 00:11:33 -05:00
Robby Workman
266f09477b core-functions.sh: Replace tempfile with mktemp
Thanks to I.G.O.R. on LQ for the suggestion and reminder.
2020-07-30 00:41:19 -05:00
Robby Workman
f63b738fb0 Release 2.84.0_beta8 2020-02-26 21:53:48 -06:00
Robby Workman
dda9a37537 Revert "More fixups for alternate ROOT ; thanks to zerouno."
This reverts commit fcc58ff506
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"
2020-02-26 21:49:44 -06:00
Robby Workman
4be95fdf52 Update ChangeLog for 2.84.0_beta7 2020-02-20 22:54:09 -06:00
Robby Workman
8fa59afbc5 Bump version to 2.84.0_beta7 2020-02-19 20:38:49 -06:00
Robby Workman
fcc58ff506 More fixups for alternate ROOT ; thanks to zerouno. 2020-02-19 20:37:55 -06:00
Robby Workman
2857869820 Uncomment mirrors.slackware.com mirror by default
Thanks to zerouno for the suggestion.
2020-02-18 18:55:48 -06:00
Robby Workman
d3632208a5 Release 2.84.0_beta6 2019-07-15 15:30:44 -05:00
Darren Austin
7382dca1b4 Add slackware.uk mirrors to sample mirror list
Signed-off-by: Robby Workman <rworkman@slackware.com>
2019-07-15 15:11:32 -05:00
Robby Workman
d0f8027cf9 install-new: catch packages added to /patches after -stable release
Thanks to blizzack on ##slackware for the report, and thanks to
Skydroid and alienBOB for debugging assistance.
2019-07-15 15:03:55 -05:00
Robby Workman
c43abeab73 Release 2.84.0_beta5 2019-05-20 01:03:00 -05:00
Robby Workman
845c1b0ed2 doinst.sh - remove /var/lib/slackpkg/CHECKSUMS* on upgrade
This fixes a slight regression from e1fc7d9987
2019-04-08 01:41:24 -05:00
Robby Workman
2a68edf018 Release 2.84.0_beta4 2019-01-28 00:45:02 -06:00
Robby Workman
7658ac7c89 Remove subshell usage and save a trivial amount of time 2019-01-16 00:21:54 -06:00
Robby Workman
c7216fb599 Catch errors and return exit status 1 if they occur
Thanks to mcandre on LQ for the suggestion.
2019-01-16 00:15:57 -06:00
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