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

(-)/usr/ports/net/net-snmp4/Makefile (-4 / +28 lines)
Lines 2-13 Link Here
2
# Date created:				26 June 1996
2
# Date created:				26 June 1996
3
# Whom:					gpalmer
3
# Whom:					gpalmer
4
#
4
#
5
# $FreeBSD: ports/net/net-snmp4/Makefile,v 1.76 2003/02/20 18:51:00 knu Exp $
5
# $FreeBSD: ports/net/net-snmp4/Makefile,v 1.75 2003/02/18 11:28:57 kuriyama Exp $
6
#
6
#
7
7
8
PORTNAME=	ucd-snmp
8
PORTNAME=	ucd-snmp
9
PORTVERSION=	4.2.5
9
PORTVERSION=	4.2.6
10
PORTREVISION=	2
10
PORTREVISION=	0
11
CATEGORIES=	net ipv6
11
CATEGORIES=	net ipv6
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
13
		ftp://ucd-snmp.ucdavis.edu/ \
13
		ftp://ucd-snmp.ucdavis.edu/ \
Lines 67-78 Link Here
67
.if ${OSVERSION} >= 400014
67
.if ${OSVERSION} >= 400014
68
CONFIGURE_ARGS+= --enable-ipv6
68
CONFIGURE_ARGS+= --enable-ipv6
69
.endif
69
.endif
70
71
.if defined(WITHOUT_SSL)
72
CONFIGURE_ARGS+= --without-openssl
73
.else
74
.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100
70
.if ${OSVERSION} >= 500100
75
.if ${OSVERSION} >= 500100
71
IGNORE=		Broken with latest OpenSSL suite
76
LIB_DEPENDS+=	crypto.4:${PORTSDIR}/security/openssl
77
.else
78
LIB_DEPENDS+=	crypto.3:${PORTSDIR}/security/openssl
79
.endif
80
CONFIGURE_ARGS+= --with-openssl=${LOCALBASE}
81
CFLAGS+=	-DOPENSSL_DES_LIBDES_COMPATIBILITY
82
.else
83
CONFIGURE_ARGS+= --with-openssl=/usr
84
.endif
72
.endif
85
.endif
73
86
74
SHLIB_VERSION=	4
87
SHLIB_VERSION=	4
75
PLIST_SUB+=	shlib=${SHLIB_VERSION}
88
PLIST_SUB+=	shlib=${SHLIB_VERSION}
89
90
pre-everything::
91
	@${ECHO} ""
92
	@${ECHO} "You may use the following build options:"
93
	@${ECHO} ""
94
	@${ECHO} "	WITH_PORTSSL=yes  Use the OpenSSL Version delivered by the ports."
95
	@${ECHO} "	                  With FreeBSD 5, net-snmp4 requires automaticly"
96
	@${ECHO} "	                  the OpenSSL ports-version. In the 5 case, you"
97
	@${ECHO} "	                  don't need to define WITH_PORTSSL (default)."
98
	@${ECHO} "	WITHOUT_SSL=yes   Disable the OpenSSL support."
99
	@${ECHO} ""
76
100
77
post-patch:
101
post-patch:
78
	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
102
	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
(-)/usr/ports/net/net-snmp4/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (ucd-snmp-4.2.5.tar.gz) = 615e0b1e760cbb8c63b5392fe2d04b14
1
MD5 (ucd-snmp-4.2.6.tar.gz) = cf3f24e6a69a4f52c14affe0064116b1

Return to bug 48504