aboutsummaryrefslogtreecommitdiffstats
path: root/FAQ.html
diff options
context:
space:
mode:
Diffstat (limited to 'FAQ.html')
-rw-r--r--FAQ.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/FAQ.html b/FAQ.html
index f8454a6..549d59e 100644
--- a/FAQ.html
+++ b/FAQ.html
@@ -229,6 +229,7 @@
It is extended like so:
PACKAGE NAME: man-1.5l-i386-1.tgz
+ PACKAGE MIRROR: http://www.slackware.at/data/slackware-9.1/
PACKAGE LOCATION: ./slackware/ap
PACKAGE SIZE (compressed): 166 K
PACKAGE SIZE (uncompressed): 390 K
@@ -245,6 +246,9 @@
information is stored within the slack-conflicts file. The SUGGESTS
information is stored in the slack-suggests file. See <a href="#slgFAQ19">FAQ #19</a> for a breakdown
of the structure of REQUIRES, <a href="#slgFAQ31">FAQ #31</a> for CONFLICTS, and <a href="#slgFAQ44">FAQ #44</a> for SUGGESTS.
+ MIRROR is an optional location so that the packages can be hosted elsewhere
+ (this is the internal representation slapt-get uses after caching the package
+ date from the remote package source).
This information is added to the PACKAGES.TXT file by extracting it from the
meta files within the package. This is normally done by the provider of the
@@ -332,6 +336,7 @@
### BEGIN SCRIPT
#!/bin/sh
+ #DL_URL=http://your_remove_pkg_host.tld/packages/
function gen_packages_txt {
echo '' > PACKAGES.TXT
@@ -360,6 +365,9 @@
SUGGESTS=$(tar xzf $1 install/slack-suggests -O 2>/dev/null|xargs -r )
METAFILE=${NAME%tgz}meta
echo "PACKAGE NAME: $NAME" > $LOCATION/$METAFILE
+ if [ -n "$DL_URL" ]; then
+ echo "PACKAGE MIRROR: $DL_URL" >> $LOCATION/$METAFILE
+ fi
echo "PACKAGE LOCATION: $LOCATION" >> $LOCATION/$METAFILE
echo "PACKAGE SIZE (compressed): $SIZE K" >> $LOCATION/$METAFILE
echo "PACKAGE SIZE (uncompressed): $USIZE K" >> $LOCATION/$METAFILE