Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 1999 00:54:28 +0200 (MET DST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14218: make sysutils/pkg_version use nik's patches
Message-ID:  <199910082254.AAA51927@saturn.kn-bremen.de>

next in thread | raw e-mail | index | archive | help

>Number:         14218
>Category:       ports
>Synopsis:       make sysutils/pkg_version use nik's patches
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct  8 16:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
me?  organized?
>Environment:

	3.3-STABLE i386

>Description:

	I just installed the pkg_version port with the patches
	mentioned on -hackers (Message-ID:
	<19990927080912.A2944@kilt.nothing-going-on.org>), and
	i thought i might as well submit this change...  I also
	changed it to explicitly look for pkg_info in /usr/sbin
	so it also works when i haven't yet su'd (and don't have
	that dir in my PATH).

>How-To-Repeat:

	n/a

>Fix:

Index: Makefile
===================================================================
RCS file: /home/cvs/cvs/ports/sysutils/pkg_version/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	1999/08/31 01:59:59	1.2
+++ Makefile	1999/10/08 22:16:08
@@ -10,6 +10,9 @@
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.ca.sandia.gov/~bmah/Software/pkg_version/
 
+PATCH_SITES=	http://www.freebsd.org/~nik/
+PATCHFILES=	pkg_version.diff pkg_version.1.diff
+
 MAINTAINER=	bmah@ca.sandia.gov
 
 USE_PERL5=	YES
Index: files/md5
===================================================================
RCS file: /home/cvs/cvs/ports/sysutils/pkg_version/files/md5,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 md5
--- md5	1998/12/06 07:24:57	1.1.1.1
+++ md5	1999/10/08 22:16:56
@@ -1 +1,3 @@
 MD5 (pkg_version-0.1.tar.gz) = 789d6fd21ee74afcb2aa14075a5b85ca
+MD5 (pkg_version.diff) = d408ead8818ae1d8f9fff4ed29088878
+MD5 (pkg_version.1.diff) = 540f793de467647b95cb04b60d00dbb5
--- /dev/null	Sat Oct  9 00:30:56 1999
+++ patches/patch-aa	Sat Oct  9 00:30:05 1999
@@ -0,0 +1,10 @@
+Index: pkg_version
+@@ -37,7 +37,7 @@
+ # Configuration global variables
+ #
+ $Version = '0.1';
+-$CurrentPackagesCommand = 'pkg_info -aI';
++$CurrentPackagesCommand = '/usr/sbin/pkg_info -aI';
+ $CatProgram = "cat ";
+ $FetchProgram = "fetch -o - ";
+ 

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910082254.AAA51927>