aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2007-03-09 21:47:28 +0800
committerbsam <bsam@FreeBSD.org>2007-03-09 21:47:28 +0800
commit1c314e5f58dc7bfe57d62aa4832dc1ad01c58b3e (patch)
tree73a664708a25e2f56fb40050ec22e3bf0b5be0ef /sysutils
parent899b45372c91fb563fbc876d877a61150e56ec2b (diff)
downloadfreebsd-ports-graphics-1c314e5f58dc7bfe57d62aa4832dc1ad01c58b3e.tar.gz
freebsd-ports-graphics-1c314e5f58dc7bfe57d62aa4832dc1ad01c58b3e.tar.zst
freebsd-ports-graphics-1c314e5f58dc7bfe57d62aa4832dc1ad01c58b3e.zip
. update to 3.2.4;
. remove stale files/patch-postinstall. PR: 110013 Submitted by: pirzyk (maintainer)
Diffstat (limited to 'sysutils')
-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 e122c44bff8..e07bafc93f1 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 3525977f8e9..f2e86a8a2c3 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 b5e64f94b67..4367579df50 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 0183f338c88..00000000000
--- 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