diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-11-29 12:08:29 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-11-29 12:08:29 +0800 |
commit | 49e452461de046c020b1dce9881783f753e26501 (patch) | |
tree | aad76e4d746fb4690e700ed8ce1e871f8893b211 /net-mgmt/net-snmp/Makefile | |
parent | be79a10007b8e21a1272547d73878a7bf512c4bb (diff) | |
download | freebsd-ports-gnome-49e452461de046c020b1dce9881783f753e26501.tar.gz freebsd-ports-gnome-49e452461de046c020b1dce9881783f753e26501.tar.zst freebsd-ports-gnome-49e452461de046c020b1dce9881783f753e26501.zip |
- Upgrade to 5.2.
- Fix build problem on current (1)
- Fix module availability problem on current (2)
- Disable perl completely with WITHOUT_PERL knob (3)
- Install sample file and improve pkg-message and pkg-plist (4)
PR: ports/71071 (1), ports/71522 (2), ports/71315 (3), ports/72779 (4)
Submitted by: Matthew Thyer <thyerm@powerband.net.au> (1),
Dominic Mitchell <dom@happygiraffe.net> (2),
oliver (3),
Fumihiko Kimura <jfkimura@yahoo.co.jp> (4)
Diffstat (limited to 'net-mgmt/net-snmp/Makefile')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 64fd0304cd1d..660aa4a4a227 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -6,8 +6,7 @@ # PORTNAME= snmp -PORTVERSION= 5.1.2 -PORTREVISION= 1 +PORTVERSION= 5.2 PKGNAMEPREFIX= net- CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -61,6 +60,7 @@ CONFIGURE_ARGS+=--with-dummy-values .if defined(WITHOUT_PERL) PLIST_SUB+= WITH_PERL="@comment " +CONFIGURE_ARGS+=--disable-embedded-perl --without-perl-modules .else CONFIGURE_ARGS+=--enable-embedded-perl --with-perl-modules PLIST_SUB+= WITH_PERL="" @@ -80,7 +80,7 @@ PLIST_SUB+= WITH_IPV6="" PLIST_SUB+= WITH_IPV6="@comment " .endif -SHLIB_VERSION= 6 +SHLIB_VERSION= 7 PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION} SCRIPTS_SUB= PREFIX=${PREFIX} PERL=${PERL} RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} @@ -142,7 +142,7 @@ MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \ snmp_timeout.3 snmp_trap_api.3 \ netsnmp_Container_iterator.3 \ - netsnmp_asn1_packet_parse.3 netsnmp_baby_steps.3 \ + netsnmp_baby_steps.3 \ netsnmp_cache_handler.3 netsnmp_container.3 \ netsnmp_iterator_info_s.3 \ netsnmp_leaf.3 \ @@ -151,6 +151,7 @@ MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ .if !defined(WITHOUT_PERL) MAN3PERL= NetSNMP::ASN.3 NetSNMP::OID.3 NetSNMP::agent.3 \ + NetSNMP::TrapReceiver.3 \ NetSNMP::agent::default_store.3 \ NetSNMP::default_store.3 \ NetSNMP::netsnmp_request_infoPtr.3 SNMP.3 @@ -158,7 +159,7 @@ MAN3PERLPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} _MANPAGES+= ${MAN3PERL:S%^%${MAN3PERLPREFIX}/man/man3/%} .endif -MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ +MAN5= mib2c.conf.5 snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmpd.8 snmptrapd.8 @@ -238,7 +239,7 @@ post-build: ' .endif -post-install: strip-files install-startup-files install-doc-files display-message +post-install: strip-files install-startup-files install-config-files install-doc-files display-message strip-files: @cd ${PREFIX}/bin; ${STRIP_CMD} ${BIN_FILES} @@ -249,6 +250,9 @@ install-startup-files: @${INSTALL_SCRIPT} ${WRKDIR}/${file} ${STARTUP_DIR} .endfor +install-config-files: + @${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${DATADIR}/snmpd.conf.example + install-doc-files: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} |