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

(-)Makefile (-8 / +24 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	snmp
4
PORTNAME=	snmp
5
PORTVERSION=	5.7.2
5
PORTVERSION=	5.7.2
6
PORTREVISION=	10
6
PORTREVISION=	11
7
CATEGORIES=	net-mgmt ipv6
7
CATEGORIES=	net-mgmt ipv6
8
MASTER_SITES=	SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
8
MASTER_SITES=	SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
9
PKGNAMEPREFIX=	net-
9
PKGNAMEPREFIX=	net-
Lines 39-45 Link Here
39
USE_RC_SUBR=	snmpd snmptrapd
39
USE_RC_SUBR=	snmpd snmptrapd
40
USE_OPENSSL=	yes
40
USE_OPENSSL=	yes
41
USE_LDCONFIG=	yes
41
USE_LDCONFIG=	yes
42
USES=		perl5
42
USES=		perl5 libtool:keepla
43
USE_PERL5=	build run fixpacklist
43
USE_PERL5=	build run fixpacklist
44
44
45
CFLAGS+=	-I${LOCALBASE}/include
45
CFLAGS+=	-I${LOCALBASE}/include
Lines 177-185 Link Here
177
CONFIGURE_ARGS+=--with-out-mib-modules="${NET_SNMP_WITHOUT_MIB_MODULE_LIST}"
177
CONFIGURE_ARGS+=--with-out-mib-modules="${NET_SNMP_WITHOUT_MIB_MODULE_LIST}"
178
.endif
178
.endif
179
179
180
BIN_FILES=	snmpbulkwalk snmpget snmpgetnext snmpset \
180
BIN_FILES=	agentxtrap encode_keychange \
181
		snmpstatus snmptest snmptranslate snmptrap snmpwalk
181
		snmpbulkget snmpbulkwalk snmpdelta snmpdf \
182
		snmpget snmpgetnext snmpnetstat \
183
		snmpset snmpstatus \
184
		snmptable snmptest snmptranslate snmptrap \
185
		snmpvacm snmpusm snmpwalk
182
SBIN_FILES=	snmpd snmptrapd
186
SBIN_FILES=	snmpd snmptrapd
187
LIB_FILES=	netsnmp netsnmpagent netsnmphelpers netsnmpmibs netsnmptrapd
183
STARTUP_DIR=	${PREFIX}/etc/rc.d
188
STARTUP_DIR=	${PREFIX}/etc/rc.d
184
SCRIPT_FILES=	snmpcheck.def mib2c fixproc ipf-mod.pl snmpconf \
189
SCRIPT_FILES=	snmpcheck.def mib2c fixproc ipf-mod.pl snmpconf \
185
		traptoemail
190
		traptoemail
Lines 250-262 Link Here
250
	${REINPLACE_CMD} -e 's| perlinstall||' ${WRKSRC}/Makefile
255
	${REINPLACE_CMD} -e 's| perlinstall||' ${WRKSRC}/Makefile
251
.endif
256
.endif
252
257
253
post-install: strip-files install-config-files install-doc-files display-message
258
post-stage:
254
	@${MKDIR} ${STAGEDIR}/var/agentx
255
256
strip-files:
257
	(cd ${STAGEDIR}${PREFIX}/bin; ${STRIP_CMD} ${BIN_FILES})
259
	(cd ${STAGEDIR}${PREFIX}/bin; ${STRIP_CMD} ${BIN_FILES})
258
	(cd ${STAGEDIR}${PREFIX}/sbin; ${STRIP_CMD} ${SBIN_FILES})
260
	(cd ${STAGEDIR}${PREFIX}/sbin; ${STRIP_CMD} ${SBIN_FILES})
261
.for i in ${LIB_FILES}
262
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${i}.so.${SHLIB_VERSION}
263
.endfor
264
.for i in ASN OID TrapReceiver agent default_store
265
	${STRIP_CMD} \
266
		${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/mach/auto/NetSNMP/${i}/${i}.so
267
.endfor
268
	${STRIP_CMD} \
269
		${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/mach/auto/NetSNMP/agent/default_store/default_store.so
270
	${STRIP_CMD} \
271
		${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/mach/auto/SNMP/SNMP.so
259
272
273
post-install: install-config-files install-doc-files display-message
274
	@${MKDIR} ${STAGEDIR}/var/agentx
275
260
install-config-files:
276
install-config-files:
261
	${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${STAGEDIR}${DATADIR}/snmpd.conf.example
277
	${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${STAGEDIR}${DATADIR}/snmpd.conf.example
262
278
(-)pkg-plist (-10 / +14 lines)
Lines 210-238 Link Here
210
include/net-snmp/version.h
210
include/net-snmp/version.h
211
lib/libnetsnmp.a
211
lib/libnetsnmp.a
212
lib/libnetsnmp.la
212
lib/libnetsnmp.la
213
lib/libnetsnmp.so
213
lib/libnetsnmp.so.%%SHLIB_VERSION%%
214
lib/libnetsnmp.so.%%SHLIB_VERSION%%
214
@exec ln -fs libnetsnmp.so.%%SHLIB_VERSION%% %B/libnetsnmp.so
215
lib/libnetsnmp.so.%%SHLIB_VERSION%%.0.2
215
@unexec rm -f %B/libnetsnmp.so 2> /dev/null || true
216
lib/libnetsnmpagent.a
216
lib/libnetsnmpagent.a
217
lib/libnetsnmpagent.la
217
lib/libnetsnmpagent.la
218
lib/libnetsnmpagent.so
218
lib/libnetsnmpagent.so.%%SHLIB_VERSION%%
219
lib/libnetsnmpagent.so.%%SHLIB_VERSION%%
219
@exec ln -fs libnetsnmpagent.so.%%SHLIB_VERSION%% %B/libnetsnmpagent.so
220
lib/libnetsnmpagent.so.%%SHLIB_VERSION%%.0.2
220
@unexec rm -f %B/libnetsnmpagent.so 2> /dev/null || true
221
lib/libnetsnmphelpers.a
221
lib/libnetsnmphelpers.a
222
lib/libnetsnmphelpers.la
222
lib/libnetsnmphelpers.la
223
lib/libnetsnmphelpers.so
223
lib/libnetsnmphelpers.so.%%SHLIB_VERSION%%
224
lib/libnetsnmphelpers.so.%%SHLIB_VERSION%%
224
@exec ln -fs libnetsnmphelpers.so.%%SHLIB_VERSION%% %B/libnetsnmphelpers.so
225
lib/libnetsnmphelpers.so.%%SHLIB_VERSION%%.0.2
225
@unexec rm -f %B/libnetsnmphelpers.so 2> /dev/null || true
226
lib/libnetsnmpmibs.a
226
lib/libnetsnmpmibs.a
227
lib/libnetsnmpmibs.la
227
lib/libnetsnmpmibs.la
228
lib/libnetsnmpmibs.so
228
lib/libnetsnmpmibs.so.%%SHLIB_VERSION%%
229
lib/libnetsnmpmibs.so.%%SHLIB_VERSION%%
229
@exec ln -fs libnetsnmpmibs.so.%%SHLIB_VERSION%% %B/libnetsnmpmibs.so
230
lib/libnetsnmpmibs.so.%%SHLIB_VERSION%%.0.2
230
@unexec rm -f %B/libnetsnmpmibs.so 2> /dev/null || true
231
lib/libnetsnmptrapd.a
231
lib/libnetsnmptrapd.a
232
lib/libnetsnmptrapd.la
232
lib/libnetsnmptrapd.la
233
lib/libnetsnmptrapd.so
233
lib/libnetsnmptrapd.so.%%SHLIB_VERSION%%
234
lib/libnetsnmptrapd.so.%%SHLIB_VERSION%%
234
@exec ln -fs libnetsnmptrapd.so.%%SHLIB_VERSION%% %B/libnetsnmptrapd.so
235
lib/libnetsnmptrapd.so.%%SHLIB_VERSION%%.0.2
235
@unexec rm -f %B/libnetsnmptrapd.so 2> /dev/null || true
236
man/man1/agentxtrap.1.gz
236
man/man1/agentxtrap.1.gz
237
man/man1/encode_keychange.1.gz
237
man/man1/encode_keychange.1.gz
238
man/man1/fixproc.1.gz
238
man/man1/fixproc.1.gz
Lines 603-608 Link Here
603
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent
603
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent
604
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP
604
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP
605
%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bundle
605
%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bundle
606
%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%
607
%%WITH_PERL%%@dirrmtry %%SITE_PERL%%
608
%%WITH_PERL%%@dirrmtry lib/perl5/site_perl
609
%%WITH_PERL%%@dirrmtry lib/perl5
606
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.pyc
610
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.pyc
607
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__init__.pyc
611
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__init__.pyc
608
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.pyo
612
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.pyo

Return to bug 191015