summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-11-02 04:01:54 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-11-02 04:01:54 +0000
commit78774e27199ad937ce5f85ea1d6d8c7259163d5d (patch)
tree5d8b224047f143073621118addb02316f3a1e5fa
parentSupport either .tgz or .tbz packages (diff)
Read FTP url from ${ftpurl}. Remove hack to fetch perl package into the
bindist now that it is no longer required.
-rwxr-xr-xTools/portbuild/scripts/mkbindist10
1 files changed, 2 insertions, 8 deletions
diff --git a/Tools/portbuild/scripts/mkbindist b/Tools/portbuild/scripts/mkbindist
index 8a262d8ee2b6..c76bd9862070 100755
--- a/Tools/portbuild/scripts/mkbindist
+++ b/Tools/portbuild/scripts/mkbindist
@@ -34,11 +34,12 @@ mkdir -p ${tmpdir}
# FTP the snapshot tarball chunks if required
if [ "${ftp}" != 0 ]; then
+ cd ${here}
rm -rf bindist/ftp
mkdir -p bindist/ftp
cd bindist/ftp
for i in ${ftpdists}; do
- /usr/bin/ftp -a "ftp://${ftpserver}/pub/FreeBSD/snapshots/${arch}/${rel}/$i.??"
+ /usr/bin/ftp -a "ftp://${ftpserver}/${ftpurl}/${rel}/$i.??"
done
cd ${here}
fi
@@ -69,13 +70,6 @@ rm -rf $(cat ${here}/bindist/delete)
mkdir -p $(cat ${here}/bindist/dirlist)
(cd ${here}/bindist/files; find -dx . | cpio -dump ${tmpdir})
-# Prepare needed packages
-mkdir ${tmpdir}/packages
-if [ "$branch" = 5 ]; then
- cd ${tmpdir}/packages
- fetch ftp://${ftpsite}/pub/FreeBSD/ports/${arch}/packages-5-current/Latest/perl.tbz
-fi
-
# Post-processing of installed world
date '+%Y%m%d' > var/db/port.mkversion