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

Collapse All | Expand All

(-)Makefile (-4 / +12 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-35 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
24
GNU_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--enable-shared
25
CONFIGURE_ARGS=	--enable-shared
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
34
# no EXAMPLES option on 11.x with base SSL since the examples require EV_MD_CTX_new()
35
OPTIONS_EXCLUDE=	${${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base:?EXAMPLES:}
36
EXAMPLES_USES=		ssl
37
EXAMPLES_CFLAGS=	-I${OPENSSLINC}
33
38
34
.include <bsd.port.options.mk>
39
.include <bsd.port.options.mk>
35
40
Lines 43-48 Link Here
43
	@${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
48
	@${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
44
.endif
49
.endif
45
50
51
post-patch-EXAMPLES-off:
52
	${REINPLACE_CMD} -e '/TARGETS.*=/    s|nettle-benchmark$$(EXEEXT)||' ${WRKSRC}/examples/Makefile.in
53
46
post-install:
54
post-install:
47
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
55
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
48
56
(-)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 (-2 / +3 lines)
Lines 63-68 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
Lines 71-80 Link Here
71
lib/libhogweed.a
72
lib/libhogweed.a
72
lib/libhogweed.so
73
lib/libhogweed.so
73
lib/libhogweed.so.6
74
lib/libhogweed.so.6
74
lib/libhogweed.so.6.0
75
lib/libhogweed.so.6.3
75
lib/libnettle.a
76
lib/libnettle.a
76
lib/libnettle.so
77
lib/libnettle.so
77
lib/libnettle.so.8
78
lib/libnettle.so.8
78
lib/libnettle.so.8.0
79
lib/libnettle.so.8.3
79
libdata/pkgconfig/hogweed.pc
80
libdata/pkgconfig/hogweed.pc
80
libdata/pkgconfig/nettle.pc
81
libdata/pkgconfig/nettle.pc

Return to bug 254355