Diff libgssglue-0.4-r1 with a libgssglue-0.7

/usr/portage/net-libs/libgssglue/libgssglue-0.7.ebuild 2023-10-09 14:52:34.480368476 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5

  
6
inherit autotools readme.gentoo-r1
5 7

  
6 8
DESCRIPTION="Exports a gssapi interface which calls other random gssapi libraries"
7
HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
8
SRC_URI="http://www.citi.umich.edu/projects/nfsv4/linux/${PN}/${P}.tar.gz"
9
HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux https://gitlab.com/gsasl/libgssglue"
10
SRC_URI="https://gitlab.com/gsasl/libgssglue/-/archive/${P}/${PN}-${P}.tar.bz2"
11
S="${WORKDIR}"/${PN}-${P}
9 12

  
10 13
LICENSE="BSD"
11 14
SLOT="0"
12
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
13
IUSE=""
15
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86"
16

  
17
RDEPEND="virtual/krb5"
14 18

  
15
RDEPEND="!app-crypt/libgssapi"
16
DEPEND=""
19
DOC_CONTENTS="
20
This package allows choosing a Kerberos or GSSAPI implementation
21
at runtime.
17 22

  
18
PATCHES=(
19
	"${FILESDIR}"/${PN}-0.3-protos.patch
20
	"${FILESDIR}"/${PN}-0.4-implicit-declarations.patch
21
)
23
See
24
https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/
25
for more details.
26

  
27
A system-wide implementation can be chosen by editing ${EROOT}/etc/gssapi_mech.conf,
28
or it can be set per-process via the GSSAPI_MECH_CONF environment variable.
29
"
22 30

  
23 31
src_prepare() {
24 32
	default
25
	sed -i -e "s,/lib/,/$(get_libdir)/," doc/gssapi_mech.conf #646126
26
}
27 33

  
28
src_configure() {
29
	# No need to install static libraries, as it uses libdl
30
	econf --disable-static
34
	eautoreconf
31 35
}
32 36

  
33 37
src_install() {
34 38
	default
35
	find "${D}" -name '*.la' -delete || die
39

  
40
	readme.gentoo_create_doc
36 41

  
37 42
	insinto /etc
38 43
	doins doc/gssapi_mech.conf
44

  
45
	find "${ED}" -name '*.la' -delete || die
46
}
47

  
48
pkg_postinst() {
49
	readme.gentoo_print_elog
39 50
}
Thank you!