Commit graph

98 commits

Author SHA1 Message Date
Robby Workman
9c2719ff0f Further fixup/enhancement to blacklisting issues 2021-02-11 19:06:31 -06:00
Robby Workman
0635933b1e Fix "slackpkg blacklist" so that it shows blacklist again 2021-02-11 17:59:44 -06:00
Dave Woodfall
3ea13bebcb Fixup internal blacklist handling, i.e. see remainder of commit
This creates a blacklist of package names from regexp in original
file (/etc/slackpkg/blacklist) and uses the precreated list for
later comparison

Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-11 17:10:25 -06:00
Dave Woodfall
f87bf1bf68 Use ERE for sanity_check() function
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-11 17:01:03 -06:00
Robby Workman
d9f835b61a Remove "slackpkg blacklist" from manual pages 2021-02-10 06:18:23 -06:00
Stuart Winter
31cbbbb734 Fix aaa_elflibs --> aaa_libraries in sample blacklist file
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-10 06:05:27 -06:00
Stuart Winter
2c37581b16 Split aarch64 and arm mirrors into separate files
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-09 22:08:23 -06:00
piterpunk
5edf86dceb Allow new-config after slackpkg upgrade itself
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-08 16:51:23 -06:00
Robby Workman
bb6e763eb7 Release slackpkg-15.0
We decided to jump from 2.83.x straight to 15.0 to match the
version of Slackware for which it's intended: 15.0
That's not to imply that this version of slackpkg won't work
just fine with earlier Slackware releases: it should; however,
you definitely want this version of slackpkg for Slackware 15.0
2021-02-04 19:52:35 -06:00
Robby Workman
1f96b540f0 Set fileversion of slackpkg.conf to "v15.0" 2021-02-04 19:52:33 -06:00
Robby Workman
b0f1bdb485 Do not allow adding blacklist packages from slackpkg exec
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
2021-02-04 19:52:21 -06:00
Peter Hyman
a9e490297b Add 'download' to options in usage() ; remove dupes from manpage
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-04 19:52:18 -06:00
Robby Workman
e0f7de556d Add aaa_glibc-solibs and aaa_libraries to early routine 2021-02-04 19:52:16 -06:00
Robby Workman
521234d68f Release 2.84.0_beta12 2021-01-18 18:30:08 -06:00
Robby Workman
418a422c17 Change mirrors from ftp to http or https
Also omit "pub/" from mirror.slackbuilds.org links
2021-01-18 18:29:19 -06:00
Stuart Winter
89d4761f19 Add support for Slackware-AArch64
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-01-18 13:42:55 -06:00
Robby Workman
f601660353 Release 2.84.0_beta11 2021-01-04 23:14:20 -06:00
Peter Hyman
23640d912d Add show-changelog option and update manpage
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-01-04 23:08:49 -06:00
Peter Hyman
f62ecabf6c Changes to checkchangelog function
* 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>
2021-01-04 23:04:25 -06:00
Robby Workman
96f2132657 Update ChangeLog to reflect last commit
(should have been part of last commit)
2021-01-04 23:00:42 -06:00
Eric Pozharski
3d47ee175c slackpkg.8: document issues with filenames having spaces
Signed-off-by: Robby Workman <rworkman@slackware.com>
2020-12-01 21:37:12 -06:00
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