diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-19 02:37:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-19 02:37:55 +0100 |
commit | b5c8e7977a8950fe976559fbed28db9c0bcd3d6f (patch) | |
tree | f3685b9d72ea7daa9be01003ad1168de69152385 /net-libs/libgssglue/libgssglue-0.5-r1.ebuild | |
parent | e26a7b5ef1fe42a66a3c91fe878da93c7cf83737 (diff) |
gentoo auto-resync : 19:07:2022 - 02:37:54
Diffstat (limited to 'net-libs/libgssglue/libgssglue-0.5-r1.ebuild')
-rw-r--r-- | net-libs/libgssglue/libgssglue-0.5-r1.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/net-libs/libgssglue/libgssglue-0.5-r1.ebuild b/net-libs/libgssglue/libgssglue-0.5-r1.ebuild new file mode 100644 index 000000000000..11a29340a820 --- /dev/null +++ b/net-libs/libgssglue/libgssglue-0.5-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools readme.gentoo-r1 + +DESCRIPTION="Exports a gssapi interface which calls other random gssapi libraries" +HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux https://gitlab.com/gsasl/libgssglue" +SRC_URI="https://gitlab.com/gsasl/libgssglue/-/archive/${P}/${PN}-${P}.tar.bz2" +S="${WORKDIR}"/${PN}-${P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND="virtual/krb5" + +PATCHES=( + "${FILESDIR}"/${PN}-0.3-protos.patch + "${FILESDIR}"/${PN}-0.4-implicit-declarations.patch +) + +DOC_CONTENTS=" +This package allows choosing a Kerberos or GSSAPI implementation +at runtime. + +See +https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/ +for more details. + +A system-wide implementation can be chosen by editing ${EROOT}/etc/gssapi_mech.conf, +or it can be set per-process via the GSSAPI_MECH_CONF environment variable. +" + +src_prepare() { + default + + # bug #646126 + sed -i -e "s,/lib/,/$(get_libdir)/," doc/gssapi_mech.conf || die + + eautoreconf +} + +src_install() { + default + + readme.gentoo_create_doc + + insinto /etc + doins doc/gssapi_mech.conf + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + readme.gentoo_print_elog +} |