Non parlo di un fork o porting, ma sarebbe bello avere un dvd con dentro l'aggiunta di /slacky che contenga tutti i txz del repository slacky, magari ben riorganizzati, pronti per l'installazione con slackpkg (basta aggiungere "slacky" in PRIORITY dentro slackpkg.conf).
Basta uno script per farlo.
Questa è una bozza (e contiene bug):
Codice: Seleziona tutto
#!/bin/bash
SLACKWARY=/home/matteo/slackwary
SLACKDIR=$SLACKWARY/dvd
SLACKYDIR=$SLACKDIR/slacky
mkdir -p $SLACKDIR
mkdir -p $SLACKYDIR
SLACK=http://slackware.osuosl.org/slackware64-current/
SLACKY=http://repository.slacky.eu/slackware64-13.1/
cd $SLACKDIR
wget -N $SLACK/FILELIST.TXT
cat FILELIST.TXT|grep "^-"|awk '{print $8}'|egrep -v "(/source/)"|while read FILE;do
echo "(`pgrep wget |wc -l`) $FILE"
wget -N -nH -x --cut-dirs=1 -b -o /dev/null $SLACK/$FILE >/dev/null 2>&1
while [ `pgrep wget |wc -l` -gt 50 ];do sleep 1; done
done
cd $SLACKYDIR
wget -N $SLACKY/FILELIST.TXT
cat FILELIST.TXT|grep "^-"|awk '{print $8}'|egrep -v "/src/"|while read FILE;do
echo "(`pgrep wget |wc -l`) $FILE"
wget -N -nH -x --cut-dirs=1 -b -o /dev/null $SLACKY/$FILE >/dev/null 2>&1
while [ `pgrep wget |wc -l` -gt 50 ];do sleep 1; done
done
echo "waiting to finish download"
I=1
while [ `ps -ef|grep wget|grep -v grep|grep $SLACK|wc -l` -ne 0 ];do
echo -en "(`ps -ef|grep wget|grep -v grep|grep $SLACK|wc -l`) \r"
sleep 1
done
echo "updating md5"
cd $SLACKDIR
cp PACKAGES.TXT slackware 2>/dev/null
cp PACKAGES.TXT slackware64 2>/dev/null
mv CHECKSUMS.md5 CHECKSUMS.md5.orig
find . -type f -exec md5sum {} \; >CHECKSUMS.md5Ho utilizzato un sistema di download parallelizzato che mi consente di scaricare fino a 50 file in contemporanea per sfruttare al massimo la banda.
Ancora non crea la iso.
Ricordarsi di mettere
Codice: Seleziona tutto
PRIORITY=( patches %PKGMAIN extra pasture testing slacky )
CHECKGPG=off
