Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2006 08:25:11 -0500 (CDT)
From:      Jim Pirzyk <pirzyk@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102013: Update Port: net/nph fix to pkg-install script.
Message-ID:  <200608141325.k7EDPBlq001991@lilo.ci.uiuc.edu>
Resent-Message-ID: <200608141330.k7EDUIZ0076401@freefall.freebsd.org>

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

>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@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:



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