aboutsummaryrefslogtreecommitdiff
path: root/sysutils/psgconf
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2007-03-09 13:47:28 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2007-03-09 13:47:28 +0000
commit375142ae76a3e8557246c0c4f9a7a7174f8ea008 (patch)
treebe3cff50119c5ba8bacd2c27060ce57f55dee7b5 /sysutils/psgconf
parent3e07262a9d36939fd7829280011f2d984b652d0a (diff)
downloadports-375142ae76a3e8557246c0c4f9a7a7174f8ea008.tar.gz
ports-375142ae76a3e8557246c0c4f9a7a7174f8ea008.zip
Notes
Diffstat (limited to 'sysutils/psgconf')
-rw-r--r--sysutils/psgconf/Makefile5
-rw-r--r--sysutils/psgconf/distinfo6
-rw-r--r--sysutils/psgconf/files/patch-PSGConf.pm23
-rw-r--r--sysutils/psgconf/files/patch-postinstall18
4 files changed, 10 insertions, 42 deletions
diff --git a/sysutils/psgconf/Makefile b/sysutils/psgconf/Makefile
index e122c44bff8e..e07bafc93f16 100644
--- a/sysutils/psgconf/Makefile
+++ b/sysutils/psgconf/Makefile
@@ -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 @@ PKGDEINSTALL= ${WRKSRC}/postinstall
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 --git a/sysutils/psgconf/distinfo b/sysutils/psgconf/distinfo
index 3525977f8e98..f2e86a8a2c35 100644
--- a/sysutils/psgconf/distinfo
+++ b/sysutils/psgconf/distinfo
@@ -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 --git a/sysutils/psgconf/files/patch-PSGConf.pm b/sysutils/psgconf/files/patch-PSGConf.pm
index b5e64f94b671..4367579df50b 100644
--- a/sysutils/psgconf/files/patch-PSGConf.pm
+++ b/sysutils/psgconf/files/patch-PSGConf.pm
@@ -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 --git a/sysutils/psgconf/files/patch-postinstall b/sysutils/psgconf/files/patch-postinstall
deleted file mode 100644
index 0183f338c88a..000000000000
--- a/sysutils/psgconf/files/patch-postinstall
+++ /dev/null
@@ -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