Version 1.5.0 - 10/Jul/2015

- Fixed TAG_PRIORITY
  - Fixed repositories list
This commit is contained in:
Matteo Rossini 2015-07-10 20:16:58 +02:00
parent ab2a1e3671
commit fa0c164f2e
8 changed files with 48 additions and 9 deletions

View file

@ -1,5 +1,9 @@
Version 1.5.0 - 10/Jul/2015
- Fixed TAG_PRIORITY
- Fixed repositories list
Version 1.4.99 - 01/Jul/2015
- Added priority by tag. Setting TAG_PRIORITY to 'yes' slackpkg+
- Added priority by tag. Setting TAG_PRIORITY to 'on' slackpkg+
automatically upgrade packages from repository where the tag is the same
of the already installed package.

View file

@ -1,5 +1,9 @@
Version 1.5.0 - 10/Jul/2015
- Fixed TAG_PRIORITY
- Fixed repositories list
Version 1.4.99 - 01/Jul/2015
- Added priority by tag. Setting TAG_PRIORITY to 'yes' slackpkg+
- Added priority by tag. Setting TAG_PRIORITY to 'on' slackpkg+
automatically upgrade packages from repository where the tag is the same
of the already installed package.

View file

@ -165,6 +165,13 @@ you do not explicitly exclude it:
that means 'all ktown packages except harfbuzz'
Also you can set TAG_PRIORITY=on to allow slackpkg+ to select repository
from where the package was previously installed.
This method is based from tag of the installed package.
slackpkg+ search a package with the same tag in all repositories and use it.
If two repositories contains the same tag, it will honour REPOPLUS.
-----

View file

@ -15,3 +15,6 @@
# You may want to greylist kde and/or kdei
#kde
#kdei
#
#do not upgrade packages installed with sbopkg; use it instead
#_SBo

View file

@ -12,7 +12,7 @@ Supported Repositories:
> mles: http://www.microlinux.fr/microlinux/server-{14.0,14.1}-{32,64}bit/
> msb: http://slackware.org.uk/msb/{14.0,14.1}/{1.6,1.8,1.10}/{x86,x86_64}/
> slackers: http://ponce.cc/slackers/repository/
> slacke17: http://ngc891.blogdns.net/pub/slacke17/slackware{,64,arm}-{14.0,14.1}/
> slacke18: http://ngc891.blogdns.net/pub/slacke18/slackware{,64,arm}-14.1/
> studioware: http://studioware.org/files/packages/slackware{,64}-{13.37,14.0,14.1}/
> slackonly: http://slackonly.com/pub/packages/{14.1,current}-{x86,x86_64}/
> rlworkman: http://rlworkman.net/pkgs/{13.37,14.0,14.1}/

View file

@ -47,7 +47,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
SPKGPLUS_VERSION="1.4.99"
SPKGPLUS_VERSION="1.5.0"
VERSION="$VERSION / slackpkg+ $SPKGPLUS_VERSION"
@ -292,10 +292,12 @@ if [ "$SLACKPKGPLUS" = "on" ];then
echo 1
fi
if [ "$(basename $1)" == "CHECKSUMS.md5" ];then
mv ${TMPDIR}/CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5-old
for PREPO in ${PRIORITY[*]};do
grep " \./$PREPO/" ${TMPDIR}/CHECKSUMS.md5-old >> ${TMPDIR}/CHECKSUMS.md5
done
if [ "$TAG_PRIORITY" == "on" ];then
mv ${TMPDIR}/CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5-old
for PREPO in ${PRIORITY[*]};do
grep " \./$PREPO/" ${TMPDIR}/CHECKSUMS.md5-old >> ${TMPDIR}/CHECKSUMS.md5
done
fi
X86_64=$(ls $ROOT/var/log/packages/aaa_base*x86_64* 2>/dev/null|head -1)
for PREPO in $REPOPLUS;do
if [ ! -z "$X86_64" ];then

View file

@ -31,8 +31,15 @@ GREYLIST=on
# Examples:
#PKGS_PRIORITY=( restricted:vlc )
# OR
#PKGS_PRIORITY=( myrepo )
#
# if you have two reporitories to give priority you must set both in the same line
#PKGS_PRIORITY=( myrepo restricted:vlc )
#
# if you want to install 'ktown' repository you must set it here
#PKGS_PRIORITY=( ktown )
# and read special instruction on /usr/doc/slackpkg+-*/repositories.txt
# Otherwise you can try to upgrade a package from a repository that contains a package with the
# same tag of the already installed package. Tipically that means to upgrade a package from the

View file

@ -10,9 +10,10 @@ SLACKPKGPLUS=on
VERBOSE=1
# By default slackpkg+ deny to install 32bit packages.
#
# Set this flag to 'on' allow slackpkg+ to install 32bit packages on a 64bit slackware
# installation (possibly unsafe). Please, do not install both 32 and 64bit of the same
# package to avoid problems, and NEVER upgrade exitant 64bit packages with relative 32bit package.
# package to avoid problems, and NEVER upgrade existant 64bit packages with relative 32bit package.
# Do not forget to install the multilibs.
ALLOW32BIT=off
@ -38,12 +39,23 @@ GREYLIST=on
# Examples:
#PKGS_PRIORITY=( restricted:vlc )
# OR
#PKGS_PRIORITY=( myrepo )
#
# if you have two reporitories to give priority you must set both in the same line
#PKGS_PRIORITY=( myrepo restricted:vlc )
#
# if you want to install 'ktown' repository you must set it here
#PKGS_PRIORITY=( ktown )
# and read special instruction on /usr/doc/slackpkg+-*/repositories.txt
#
# If you want a multilib system, uncomment the multilib repository and set:
#PKGS_PRIORITY=( multilib )
#
# (Use /usr/doc/slackpkg+-*/setupmultilib.sh to setup a multilib configuration)
#
# For both multilib and ktown set
#PKGS_PRIORITY=( multilib ktown )
# Otherwise you can try to upgrade a package from a repository that contains a package with the
# same tag of the already installed package. Tipically that means to upgrade a package from the