Version 0.3beta - 10/Oct/2012

- Added slackware 14.0 in default configuration
This commit is contained in:
Matteo Rossini 2012-10-10 13:44:45 +02:00
parent 150f6da274
commit fd323deeea
4 changed files with 33 additions and 9 deletions

View file

@ -1,3 +1,6 @@
Version 0.3beta - 10/Oct/2012
- Added slackware 14.0 in default configuration
Version 0.2beta - 28/Sep/2012 Version 0.2beta - 28/Sep/2012
- renamed in 'slackpkg+' - renamed in 'slackpkg+'
- allow to add multiple repositories - allow to add multiple repositories

View file

@ -9,20 +9,27 @@ Slackpkg+ is a plugin for slackpkg
To install it copy: To install it copy:
slackpkgplus.conf in /etc/slackpkg slackpkg+.conf in /etc/slackpkg
slackpkgplus.sh in /usr/libexec/slackpkg/functions.d/ slackpkg+.sh in /usr/libexec/slackpkg/functions.d/
edit slackpkg+.conf
uncomment one or more mirrors and add it in PRIORITYPLUS order
then launch then launch
slackpkg update slackpkg update
You may add repositories in slackpkgplus.conf
If do you add some repository that does not support MANIFEST.bz2 If do you add some repository that does not support MANIFEST.bz2
you may obtain a warning in slackpkg update. you may obtain a warning in slackpkg update.
Don't warry.. it's no a problem. Don't warry.. it's no a problem.
This is a beta version. This is a beta version.
KNOWN BUGS:
when used with multiple repositories and two repositories have the same package, slackpkg show only the first (in the order specified in PRIORITY & PRIORITYPLUS configuration).
when one repository contains multiple packages with same name (some repository contains both 32 and 64 bit architectures and/or multiple slackware version, 14.0, 13.37, 13.1 ...), slackpkg show only one package, in a unknown order!! An example is the AlienBob repository.
slackpkg+ try to detect the best package for your installed slackware, but it may fails!

View file

@ -1,7 +1,19 @@
SLACKPKGPLUS=off # Enable (on) / Disable (off) slackpkg+
SLACKPKGPLUS=on
#MIRRORPLUS['alienbob']=http://connie.slackware.com/~alien/slackbuilds/ # Define package search order
MIRRORPLUS['zerouno']=http://www.z01.eu/repo-slack/slackware64-current/
MIRRORPLUS['slacky']=http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware64-13.37/
PRIORITYPLUS=( zerouno slacky ) PRIORITYPLUS=( zerouno slacky )
# Define mirrors
MIRRORPLUS['alienbob']=http://connie.slackware.com/~alien/slackbuilds/
MIRRORPLUS['zerouno']=http://www.z01.eu/repo-slack/slackware64-current/
#MIRRORPLUS['slacky']=http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-13.37/
MIRRORPLUS['slacky']=http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware64-14.0/
#MIRRORPLUS['slacky']=http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-13.37/
#MIRRORPLUS['slacky']=http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware64-13.37/

View file

@ -10,6 +10,8 @@ if [ "$SLACKPKGPLUS" = "on" ];then
REPOPLUS=${!MIRRORPLUS[*]} REPOPLUS=${!MIRRORPLUS[*]}
PRIORITY=( ${PRIORITY[*]} slackpkgplus_$(echo $REPOPLUS|sed 's/ / slackpkgplus_/g') ) PRIORITY=( ${PRIORITY[*]} slackpkgplus_$(echo $REPOPLUS|sed 's/ / slackpkgplus_/g') )
X86_64=$(ls /var/log/packages/aaa_base*x86_64*|head -1 2>/dev/null)
function getfile(){ function getfile(){
local URLFILE local URLFILE
URLFILE=$1 URLFILE=$1