FreeBSD Bugzilla – Attachment 88463 Details for
Bug 125265
[MAINTAINER-UPDATE] ports-mgmt/bpkg: update to 2.0.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bpkg-2.0.1.patch
bpkg-2.0.1.patch (text/plain), 3.21 KB, created by
Andy Kosela
on 2008-07-04 17:50:01 UTC
(
hide
)
Description:
bpkg-2.0.1.patch
Filename:
MIME Type:
Creator:
Andy Kosela
Created:
2008-07-04 17:50:01 UTC
Size:
3.21 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/Makefile /usr/home/akosela/downloads/bpkg-2.0.1/Makefile >--- /usr/ports/ports-mgmt/bpkg/Makefile Fri Jun 20 17:03:44 2008 >+++ /usr/home/akosela/downloads/bpkg-2.0.1/Makefile Fri Jul 4 16:13:55 2008 >@@ -2,13 +2,13 @@ > # Date created: 24 June 2007 > # Whom: Andy Kosela <andy.kosela@gmail.com> > # >-# $FreeBSD: ports/ports-mgmt/bpkg/Makefile,v 1.14 2008/06/20 15:03:44 miwi Exp $ >+# $FreeBSD$ > # > # This port is self contained in the files directory. > # > > PORTNAME= bpkg >-PORTVERSION= 2.0 >+PORTVERSION= 2.0.1 > CATEGORIES= ports-mgmt > MASTER_SITES= # none > DISTFILES= # none >diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/files/bpkg.8 /usr/home/akosela/downloads/bpkg-2.0.1/files/bpkg.8 >--- /usr/ports/ports-mgmt/bpkg/files/bpkg.8 Fri Jun 20 17:03:44 2008 >+++ /usr/home/akosela/downloads/bpkg-2.0.1/files/bpkg.8 Fri Jul 4 17:35:38 2008 >@@ -23,7 +23,7 @@ > .\" SUCH DAMAGE. > .\" > .\" >-.Dd June 19, 2008 >+.Dd July 4, 2008 > .Dt BPKG 8 > .Os > .Sh NAME >@@ -45,7 +45,7 @@ > The following command line arguments are supported: > .Bl -tag -width F1 > .It Fl b >-create backup package file in /usr/obj/ from a locally installed port. >+create backup package in /var/tmp/ from a locally installed port. > .It Fl c > clean all distfiles in /usr/ports/distfiles/* [no arguments] > .It Fl C >@@ -95,11 +95,11 @@ > .It Fl S > search the ports tree and display info about the port. > .It Fl t >-list all installed ports and dates of their installation. [no arguments] >+list all installed ports with dates of their installation. [no arguments] > .It Fl w > which installed port owns the specified file. > .It Fl v >-list all installed ports and possible upgrades. [no arguments] >+list all installed ports and possible updates. [no arguments] > .It Fl z > display dynamic object dependencies for the specified port. > .It Fl Z >@@ -124,6 +124,10 @@ > .Dl Ar "> bpkg -t | head" > .Pp > Display 10 most recently installed ports. >+.Pp >+.Dl Ar "> bpkg -b 'foo bar'" >+.Pp >+Create backup packages of foo and bar in /var/tmp/ directory. > .Sh SEE ALSO > .Xr pkg_add 1 , > .Xr pkg_create 1 , >diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/files/bpkg.sh.in /usr/home/akosela/downloads/bpkg-2.0.1/files/bpkg.sh.in >--- /usr/ports/ports-mgmt/bpkg/files/bpkg.sh.in Fri Jun 20 17:03:44 2008 >+++ /usr/home/akosela/downloads/bpkg-2.0.1/files/bpkg.sh.in Fri Jul 4 17:56:39 2008 >@@ -1,5 +1,5 @@ > #!/bin/sh >-# $FreeBSD: ports/ports-mgmt/bpkg/files/bpkg.sh.in,v 1.13 2008/06/20 15:03:44 miwi Exp $ >+# $FreeBSD$ > > # Copyright (c) 2007 Andy Kosela <andy.kosela@gmail.com> > # All rights reserved. >@@ -365,15 +365,16 @@ > fi > > pkg_install=`pkg_info -xoQ $pkg | cut -d: -f1 | awk '{ORS=" " ; print}'` >- echo "Creating backup package(s) "$pkg_install"in /usr/obj/" >- e=`pkg_info -xoQ $pkg | cut -d: -f1` >- cd /usr/obj/ && pkg_create -xb $e 1>/dev/null 2>&1 >+ echo "Creating backup package(s) "$pkg_install"in /var/tmp/" >+ for e in $pkg; do >+ i=`pkg_info -xoQ $e | cut -d: -f1'` >+ cd /var/tmp/ && pkg_create -xb $i 1>/dev/null 2>&1 >+ done > echo "Done." > exit 0 > } > >-pkg_time() { >- echo "Packages (date of installation):" >+pkg_time() { > /bin/ls -lUTt /var/db/pkg/ | awk -F' ' '{ print $6,$7,$8,$9,$10 }' | cut -d/ -f1,5 > echo "***`pkg_info | wc -l` ports installed ***" > exit 0
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 125265
: 88463