From root@aegis.um.lublin.pl  Fri Jul  4 16:43:53 2008
Return-Path: <root@aegis.um.lublin.pl>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CA6BD1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Jul 2008 16:43:53 +0000 (UTC)
	(envelope-from root@aegis.um.lublin.pl)
Received: from aegis.um.lublin.pl (aegis.um.lublin.pl [193.93.68.20])
	by mx1.freebsd.org (Postfix) with ESMTP id 4D5898FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Jul 2008 16:43:53 +0000 (UTC)
	(envelope-from root@aegis.um.lublin.pl)
Received: from localhost (localhost [127.0.0.1])
	by aegis.um.lublin.pl (Postfix) with ESMTP id B13FF6785D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Jul 2008 18:44:16 +0200 (CEST)
Received: from aegis.um.lublin.pl ([127.0.0.1])
	by localhost (aegis.um.lublin.pl [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id xC-3GYhyoIFV for <FreeBSD-gnats-submit@freebsd.org>;
	Fri,  4 Jul 2008 18:44:16 +0200 (CEST)
Received: by aegis.um.lublin.pl (Postfix, from userid 0)
	id 0A5E76785B; Fri,  4 Jul 2008 18:44:16 +0200 (CEST)
Message-Id: <20080704164416.0A5E76785B@aegis.um.lublin.pl>
Date: Fri,  4 Jul 2008 18:44:16 +0200 (CEST)
From: Andy Kosela <andy.kosela@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER-UPDATE] ports-mgmt/bpkg: update to 2.0.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         125265
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] ports-mgmt/bpkg: update to 2.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 04 16:50:01 UTC 2008
>Closed-Date:    Mon Jul 07 14:02:03 UTC 2008
>Last-Modified:  Mon Jul  7 14:10:02 UTC 2008
>Originator:     Andy Kosela
>Release:        FreeBSD 6.2-RELEASE-p11 i386
>Organization:
Protect Ya Neck Records/Wu-Tang Management
>Environment:
System: FreeBSD aegis.um.lublin.pl 6.2-RELEASE-p11 FreeBSD 6.2-RELEASE-p11 #0: Wed Feb 13 07:00:04 UTC 2008
>Description:
- Update to 2.0.1

>How-To-Repeat:
>Fix:

--- bpkg-2.0.1.patch begins here ---
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
--- bpkg-2.0.1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Jul 7 14:02:02 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125265 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/125265: commit references a PR
Date: Mon,  7 Jul 2008 14:02:12 +0000 (UTC)

 miwi        2008-07-07 14:01:57 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ports-mgmt/bpkg      Makefile 
     ports-mgmt/bpkg/files bpkg.8 bpkg.sh.in 
   Log:
   - Update to 2.0.1
   
   PR:             125265
   Submitted by:   Andy Kosela <andy.kosela@gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.15      +1 -1      ports/ports-mgmt/bpkg/Makefile
   1.10      +8 -4      ports/ports-mgmt/bpkg/files/bpkg.8
   1.14      +6 -5      ports/ports-mgmt/bpkg/files/bpkg.sh.in
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
