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
Robby Workman
5c9d020467
Update mirror files (14.2 -> 15.0)
...
This also comments out the default mirror.
2021-03-02 20:21:21 -06:00
Dave Woodfall
85c9f01361
Add blacklist to search option.
...
This avoid matching against the last field in pkglist - txz, tgz
which prints multiple false positives with 'slackpkg search xz' etc.
2021-02-25 01:25:42 +00:00
Dave Woodfall
a96e181033
Move applyblacklist to end of makelist()
...
Change -E to -F in applyblacklist()
Remove '>' prompt in answer()
2021-02-24 23:14:18 +00:00
Dave Woodfall
19c9fc0d9b
new-config dialog
...
One extra prompt at end to stop file list flying off top of screen.
Calculate lines in K/O/R/P prompt before printing it, and use it to
work out screen MAXROWS etc.
2021-02-23 01:04:47 +00:00
Robby Workman
fe99f902eb
Clarify how to blacklist duplicate packages
2021-02-22 01:32:38 -06:00
Robby Workman
f238a0c96c
Update files/ChangeLog with latest changes
2021-02-21 01:54:15 -06:00
Dave Woodfall
2cd5131e83
Fix new-config dialog
2021-02-20 23:51:59 -06:00
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