Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2007 15:51:05 -0600 (CST)
From:      Jim Pirzyk <pirzyk@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110013: Update port: sysutils/psgconf 3.2.4
Message-ID:  <200703062151.l26Lp593016473@lilo.cites.uiuc.edu>
Resent-Message-ID: <200703062210.l26MA41E005830@freefall.freebsd.org>

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

>Number:         110013
>Category:       ports
>Synopsis:       Update port: sysutils/psgconf 3.2.4
>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:   Tue Mar 06 22:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 6.1-SECURITY i386
>Organization:
>Environment:
System: FreeBSD lilo.cites.uiuc.edu 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Wed Feb 14 15:33:28 UTC 2007 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


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

Need to cvs delete the files/patch-postinstall file as well.


diff -Nru ./psgconf/Makefile ./psgconf.new/Makefile
--- ./psgconf/Makefile	Tue Feb 13 09:57:16 2007
+++ ./psgconf.new/Makefile	Mon Feb 26 00:56:11 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	psgconf
-PORTVERSION=	3.2.3
+PORTVERSION=	3.2.4
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://ftp-dev.cites.uiuc.edu/pub/psgconf/
 
@@ -195,8 +195,11 @@
 post-patch:
 	${FIND} ${WRKSRC} -name "*.orig" -delete
 
+.if ${ARCH} == "amd64"
+# Does not work because Proc::ProcessTable is broken
 post-build:
 	cd ${WRKSRC} && ${MAKE} test
+.endif
 
 post-install:
 	-@${MKDIR} ${PREFIX}/etc
diff -Nru ./psgconf/distinfo ./psgconf.new/distinfo
--- ./psgconf/distinfo	Tue Feb 13 09:57:16 2007
+++ ./psgconf.new/distinfo	Mon Feb 26 00:57:30 2007
@@ -1,3 +1,3 @@
-MD5 (psgconf-3.2.3.tar.gz) = 59da41ee9c9fe2a97fd9920b86e43974
-SHA256 (psgconf-3.2.3.tar.gz) = ee95a3956bdfc8fee6a69e7b2cce830179c324413ca20cc0e9dbe9d9ea4540ed
-SIZE (psgconf-3.2.3.tar.gz) = 238061
+MD5 (psgconf-3.2.4.tar.gz) = e4b9cb31dcbef71ce1a9132fe0b7fcb4
+SHA256 (psgconf-3.2.4.tar.gz) = 5e6e0dfb0daab9eba53765017aee07b83b67bd57c9c8afb06941464e1dcb6cdb
+SIZE (psgconf-3.2.4.tar.gz) = 238460
diff -Nru ./psgconf/files/patch-PSGConf.pm ./psgconf.new/files/patch-PSGConf.pm
--- ./psgconf/files/patch-PSGConf.pm	Tue Feb 13 09:57:16 2007
+++ ./psgconf.new/files/patch-PSGConf.pm	Sun Feb 25 23:47:06 2007
@@ -1,33 +1,16 @@
 --- ./lib/PSGConf.pm.orig	Sat Sep 23 13:44:35 2006
 +++ ./lib/PSGConf.pm	Thu Jan 11 11:15:45 2007
-@@ -14,6 +14,7 @@
- 
- use strict;
- 
-+use File::Basename;
- use File::Copy;
- use File::Path;
- use File::stat;
-@@ -34,8 +35,8 @@
+@@ -34,8 +34,8 @@
  my %defaults = (
  	config_dir		=> '/usr/local/share/psgconf/config',
  	files_dir			=> '/usr/local/share/psgconf/files',
 -	modules_file		=> '/etc/psgconf_modules',
--	tmpdir			=> "/var/tmp/$0.$$",
 +	modules_file		=> '/usr/local/etc/psgconf_modules',
-+	tmpdir			=> '/var/tmp/' . basename $0 . ".$$",
+ 	tmpdir			=> '/var/tmp/' . basename $0 . ".$$",
  	verbose			=> 0,
  	do_fix			=> 0,
  	restart_daemons	=> 1,
-@@ -62,6 +63,7 @@
- 
- 	### Set from the environment variables if 
- 	### not set on the command line.
-+	$0 = basename $0;
- 	$self->{tmpdir} = $ENV{'PSGCONF_TMPDIR'} . "/$0.$$"
- 		if ( !defined $self->{tmpdir} && 
- 			defined $ENV{'PSGCONF_TMPDIR'} && 
-@@ -677,7 +679,7 @@
+@@ -677,7 +677,7 @@
  =item modules_file
  
  Full path to B<psgconf> modules file.  Default is
diff -Nru ./psgconf/files/patch-postinstall ./psgconf.new/files/patch-postinstall
--- ./psgconf/files/patch-postinstall	Thu Feb  8 15:02:44 2007
+++ ./psgconf.new/files/patch-postinstall	Wed Dec 31 18:00:00 1969
@@ -1,18 +0,0 @@
---- ./postinstall.orig	Wed Oct 25 08:25:58 2006
-+++ ./postinstall	Wed Feb  7 13:11:34 2007
-@@ -13,6 +13,7 @@
- 
- DATE=`date +%Y-%m-%d`
- PKG_NAME=psgconf
-+HOSTNAME=`uname -n`
- 
- # ROOT_PATH is the relocatable start of the psgconf tree.
- # Ala the root_path that is used in pkgadd(8) on Solaris.
-@@ -128,7 +129,6 @@
- 	echo "Generating a default ${ROOT_PATH}${ETC_DIR}/psg.conf file";
- 
- 	# FIXME:  Need to figure out the default network interface...
--	HOSTNAME=`uname -n`
- 	sed -e "s/^#hostname.*$/hostname \"$HOSTNAME\";/" \
- 		< ${SRC_CONF} \
- 		> ${ROOT_PATH}${ETC_DIR}/psg.conf
>Release-Note:
>Audit-Trail:
>Unformatted:



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