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