View | Details | Raw Unified | Return to bug 90318
Collapse All | Expand All

(-)sysutils/psgconf-dev/Makefile (-3 / +13 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	psgconf
8
PORTNAME=	psgconf
9
PORTVERSION=	3.1.5
9
PORTVERSION=	3.1.12
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	ftp://ftp-dev.cites.uiuc.edu/pub/psgconf/
11
MASTER_SITES=	ftp://ftp-dev.cites.uiuc.edu/pub/psgconf/
12
12
Lines 16-23 Link Here
16
BUILD_DEPENDS= ${SITE_PERL}/Config/Objective.pm:${PORTSDIR}/devel/p5-Config-Objective \
16
BUILD_DEPENDS= ${SITE_PERL}/Config/Objective.pm:${PORTSDIR}/devel/p5-Config-Objective \
17
 	${SITE_PERL}/NetAddr/IP.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
17
 	${SITE_PERL}/NetAddr/IP.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
18
	${SITE_PERL}/${PERL_ARCH}/Proc/ProcessTable/Process.pm:${PORTSDIR}/devel/p5-Proc-ProcessTable \
18
	${SITE_PERL}/${PERL_ARCH}/Proc/ProcessTable/Process.pm:${PORTSDIR}/devel/p5-Proc-ProcessTable \
19
	${SITE_PERL}/${PERL_ARCH}/Unix/Mknod.pm:${PORTSDIR}/sysutils/p5-Unix-Mknod
19
	${SITE_PERL}/${PERL_ARCH}/Unix/Mknod.pm:${PORTSDIR}/sysutils/p5-Unix-Mknod \
20
RUN_DEPENDS=   ${BUILD_DEPENDS}
20
	${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
21
21
22
PERL_CONFIGURE=	YES
22
PERL_CONFIGURE=	YES
23
23
Lines 26-31 Link Here
26
		PSGConf::Action.3 \
26
		PSGConf::Action.3 \
27
		PSGConf::Action::ChMod.3 \
27
		PSGConf::Action::ChMod.3 \
28
		PSGConf::Action::CopyFile.3 \
28
		PSGConf::Action::CopyFile.3 \
29
		PSGConf::Action::CreateFile.3 \
29
		PSGConf::Action::Crontab.3 \
30
		PSGConf::Action::Crontab.3 \
30
		PSGConf::Action::File.3 \
31
		PSGConf::Action::File.3 \
31
		PSGConf::Action::GenerateFile.3 \
32
		PSGConf::Action::GenerateFile.3 \
Lines 78-83 Link Here
78
		PSGConf::Action::GenerateFile::workers_properties.3 \
79
		PSGConf::Action::GenerateFile::workers_properties.3 \
79
		PSGConf::Action::GenerateFile::xinetd_conf.3 \
80
		PSGConf::Action::GenerateFile::xinetd_conf.3 \
80
		PSGConf::Action::HomeDir.3 \
81
		PSGConf::Action::HomeDir.3 \
82
		PSGConf::Action::lpadmin.3 \
81
		PSGConf::Action::MkDir.3 \
83
		PSGConf::Action::MkDir.3 \
82
		PSGConf::Action::MkNod.3 \
84
		PSGConf::Action::MkNod.3 \
83
		PSGConf::Action::ModifyFile.3 \
85
		PSGConf::Action::ModifyFile.3 \
Lines 93-101 Link Here
93
		PSGConf::Action::Remove.3 \
95
		PSGConf::Action::Remove.3 \
94
		PSGConf::Action::RemoveCrontab.3 \
96
		PSGConf::Action::RemoveCrontab.3 \
95
		PSGConf::Action::RestartDaemon.3 \
97
		PSGConf::Action::RestartDaemon.3 \
98
		PSGConf::Action::RPMImportGPGKey.3 \
96
		PSGConf::Action::RunCommand.3 \
99
		PSGConf::Action::RunCommand.3 \
97
		PSGConf::Action::Symlink.3 \
100
		PSGConf::Action::Symlink.3 \
98
		PSGConf::Action::TouchFile.3 \
101
		PSGConf::Action::TouchFile.3 \
102
		PSGConf::Action::UntarFile.3 \
103
		PSGConf::Action::svcs::import.3 \
99
		PSGConf::Action::svcs::setprop.3 \
104
		PSGConf::Action::svcs::setprop.3 \
100
		PSGConf::Control.3 \
105
		PSGConf::Control.3 \
101
		PSGConf::Control::AIX.3 \
106
		PSGConf::Control::AIX.3 \
Lines 155-160 Link Here
155
		psgconf-intro.3
160
		psgconf-intro.3
156
161
157
.include <bsd.port.pre.mk>
162
.include <bsd.port.pre.mk>
163
164
.if ${PERL_LEVEL} < 500800
165
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/FTP.pm:${PORTSDIR}/net/p5-Net
166
.endif
167
RUN_DEPENDS=   ${BUILD_DEPENDS}
158
168
159
.if ${PERL_LEVEL} < 500600
169
.if ${PERL_LEVEL} < 500600
160
IGNORE=		this port requires perl 5.6 or newer
170
IGNORE=		this port requires perl 5.6 or newer
(-)sysutils/psgconf-dev/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
MD5 (psgconf-3.1.5.tar.gz) = 493794887e885a30f7859f85ba02633b
1
MD5 (psgconf-3.1.12.tar.gz) = 08eb3d87da5a9b9327a97b1975c76e19
2
SIZE (psgconf-3.1.5.tar.gz) = 197379
2
SHA256 (psgconf-3.1.12.tar.gz) = 620c8b4b62469602326d10c916565a57cdf5d1840ac031b979f9db0ceee74f80
3
SIZE (psgconf-3.1.12.tar.gz) = 210514
(-)sysutils/psgconf-dev/pkg-install (-2 / +11 lines)
Lines 21-32 Link Here
21
	POST-INSTALL)
21
	POST-INSTALL)
22
		if [ ! -r ${PKG_PREFIX}/etc/psg.conf ]; then
22
		if [ ! -r ${PKG_PREFIX}/etc/psg.conf ]; then
23
			echo "installing ${PKG_PREFIX}/etc/psg.conf";
23
			echo "installing ${PKG_PREFIX}/etc/psg.conf";
24
			cp ${PKG_PREFIX}/etc/psg.conf ${PKG_PREFIX}/etc/psg.conf;
24
			cp ${PKG_PREFIX}/etc/psg.conf.sample ${PKG_PREFIX}/etc/psg.conf;
25
		fi
25
		fi
26
26
27
		if [ -f ${PORTSDIR}/Makefile ]; then
28
			echo "configuring ${PKG_PREFIX}/etc/psgconf_modules to use ports collection";
29
			sed -e 's/FreeBSD::Packages$/FreeBSD::Ports/' < ${PKG_PREFIX}/etc/psgconf_modules.sample > ${PKG_PREFIX}/etc/psgconf_modules.sample.new
30
			if [ $? -eq 0 ]; then
31
				mv ${PKG_PREFIX}/etc/psgconf_modules.sample.new ${PKG_PREFIX}/etc/psgconf_modules.sample
32
			else
33
				rm -f ${PKG_PREFIX}/etc/psgconf_modules.sample.new
34
			fi
35
		fi
27
		if [ ! -r ${PKG_PREFIX}/etc/psgconf_modules ]; then
36
		if [ ! -r ${PKG_PREFIX}/etc/psgconf_modules ]; then
28
			echo "installing ${PKG_PREFIX}/etc/psgconf_modules";
37
			echo "installing ${PKG_PREFIX}/etc/psgconf_modules";
29
			cp ${PKG_PREFIX}/etc/psgconf_modules ${PKG_PREFIX}/etc/psgconf_modules
38
			cp ${PKG_PREFIX}/etc/psgconf_modules.sample ${PKG_PREFIX}/etc/psgconf_modules
30
		fi
39
		fi
31
		;;
40
		;;
32
esac
41
esac
(-)sysutils/psgconf-dev/pkg-plist (-2 / +5 lines)
Lines 1-5 Link Here
1
@unexec cmp %D/etc/psg.conf.sample %D/etc/psg.conf && rm %D/etc/psg.conf
2
@unexec cmp %D/etc/psgconf_modules.sample %D/etc/psgconf_modules && rm %D/etc/psgconf_modules
3
etc/psg.conf.sample
1
etc/psg.conf.sample
4
etc/psgconf_modules.sample
2
etc/psgconf_modules.sample
5
sbin/psgconf
3
sbin/psgconf
Lines 25-30 Link Here
25
%%SITE_PERL%%/PSGConf/Action.pm
23
%%SITE_PERL%%/PSGConf/Action.pm
26
%%SITE_PERL%%/PSGConf/Action/ChMod.pm
24
%%SITE_PERL%%/PSGConf/Action/ChMod.pm
27
%%SITE_PERL%%/PSGConf/Action/CopyFile.pm
25
%%SITE_PERL%%/PSGConf/Action/CopyFile.pm
26
%%SITE_PERL%%/PSGConf/Action/CreateFile.pm
28
%%SITE_PERL%%/PSGConf/Action/Crontab.pm
27
%%SITE_PERL%%/PSGConf/Action/Crontab.pm
29
%%SITE_PERL%%/PSGConf/Action/File.pm
28
%%SITE_PERL%%/PSGConf/Action/File.pm
30
%%SITE_PERL%%/PSGConf/Action/GenerateFile.pm
29
%%SITE_PERL%%/PSGConf/Action/GenerateFile.pm
Lines 77-82 Link Here
77
%%SITE_PERL%%/PSGConf/Action/GenerateFile/workers_properties.pm
76
%%SITE_PERL%%/PSGConf/Action/GenerateFile/workers_properties.pm
78
%%SITE_PERL%%/PSGConf/Action/GenerateFile/xinetd_conf.pm
77
%%SITE_PERL%%/PSGConf/Action/GenerateFile/xinetd_conf.pm
79
%%SITE_PERL%%/PSGConf/Action/HomeDir.pm
78
%%SITE_PERL%%/PSGConf/Action/HomeDir.pm
79
%%SITE_PERL%%/PSGConf/Action/lpadmin.pm
80
%%SITE_PERL%%/PSGConf/Action/MkDir.pm
80
%%SITE_PERL%%/PSGConf/Action/MkDir.pm
81
%%SITE_PERL%%/PSGConf/Action/MkNod.pm
81
%%SITE_PERL%%/PSGConf/Action/MkNod.pm
82
%%SITE_PERL%%/PSGConf/Action/ModifyFile.pm
82
%%SITE_PERL%%/PSGConf/Action/ModifyFile.pm
Lines 92-100 Link Here
92
%%SITE_PERL%%/PSGConf/Action/Remove.pm
92
%%SITE_PERL%%/PSGConf/Action/Remove.pm
93
%%SITE_PERL%%/PSGConf/Action/RemoveCrontab.pm
93
%%SITE_PERL%%/PSGConf/Action/RemoveCrontab.pm
94
%%SITE_PERL%%/PSGConf/Action/RestartDaemon.pm
94
%%SITE_PERL%%/PSGConf/Action/RestartDaemon.pm
95
%%SITE_PERL%%/PSGConf/Action/RPMImportGPGKey.pm
95
%%SITE_PERL%%/PSGConf/Action/RunCommand.pm
96
%%SITE_PERL%%/PSGConf/Action/RunCommand.pm
96
%%SITE_PERL%%/PSGConf/Action/Symlink.pm
97
%%SITE_PERL%%/PSGConf/Action/Symlink.pm
97
%%SITE_PERL%%/PSGConf/Action/TouchFile.pm
98
%%SITE_PERL%%/PSGConf/Action/TouchFile.pm
99
%%SITE_PERL%%/PSGConf/Action/UntarFile.pm
100
%%SITE_PERL%%/PSGConf/Action/svcs/import.pm
98
%%SITE_PERL%%/PSGConf/Action/svcs/setprop.pm
101
%%SITE_PERL%%/PSGConf/Action/svcs/setprop.pm
99
%%SITE_PERL%%/PSGConf/Control.pm
102
%%SITE_PERL%%/PSGConf/Control.pm
100
%%SITE_PERL%%/PSGConf/Control/AIX.pm
103
%%SITE_PERL%%/PSGConf/Control/AIX.pm

Return to bug 90318