FreeBSD Bugzilla – Attachment 82536 Details for
Bug 118057
[MAINTAINER] ports-mgmt/bpkg: update to 1.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bpkg-1.7.patch
bpkg-1.7.patch (text/plain), 3.39 KB, created by
Andy Kosela
on 2007-11-14 23:20:02 UTC
(
hide
)
Description:
bpkg-1.7.patch
Filename:
MIME Type:
Creator:
Andy Kosela
Created:
2007-11-14 23:20:02 UTC
Size:
3.39 KB
patch
obsolete
>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@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@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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 118057
: 82536