botan3: fix PLIST on archs that does not have processor rng supportdiff -r1.2 -r1.3 pkgsrc/security/botan3/Makefile
(nros)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2023/06/26 11:45:48 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2023/07/01 12:29:50 nros Exp $ | |
2 | 2 | |||
3 | DISTNAME= Botan-3.0.0 | 3 | DISTNAME= Botan-3.0.0 | |
4 | PKGNAME= ${DISTNAME:S/Botan/botan3/} | 4 | PKGNAME= ${DISTNAME:S/Botan/botan3/} | |
5 | CATEGORIES= security | 5 | CATEGORIES= security | |
6 | MASTER_SITES= https://botan.randombit.net/releases/ | 6 | MASTER_SITES= https://botan.randombit.net/releases/ | |
7 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
8 | 8 | |||
9 | MAINTAINER= nros@NetBSD.org | 9 | MAINTAINER= nros@NetBSD.org | |
10 | HOMEPAGE= https://botan.randombit.net/ | 10 | HOMEPAGE= https://botan.randombit.net/ | |
11 | COMMENT= Portable, easy to use, and efficient C++ crypto library (v3) | 11 | COMMENT= Portable, easy to use, and efficient C++ crypto library (v3) | |
12 | LICENSE= 2-clause-bsd | 12 | LICENSE= 2-clause-bsd | |
13 | 13 | |||
14 | DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts | 14 | DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts | |
@@ -33,33 +33,37 @@ CONFIGURE_ARGS+= --without-sphinx | @@ -33,33 +33,37 @@ CONFIGURE_ARGS+= --without-sphinx | |||
33 | CONFIGURE_ARGS+= --program-suffix=3 | 33 | CONFIGURE_ARGS+= --program-suffix=3 | |
34 | CONFIGURE_ARGS+= --system-cert-bundle=${PREFIX}/share/mozilla-rootcerts/cacert.pem | 34 | CONFIGURE_ARGS+= --system-cert-bundle=${PREFIX}/share/mozilla-rootcerts/cacert.pem | |
35 | CONFIGURE_ARGS+= --no-install-python-module | 35 | CONFIGURE_ARGS+= --no-install-python-module | |
36 | 36 | |||
37 | PKGCONFIG_OVERRIDE= src/build-data/botan.pc.in | 37 | PKGCONFIG_OVERRIDE= src/build-data/botan.pc.in | |
38 | 38 | |||
39 | .include "../../mk/compiler.mk" | 39 | .include "../../mk/compiler.mk" | |
40 | .if !empty(PKGSRC_COMPILER:Mclang) | 40 | .if !empty(PKGSRC_COMPILER:Mclang) | |
41 | CONFIGURE_ARGS+= --cc-bin=${CXX} --cc=clang | 41 | CONFIGURE_ARGS+= --cc-bin=${CXX} --cc=clang | |
42 | .else | 42 | .else | |
43 | CONFIGURE_ARGS+= --cc=gcc | 43 | CONFIGURE_ARGS+= --cc=gcc | |
44 | .endif | 44 | .endif | |
45 | 45 | |||
46 | PLIST_VARS+= prng | |||
46 | .if ${MACHINE_ARCH} == "x86_64" | 47 | .if ${MACHINE_ARCH} == "x86_64" | |
48 | PLIST.prng= yes | |||
47 | CONFIGURE_ARGS+= --cpu=amd64 | 49 | CONFIGURE_ARGS+= --cpu=amd64 | |
48 | .elif ${MACHINE_ARCH} == "i386" | 50 | .elif ${MACHINE_ARCH} == "i386" | |
51 | PLIST.prng= yes | |||
49 | CONFIGURE_ARGS+= --cpu=i386 | 52 | CONFIGURE_ARGS+= --cpu=i386 | |
50 | .elif ${MACHINE_ARCH} == "powerpc" | 53 | .elif ${MACHINE_ARCH} == "powerpc" | |
51 | CONFIGURE_ARGS+= --cpu=ppc | 54 | CONFIGURE_ARGS+= --cpu=ppc | |
52 | .elif ${MACHINE_ARCH} == "powerpc64" | 55 | .elif ${MACHINE_ARCH} == "powerpc64" | |
56 | PLIST.prng= yes | |||
53 | CONFIGURE_ARGS+= --cpu=ppc64 | 57 | CONFIGURE_ARGS+= --cpu=ppc64 | |
54 | .elif ${MACHINE_ARCH:Maarch64*} | 58 | .elif ${MACHINE_ARCH:Maarch64*} | |
55 | CONFIGURE_ARGS+= --cpu=arm64 | 59 | CONFIGURE_ARGS+= --cpu=arm64 | |
56 | .elif ${MACHINE_ARCH:Mearm*} | 60 | .elif ${MACHINE_ARCH:Mearm*} | |
57 | CONFIGURE_ARGS+= --cpu=arm32 | 61 | CONFIGURE_ARGS+= --cpu=arm32 | |
58 | .endif | 62 | .endif | |
59 | 63 | |||
60 | MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q} | 64 | MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q} | |
61 | 65 | |||
62 | LDFLAGS.SunOS+= -lnsl -lsocket | 66 | LDFLAGS.SunOS+= -lnsl -lsocket | |
63 | 67 | |||
64 | TEST_TARGET= check | 68 | TEST_TARGET= check | |
65 | 69 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2023/06/26 11:40:39 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2023/07/01 12:29:50 nros Exp $ | |
2 | bin/botan3 | 2 | bin/botan3 | |
3 | include/botan-3/botan/aead.h | 3 | include/botan-3/botan/aead.h | |
4 | include/botan-3/botan/argon2.h | 4 | include/botan-3/botan/argon2.h | |
5 | include/botan-3/botan/argon2fmt.h | 5 | include/botan-3/botan/argon2fmt.h | |
6 | include/botan-3/botan/asio_async_ops.h | 6 | include/botan-3/botan/asio_async_ops.h | |
7 | include/botan-3/botan/asio_context.h | 7 | include/botan-3/botan/asio_context.h | |
8 | include/botan-3/botan/asio_error.h | 8 | include/botan-3/botan/asio_error.h | |
9 | include/botan-3/botan/asio_stream.h | 9 | include/botan-3/botan/asio_stream.h | |
10 | include/botan-3/botan/asn1_obj.h | 10 | include/botan-3/botan/asn1_obj.h | |
11 | include/botan-3/botan/asn1_print.h | 11 | include/botan-3/botan/asn1_print.h | |
12 | include/botan-3/botan/assert.h | 12 | include/botan-3/botan/assert.h | |
13 | include/botan-3/botan/auto_rng.h | 13 | include/botan-3/botan/auto_rng.h | |
14 | include/botan-3/botan/base32.h | 14 | include/botan-3/botan/base32.h | |
@@ -93,27 +93,27 @@ include/botan-3/botan/pbkdf2.h | @@ -93,27 +93,27 @@ include/botan-3/botan/pbkdf2.h | |||
93 | include/botan-3/botan/pem.h | 93 | include/botan-3/botan/pem.h | |
94 | include/botan-3/botan/pgp_s2k.h | 94 | include/botan-3/botan/pgp_s2k.h | |
95 | include/botan-3/botan/pipe.h | 95 | include/botan-3/botan/pipe.h | |
96 | include/botan-3/botan/pk_algs.h | 96 | include/botan-3/botan/pk_algs.h | |
97 | include/botan-3/botan/pk_keys.h | 97 | include/botan-3/botan/pk_keys.h | |
98 | include/botan-3/botan/pk_ops_fwd.h | 98 | include/botan-3/botan/pk_ops_fwd.h | |
99 | include/botan-3/botan/pkcs10.h | 99 | include/botan-3/botan/pkcs10.h | |
100 | include/botan-3/botan/pkcs11.h | 100 | include/botan-3/botan/pkcs11.h | |
101 | include/botan-3/botan/pkcs11f.h | 101 | include/botan-3/botan/pkcs11f.h | |
102 | include/botan-3/botan/pkcs11t.h | 102 | include/botan-3/botan/pkcs11t.h | |
103 | include/botan-3/botan/pkcs8.h | 103 | include/botan-3/botan/pkcs8.h | |
104 | include/botan-3/botan/pkix_enums.h | 104 | include/botan-3/botan/pkix_enums.h | |
105 | include/botan-3/botan/pkix_types.h | 105 | include/botan-3/botan/pkix_types.h | |
106 | include/botan-3/botan/processor_rng.h | 106 | ${PLIST.prng}include/botan-3/botan/processor_rng.h | |
107 | include/botan-3/botan/psk_db.h | 107 | include/botan-3/botan/psk_db.h | |
108 | include/botan-3/botan/pubkey.h | 108 | include/botan-3/botan/pubkey.h | |
109 | include/botan-3/botan/pwdhash.h | 109 | include/botan-3/botan/pwdhash.h | |
110 | include/botan-3/botan/reducer.h | 110 | include/botan-3/botan/reducer.h | |
111 | include/botan-3/botan/rfc3394.h | 111 | include/botan-3/botan/rfc3394.h | |
112 | include/botan-3/botan/rfc4880.h | 112 | include/botan-3/botan/rfc4880.h | |
113 | include/botan-3/botan/rng.h | 113 | include/botan-3/botan/rng.h | |
114 | include/botan-3/botan/roughtime.h | 114 | include/botan-3/botan/roughtime.h | |
115 | include/botan-3/botan/rsa.h | 115 | include/botan-3/botan/rsa.h | |
116 | include/botan-3/botan/scrypt.h | 116 | include/botan-3/botan/scrypt.h | |
117 | include/botan-3/botan/secmem.h | 117 | include/botan-3/botan/secmem.h | |
118 | include/botan-3/botan/sm2.h | 118 | include/botan-3/botan/sm2.h | |
119 | include/botan-3/botan/sodium.h | 119 | include/botan-3/botan/sodium.h |