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

(-)psgconf/Makefile (-10 / +5 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	psgconf
8
PORTNAME=	psgconf
9
PORTVERSION=	3.2
9
PORTVERSION=	3.2.1
10
PORTREVISION=	1
10
CATEGORIES=	sysutils
11
CATEGORIES=	sysutils
11
MASTER_SITES=	ftp://ftp-dev.cites.uiuc.edu/pub/psgconf/
12
MASTER_SITES=	ftp://ftp-dev.cites.uiuc.edu/pub/psgconf/
12
13
Lines 26-32 Link Here
26
MAN1=		psgconf.1
27
MAN1=		psgconf.1
27
MAN3=		PSGConf.3 \
28
MAN3=		PSGConf.3 \
28
		PSGConf::Action.3 \
29
		PSGConf::Action.3 \
30
		PSGConf::Action::ChGrp.3 \
29
		PSGConf::Action::ChMod.3 \
31
		PSGConf::Action::ChMod.3 \
32
		PSGConf::Action::ChOwn.3 \
30
		PSGConf::Action::CopyFile.3 \
33
		PSGConf::Action::CopyFile.3 \
31
		PSGConf::Action::CreateFile.3 \
34
		PSGConf::Action::CreateFile.3 \
32
		PSGConf::Action::Crontab.3 \
35
		PSGConf::Action::Crontab.3 \
Lines 186-211 Link Here
186
IGNORE=		requires perl 5.6 or newer
189
IGNORE=		requires perl 5.6 or newer
187
.endif
190
.endif
188
191
189
.if ${OSVERSION} <= 600000
192
PKGINSTALL=	${WRKSRC}/postinstall
190
BROKEN=		does not compile on 4.X/5.X
191
.else
192
BROKEN=		attempts to modify file under /usr/ports, which could be an RO file system
193
.endif
194
193
195
post-patch:
194
post-patch:
196
	${FIND} ${WRKSRC} -name "*.orig" -delete
195
	${FIND} ${WRKSRC} -name "*.orig" -delete
197
196
198
post-build:
197
post-build:
199
	cd ${WRKSRC} && ${MAKE} test
198
	cd ${WRKSRC} && ${MAKE} test
200
	${CP} ${WRKSRC}/postinstall ${PKGINSTALL}
201
199
202
post-install:
200
post-install:
203
	-@${MKDIR} ${PREFIX}/etc
201
	-@${MKDIR} ${PREFIX}/etc
204
	@${CP} ${WRKSRC}/etc/psg.conf ${PREFIX}/etc/psg.conf.sample
202
	@${CP} ${WRKSRC}/etc/psg.conf ${PREFIX}/etc/psg.conf.sample
205
	@${CP} ${WRKSRC}/etc/psgconf_modules ${PREFIX}/etc/psgconf_modules.sample
203
	@${CP} ${WRKSRC}/etc/psgconf_modules ${PREFIX}/etc/psgconf_modules.sample
206
	PKG_PREFIX=${PREFIX} PKG_MGR=FreeBSD::Ports ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
204
	PKG_PREFIX=${PREFIX} PKG_MGR=FreeBSD::Ports ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
207
208
post-clean:
209
	@${RM} -f ${PKGINSTALL}
210
205
211
.include <bsd.port.post.mk>
206
.include <bsd.port.post.mk>
(-)psgconf/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (psgconf-3.2.tar.gz) = d51617f6d2e41ef3fcf5eaa3d5f01f05
1
MD5 (psgconf-3.2.1.tar.gz) = d9be38204425f72c611b7a0c51540b35
2
SHA256 (psgconf-3.2.tar.gz) = e55d35e517ea115a903d2d99d2dade0bdfd6c9594a3322f36fe50d0e1f277a95
2
SHA256 (psgconf-3.2.1.tar.gz) = a4a8d31871dc653e359804431534593be807ece10edf8bbcd4dd0074ed988b92
3
SIZE (psgconf-3.2.tar.gz) = 232351
3
SIZE (psgconf-3.2.1.tar.gz) = 234015
(-)psgconf/files/patch-Makefile.PL (-1 / +2 lines)
Lines 6-11 Link Here
6
 
6
 
7
-$etc_dir	= '/etc';
7
-$etc_dir	= '/etc';
8
+$etc_dir	= '$(PREFIX)/etc';
8
+$etc_dir	= '$(PREFIX)/etc';
9
 $share_dir	= '$(PREFIX)/share/psgconf';
9
-$share_dir	= '/usr/local/share/psgconf';
10
+$share_dir	= '$(PREFIX)/share/psgconf';
10
 
11
 
11
 GetOptions(
12
 GetOptions(
(-)psgconf/pkg-plist (-22 / +44 lines)
Lines 2-34 Link Here
2
@unexec cmp %D/etc/psgconf_modules.sample %D/etc/psgconf_modules && rm %D/etc/psgconf_modules
2
@unexec cmp %D/etc/psgconf_modules.sample %D/etc/psgconf_modules && rm %D/etc/psgconf_modules
3
etc/psg.conf.sample
3
etc/psg.conf.sample
4
etc/psgconf_modules.sample
4
etc/psgconf_modules.sample
5
sbin/ConfigFile2Storable
5
sbin/psgconf
6
sbin/psgconf
7
sbin/psgconf-import
6
sbin/platform-name
8
sbin/platform-name
7
share/psgconf/config/defaults.conf
9
%%DATADIR%%/config/defaults.conf
8
share/psgconf/config/platform-freebsd4.conf
10
%%DATADIR%%/config/platform-fc4.conf
9
share/psgconf/config/platform-freebsd5.conf
11
%%DATADIR%%/config/platform-freebsd4.conf
10
share/psgconf/config/platform-freebsd6.conf
12
%%DATADIR%%/config/platform-freebsd5.conf
11
share/psgconf/config/platform-hpux10.conf
13
%%DATADIR%%/config/platform-freebsd6.conf
12
share/psgconf/config/platform-hpux11.conf
14
%%DATADIR%%/config/platform-hpux10.conf
13
share/psgconf/config/platform-irix6.conf
15
%%DATADIR%%/config/platform-hpux11.conf
14
share/psgconf/config/platform-ix86-linux2.4.conf
16
%%DATADIR%%/config/platform-irix6.conf
15
share/psgconf/config/platform-rs6000-aix4.3.3.conf
17
%%DATADIR%%/config/platform-rhel3.conf
16
share/psgconf/config/platform-rs6000-aix5.1.0.conf
18
%%DATADIR%%/config/platform-rhel4.conf
17
share/psgconf/config/platform-sparc-solaris8.conf
19
%%DATADIR%%/config/platform-rs6000-aix4.3.3.conf
18
share/psgconf/config/platform-sparc-solaris9.conf
20
%%DATADIR%%/config/platform-rs6000-aix5.1.0.conf
19
share/psgconf/config/platform-sparc-solaris10.conf
21
%%DATADIR%%/config/platform-solaris8.conf
20
share/psgconf/files/magic
22
%%DATADIR%%/config/platform-solaris9.conf
21
share/psgconf/files/rc.shutdown
23
%%DATADIR%%/config/platform-solaris10.conf
24
%%DATADIR%%/files/magic
25
%%DATADIR%%/files/rc.shutdown
22
%%SITE_PERL%%//%%PERL_ARCH%%/auto/PSGConf/.packlist
26
%%SITE_PERL%%//%%PERL_ARCH%%/auto/PSGConf/.packlist
23
%%SITE_PERL%%/psgconf-intro.pod
27
%%SITE_PERL%%/psgconf-intro.pod
24
%%SITE_PERL%%/PSGConf.pm
28
%%SITE_PERL%%/PSGConf.pm
25
%%SITE_PERL%%/PSGConf/Action.pm
29
%%SITE_PERL%%/PSGConf/Action.pm
30
%%SITE_PERL%%/PSGConf/Action/ChGrp.pm
26
%%SITE_PERL%%/PSGConf/Action/ChMod.pm
31
%%SITE_PERL%%/PSGConf/Action/ChMod.pm
32
%%SITE_PERL%%/PSGConf/Action/ChOwn.pm
27
%%SITE_PERL%%/PSGConf/Action/CopyFile.pm
33
%%SITE_PERL%%/PSGConf/Action/CopyFile.pm
28
%%SITE_PERL%%/PSGConf/Action/CreateFile.pm
34
%%SITE_PERL%%/PSGConf/Action/CreateFile.pm
29
%%SITE_PERL%%/PSGConf/Action/Crontab.pm
35
%%SITE_PERL%%/PSGConf/Action/Crontab.pm
30
%%SITE_PERL%%/PSGConf/Action/File.pm
36
%%SITE_PERL%%/PSGConf/Action/File.pm
31
%%SITE_PERL%%/PSGConf/Action/GenerateFile.pm
37
%%SITE_PERL%%/PSGConf/Action/GenerateFile.pm
38
%%SITE_PERL%%/PSGConf/Action/GenerateFile/AppConfig.pm
32
%%SITE_PERL%%/PSGConf/Action/GenerateFile/BSD_exports.pm
39
%%SITE_PERL%%/PSGConf/Action/GenerateFile/BSD_exports.pm
33
%%SITE_PERL%%/PSGConf/Action/GenerateFile/EnvFile.pm
40
%%SITE_PERL%%/PSGConf/Action/GenerateFile/EnvFile.pm
34
%%SITE_PERL%%/PSGConf/Action/GenerateFile/Literal.pm
41
%%SITE_PERL%%/PSGConf/Action/GenerateFile/Literal.pm
Lines 90-95 Link Here
90
%%SITE_PERL%%/PSGConf/Action/PackageManager/FreeBSD/Ports.pm
97
%%SITE_PERL%%/PSGConf/Action/PackageManager/FreeBSD/Ports.pm
91
%%SITE_PERL%%/PSGConf/Action/PackageManager/RedHat/RHN.pm
98
%%SITE_PERL%%/PSGConf/Action/PackageManager/RedHat/RHN.pm
92
%%SITE_PERL%%/PSGConf/Action/PackageManager/RedHat/RPMS.pm
99
%%SITE_PERL%%/PSGConf/Action/PackageManager/RedHat/RPMS.pm
100
%%SITE_PERL%%/PSGConf/Action/PackageManager/RedHat/Yum.pm
93
%%SITE_PERL%%/PSGConf/Action/PackageManager/Solaris.pm
101
%%SITE_PERL%%/PSGConf/Action/PackageManager/Solaris.pm
94
%%SITE_PERL%%/PSGConf/Action/Remove.pm
102
%%SITE_PERL%%/PSGConf/Action/Remove.pm
95
%%SITE_PERL%%/PSGConf/Action/RemoveCrontab.pm
103
%%SITE_PERL%%/PSGConf/Action/RemoveCrontab.pm
Lines 99-104 Link Here
99
%%SITE_PERL%%/PSGConf/Action/Symlink.pm
107
%%SITE_PERL%%/PSGConf/Action/Symlink.pm
100
%%SITE_PERL%%/PSGConf/Action/TouchFile.pm
108
%%SITE_PERL%%/PSGConf/Action/TouchFile.pm
101
%%SITE_PERL%%/PSGConf/Action/UntarFile.pm
109
%%SITE_PERL%%/PSGConf/Action/UntarFile.pm
110
%%SITE_PERL%%/PSGConf/Action/svcs/addpg.pm
102
%%SITE_PERL%%/PSGConf/Action/svcs/import.pm
111
%%SITE_PERL%%/PSGConf/Action/svcs/import.pm
103
%%SITE_PERL%%/PSGConf/Action/svcs/setprop.pm
112
%%SITE_PERL%%/PSGConf/Action/svcs/setprop.pm
104
%%SITE_PERL%%/PSGConf/Control.pm
113
%%SITE_PERL%%/PSGConf/Control.pm
Lines 112-120 Link Here
112
%%SITE_PERL%%/PSGConf/Control/FreeBSD.pm
121
%%SITE_PERL%%/PSGConf/Control/FreeBSD.pm
113
%%SITE_PERL%%/PSGConf/Control/InitScripts.pm
122
%%SITE_PERL%%/PSGConf/Control/InitScripts.pm
114
%%SITE_PERL%%/PSGConf/Control/Inittab.pm
123
%%SITE_PERL%%/PSGConf/Control/Inittab.pm
115
%%SITE_PERL%%/PSGConf/Control/Library/crle.pm
116
%%SITE_PERL%%/PSGConf/Control/Library/ld_so_conf.pm
117
%%SITE_PERL%%/PSGConf/Control/Library/ldconfig.pm
118
%%SITE_PERL%%/PSGConf/Control/NFS_Client.pm
124
%%SITE_PERL%%/PSGConf/Control/NFS_Client.pm
119
%%SITE_PERL%%/PSGConf/Control/NFS_Server.pm
125
%%SITE_PERL%%/PSGConf/Control/NFS_Server.pm
120
%%SITE_PERL%%/PSGConf/Control/NTP.pm
126
%%SITE_PERL%%/PSGConf/Control/NTP.pm
Lines 124-133 Link Here
124
%%SITE_PERL%%/PSGConf/Control/Packages.pm
130
%%SITE_PERL%%/PSGConf/Control/Packages.pm
125
%%SITE_PERL%%/PSGConf/Control/PostgreSQL.pm
131
%%SITE_PERL%%/PSGConf/Control/PostgreSQL.pm
126
%%SITE_PERL%%/PSGConf/Control/Printers.pm
132
%%SITE_PERL%%/PSGConf/Control/Printers.pm
127
%%SITE_PERL%%/PSGConf/Control/RHN.pm
128
%%SITE_PERL%%/PSGConf/Control/RPC.pm
133
%%SITE_PERL%%/PSGConf/Control/RPC.pm
134
%%SITE_PERL%%/PSGConf/Control/RPC/rstatd.pm
129
%%SITE_PERL%%/PSGConf/Control/Resolver.pm
135
%%SITE_PERL%%/PSGConf/Control/Resolver.pm
136
%%SITE_PERL%%/PSGConf/Control/RedHat.pm
130
%%SITE_PERL%%/PSGConf/Control/SASL.pm
137
%%SITE_PERL%%/PSGConf/Control/SASL.pm
138
%%SITE_PERL%%/PSGConf/Control/SharedLibrary.pm
131
%%SITE_PERL%%/PSGConf/Control/ShellStartupFiles.pm
139
%%SITE_PERL%%/PSGConf/Control/ShellStartupFiles.pm
132
%%SITE_PERL%%/PSGConf/Control/Shells.pm
140
%%SITE_PERL%%/PSGConf/Control/Shells.pm
133
%%SITE_PERL%%/PSGConf/Control/Solaris.pm
141
%%SITE_PERL%%/PSGConf/Control/Solaris.pm
Lines 145-150 Link Here
145
%%SITE_PERL%%/PSGConf/Control/sendmail.pm
153
%%SITE_PERL%%/PSGConf/Control/sendmail.pm
146
%%SITE_PERL%%/PSGConf/Control/sshd.pm
154
%%SITE_PERL%%/PSGConf/Control/sshd.pm
147
%%SITE_PERL%%/PSGConf/Control/sudo.pm
155
%%SITE_PERL%%/PSGConf/Control/sudo.pm
156
%%SITE_PERL%%/PSGConf/Control/swatch.pm
148
%%SITE_PERL%%/PSGConf/Control/syslog.pm
157
%%SITE_PERL%%/PSGConf/Control/syslog.pm
149
%%SITE_PERL%%/PSGConf/Data.pm
158
%%SITE_PERL%%/PSGConf/Data.pm
150
%%SITE_PERL%%/PSGConf/Data/Boolean.pm
159
%%SITE_PERL%%/PSGConf/Data/Boolean.pm
Lines 155-161 Link Here
155
%%SITE_PERL%%/PSGConf/Data/List.pm
164
%%SITE_PERL%%/PSGConf/Data/List.pm
156
%%SITE_PERL%%/PSGConf/Data/String.pm
165
%%SITE_PERL%%/PSGConf/Data/String.pm
157
%%SITE_PERL%%/PSGConf/Data/Table.pm
166
%%SITE_PERL%%/PSGConf/Data/Table.pm
167
%%SITE_PERL%%/PSGConf/DataStore.pm
168
%%SITE_PERL%%/PSGConf/DataStore/AppConfig.pm
158
%%SITE_PERL%%/PSGConf/DataStore/ConfigFile.pm
169
%%SITE_PERL%%/PSGConf/DataStore/ConfigFile.pm
170
%%SITE_PERL%%/PSGConf/DataStore/Storable.pm
171
%%SITE_PERL%%/PSGConf/Import/Data/Hash.pm
172
%%SITE_PERL%%/PSGConf/Import/Data/List.pm
173
%%SITE_PERL%%/PSGConf/Import/Data/Table.pm
174
%%SITE_PERL%%/PSGConf/Import/inittab.pm
175
%%SITE_PERL%%/PSGConf/Import/pkg_default_versions.pm
176
%%SITE_PERL%%/PSGConf/Import/ports.pm
177
%%SITE_PERL%%/PSGConf/Import/shells.pm
159
%%SITE_PERL%%/PSGConf/Util.pm
178
%%SITE_PERL%%/PSGConf/Util.pm
160
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PSGConf
179
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PSGConf
161
@dirrmtry %%SITE_PERL%%/PSGConf/Action/PackageManager/RedHat
180
@dirrmtry %%SITE_PERL%%/PSGConf/Action/PackageManager/RedHat
Lines 166-175 Link Here
166
@dirrmtry %%SITE_PERL%%/PSGConf/Action
185
@dirrmtry %%SITE_PERL%%/PSGConf/Action
167
@dirrmtry %%SITE_PERL%%/PSGConf/Control/Apache
186
@dirrmtry %%SITE_PERL%%/PSGConf/Control/Apache
168
@dirrmtry %%SITE_PERL%%/PSGConf/Control/Library
187
@dirrmtry %%SITE_PERL%%/PSGConf/Control/Library
188
@dirrmtry %%SITE_PERL%%/PSGConf/Control/RPC
169
@dirrmtry %%SITE_PERL%%/PSGConf/Control
189
@dirrmtry %%SITE_PERL%%/PSGConf/Control
170
@dirrmtry %%SITE_PERL%%/PSGConf/Data
190
@dirrmtry %%SITE_PERL%%/PSGConf/Data
171
@dirrmtry %%SITE_PERL%%/PSGConf/DataStore
191
@dirrmtry %%SITE_PERL%%/PSGConf/DataStore
192
@dirrmtry %%SITE_PERL%%/PSGConf/Import/Data
193
@dirrmtry %%SITE_PERL%%/PSGConf/Import
172
@dirrmtry %%SITE_PERL%%/PSGConf
194
@dirrmtry %%SITE_PERL%%/PSGConf
173
@dirrmtry share/psgconf/config
195
@dirrmtry %%DATADIR%%/config
174
@dirrmtry share/psgconf/files
196
@dirrmtry %%DATADIR%%/files
175
@dirrmtry share/psgconf
197
@dirrmtry %%DATADIR%%

Return to bug 102029