ports/102013: Update Port: net/nph fix to pkg-install script.

Jim Pirzyk pirzyk at FreeBSD.org
Mon Aug 14 13:30:31 UTC 2006


>Number:         102013
>Category:       ports
>Synopsis:       Update Port: net/nph fix to pkg-install script.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 14 13:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD lilo.ci.uiuc.edu 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

--- pkg-install.orig	Sun Jun 25 09:04:27 2006
+++ pkg-install	Thu Aug 10 13:53:30 2006
@@ -36,11 +36,10 @@
 			fi
 		fi
 
-		if [ -n "${PH_SERVER}" ]; then
-			echo "${PH_SERVER}" > ${PKG_PREFIX}/etc/ph_server.sample;
-		elif [ ! -f "${PKG_PREFIX}/etc/ph_server" ]; then
-			echo "WARNING: cannot determine PH server name - you must create ${PKG_PREFIX}/etc/ph_server manually";
+		if [ -z "${PH_SERVER}" ]; then
+			PH_SERVER="ns.some.domain.org";
 		fi
+		echo "${PH_SERVER}" > ${PKG_PREFIX}/etc/ph_server.sample;
 
 		if [ ! -f "${PKG_PREFIX}/etc/ph_server" ]; then
 			echo "creating default ${PKG_PREFIX}/etc/ph_server file...";
--- Makefile.orig	Sun Jun 25 09:04:27 2006
+++ Makefile	Mon Aug 14 08:23:45 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	nph
 PORTVERSION=	1.2.3
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.feep.net/pub/software/nph/
 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list