Bug 164797 - [MAINTAINER-UPDATE] ports-mgmt/bpkg: update to 2.1.5
Summary: [MAINTAINER-UPDATE] ports-mgmt/bpkg: update to 2.1.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Eitan Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-05 15:10 UTC by Andy Kosela
Modified: 2012-02-05 15:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Kosela 2012-02-05 15:10:11 UTC
- Update to 2.1.5

* fix bug in ftp code
* fix bug in text www browsing
* standardize pkg-descr

Fix: 

--Andy--venVMHlLlpBWrC1ligmtSj8S6bMzi6lq1BihwwiASOFuGlxa
Content-Type: text/plain; name="bpkg-2.1.5.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="bpkg-2.1.5.patch"

diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/Makefile /usr/home/akosela/bpkg/Makefile
--- /usr/ports/ports-mgmt/bpkg/Makefile	2011-11-01 09:55:31.000000000 +0100
+++ /usr/home/akosela/bpkg/Makefile	2012-02-05 15:23:00.000000000 +0100
@@ -2,13 +2,13 @@
 # Date created:				24 June 2007
 # Whom:					Andy Kosela <akosela@andykosela.com>
 #
-# $FreeBSD: ports/ports-mgmt/bpkg/Makefile,v 1.30 2011/11/01 08:55:31 az Exp $
+# $FreeBSD$
 #
 # This port is self contained in the files directory.
 #
 
 PORTNAME=	bpkg
-PORTVERSION=	2.1.4
+PORTVERSION=	2.1.5
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none
diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/files/bpkg.sh.in /usr/home/akosela/bpkg/files/bpkg.sh.in
--- /usr/ports/ports-mgmt/bpkg/files/bpkg.sh.in	2011-11-01 09:55:31.000000000 +0100
+++ /usr/home/akosela/bpkg/files/bpkg.sh.in	2012-02-05 16:13:41.000000000 +0100
@@ -1,7 +1,7 @@
 #!/bin/sh
-# $FreeBSD: ports/ports-mgmt/bpkg/files/bpkg.sh.in,v 1.29 2011/11/01 08:55:31 az Exp $
+# $FreeBSD$
 
-#  Copyright (c) 2007-2011 Andy Kosela <akosela@andykosela.com>
+#  Copyright (c) 2007-2012 Andy Kosela <akosela@andykosela.com>
 #  All rights reserved.
 #
 #  Redistribution and use in source and binary forms, with or without
@@ -328,6 +328,7 @@
 	arch=`uname -m`
 	sys=`uname -r | cut -d- -f1`
 
+	[ -e /tmp/bpkg*.tmp ] && rm /tmp/bpkg*.tmp 1>/dev/null 2>&1
 	for e in $pkg; do
 		echo "ls $e*" >> /tmp/bpkg.tmp
 	done
@@ -360,6 +361,7 @@
 	arch=`uname -m`
 	sys=`uname -r | cut -d. -f1`
 
+	[ -e /tmp/bpkg*.tmp ] && rm /tmp/bpkg*.tmp 1>/dev/null 2>&1
 	for e in $pkg; do
 		echo "ls $e*" >> /tmp/bpkg.tmp
 	done
@@ -607,7 +609,7 @@
 		echo "bpkg: text WWW browser required"
 	else
 		echo "Loading..."
-		pwd=`cd /usr/ports && make search path=/$pkg | grep -w Path |
+		pwd=`cd /usr/ports && make search path=/$pkg$ | grep -w Path |
 		    sed -n 1p | cut -d/ -f4,5`
 		$browser http://www.freshports.org/$pwd
 	fi
diff -ruN --exclude=CVS /usr/ports/ports-mgmt/bpkg/pkg-descr /usr/home/akosela/bpkg/pkg-descr
--- /usr/ports/ports-mgmt/bpkg/pkg-descr	2011-10-24 11:10:42.000000000 +0200
+++ /usr/home/akosela/bpkg/pkg-descr	2012-02-05 15:56:19.000000000 +0100
@@ -2,4 +2,5 @@
 ports.  Its main goal is to provide a quick way to display all kinds of
 useful info about installed ports and the whole ports tree.
 
+Author: Andy Kosela <akosela@andykosela.com>
 WWW: http://www.andykosela.com/bpkg.html
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2012-02-05 15:35:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eadler

.1
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-02-05 15:40:57 UTC
eadler      2012-02-05 15:40:43 UTC

  FreeBSD ports repository

  Modified files:
    ports-mgmt/bpkg      Makefile 
    ports-mgmt/bpkg/files bpkg.sh.in 
  Log:
  Update to 2.1.5
  
  Changes:
  
  * fix bug in ftp code
  * fix bug in text www browsing
  
  PR:             ports/164797
  Submitted by:   Andy Kosela <akosela@andykosela.com> (maintainer)
  
  Revision  Changes    Path
  1.31      +1 -1      ports/ports-mgmt/bpkg/Makefile
  1.30      +5 -3      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"
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2012-02-05 15:41:28 UTC
State Changed
From-To: open->closed

Committed the changes to Makefile and the script; we don't include 
author names in the pkg-descr though - sorry!