diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-05 00:15:39 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-05 00:15:39 +0000 |
commit | 088b3c91ff234e20cf8c9346c1519ee07e2da78a (patch) | |
tree | 143e7577722113ce1e0a305d821f589888c43c88 /sysutils/psgconf | |
parent | 9b07424366d5cb88466b4555e97d522572ef0df4 (diff) | |
download | ports-088b3c91ff234e20cf8c9346c1519ee07e2da78a.tar.gz ports-088b3c91ff234e20cf8c9346c1519ee07e2da78a.zip |
Notes
Diffstat (limited to 'sysutils/psgconf')
-rw-r--r-- | sysutils/psgconf/Makefile | 20 | ||||
-rw-r--r-- | sysutils/psgconf/distinfo | 5 | ||||
-rw-r--r-- | sysutils/psgconf/pkg-install | 13 | ||||
-rw-r--r-- | sysutils/psgconf/pkg-plist | 5 |
4 files changed, 34 insertions, 9 deletions
diff --git a/sysutils/psgconf/Makefile b/sysutils/psgconf/Makefile index 8efb05349457..2abb6d17cd95 100644 --- a/sysutils/psgconf/Makefile +++ b/sysutils/psgconf/Makefile @@ -6,7 +6,7 @@ # PORTNAME= psgconf -PORTVERSION= 3.1.5 +PORTVERSION= 3.1.12 CATEGORIES= sysutils MASTER_SITES= ftp://ftp-dev.cites.uiuc.edu/pub/psgconf/ @@ -16,8 +16,8 @@ COMMENT= Controls system configuration BUILD_DEPENDS= ${SITE_PERL}/Config/Objective.pm:${PORTSDIR}/devel/p5-Config-Objective \ ${SITE_PERL}/NetAddr/IP.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \ ${SITE_PERL}/${PERL_ARCH}/Proc/ProcessTable/Process.pm:${PORTSDIR}/devel/p5-Proc-ProcessTable \ - ${SITE_PERL}/${PERL_ARCH}/Unix/Mknod.pm:${PORTSDIR}/sysutils/p5-Unix-Mknod -RUN_DEPENDS= ${BUILD_DEPENDS} + ${SITE_PERL}/${PERL_ARCH}/Unix/Mknod.pm:${PORTSDIR}/sysutils/p5-Unix-Mknod \ + ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version PERL_CONFIGURE= YES @@ -26,6 +26,7 @@ MAN3= PSGConf.3 \ PSGConf::Action.3 \ PSGConf::Action::ChMod.3 \ PSGConf::Action::CopyFile.3 \ + PSGConf::Action::CreateFile.3 \ PSGConf::Action::Crontab.3 \ PSGConf::Action::File.3 \ PSGConf::Action::GenerateFile.3 \ @@ -78,6 +79,7 @@ MAN3= PSGConf.3 \ PSGConf::Action::GenerateFile::workers_properties.3 \ PSGConf::Action::GenerateFile::xinetd_conf.3 \ PSGConf::Action::HomeDir.3 \ + PSGConf::Action::lpadmin.3 \ PSGConf::Action::MkDir.3 \ PSGConf::Action::MkNod.3 \ PSGConf::Action::ModifyFile.3 \ @@ -93,9 +95,12 @@ MAN3= PSGConf.3 \ PSGConf::Action::Remove.3 \ PSGConf::Action::RemoveCrontab.3 \ PSGConf::Action::RestartDaemon.3 \ + PSGConf::Action::RPMImportGPGKey.3 \ PSGConf::Action::RunCommand.3 \ PSGConf::Action::Symlink.3 \ PSGConf::Action::TouchFile.3 \ + PSGConf::Action::UntarFile.3 \ + PSGConf::Action::svcs::import.3 \ PSGConf::Action::svcs::setprop.3 \ PSGConf::Control.3 \ PSGConf::Control::AIX.3 \ @@ -156,12 +161,17 @@ MAN3= PSGConf.3 \ .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/FTP.pm:${PORTSDIR}/net/p5-Net +.endif +RUN_DEPENDS= ${BUILD_DEPENDS} + .if ${PERL_LEVEL} < 500600 -IGNORE= this port requires perl 5.6 or newer +IGNORE= requires perl 5.6 or newer .endif post-patch: - ${FIND} ${WRKSRC} -name "*.orig" -a -exec ${RM} -f {} \; + ${FIND} ${WRKSRC} -name "*.orig" -delete post-install: -@${MKDIR} ${PREFIX}/etc diff --git a/sysutils/psgconf/distinfo b/sysutils/psgconf/distinfo index a8463a1c99af..bf967f32febd 100644 --- a/sysutils/psgconf/distinfo +++ b/sysutils/psgconf/distinfo @@ -1,2 +1,3 @@ -MD5 (psgconf-3.1.5.tar.gz) = 493794887e885a30f7859f85ba02633b -SIZE (psgconf-3.1.5.tar.gz) = 197379 +MD5 (psgconf-3.1.12.tar.gz) = 08eb3d87da5a9b9327a97b1975c76e19 +SHA256 (psgconf-3.1.12.tar.gz) = 620c8b4b62469602326d10c916565a57cdf5d1840ac031b979f9db0ceee74f80 +SIZE (psgconf-3.1.12.tar.gz) = 210514 diff --git a/sysutils/psgconf/pkg-install b/sysutils/psgconf/pkg-install index 0424b912a21e..4a51f1782f73 100644 --- a/sysutils/psgconf/pkg-install +++ b/sysutils/psgconf/pkg-install @@ -21,12 +21,21 @@ case $2 in POST-INSTALL) if [ ! -r ${PKG_PREFIX}/etc/psg.conf ]; then echo "installing ${PKG_PREFIX}/etc/psg.conf"; - cp ${PKG_PREFIX}/etc/psg.conf ${PKG_PREFIX}/etc/psg.conf; + cp ${PKG_PREFIX}/etc/psg.conf.sample ${PKG_PREFIX}/etc/psg.conf; fi + if [ -f ${PORTSDIR}/Makefile ]; then + echo "configuring ${PKG_PREFIX}/etc/psgconf_modules to use ports collection"; + sed -e 's/FreeBSD::Packages$/FreeBSD::Ports/' < ${PKG_PREFIX}/etc/psgconf_modules.sample > ${PKG_PREFIX}/etc/psgconf_modules.sample.new + if [ $? -eq 0 ]; then + mv ${PKG_PREFIX}/etc/psgconf_modules.sample.new ${PKG_PREFIX}/etc/psgconf_modules.sample + else + rm -f ${PKG_PREFIX}/etc/psgconf_modules.sample.new + fi + fi if [ ! -r ${PKG_PREFIX}/etc/psgconf_modules ]; then echo "installing ${PKG_PREFIX}/etc/psgconf_modules"; - cp ${PKG_PREFIX}/etc/psgconf_modules ${PKG_PREFIX}/etc/psgconf_modules + cp ${PKG_PREFIX}/etc/psgconf_modules.sample ${PKG_PREFIX}/etc/psgconf_modules fi ;; esac diff --git a/sysutils/psgconf/pkg-plist b/sysutils/psgconf/pkg-plist index b8f43581408a..10d7dcb245b5 100644 --- a/sysutils/psgconf/pkg-plist +++ b/sysutils/psgconf/pkg-plist @@ -25,6 +25,7 @@ share/psgconf/files/rc.shutdown %%SITE_PERL%%/PSGConf/Action.pm %%SITE_PERL%%/PSGConf/Action/ChMod.pm %%SITE_PERL%%/PSGConf/Action/CopyFile.pm +%%SITE_PERL%%/PSGConf/Action/CreateFile.pm %%SITE_PERL%%/PSGConf/Action/Crontab.pm %%SITE_PERL%%/PSGConf/Action/File.pm %%SITE_PERL%%/PSGConf/Action/GenerateFile.pm @@ -77,6 +78,7 @@ share/psgconf/files/rc.shutdown %%SITE_PERL%%/PSGConf/Action/GenerateFile/workers_properties.pm %%SITE_PERL%%/PSGConf/Action/GenerateFile/xinetd_conf.pm %%SITE_PERL%%/PSGConf/Action/HomeDir.pm +%%SITE_PERL%%/PSGConf/Action/lpadmin.pm %%SITE_PERL%%/PSGConf/Action/MkDir.pm %%SITE_PERL%%/PSGConf/Action/MkNod.pm %%SITE_PERL%%/PSGConf/Action/ModifyFile.pm @@ -92,9 +94,12 @@ share/psgconf/files/rc.shutdown %%SITE_PERL%%/PSGConf/Action/Remove.pm %%SITE_PERL%%/PSGConf/Action/RemoveCrontab.pm %%SITE_PERL%%/PSGConf/Action/RestartDaemon.pm +%%SITE_PERL%%/PSGConf/Action/RPMImportGPGKey.pm %%SITE_PERL%%/PSGConf/Action/RunCommand.pm %%SITE_PERL%%/PSGConf/Action/Symlink.pm %%SITE_PERL%%/PSGConf/Action/TouchFile.pm +%%SITE_PERL%%/PSGConf/Action/UntarFile.pm +%%SITE_PERL%%/PSGConf/Action/svcs/import.pm %%SITE_PERL%%/PSGConf/Action/svcs/setprop.pm %%SITE_PERL%%/PSGConf/Control.pm %%SITE_PERL%%/PSGConf/Control/AIX.pm |