diff options
author | Andrej Zverev <az@FreeBSD.org> | 2010-09-25 14:55:28 +0000 |
---|---|---|
committer | Andrej Zverev <az@FreeBSD.org> | 2010-09-25 14:55:28 +0000 |
commit | 51c7590c22ec166f9d6c8a1734a08b14ebe89dfb (patch) | |
tree | 7d8b54fb5f3225c8f9bda61b9971a3fd8ece0619 /ports-mgmt | |
parent | 48d024b0d2a3a0040a70cd40f23dadc42a733066 (diff) | |
download | ports-51c7590c22ec166f9d6c8a1734a08b14ebe89dfb.tar.gz ports-51c7590c22ec166f9d6c8a1734a08b14ebe89dfb.zip |
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/bpkg/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/bpkg/files/bpkg.8 | 4 | ||||
-rw-r--r-- | ports-mgmt/bpkg/files/bpkg.sh.in | 24 |
3 files changed, 15 insertions, 15 deletions
diff --git a/ports-mgmt/bpkg/Makefile b/ports-mgmt/bpkg/Makefile index 0314008cc88b..24b2dfa74623 100644 --- a/ports-mgmt/bpkg/Makefile +++ b/ports-mgmt/bpkg/Makefile @@ -8,7 +8,7 @@ # PORTNAME= bpkg -PORTVERSION= 2.1.1 +PORTVERSION= 2.1.2 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/bpkg/files/bpkg.8 b/ports-mgmt/bpkg/files/bpkg.8 index edbbfe618139..25ddf7c1bbdd 100644 --- a/ports-mgmt/bpkg/files/bpkg.8 +++ b/ports-mgmt/bpkg/files/bpkg.8 @@ -25,7 +25,7 @@ .\" SUCH DAMAGE. .\" .\" -.Dd September 2, 2010 +.Dd September 24, 2010 .Dt BPKG 8 .Os .Sh NAME @@ -129,7 +129,7 @@ command: .Pp Display short description about port foo. .Pp -.Dl "$ bpkg -p foo$" +.Dl "$ bpkg -p foo.*" .Pp Display all ports matching the regular expression. .Pp diff --git a/ports-mgmt/bpkg/files/bpkg.sh.in b/ports-mgmt/bpkg/files/bpkg.sh.in index 2de2b59ef5ac..54b39cdb5dea 100644 --- a/ports-mgmt/bpkg/files/bpkg.sh.in +++ b/ports-mgmt/bpkg/files/bpkg.sh.in @@ -81,7 +81,7 @@ pkg_info-xI() info_fn if [ -z "$info" ]; then - pwd=`cat /usr/ports/INDEX-$re | grep /$e.*'|'/ | + pwd=`cat /usr/ports/INDEX-$re | grep /$e'|'/ | cut -d'|' -f2 | cut -d/ -f4,5` echo "*** not installed ***" for i in $pwd; do @@ -193,7 +193,7 @@ pkg_info-xf() info_fn if [ -z "$info" ]; then - pwd=`cat /usr/ports/INDEX-$re | grep /$e.*'|'/ | + pwd=`cat /usr/ports/INDEX-$re | grep /$e'|'/ | cut -d'|' -f2 | cut -d/ -f4,5` echo "*** not installed ***" for i in $pwd; do @@ -262,7 +262,7 @@ pkg_path() re=`uname -r | cut -d. -f1` for e in $pkg; do - pwd=`cat /usr/ports/INDEX-$re | grep /$e.*'|'/ | + pwd=`cat /usr/ports/INDEX-$re | grep /$e'|'/ | cut -d'|' -f2 | cut -d/ -f4,5` for i in $pwd; do echo "$i: `cat /usr/ports/INDEX-$re | @@ -402,9 +402,9 @@ pkg_clean() pkg_clean2() { root - echo "Cleaning /usr/ports/distfiles/* and /usr/ports/*/*/work/" + echo "Cleaning /usr/ports/distfiles/* and /usr/ports/*/*/work" rm -rf /usr/ports/distfiles/* 1>/dev/null 2>&1 - rm -rf /usr/ports/*/*/work/ 1>/dev/null 2>&1 + rm -rf /usr/ports/*/*/work 1>/dev/null 2>&1 echo "Done." exit 0 } @@ -450,9 +450,9 @@ pkg_backup_all() local e root - echo "Creating backup packages in /var/tmp/bpkg/" - [ ! -d /var/tmp/bpkg/ ] && mkdir /var/tmp/bpkg/ - cd /var/tmp/bpkg/ + echo "Creating backup packages in /var/tmp/bpkg" + [ ! -d /var/tmp/bpkg/ ] && mkdir /var/tmp/bpkg + cd /var/tmp/bpkg for e in `pkg_info -Ea`; do pkg_create -b "$e" 1>/dev/null 2>&1 @@ -478,7 +478,7 @@ make_showc() info_fn if [ -z "$info" ]; then - pwd=`cat /usr/ports/INDEX-$re | grep /$e.*'|'/ | + pwd=`cat /usr/ports/INDEX-$re | grep /$e'|'/ | cut -d'|' -f2 | cut -d/ -f4,5` for i in $pwd; do echo "*** not installed ***" @@ -522,7 +522,7 @@ make_rmc() info_fn if [ -z "$info" ]; then - pwd=`cat /usr/ports/INDEX-$re | grep /$e.*'|'/ | + pwd=`cat /usr/ports/INDEX-$re | grep /$e'|'/ | cut -d'|' -f2 | cut -d/ -f4,5` for i in $pwd; do echo "*** not installed ***" @@ -567,7 +567,7 @@ make_config() info_fn if [ -z "$info" ]; then - pwd=`cat /usr/ports/INDEX-$re | grep /$e.*'|'/ | + pwd=`cat /usr/ports/INDEX-$re | grep /$e'|'/ | cut -d'|' -f2 | cut -d/ -f4,5` for i in $pwd; do echo "*** not installed ***" @@ -633,7 +633,7 @@ show_work() for e in $pkg; do info_fn if [ -z "$info" ]; then - pwd=`cat /usr/ports/INDEX-$re | grep /$e.*'|'/ | + pwd=`cat /usr/ports/INDEX-$re | grep /$e'|'/ | cut -d'|' -f2 | cut -d/ -f4,5` for i in $pwd; do /usr/local/sbin/portmaster --show-work $i |