ports/118057: [MAINTAINER] ports-mgmt/bpkg: update to 1.7
Andy Kosela
andy.kosela at gmail.com
Wed Nov 14 23:20:03 UTC 2007
>Number: 118057
>Category: ports
>Synopsis: [MAINTAINER] ports-mgmt/bpkg: update to 1.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 14 23:20:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Andy Kosela
>Release: FreeBSD 6.2-RELEASE-p2 i386
>Organization:
Protect Ya Neck Records/Wu-Tang Management
>Environment:
System: FreeBSD aegis.um.lublin.pl 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:56:09 UTC 2007
>Description:
- Update to 1.7
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- bpkg-1.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/Makefile /usr/home/spear/downloads/bpkg-1.7/Makefile
--- /usr/ports/ports-mgmt/bpkg/Makefile Thu Oct 4 23:59:54 2007
+++ /usr/home/spear/downloads/bpkg-1.7/Makefile Wed Nov 14 23:43:39 2007
@@ -2,13 +2,13 @@
# Date created: 24 June 2007
# Whom: Andy Kosela <andy.kosela at gmail.com>
#
-# $FreeBSD: ports/ports-mgmt/bpkg/Makefile,v 1.9 2007/10/04 21:59:54 miwi Exp $
+# $FreeBSD$
#
# This port is self contained in the files directory.
#
PORTNAME= bpkg
-PORTVERSION= 1.6.1
+PORTVERSION= 1.7
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/files/bpkg.8 /usr/home/spear/downloads/bpkg-1.7/files/bpkg.8
--- /usr/ports/ports-mgmt/bpkg/files/bpkg.8 Sun Sep 23 07:56:28 2007
+++ /usr/home/spear/downloads/bpkg-1.7/files/bpkg.8 Wed Nov 14 23:42:03 2007
@@ -23,7 +23,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd September 22, 2007
+.Dd November 14, 2007
.Dt BPKG 8
.Os
.Sh NAME
@@ -31,7 +31,7 @@
.Nd a simple tool for managing FreeBSD packages/ports.
.Sh SYNOPSIS
.Nm
-.Op Fl bBdDeEfFgiIkLmMnoOpqQrsSwz
+.Op Fl bBdDeEfFgiIjkLmMnoOpqQrsSwz
.Ar pkg-name ...
.Nm
.Op Fl aAcChltvZ
@@ -90,6 +90,8 @@
display info about the package/port (priority - installed packages).
.It Fl I
display short info about the package/port (priority - installed packages).
+.It Fl j
+search the ports tree according to ports' descriptions.
.It Fl k
show the deinstall script (if any) for the installed package.
.It Fl l
diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/files/bpkg.sh.in /usr/home/spear/downloads/bpkg-1.7/files/bpkg.sh.in
--- /usr/ports/ports-mgmt/bpkg/files/bpkg.sh.in Thu Oct 4 23:59:54 2007
+++ /usr/home/spear/downloads/bpkg-1.7/files/bpkg.sh.in Wed Nov 14 23:30:26 2007
@@ -1,5 +1,5 @@
#!/bin/sh
-# $FreeBSD: ports/ports-mgmt/bpkg/files/bpkg.sh.in,v 1.8 2007/10/04 21:59:54 miwi Exp $
+# $FreeBSD$
# Copyright (c) 2007 Andy Kosela <andy.kosela at gmail.com>
# All rights reserved.
@@ -607,6 +607,13 @@
exit 0
}
+make_search_info() {
+ for e in $pkg; do
+ cd /usr/ports && make search info=$e
+ done
+ exit 0
+}
+
pkg_find() {
arch=`uname -m`
sys=`uname -r | cut -d- -f1,2 | tr '[:upper:]' '[:lower:]'`
@@ -714,7 +721,7 @@
pkg_time() {
echo "Packages (date of installation):"
echo ""
- /bin/ls -lTt /var/db/pkg/*/+CONTENTS | awk -F' ' '{ print $6,$7,$8,$9,$10 }' | cut -d/ -f1,5
+ /bin/ls -lUTt /var/db/pkg/ | awk -F' ' '{ print $6,$7,$8,$9,$10 }' | cut -d/ -f1,5
echo "***`pkg_info | wc -l` packages installed ***"
exit 0
}
@@ -1114,7 +1121,7 @@
help() {
echo "bpkg version `pkg_info -xI bpkg | cut -d- -f2 | cut -d' ' -f1`"
echo ""
- echo "Usage: bpkg [-bBdDeEfFgiIkLmMnoOpqQrsSwz] pkg-name ..."
+ echo "Usage: bpkg [-bBdDeEfFgiIjkLmMnoOpqQrsSwz] pkg-name ..."
echo " bpkg [-aAcChltvZ]"
echo ""
echo "Please see the bpkg(8) man page for more information"
@@ -1125,7 +1132,7 @@
# End of functions
################################################################################
-while getopts b:B:d:D:e:E:f:F:g:i:I:k:L:m:M:n:o:O:p:q:Q:r:s:S:w:z:aAcChltvZ opts; do
+while getopts b:B:d:D:e:E:f:F:g:i:I:j:k:L:m:M:n:o:O:p:q:Q:r:s:S:w:z:aAcChltvZ opts; do
case $opts in
b) pkg=$OPTARG
build_port;;
@@ -1149,6 +1156,8 @@
make_search;;
I) pkg=$OPTARG
pkg_info-xI;;
+ j) pkg=$OPTARG
+ make_search_info;;
k) pkg=$OPTARG
pkg_info-xk;;
L) pkg=$OPTARG
--- bpkg-1.7.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list