How is the PACKAGES.TXT file made?
Posted: 08 Apr 2022 12:26
Specifically, do you use .DEP files to generate it, or is it by hand?
Yes, dep file is used if it is exist.daemonspud wrote:Specifically, do you use .DEP files to generate it, or is it by hand?
Code: Select all
sh .metagen.sh asc (produce signature of files)
sh .metagen.sh md5 (produce md5 and checksum files)
sh .metagen.sh all (produce meta, rss and PACKAGES.TXT)
sh .metagen.sh filelist (produce FILELIST.TXT)
Code: Select all
.metagen.sh [pkg [file]|all|new|PACKAGESTXT|md5|rss|asc|filelist|checksums [-a]|man [-a]]
.metagen.sh [miss|provide] pattern
Code: Select all
sh .metagen.sh PACKAGESTXT
Code: Select all
depfinder -f package-name.txz
I'm trying to make a local repo on Slackware, that points to a more local mirror as slackware.uk isn't very fast where Iive.djemos wrote:dep file is created from txz file running depfinderdep files are not needed to create PACKAGES.TXT. Slackware repos have PACKAGES.TXT without dependency files.Code: Select all
depfinder -f package-name.txz
dep files for slackel are here inside the sub-directories
user do not need the dep files to use slackel. What are you trying to do ?
Code: Select all
mkdir -p ~/myrepo/x86_64
cd ~/myrepo/x86_64
wget -m -nH -r -np --cut-dirs=4 -R "=D","=A","index.html" https://ftp.cc.uoc.gr/mirrors/linux/salix/x86_64/slackware-15.0/deps/
Code: Select all
cp adddepinfo.sh ~/myrepo/x86_64/slackware-15.0
Code: Select all
cd ~/myrepo/x86_64/slackware-15.0
Code: Select all
sh adddepinfo.sh -f
Code: Select all
cd ~/myrepo/x86_64/
mv slackware-15.0 slackware-current
cd slackware-current
Code: Select all
rm -rf extra patches CHECKSUMS.md5* ChangeLog.txt PACKAGES.TXT*
Code: Select all
sh adddepinfo.sh -f
Code: Select all
sudo geany /etc/slapt-get/slapt-getrc
Code: Select all
SOURCE=file:///home/djemos/myrepo/x86_64/slackware-15.0/
SOURCE=file:///home/djemos/myrepo/x86_64/slackware-15.0/extra/
Code: Select all
SOURCE=file:///home/djemos/myrepo/x86_64/slackware-current/
SOURCE=file:///home/djemos/myrepo/x86_64/slackware-current/extra/