aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-11-02 12:01:54 +0800
committerkris <kris@FreeBSD.org>2002-11-02 12:01:54 +0800
commit67be3fad872fafb992432c5ebb218dd598dbf659 (patch)
tree5f26ebb3141d7ccbe4081e8e8eae94fa38c93f7f /Tools
parent0ee6c69487032a5dc72d10cf19ddc0adaca35c83 (diff)
downloadfreebsd-ports-gnome-67be3fad872fafb992432c5ebb218dd598dbf659.tar.gz
freebsd-ports-gnome-67be3fad872fafb992432c5ebb218dd598dbf659.tar.zst
freebsd-ports-gnome-67be3fad872fafb992432c5ebb218dd598dbf659.zip
Read FTP url from ${ftpurl}. Remove hack to fetch perl package into the
bindist now that it is no longer required.
Diffstat (limited to 'Tools')
-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