View | Details | Raw Unified | Return to bug 254355 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +21 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	nettle
4
PORTNAME=	nettle
5
PORTVERSION=	3.6
5
PORTVERSION=	3.7.2
6
CATEGORIES=	security
6
CATEGORIES=	security
7
MASTER_SITES=	GNU \
7
MASTER_SITES=	GNU \
8
		https://www.lysator.liu.se/~nisse/archive/
8
		https://www.lysator.liu.se/~nisse/archive/
Lines 19-38 Link Here
19
LIB_DEPENDS=	libgmp.so:math/gmp
19
LIB_DEPENDS=	libgmp.so:math/gmp
20
20
21
USES=		compiler:c11 gmake localbase makeinfo pathfix
21
USES=		compiler:c11 gmake localbase makeinfo pathfix
22
USE_LDCONFIG=	yes
22
23
23
CONFIGURE_ARGS=	--enable-shared
24
GNU_CONFIGURE=	yes
25
CONFIGURE_ARGS=	--enable-shared --disable-static
24
CONFIGURE_ENV=	M4="/usr/bin/m4 -g"
26
CONFIGURE_ENV=	M4="/usr/bin/m4 -g"
25
GNU_CONFIGURE=	yes
27
TEST_TARGET=	check
26
USE_LDCONFIG=	yes
27
28
28
INFO=		nettle
29
INFO=		nettle
29
PORTDOCS=	NEWS README nettle.html nettle.pdf
30
PORTDOCS=	NEWS README nettle.html nettle.pdf
30
PORTEXAMPLES=	*.c *.h
31
PORTEXAMPLES=	*.c *.h
31
32
32
OPTIONS_DEFINE=	DOCS EXAMPLES
33
OPTIONS_DEFINE=			DOCS EXAMPLES OPENSSL
33
34
35
OPENSSL_DESC=			Build OpenSSL-based EXAMPLES.
36
OPENSSL_IMPLIES=		EXAMPLES
37
OPENSSL_USES=			ssl
38
OPENSSL_CONFIGURE_ENABLE=	openssl
39
OPENSSL_CFLAGS=			-I${OPENSSLINC}
40
34
.include <bsd.port.options.mk>
41
.include <bsd.port.options.mk>
35
42
43
.if ${PORT_OPTIONS:MOPENSSL} && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085
44
# FreeBSD 11's base OpenSSL, 1.0.2, is too old for nettle 3.7's examples,
45
# they need OpenSSL >= 1.1.0
46
BROKEN_SSL=	base
47
.endif
48
36
.if ${ARCH} == "sparc64"
49
.if ${ARCH} == "sparc64"
37
CONFIGURE_ENV+=	CCPIC=-fPIC
50
CONFIGURE_ENV+=	CCPIC=-fPIC
38
.endif
51
.endif
Lines 43-48 Link Here
43
	@${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
56
	@${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
44
.endif
57
.endif
45
58
59
post-patch-EXAMPLES-off:
60
	${REINPLACE_CMD} -e '/TARGETS.*=/    s|nettle-benchmark$$(EXEEXT)||' ${WRKSRC}/examples/Makefile.in
61
46
post-install:
62
post-install:
47
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
63
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
48
64
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1588256838
1
TIMESTAMP = 1616843021
2
SHA256 (nettle-3.6.tar.gz) = d24c0d0f2abffbc8f4f34dcf114b0f131ec3774895f3555922fe2f40f3d5e3f1
2
SHA256 (nettle-3.7.2.tar.gz) = 8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162
3
SIZE (nettle-3.6.tar.gz) = 2288173
3
SIZE (nettle-3.7.2.tar.gz) = 2382309
(-)pkg-plist (-4 / +3 lines)
Lines 63-80 Link Here
63
include/nettle/sha2.h
63
include/nettle/sha2.h
64
include/nettle/sha3.h
64
include/nettle/sha3.h
65
include/nettle/siv-cmac.h
65
include/nettle/siv-cmac.h
66
include/nettle/streebog.h
66
include/nettle/twofish.h
67
include/nettle/twofish.h
67
include/nettle/umac.h
68
include/nettle/umac.h
68
include/nettle/version.h
69
include/nettle/version.h
69
include/nettle/xts.h
70
include/nettle/xts.h
70
include/nettle/yarrow.h
71
include/nettle/yarrow.h
71
lib/libhogweed.a
72
lib/libhogweed.so
72
lib/libhogweed.so
73
lib/libhogweed.so.6
73
lib/libhogweed.so.6
74
lib/libhogweed.so.6.0
74
lib/libhogweed.so.6.3
75
lib/libnettle.a
76
lib/libnettle.so
75
lib/libnettle.so
77
lib/libnettle.so.8
76
lib/libnettle.so.8
78
lib/libnettle.so.8.0
77
lib/libnettle.so.8.3
79
libdata/pkgconfig/hogweed.pc
78
libdata/pkgconfig/hogweed.pc
80
libdata/pkgconfig/nettle.pc
79
libdata/pkgconfig/nettle.pc

Return to bug 254355