summaryrefslogtreecommitdiff
path: root/ports-mgmt/bpkg
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-02-05 15:40:43 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-02-05 15:40:43 +0000
commit5e49aefa6ef1cca5367bf1280a4e5d25984aa757 (patch)
tree081d9b9bc7d4f6fa234f4cac179514e19e5f7963 /ports-mgmt/bpkg
parentInstall new pg_basebackup tool by default (diff)
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)
Notes
Notes: svn path=/head/; revision=290439
Diffstat (limited to 'ports-mgmt/bpkg')
-rw-r--r--ports-mgmt/bpkg/Makefile2
-rw-r--r--ports-mgmt/bpkg/files/bpkg.sh.in6
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