Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= snmp |
4 |
PORTNAME= snmp |
5 |
PORTVERSION= 5.7.3 |
5 |
PORTVERSION= 5.7.3 |
6 |
PORTREVISION= 19 |
6 |
PORTREVISION= 20 |
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 |
ZI |
9 |
ZI |
Lines 16-23
Link Here
|
16 |
LICENSE= BSD3CLAUSE |
16 |
LICENSE= BSD3CLAUSE |
17 |
LICENSE_FILE= ${WRKSRC}/COPYING |
17 |
LICENSE_FILE= ${WRKSRC}/COPYING |
18 |
|
18 |
|
19 |
BROKEN_SSL= openssl111 |
|
|
20 |
|
21 |
LIB_DEPENDS= libpkg.so:ports-mgmt/pkg |
19 |
LIB_DEPENDS= libpkg.so:ports-mgmt/pkg |
22 |
|
20 |
|
23 |
NOT_FOR_ARCHS= mips mips64 |
21 |
NOT_FOR_ARCHS= mips mips64 |
Lines 77-83
Link Here
|
77 |
|
75 |
|
78 |
.include <bsd.port.options.mk> |
76 |
.include <bsd.port.options.mk> |
79 |
|
77 |
|
80 |
.if ${OSVERSION} >= 1200085 |
78 |
.if (${OSVERSION} >= 1200085 || ${SSL_DEFAULT:Mopenssl111*}) |
81 |
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-openssl11 |
79 |
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-openssl11 |
82 |
.endif |
80 |
.endif |
83 |
|
81 |
|
Lines 96-102
Link Here
|
96 |
PLIST_SUB+= WITH_PYTHON="@comment " |
94 |
PLIST_SUB+= WITH_PYTHON="@comment " |
97 |
.endif |
95 |
.endif |
98 |
|
96 |
|
99 |
CONFIGURE_ARGS+=--with-openssl="/usr" |
97 |
CONFIGURE_ARGS+=--with-openssl="${OPENSSLBASE}" |
100 |
|
98 |
|
101 |
.if ${PORT_OPTIONS:MDUMMY} |
99 |
.if ${PORT_OPTIONS:MDUMMY} |
102 |
CONFIGURE_ARGS+=--with-dummy-values |
100 |
CONFIGURE_ARGS+=--with-dummy-values |
Lines 252-257
Link Here
|
252 |
${WRKSRC}/agent/mibgroup/host/hr_system.c |
250 |
${WRKSRC}/agent/mibgroup/host/hr_system.c |
253 |
@${REINPLACE_CMD} -E -e 's|return pci_lookup_name|disabled broken|g' \ |
251 |
@${REINPLACE_CMD} -E -e 's|return pci_lookup_name|disabled broken|g' \ |
254 |
${WRKSRC}/configure |
252 |
${WRKSRC}/configure |
|
|
253 |
.if (${OSVERSION} >= 1200085 || ${SSL_DEFAULT:Mopenssl111*}) |
254 |
@${REINPLACE_CMD} -E -e 's|SSL_library_init|OPENSSL_init_ssl|g' \ |
255 |
${WRKSRC}/configure |
256 |
.endif |
255 |
@${CP} ${WRKSRC}/include/net-snmp/system/freebsd12.h \ |
257 |
@${CP} ${WRKSRC}/include/net-snmp/system/freebsd12.h \ |
256 |
${WRKSRC}/include/net-snmp/system/freebsd13.h |
258 |
${WRKSRC}/include/net-snmp/system/freebsd13.h |
257 |
|
259 |
|