diff options
author | eadler <eadler@FreeBSD.org> | 2012-02-05 23:40:43 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-02-05 23:40:43 +0800 |
commit | 709bef9331c647c3ea2b10f514efb56f214a9f04 (patch) | |
tree | 21987c4b7aac449fc2e09622cadd9727e16903f8 /ports-mgmt/bpkg | |
parent | 56af32e90d3f41635ad1d8e5a366ad52d42b3e36 (diff) | |
download | freebsd-ports-gnome-709bef9331c647c3ea2b10f514efb56f214a9f04.tar.gz freebsd-ports-gnome-709bef9331c647c3ea2b10f514efb56f214a9f04.tar.zst freebsd-ports-gnome-709bef9331c647c3ea2b10f514efb56f214a9f04.zip |
Update to 2.1.5
Changes:
* fix bug in ftp code
* fix bug in text www browsing
PR: ports/164797
Submitted by: Andy Kosela <akosela@andykosela.com> (maintainer)
Diffstat (limited to 'ports-mgmt/bpkg')
-rw-r--r-- | ports-mgmt/bpkg/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/bpkg/files/bpkg.sh.in | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ports-mgmt/bpkg/Makefile b/ports-mgmt/bpkg/Makefile index df32e389d0f9..0e7e8cdf2f49 100644 --- a/ports-mgmt/bpkg/Makefile +++ b/ports-mgmt/bpkg/Makefile @@ -8,7 +8,7 @@ # PORTNAME= bpkg -PORTVERSION= 2.1.4 +PORTVERSION= 2.1.5 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 f8f043964080..f0788056624f 100644 --- a/ports-mgmt/bpkg/files/bpkg.sh.in +++ b/ports-mgmt/bpkg/files/bpkg.sh.in @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD$ -# Copyright (c) 2007-2011 Andy Kosela <akosela@andykosela.com> +# Copyright (c) 2007-2012 Andy Kosela <akosela@andykosela.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -328,6 +328,7 @@ pkg_ftp() arch=`uname -m` sys=`uname -r | cut -d- -f1` + [ -e /tmp/bpkg*.tmp ] && rm /tmp/bpkg*.tmp 1>/dev/null 2>&1 for e in $pkg; do echo "ls $e*" >> /tmp/bpkg.tmp done @@ -360,6 +361,7 @@ pkg_latestftp() arch=`uname -m` sys=`uname -r | cut -d. -f1` + [ -e /tmp/bpkg*.tmp ] && rm /tmp/bpkg*.tmp 1>/dev/null 2>&1 for e in $pkg; do echo "ls $e*" >> /tmp/bpkg.tmp done @@ -607,7 +609,7 @@ pkg_freshports() echo "bpkg: text WWW browser required" else echo "Loading..." - pwd=`cd /usr/ports && make search path=/$pkg | grep -w Path | + pwd=`cd /usr/ports && make search path=/$pkg$ | grep -w Path | sed -n 1p | cut -d/ -f4,5` $browser http://www.freshports.org/$pwd fi |