1 |
commit: 1ea4fac6cdd6e195a27077ff92f4606fa68191ca |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 17 22:31:58 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 17 22:41:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea4fac6 |
7 |
|
8 |
net-libs/libgssglue: add 0.7 |
9 |
|
10 |
Drop sed per Simon's email, as he had a better idea (and has |
11 |
implemented it upstream) [0] |
12 |
|
13 |
[0] https://gitlab.com/gsasl/libgssglue/-/commit/21111fab7ddbbefaca5aca12b441c5b15d2b5557 |
14 |
|
15 |
Bug: https://bugs.gentoo.org/646126 |
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
net-libs/libgssglue/Manifest | 1 + |
19 |
net-libs/libgssglue/libgssglue-0.7.ebuild | 50 +++++++++++++++++++++++++++++++ |
20 |
2 files changed, 51 insertions(+) |
21 |
|
22 |
diff --git a/net-libs/libgssglue/Manifest b/net-libs/libgssglue/Manifest |
23 |
index 8ec092bd1f2a..20b674efb0e1 100644 |
24 |
--- a/net-libs/libgssglue/Manifest |
25 |
+++ b/net-libs/libgssglue/Manifest |
26 |
@@ -1,2 +1,3 @@ |
27 |
DIST libgssglue-0.4.tar.gz 346984 BLAKE2B 5815db41ff3f65b014e713b68667bb49d3aecab943e891de881af2a2d157cceddc5173e7eff9ed2eac714b2e1341429694f1051ad98a3c4b728a61eaceeaddfb SHA512 25d514c08320e42851ff153d7691267a8454f205492faf942f566aa30c1ac1c83bd095732a1a0fcc010ba3a5d48b4c95a196ad05bc821598cc1fc3a2c4960d29 |
28 |
DIST libgssglue-libgssglue-0.5.tar.bz2 32115 BLAKE2B cc66e66e76e0cdbc006b22dd81b96a65d444f9f2f0a62da8208b2be16081e47eccf68788d1b35f606caa5b8f3ab1740a308d54019c7a800501c838343f87f245 SHA512 e49088762bb1aee4c1b3d8c8b6f02bc9550abee1cc6bc9814933dc985841dfda56d96d736e56fecf624b4050bfda6ce1059c2dbeb1ab668956c2f941041f20f2 |
29 |
+DIST libgssglue-libgssglue-0.7.tar.bz2 31415 BLAKE2B 4017ff17b876b00d93d5120ca8fe2a1f472b61c7b73dec0194d0ebaa244176b5d6f85fbfe5ce52cd77bcce9e1718f979b36e8926577640bbad38208fcea78f5a SHA512 04ea9af9f56afeca40b1dd22708dfa2e844d587106f370820a8976a22e8b95c646cdc5c5ef4256e34780cdb34c5617c45187fe3866670662f15ac579ef22dcca |
30 |
|
31 |
diff --git a/net-libs/libgssglue/libgssglue-0.7.ebuild b/net-libs/libgssglue/libgssglue-0.7.ebuild |
32 |
new file mode 100644 |
33 |
index 000000000000..89f5f109a7f7 |
34 |
--- /dev/null |
35 |
+++ b/net-libs/libgssglue/libgssglue-0.7.ebuild |
36 |
@@ -0,0 +1,50 @@ |
37 |
+# Copyright 1999-2022 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=8 |
41 |
+ |
42 |
+inherit autotools readme.gentoo-r1 |
43 |
+ |
44 |
+DESCRIPTION="Exports a gssapi interface which calls other random gssapi libraries" |
45 |
+HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux https://gitlab.com/gsasl/libgssglue" |
46 |
+SRC_URI="https://gitlab.com/gsasl/libgssglue/-/archive/${P}/${PN}-${P}.tar.bz2" |
47 |
+S="${WORKDIR}"/${PN}-${P} |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
52 |
+ |
53 |
+RDEPEND="virtual/krb5" |
54 |
+ |
55 |
+DOC_CONTENTS=" |
56 |
+This package allows choosing a Kerberos or GSSAPI implementation |
57 |
+at runtime. |
58 |
+ |
59 |
+See |
60 |
+https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/ |
61 |
+for more details. |
62 |
+ |
63 |
+A system-wide implementation can be chosen by editing ${EROOT}/etc/gssapi_mech.conf, |
64 |
+or it can be set per-process via the GSSAPI_MECH_CONF environment variable. |
65 |
+" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ |
70 |
+ eautoreconf |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ |
76 |
+ readme.gentoo_create_doc |
77 |
+ |
78 |
+ insinto /etc |
79 |
+ doins doc/gssapi_mech.conf |
80 |
+ |
81 |
+ find "${ED}" -name '*.la' -delete || die |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ readme.gentoo_print_elog |
86 |
+} |