1 |
commit: d602836a50775a73cd0ab2631dc41c173bc45f61 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 14 10:15:45 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 14 10:15:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d602836a |
7 |
|
8 |
net-nds/gssproxy: Bump to version 0.8.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-nds/gssproxy/Manifest | 1 + |
14 |
net-nds/gssproxy/gssproxy-0.8.4.ebuild | 88 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 89 insertions(+) |
16 |
|
17 |
diff --git a/net-nds/gssproxy/Manifest b/net-nds/gssproxy/Manifest |
18 |
index cd42e635a78..1752f88eb33 100644 |
19 |
--- a/net-nds/gssproxy/Manifest |
20 |
+++ b/net-nds/gssproxy/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST gssproxy-0.8.3.tar.gz 565100 BLAKE2B a8b3d96ca0b1cc314af3b63cc5959c9b48287ea0169ea75f8a8902bbd5757542fd24e1fa3f603b2a7d4c15878600145bf5a27e880e935a7a037ca3ebc9fcfb9c SHA512 144b10ec4e19ad2ded5ae57adf1ca311e2fc6c2b97e202eedde69d82c8d50afc0459ac36c7fc5d5290184eb68547a696b33e8a069fde43478104ac26b2c98bc2 |
23 |
+DIST gssproxy-0.8.4.tar.gz 567579 BLAKE2B 55519d2d439e168df0346cfa2655e01bc90191e17ea7d8c72c5f29c22ed6adca39e5adb4fd900f6dc756147b2fbee23212bfc097c38ab927e6c9679b0186fa2c SHA512 ab81c40d6c7b1908751feb107d8da66603b7681fb67aa7a1f30194a81d542ca89e6c2f34425e9356b9c55eb3691bfa240ba41441c01498af45e862a133cd088a |
24 |
|
25 |
diff --git a/net-nds/gssproxy/gssproxy-0.8.4.ebuild b/net-nds/gssproxy/gssproxy-0.8.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5bb81004b8f |
28 |
--- /dev/null |
29 |
+++ b/net-nds/gssproxy/gssproxy-0.8.4.ebuild |
30 |
@@ -0,0 +1,88 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DESCRIPTION="daemon to proxy GSSAPI context establishment and channel handling" |
37 |
+HOMEPAGE="https://github.com/gssapi/gssproxy" |
38 |
+SRC_URI="https://github.com/gssapi/${PN}/releases/download/v${PV}/${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="BSD-1" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
43 |
+IUSE="debug selinux systemd hardened" |
44 |
+ |
45 |
+COMMON_DEPEND=">=dev-libs/libverto-0.2.2 |
46 |
+ >=dev-libs/ding-libs-0.6.1 |
47 |
+ virtual/krb5 |
48 |
+ selinux? ( sys-libs/libselinux )" |
49 |
+RDEPEND="${COMMON_DEPEND} |
50 |
+ selinux? ( sec-policy/selinux-gssproxy )" |
51 |
+# We need xml stuff to build the man pages, and people really want/need |
52 |
+# the man pages for this package :). #585200 |
53 |
+BDEPEND=" |
54 |
+ app-text/docbook-xml-dtd:4.4 |
55 |
+ dev-libs/libxslt |
56 |
+ virtual/pkgconfig |
57 |
+" |
58 |
+ |
59 |
+# Many requirements to run tests, including running slapd as root, hence |
60 |
+# unfeasible. |
61 |
+RESTRICT="test" |
62 |
+ |
63 |
+# pkg_setup() { |
64 |
+# # Here instead of flag-logic in DEPEND, since virtual/krb5 does not |
65 |
+# # allow to specify the openldap use flag, which heimdal doesn't |
66 |
+# # support. |
67 |
+# # Using mit-krb5 explicitly because heimdal doesn't install kerberos |
68 |
+# # schemata required for the tests of gss-proxy. |
69 |
+# if use test && ! has_version "app-crypt/mit-krb5[openldap]"; then |
70 |
+# eerror "Tests of this package require the kerberos schemata installed from app-crypt/mit-krb5[openldap]." |
71 |
+# die "Tests enabled but no app-crypt/mit-krb5[openldap] being installed." |
72 |
+# fi |
73 |
+# } |
74 |
+ |
75 |
+# Was required in 0.7.0 to fix the schema- and slapd-path. Reason for |
76 |
+# comment: see RESTRICT comment |
77 |
+# src_prepare() { |
78 |
+# default |
79 |
+# # The tests look for kerberos schemata in the documentation |
80 |
+# # directory of krb5, however these are installed in /etc/openldap |
81 |
+# # and only if the openldap useflag is supplied |
82 |
+# sed -i \ |
83 |
+# -e 's#/usr/share/doc/krb5-server-ldap*#/etc/openldap/schema#' \ |
84 |
+# -e "s#\(subprocess.Popen..\"\)slapd#\1/usr/$(get_libdir)/openldap/slapd#" \ |
85 |
+# "${S}/tests/testlib.py" || die |
86 |
+# } |
87 |
+ |
88 |
+src_configure() { |
89 |
+ local myeconfargs=( |
90 |
+ # The build assumes localstatedir is /var and takes care of |
91 |
+ # using all the right subdirs itself. |
92 |
+ "--localstatedir=${EPREFIX}/var" |
93 |
+ "--with-os=gentoo" |
94 |
+ "--with-initscript=$(usex systemd systemd none)" |
95 |
+ "$(use_with selinux)" |
96 |
+ "$(use_with debug gssidebug)" |
97 |
+ "$(use_with hardened hardening)" |
98 |
+ ) |
99 |
+ |
100 |
+ econf "${myeconfargs[@]}" |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ default |
105 |
+ # This is a plugin module, so no need for la file. |
106 |
+ find "${ED}"/usr -name proxymech.la -delete || die |
107 |
+ |
108 |
+ doinitd "${FILESDIR}"/gssproxy |
109 |
+ insinto /etc/gssproxy |
110 |
+ doins examples/*.conf |
111 |
+ insinto /etc/gss/mech.d |
112 |
+ newins examples/mech gssproxy.conf |
113 |
+ |
114 |
+ keepdir /var/lib/gssproxy |
115 |
+ |
116 |
+ # The build installs a bunch of empty dirs, so prune them. |
117 |
+ find "${ED}" -depth -type d -empty -delete || die |
118 |
+} |