mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +01:00
Version 1.0rc1 - 16/Oct/2013
- Slackware 14.1 is coming up. I think that also slackpkg+ is ready so as Slackware I mark it as rc1 :). slackpkg 2.82.0-11 added the 14.1 repositories. Unfortuatly I don't know which third-party repository will contains 14.1 packages, so I can't add 14.1 to repositories.txt - You can now ovverride SLACKPKGPLUS VERBOSE from command-line (as USEBL)
This commit is contained in:
parent
8de4afb3a7
commit
7da127b3e7
6 changed files with 49 additions and 7 deletions
|
@ -1,3 +1,10 @@
|
|||
Version 1.0rc1 - 16/Oct/2013
|
||||
- Slackware 14.1 is coming up. I think that also slackpkg+ is ready so as
|
||||
Slackware I mark it as rc1 :). slackpkg 2.82.0-11 added the 14.1 repositories.
|
||||
Unfortuatly I don't know which third-party repository will contains 14.1
|
||||
packages, so I can't add 14.1 to repositories.txt
|
||||
- You can now ovverride SLACKPKGPLUS VERBOSE from command-line (as USEBL)
|
||||
|
||||
Version 0.9.7.4 - 24/Sep/2013
|
||||
- Try a better way to detect the newest version of the same package in local
|
||||
or remote directory (does not guarantees 100% success)
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
Version 1.0rc1 - 16/Oct/2013
|
||||
- Slackware 14.1 is coming up. I think that also slackpkg+ is ready so as
|
||||
Slackware I mark it as rc1 :). slackpkg 2.82.0-11 added the 14.1 repositories.
|
||||
Unfortuatly I don't know which third-party repository will contains 14.1
|
||||
packages, so I can't add 14.1 to repositories.txt
|
||||
- You can now ovverride SLACKPKGPLUS VERBOSE from command-line (as USEBL)
|
||||
|
||||
Version 0.9.7.4 - 24/Sep/2013
|
||||
- Try a better way to detect the newest version of the same package in local
|
||||
or remote directory (does not guarantees 100% success)
|
||||
|
|
|
@ -16,7 +16,7 @@ slackers: http://www.slackers.it/repository/
|
|||
|
||||
Does NOT supports GPG
|
||||
salixos(*): http://download.salixos.org/{i486,x86_64}/{13.37,14.0}/
|
||||
salixext: http://people.salixos.org/ralvex/packages/{i486,x86_64}/{13.37,14.0}/
|
||||
salixext: http://people.salixos.org/ralvex/repository/x86_64/14.0/
|
||||
rlworkman: http://rlworkman.net/pkgs/{13.37,14.0}/
|
||||
slackel: http://www.slackel.gr/repo/{i486,x86_64}/current/
|
||||
|
||||
|
|
|
@ -1,13 +1,21 @@
|
|||
# Thanks to AlienBob and phenixia2003 (on LQ) for contributing
|
||||
# A secial thanks to all packagers that make slackpkg+ useful
|
||||
|
||||
|
||||
declare -A MIRRORPLUS
|
||||
if [ -e /etc/slackpkg/slackpkgplus.conf ];then
|
||||
USEBLACKLIST=true
|
||||
if [ "$USEBL" == "0" ];then
|
||||
USEBLACKLIST=false
|
||||
fi
|
||||
# You can ovverride SLACKPKGPLUS VERBOSE USEBL from command-line
|
||||
EXTSLACKPKGPLUS=$SLACKPKGPLUS
|
||||
EXTVERBOSE=$VERBOSE
|
||||
EXTUSEBL=$USEBL
|
||||
|
||||
. /etc/slackpkg/slackpkgplus.conf
|
||||
|
||||
SLACKPKGPLUS=${EXTSLACKPKGPLUS:-$SLACKPKGPLUS}
|
||||
VERBOSE=${EXTVERBOSE:-$VERBOSE}
|
||||
USEBL=${EXTUSEBL:-$USEBL}
|
||||
|
||||
USEBLACKLIST=true
|
||||
if [ "$USEBL" == "0" ];then
|
||||
USEBLACKLIST=false
|
||||
fi
|
||||
|
@ -59,6 +67,23 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
else
|
||||
$DOWNLOADER $2 $URLFILE
|
||||
fi
|
||||
if [ $? -ne 0 ];then
|
||||
if [ "`basename $URLFILE`" != "MANIFEST.bz2" ];then
|
||||
echo -e "`basename $URLFILE`:\tdownload error" >> $TMPDIR/error.log
|
||||
if echo $2|grep -q .asc$;then
|
||||
echo " Retry using 'slackpkg -checkgpg=off $CMD ...'" >> $TMPDIR/error.log
|
||||
fi
|
||||
else
|
||||
echo
|
||||
echo " !!! N O T I C E !!!"
|
||||
echo " Repository '$PREPO' does not contains MANIFEST.bz2"
|
||||
echo " Don't worry.. it will works fine, but the commands"
|
||||
echo " 'slackpkg file-search' will not works on that"
|
||||
echo " repository"
|
||||
echo
|
||||
sleep 3
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $(basename $1) = "MANIFEST.bz2" ];then
|
||||
if [ ! -s $2 ];then
|
||||
|
|
|
@ -7,6 +7,10 @@ SLACKPKGPLUS=on
|
|||
# set to '2' to show always show the download bar
|
||||
VERBOSE=1
|
||||
|
||||
# Enable (1) / Disable (0) the official slackpkg blacklist. May be useful to temporary skip
|
||||
# the slackware blacklist. You can also ovverride it from command line:
|
||||
# 'USEBL=0 slackpkg upgrade-all'
|
||||
USEBL=1
|
||||
|
||||
# If two or more repositories contains some same packages, you can specify
|
||||
# from which repository you prefer to search it.
|
||||
|
@ -62,6 +66,5 @@ MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/
|
|||
#
|
||||
#Does NOT supports GPG
|
||||
#salixos: http://download.salixos.org/{i486,x86_64}/{13.37,14.0}/
|
||||
#salixext: http://people.salixos.org/ralvex/packages/{i486,x86_64}/{13.37,14.0}/
|
||||
#rlworkman: http://rlworkman.net/pkgs/{13.37,14.0}/
|
||||
#slackel: http://www.slackel.gr/repo/{i486,x86_64}/current/
|
||||
|
|
|
@ -67,6 +67,6 @@ MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/
|
|||
#
|
||||
#Does NOT supports GPG
|
||||
#salixos: http://download.salixos.org/{i486,x86_64}/{13.37,14.0}/
|
||||
#salixext: http://people.salixos.org/ralvex/packages/{i486,x86_64}/{13.37,14.0}/
|
||||
#salixext: http://people.salixos.org/ralvex/repository/x86_64/14.0/
|
||||
#rlworkman: http://rlworkman.net/pkgs/{13.37,14.0}/
|
||||
#slackel: http://www.slackel.gr/repo/{i486,x86_64}/current/
|
||||
|
|
Loading…
Reference in a new issue