ports/184319: [maintainer update] ports-mgmt/pkg_replace support pkg-1.2

Ken DEGUCHI kdeguchi at sz.tokoha-u.ac.jp
Wed Nov 27 00:50:00 UTC 2013


>Number:         184319
>Category:       ports
>Synopsis:       [maintainer update] ports-mgmt/pkg_replace support pkg-1.2
>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 27 00:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ken DEGUCHI
>Release:        9.2-STABLE
>Organization:
TOKOHA University
>Environment:
FreeBSD lagrange.tokoha-u.ac.jp 9.2-STABLE FreeBSD 9.2-STABLE #111 r258582M: Tue Nov 26 04:38:18 JST 2013     root at lagrange.tokoha-u.ac.jp:/usr/obj/usr/src/sys/LAGRANGE  amd64
>Description:
pkg_replace can not find installed package with pkg-1.2, because 'pkg info' is querying a file or is a single direct match query then default on '-f'.

'pkg_glob' function in pkg_replace is modified to use 'pkg query' instead of 'pkg info'.
>How-To-Repeat:
pkg_replace can not find installed package with pkg-1.2.
>Fix:
'pkg_glob' function in pkg_replace is modified to use 'pkg query' instead of 'pkg info'.

Patch attached with submission follows:

diff -ur pkg_replace/Makefile.orig pkg_replace/Makefile
--- pkg_replace/Makefile.orig	2013-10-08 07:21:29.731507953 +0900
+++ pkg_replace/Makefile	2013-11-27 09:19:20.927959294 +0900
@@ -3,7 +3,7 @@
 
 PORTNAME=	pkg_replace
 PORTVERSION=	0.8.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
 MASTER_SITE_SUBDIR=	portutil/22116
diff -ur pkg_replace/distinfo.orig pkg_replace/distinfo
--- pkg_replace/distinfo.orig	2013-10-08 07:21:29.752506778 +0900
+++ pkg_replace/distinfo	2013-11-27 09:18:42.974959139 +0900
@@ -1,4 +1,4 @@
 SHA256 (pkg_replace-0.8.0.tar.bz2) = 3092f5fc0d18529eb5d38776941c0ee4d0073ecb524ab17671c81ca69c29e214
 SIZE (pkg_replace-0.8.0.tar.bz2) = 17296
-SHA256 (pkg_replace-0.8.0_4.patch) = a802706afe92dae8a0cb9db4cf4b15879d57dc67d4376cd6aa2ada83bd7fd02c
-SIZE (pkg_replace-0.8.0_4.patch) = 11135
+SHA256 (pkg_replace-0.8.0_5.patch) = ce2a9f44c4592839423fe2098a247d4409b9d3e3d8da2a0b343219dca922be93
+SIZE (pkg_replace-0.8.0_5.patch) = 11168


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list