mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +01:00
LEGACYBL documentation
This commit is contained in:
parent
2591114496
commit
75976a9358
5 changed files with 48 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
= Full Changes list =
|
= Full Changes list =
|
||||||
|
|
||||||
== From 1.7 to 1.7.5 ==
|
== From 1.7 to 1.7.6 ==
|
||||||
|
|
||||||
*Configuration file:
|
*Configuration file:
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
Currently zlookkernel and zchangelog
|
Currently zlookkernel and zchangelog
|
||||||
Note that some plugin may be experimental
|
Note that some plugin may be experimental
|
||||||
|
|
||||||
|
- Added LEGACYBL to allow slackpkg+ to use blacklist syntax from slackware 14.2
|
||||||
|
|
||||||
*New features:
|
*New features:
|
||||||
|
|
||||||
|
@ -38,6 +39,9 @@
|
||||||
- Added httpdir/httpsdir/ftpdir repositories. These repositories does not
|
- Added httpdir/httpsdir/ftpdir repositories. These repositories does not
|
||||||
need metadatas (CHECKSUMS.md5 ...), simple a remote directory listing
|
need metadatas (CHECKSUMS.md5 ...), simple a remote directory listing
|
||||||
|
|
||||||
|
- Allow slackpkg+ to use the blacklist system from slackware 14.2; the new
|
||||||
|
blacklist system from slackware 15.0 may not work properly with third party
|
||||||
|
repositories
|
||||||
|
|
||||||
*Improvements
|
*Improvements
|
||||||
|
|
||||||
|
|
28
src/README
28
src/README
|
@ -458,6 +458,34 @@ package.
|
||||||
Do not forget to install the multilibs.
|
Do not forget to install the multilibs.
|
||||||
|
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
BLACKLIST
|
||||||
|
|
||||||
|
Slackpkg+ uses the same slackpkg system. See /etc/slackpkg/blacklist for details.
|
||||||
|
Starting from slackpkg 15, the new system was improved. To blacklist a package
|
||||||
|
you have to put its entire name, so 'kernel' does not blacklist 'kernel-modules',
|
||||||
|
or a regular expression to match it, as 'kernel-.*'. Also you can blacklist an
|
||||||
|
entire package series specifing the entire name followed by /, as 'kde/'.
|
||||||
|
In this way you are more sure to exclude exactly the packages you want.
|
||||||
|
|
||||||
|
However this may be inefficient with third party repository.
|
||||||
|
You can set LEGACYBL=on to allow slackpkg+ to use the previous (14.2) blacklist system.
|
||||||
|
It apply a regex to the entire pkglist row with 'grep -wE'. A row is similar to
|
||||||
|
|
||||||
|
SLACKPKGPLUS_slackpkgplus slackpkg+ 1.7.5 noarch 2mt slackpkg+-1.7.5-noarch-2mt ./SLACKPKGPLUS_slackpkgplus/pkg txz
|
||||||
|
|
||||||
|
consider that to avoid false positive.
|
||||||
|
Test your blacklist file with the command:
|
||||||
|
$ grep -wE -f <(grep -v ^$ /etc/slackpkg/blacklist) /var/lib/slackpkg/pkglist
|
||||||
|
|
||||||
|
You can use USEBL=off to totally disable blacklist.
|
||||||
|
|
||||||
|
Also you can use both settings as temporary from cmdlisne
|
||||||
|
|
||||||
|
USEBL=off slackpkg search kernel
|
||||||
|
LEGACYBL=on slackpkg search kernel
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
GREYLIST
|
GREYLIST
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
#
|
#
|
||||||
# You can greylist using regular expressions.
|
# You can greylist using regular expressions.
|
||||||
#
|
#
|
||||||
# Don't use *full* regex here, because all of the following
|
# Note that the regex will be applied with the command 'grep -wE'
|
||||||
# will be checked for the regex: series, name, version, arch,
|
# at the entire pkglist row
|
||||||
# build, fullname and repository name.
|
# SLACKPKGPLUS_slackpkgplus slackpkg+ 1.7.5 noarch 2mt slackpkg+-1.7.5-noarch-2mt ./SLACKPKGPLUS_slackpkgplus/pkg txz
|
||||||
#
|
#
|
||||||
# Also you may want to greylist ALL slackpkgplus repository;
|
# Also you may want to greylist ALL slackpkgplus repository;
|
||||||
# useful if you want to run slackpkg install alienbob and select
|
# useful if you want to run slackpkg install alienbob and select
|
||||||
|
|
|
@ -29,6 +29,12 @@ TERSESEARCH=on
|
||||||
# 'USEBL=off slackpkg upgrade-all'
|
# 'USEBL=off slackpkg upgrade-all'
|
||||||
USEBL=on
|
USEBL=on
|
||||||
|
|
||||||
|
# Enable (on) / Disable (off) the legacy blacklist system ignoring the improvement
|
||||||
|
# from slackpkg 15. Some improvement are not useful with thirdy party repositories
|
||||||
|
# Note that the legacy system does apply it as regex to the entire pkglist row
|
||||||
|
# repository, name, version, arch, build, fullname, series/path, extension.
|
||||||
|
LEGACYBL=off
|
||||||
|
|
||||||
# Add custom option to 'wget'.
|
# Add custom option to 'wget'.
|
||||||
# You can solve the repository indisponibility issue by set a timeout here
|
# You can solve the repository indisponibility issue by set a timeout here
|
||||||
WGETOPTS="--timeout=20 --tries=2"
|
WGETOPTS="--timeout=20 --tries=2"
|
||||||
|
|
|
@ -37,6 +37,12 @@ ALLOW32BIT=off
|
||||||
# 'USEBL=off slackpkg upgrade-all'
|
# 'USEBL=off slackpkg upgrade-all'
|
||||||
USEBL=on
|
USEBL=on
|
||||||
|
|
||||||
|
# Enable (on) / Disable (off) the legacy blacklist system ignoring the improvement
|
||||||
|
# from slackpkg 15. Some improvement are not useful with thirdy party repositories
|
||||||
|
# Note that the legacy system does apply it as regex to the entire pkglist row
|
||||||
|
# repository, name, version, arch, build, fullname, series/path, extension.
|
||||||
|
LEGACYBL=off
|
||||||
|
|
||||||
# Add custom option to 'wget'.
|
# Add custom option to 'wget'.
|
||||||
# You can solve the repository indisponibility issue by set a timeout here
|
# You can solve the repository indisponibility issue by set a timeout here
|
||||||
WGETOPTS="--timeout=20 --tries=2"
|
WGETOPTS="--timeout=20 --tries=2"
|
||||||
|
|
Loading…
Reference in a new issue