diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-02-21 17:27:57 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-02-21 17:27:57 +0000 |
commit | 64f0549f9d811f362527bd0d87e4d5345fc41d55 (patch) | |
tree | e4f2e525bc916e844f5538dad944f4aa4319e771 /net | |
parent | In OpenSSL 0.9.7, `OpenSSL_add_all_algorithms' is now a macro. This (diff) |
- update to 4.2.6
- fix build on FreeBSD 5 systems
PR: 48504
Submitted by: Oliver Lehmann <lehmann@ans-netz.de>
Notes
Notes:
svn path=/head/; revision=76058
Diffstat (limited to 'net')
-rw-r--r-- | net/net-snmp4/Makefile | 30 | ||||
-rw-r--r-- | net/net-snmp4/distinfo | 2 |
2 files changed, 28 insertions, 4 deletions
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile index 6e68dd8e091a..d2a1902bfd7e 100644 --- a/net/net-snmp4/Makefile +++ b/net/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/net-snmp4/distinfo b/net/net-snmp4/distinfo index 62f49e72ff53..fac39d4c4661 100644 --- a/net/net-snmp4/distinfo +++ b/net/net-snmp4/distinfo @@ -1 +1 @@ -MD5 (ucd-snmp-4.2.5.tar.gz) = 615e0b1e760cbb8c63b5392fe2d04b14 +MD5 (ucd-snmp-4.2.6.tar.gz) = cf3f24e6a69a4f52c14affe0064116b1 |