diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-06-05 23:53:44 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-06-05 23:54:45 -0400 |
commit | af0ed32d2491eb16b4fd6f7083f9ce4c5651f766 (patch) | |
tree | 64bb8fe00081d138c030fb6d20b89324b23e16fd /net-nds/gss-proxy/gss-proxy-0.5.0.ebuild | |
parent | dev-libs/ding-libs: version bump to 0.5.0 #548208 (diff) | |
download | gentoo-af0ed32d2491eb16b4fd6f7083f9ce4c5651f766.tar.gz gentoo-af0ed32d2491eb16b4fd6f7083f9ce4c5651f766.tar.bz2 gentoo-af0ed32d2491eb16b4fd6f7083f9ce4c5651f766.zip |
net-nds/gss-proxy: initial package #548208
Needed by newer nfs-utils for kerberos/nfsv4 services.
Diffstat (limited to 'net-nds/gss-proxy/gss-proxy-0.5.0.ebuild')
-rw-r--r-- | net-nds/gss-proxy/gss-proxy-0.5.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-nds/gss-proxy/gss-proxy-0.5.0.ebuild b/net-nds/gss-proxy/gss-proxy-0.5.0.ebuild new file mode 100644 index 000000000000..a45a5f0c5f8d --- /dev/null +++ b/net-nds/gss-proxy/gss-proxy-0.5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_P="${PN/-}-${PV}" + +DESCRIPTION="daemon to proxy GSSAPI context establishment and channel handling" +HOMEPAGE="https://fedorahosted.org/gss-proxy/" +SRC_URI="https://fedorahosted.org/released/gss-proxy/${MY_P}.tar.gz" + +LICENSE="BSD-1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="debug selinux systemd" + +RDEPEND=">=dev-libs/libverto-0.2.2 + >=dev-libs/ding-libs-0.5.0 + virtual/krb5 + selinux? ( sys-libs/libselinux )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + # The build assumes localstatedir is /var and takes care of + # using all the right subdirs itself. + econf \ + --localstatedir="${EPREFIX}/var" \ + --with-os=gentoo \ + --with-initscript=$(usex systemd systemd sysv) \ + $(use_with selinux) \ + $(use_with debug gssidebug) +} + +src_install() { + default + # This is a plugin module, so no need for la file. + find "${ED}"/usr -name proxymech.la -delete + + doinitd "${FILESDIR}"/gssproxy + insinto /etc/gssproxy + doins examples/*.conf + insinto /etc/gss/mech.d + newins examples/mech gssproxy.conf + + # The build installs a bunch of empty dirs, so prune them. + find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null +} |