Commit graph

107 commits

Author SHA1 Message Date
Dave Woodfall
612b6553ae Reduce false positives in DOUBLEFILES detection
Add extra formatting for search/doublefiles
2021-02-20 23:51:30 -06:00
Dave Woodfall
7faebfbdb1 Remove spaces in awk. 2021-02-20 23:49:50 -06:00
Dave Woodfall
07df0b6304 More blacklisting fixups (see full commit msg)
Merge server and local lists in subshell.  Filter once.

This takes the server and local package lists, sorts, applies blacklist,
sorts again to make a large list of package names in blacklist.

Use internal printf rather than external ls to build local list.

Also pass local package list to blacklist
2021-02-20 23:48:51 -06:00
Robby Workman
304154f86c Update ChangeLog with dive's latest commits 2021-02-16 22:27:53 -06:00
Dave Woodfall
0a37c5eee7 Escape plus signs in blacklist regex
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-16 22:27:25 -06:00
Dave Woodfall
f20d83a658 Convert ${ROOT}/${WORKDIR} > ${WORKDIR}
All ${WORKDIR} == old ${ROOT}/${WORKDIR}
Set ${CONF} depending on ${ROOT}

Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-16 22:20:06 -06:00
Robby Workman
a7ca09c6c9 Update ChangeLog to reflect previous commit 2021-02-13 16:36:51 -06:00
Dave Woodfall
4b07c4226c Convert ${ROOT}/${CONF} -> ${CONF} and tweak blacklists
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-13 16:34:49 -06:00
Robby Workman
d8e4736aa4 Update ChangeLog and prep for release 2021-02-12 23:45:15 -06:00
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