diff options
author | leeym <leeym@FreeBSD.org> | 2003-02-22 01:27:57 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-02-22 01:27:57 +0800 |
commit | 28908666b4b5c0649a7be226c9920d67e62e841f (patch) | |
tree | 16c21f869321a31268be05ade5b05a1b697cec7b /net-mgmt/net-snmp4 | |
parent | 2ab22c90bceda8e9cd87d9bea0acc5316de628f2 (diff) | |
download | freebsd-ports-gnome-28908666b4b5c0649a7be226c9920d67e62e841f.tar.gz freebsd-ports-gnome-28908666b4b5c0649a7be226c9920d67e62e841f.tar.zst freebsd-ports-gnome-28908666b4b5c0649a7be226c9920d67e62e841f.zip |
- update to 4.2.6
- fix build on FreeBSD 5 systems
PR: 48504
Submitted by: Oliver Lehmann <lehmann@ans-netz.de>
Diffstat (limited to 'net-mgmt/net-snmp4')
-rw-r--r-- | net-mgmt/net-snmp4/Makefile | 30 | ||||
-rw-r--r-- | net-mgmt/net-snmp4/distinfo | 2 |
2 files changed, 28 insertions, 4 deletions
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile index 6e68dd8e091a..d2a1902bfd7e 100644 --- a/net-mgmt/net-snmp4/Makefile +++ b/net-mgmt/net-snmp4/Makefile @@ -6,8 +6,8 @@ # PORTNAME= ucd-snmp -PORTVERSION= 4.2.5 -PORTREVISION= 2 +PORTVERSION= 4.2.6 +PORTREVISION= 0 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ @@ -67,13 +67,37 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh .if ${OSVERSION} >= 400014 CONFIGURE_ARGS+= --enable-ipv6 .endif + +.if defined(WITHOUT_SSL) +CONFIGURE_ARGS+= --without-openssl +.else +.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 .if ${OSVERSION} >= 500100 -IGNORE= Broken with latest OpenSSL suite +LIB_DEPENDS+= crypto.4:${PORTSDIR}/security/openssl +.else +LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl +.endif +CONFIGURE_ARGS+= --with-openssl=${LOCALBASE} +CFLAGS+= -DOPENSSL_DES_LIBDES_COMPATIBILITY +.else +CONFIGURE_ARGS+= --with-openssl=/usr +.endif .endif SHLIB_VERSION= 4 PLIST_SUB+= shlib=${SHLIB_VERSION} +pre-everything:: + @${ECHO} "" + @${ECHO} "You may use the following build options:" + @${ECHO} "" + @${ECHO} " WITH_PORTSSL=yes Use the OpenSSL Version delivered by the ports." + @${ECHO} " With FreeBSD 5, net-snmp4 requires automaticly" + @${ECHO} " the OpenSSL ports-version. In the 5 case, you" + @${ECHO} " don't need to define WITH_PORTSSL (default)." + @${ECHO} " WITHOUT_SSL=yes Disable the OpenSSL support." + @${ECHO} "" + post-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ ${WRKSRC}/aclocal.m4 diff --git a/net-mgmt/net-snmp4/distinfo b/net-mgmt/net-snmp4/distinfo index 62f49e72ff53..fac39d4c4661 100644 --- a/net-mgmt/net-snmp4/distinfo +++ b/net-mgmt/net-snmp4/distinfo @@ -1 +1 @@ -MD5 (ucd-snmp-4.2.5.tar.gz) = 615e0b1e760cbb8c63b5392fe2d04b14 +MD5 (ucd-snmp-4.2.6.tar.gz) = cf3f24e6a69a4f52c14affe0064116b1 |