Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_gnutls/
Date: Wed, 19 Aug 2020 14:02:02
Message-Id: 1597845705.458e545998cab4ba65fee842301ec713e334ad97.whissi@gentoo
1 commit: 458e545998cab4ba65fee842301ec713e334ad97
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 19 13:59:49 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 19 14:01:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458e5459
7
8 www-apache/mod_gnutls: bump to v0.11.0
9
10 Bug: https://bugs.gentoo.org/645186
11 Closes: https://bugs.gentoo.org/645186
12 Package-Manager: Portage-3.0.3, Repoman-3.0.0
13 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
14
15 www-apache/mod_gnutls/Manifest | 1 +
16 www-apache/mod_gnutls/mod_gnutls-0.11.0.ebuild | 87 ++++++++++++++++++++++++++
17 2 files changed, 88 insertions(+)
18
19 diff --git a/www-apache/mod_gnutls/Manifest b/www-apache/mod_gnutls/Manifest
20 index 0690674947f..0dc2ef913f3 100644
21 --- a/www-apache/mod_gnutls/Manifest
22 +++ b/www-apache/mod_gnutls/Manifest
23 @@ -1,3 +1,4 @@
24 +DIST mod_gnutls-0.11.0.tar.bz2 458966 BLAKE2B 6d81be7b7d48255173d028a8e3207badbce0c1ba541124a241b63d4ed4eb36833156e9cd7194318138b6f16667a971d5311d56b9b0036e5b3d9dac8d352a4335 SHA512 090d244823f15a6b23dd2ad9b35db202ebbe96210ec8fd06e06f13e32c327e9d9a449834c899755f1ec8c1a3a71db1b125d436ce661caee1002a8719b4c1320e
25 DIST mod_gnutls-0.8.2.tar.bz2 415903 BLAKE2B 98c96479e2419ee511ba802c99823ddaae89ddeb7a2f0660b91e2a371f8249ec4f98b2c0443389168a22dbe133b0bcc6020bfa597447507a8e4f91827b6d1d24 SHA512 b1690aeee4f6d104e4b6a7bd443e289204630b33e00b7b145b11291d8819b5c3d5bd52b535746b8ebdfee7a5f34df527243b743b8c5d716b1d0617e319d43f4d
26 DIST mod_gnutls-0.8.4.tar.bz2 422811 BLAKE2B 33b992cbd42671ce0be320268f2421f167c05e62074ad538c22efc1f8b2f1a8604550f103bab579f1dc8622a78bda9e1e62826db06ff0dae21fb9dc1c2ee2bc2 SHA512 cee592f12a26894dacd6db6f25d4b1b1901579ac5cc7dee2be826aa3697bc2af55e2136ef65acd6dc4c9fac635465fbf8c06ea236651d45a2b5fd963408e6684
27 DIST mod_gnutls-0.9.0.tar.bz2 435869 BLAKE2B d5c0a1846b083c469cddc0516a81ac8ef85b1b9287ad53312964f7c542ec107689f832db83a11abda178e79a2d6f2177b6093219a94cec9ded6e8eb6cef86796 SHA512 12a85a53277401648fd44ade3f27969d023ef46d1b593ed0df4284ea5421d87caedc72262fd6eb54a17f4949cf1551bfaef66f81128a060cc77064cd32d00cd2
28
29 diff --git a/www-apache/mod_gnutls/mod_gnutls-0.11.0.ebuild b/www-apache/mod_gnutls/mod_gnutls-0.11.0.ebuild
30 new file mode 100644
31 index 00000000000..9662e5475d7
32 --- /dev/null
33 +++ b/www-apache/mod_gnutls/mod_gnutls-0.11.0.ebuild
34 @@ -0,0 +1,87 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +# WARNING! Don't switch to EAPI-6 without checking paths of installed files
39 +# carefully. The .so file might get installed into /
40 +EAPI=6
41 +
42 +PYTHON_COMPAT=( python3_{6..9} )
43 +
44 +inherit autotools apache-module python-any-r1
45 +
46 +DESCRIPTION="mod_gnutls uses GnuTLS for SSL/TLS encryption in Apache2 (compare to mod_ssl)"
47 +HOMEPAGE="https://mod.gnutls.org/"
48 +SRC_URI="https://mod.gnutls.org/downloads/${P}.tar.bz2"
49 +
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +IUSE="test"
54 +
55 +CDEPEND=">=net-libs/gnutls-3.3.0:=[pkcs11]"
56 +
57 +TEST_REQUIRED_APACHE_MODULES="apache2_modules_proxy,apache2_modules_proxy_http"
58 +
59 +DEPEND="${CDEPEND}
60 + virtual/pkgconfig
61 + $(python_gen_any_dep '
62 + dev-python/pyyaml[${PYTHON_USEDEP}]
63 + ')
64 + test? (
65 + app-crypt/monkeysphere
66 + >=net-libs/gnutls-3.3.0:=[tools]
67 + net-misc/curl
68 + || (
69 + www-servers/apache[apache2_mpms_worker,${TEST_REQUIRED_APACHE_MODULES}]
70 + www-servers/apache[apache2_mpms_prefork,${TEST_REQUIRED_APACHE_MODULES}]
71 + www-servers/apache[apache2_mpms_event,${TEST_REQUIRED_APACHE_MODULES}]
72 + )
73 + )"
74 +
75 +RDEPEND="${CDEPEND}"
76 +
77 +RESTRICT="!test? ( test )"
78 +
79 +APACHE2_MOD_CONF="47_${PN}"
80 +APACHE2_MOD_DEFINE="GNUTLS"
81 +
82 +DOCFILES="CHANGELOG NOTICE README"
83 +
84 +need_apache2_4
85 +
86 +python_check_deps() {
87 + has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
88 +}
89 +
90 +pkg_setup() {
91 + _init_apache2
92 + _init_apache2_late
93 + python-any-r1_pkg_setup
94 +}
95 +
96 +src_prepare() {
97 + default
98 + eautoreconf
99 +}
100 +
101 +src_configure() {
102 + local myeconfargs=(
103 + --with-apxs="${APXS}"
104 + --disable-strict
105 + --disable-doxygen-dot
106 + --disable-doxygen-doc
107 + --disable-doxygen-html
108 + --disable-doxygen-pdf
109 + --disable-valgrind-test
110 + ac_cv_path_UNSHARE=no
111 + )
112 + econf "${myeconfargs[@]}"
113 +}
114 +
115 +src_compile() {
116 + emake
117 +}
118 +
119 +src_install() {
120 + apache-module_src_install
121 +}