summaryrefslogtreecommitdiff
path: root/ports-mgmt/bpkg
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-09-08 07:58:23 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-09-08 07:58:23 +0000
commit393d586d0f137452111fb941ab4784b9d1f7d7de (patch)
treedebe6f3f8f8772b58d449dea74ed4af562f7bf49 /ports-mgmt/bpkg
parentAdd port math/octave-forge-data-graceplot (diff)
- Update to 2.0.4
PR: 127203 Submitted by: Andy Kosela <akosela@andykosela.com> (maintainer)
Diffstat (limited to 'ports-mgmt/bpkg')
-rw-r--r--ports-mgmt/bpkg/Makefile2
-rw-r--r--ports-mgmt/bpkg/files/bpkg.sh.in15
2 files changed, 9 insertions, 8 deletions
diff --git a/ports-mgmt/bpkg/Makefile b/ports-mgmt/bpkg/Makefile
index 5507f03f0ae8..94ca281c5fc2 100644
--- a/ports-mgmt/bpkg/Makefile
+++ b/ports-mgmt/bpkg/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= bpkg
-PORTVERSION= 2.0.3
+PORTVERSION= 2.0.4
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/bpkg/files/bpkg.sh.in b/ports-mgmt/bpkg/files/bpkg.sh.in
index d0e86cf3f790..cc628ffbbb5b 100644
--- a/ports-mgmt/bpkg/files/bpkg.sh.in
+++ b/ports-mgmt/bpkg/files/bpkg.sh.in
@@ -375,16 +375,16 @@ make_search_info()
pkg_ftp()
{
arch=`uname -m`
- sys=`uname -r | cut -d- -f1,2 | tr '[:upper:]' '[:lower:]'`
+ sys=`uname -r | cut -d- -f1`
for e in $pkg; do
echo "ls $e*" >> /tmp/bpkg.tmp
done
cat /tmp/bpkg.tmp | sed s/[0-9][0-9].*/*/ > /tmp/bpkg1.tmp
- echo "ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-stable/Latest/"
- ftp -4Va ftp://ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-$sys/Latest/ < /tmp/bpkg1.tmp > /tmp/bpkg2.tmp
- ftp -4Va ftp://ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-$sys/All/ < /tmp/bpkg1.tmp > /tmp/bpkg3.tmp
+ echo "ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-$sys-release/Latest/"
+ ftp -4Va ftp://ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-$sys-release/Latest/ < /tmp/bpkg1.tmp > /tmp/bpkg2.tmp
+ ftp -4Va ftp://ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-$sys-release/All/ < /tmp/bpkg1.tmp > /tmp/bpkg3.tmp
n=1
for e in `cat /tmp/bpkg2.tmp | awk '{print $9}' | cut -d. -f1`; do
@@ -403,15 +403,16 @@ pkg_ftp()
pkg_latestftp()
{
arch=`uname -m`
+ sys=`uname -r | cut -d. -f1`
for e in $pkg; do
echo "ls $e*" >> /tmp/bpkg.tmp
done
cat /tmp/bpkg.tmp | sed s/[0-9][0-9].*/*/ > /tmp/bpkg1.tmp
- echo "ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-stable/Latest/"
- ftp -4Va ftp://ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-stable/Latest/ < /tmp/bpkg1.tmp > /tmp/bpkg2.tmp
- ftp -4Va ftp://ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-stable/All/ < /tmp/bpkg1.tmp > /tmp/bpkg3.tmp
+ echo "ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-$sys-stable/Latest/"
+ ftp -4Va ftp://ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-$sys-stable/Latest/ < /tmp/bpkg1.tmp > /tmp/bpkg2.tmp
+ ftp -4Va ftp://ftp.freebsd.org/pub/FreeBSD/ports/$arch/packages-$sys-stable/All/ < /tmp/bpkg1.tmp > /tmp/bpkg3.tmp
n=1
for e in `cat /tmp/bpkg2.tmp | awk '{print $9}' | cut -d. -f1`; do