From 2fd57282f0262ca084e05b0f2c63fbada395d02b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Jan 2022 20:27:28 +0000 Subject: gentoo resync : 16.01.2021 --- net-nds/gssproxy/Manifest | 4 +- net-nds/gssproxy/files/gssproxy | 2 + net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild | 92 +++++++++++++++++++++++++++++++ net-nds/gssproxy/gssproxy-0.8.4.ebuild | 88 ----------------------------- 4 files changed, 96 insertions(+), 90 deletions(-) create mode 100644 net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild delete mode 100644 net-nds/gssproxy/gssproxy-0.8.4.ebuild (limited to 'net-nds/gssproxy') diff --git a/net-nds/gssproxy/Manifest b/net-nds/gssproxy/Manifest index ec2ebf28a188..de30e0de7423 100644 --- a/net-nds/gssproxy/Manifest +++ b/net-nds/gssproxy/Manifest @@ -1,4 +1,4 @@ -AUX gssproxy 276 BLAKE2B f529b72cc589910a8c7c5f76428359e6bbca612e3ce78f1a02213655183942d1c362a3c48d7d60ceb408d4ae0a8dd75f12ebaa30d7cff59d1f0ea2537c2b1dcc SHA512 883a9a82e9f7e92aee212f9cdc8a5c5eb5204d03a928a48d5826ef4de273907a8d4f1bbf2e9351d19f88fb35cd499ea1103d7aaa0e97ed23fc2e5a0b35be0fee +AUX gssproxy 371 BLAKE2B d51ab4a06138dcc4af7b1706948534bd3b0b0fe1e715085eeb910bfacab9bb9d46af132901d9ed59feaab889409f917c72527377cf233ddce928e02a287bea99 SHA512 ec7b7e6684ed93ec6a71d5c4bfef7f6a6a61b22202607064e906165e1b5a14f283476d25ef19551040b462f173352ce330a3781b20d0865d4799f087cd707c28 DIST gssproxy-0.8.4.tar.gz 567579 BLAKE2B 55519d2d439e168df0346cfa2655e01bc90191e17ea7d8c72c5f29c22ed6adca39e5adb4fd900f6dc756147b2fbee23212bfc097c38ab927e6c9679b0186fa2c SHA512 ab81c40d6c7b1908751feb107d8da66603b7681fb67aa7a1f30194a81d542ca89e6c2f34425e9356b9c55eb3691bfa240ba41441c01498af45e862a133cd088a -EBUILD gssproxy-0.8.4.ebuild 2807 BLAKE2B 018f555f13754fd0673e2597ad55ff019e7d5d7d177ebc3b889d4c1debc4477ca3ba1e852e411064477a55711138b9d3cf0418b18c294b63750a78d62ca52d46 SHA512 8318e5c635a5e5177277f6614e30149fadde1044bdabb4f0eb95ad7cefaa0fed01a9ca071a34fffca025bad56b341db30160cb9b2ce9e8da38cfbccbc86f55c8 +EBUILD gssproxy-0.8.4-r2.ebuild 2953 BLAKE2B c9fe88e18120b72abc183f21ddb46cee69b42ab1b1f142e2703d0483f7256d0a715eef58e79b7ef6800de718bc55959de862162993fdb850ba8f6afbfaf55867 SHA512 5198dcb562a134bbd384638b81c66c2357aa49b24ccac67bec850e019f7541623519c3c84c1744558b4a0e5648de61261702c3b1cb52b1137abe30c548aa8ece MISC metadata.xml 221 BLAKE2B 12ca7879e624ddb2085fbcf6c64b392796ef63aa3542bb51f80594cb6f319c2e7cc52660108a94f81ce540a19b07607ac599e82a21c4b5a46ccbf983c5d38d3b SHA512 c67d921bc7074f20a036d795b10293f39a9a2d6d21ccbbeee776a6ceff36d0e89f15bb98f6761de93f290addbf1447fddd20de80cec60c0987913d47e976ef61 diff --git a/net-nds/gssproxy/files/gssproxy b/net-nds/gssproxy/files/gssproxy index 750e7623cdcc..83c594402258 100644 --- a/net-nds/gssproxy/files/gssproxy +++ b/net-nds/gssproxy/files/gssproxy @@ -12,4 +12,6 @@ depend() { start_pre() { checkpath -d -m 0755 /var/lib/gssproxy + checkpath -d -m 0700 /var/lib/gssproxy/clients + checkpath -d -m 0700 /var/lib/gssproxy/rcache } diff --git a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild new file mode 100644 index 000000000000..cdf4adce1dfb --- /dev/null +++ b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="daemon to proxy GSSAPI context establishment and channel handling" +HOMEPAGE="https://github.com/gssapi/gssproxy" +SRC_URI="https://github.com/gssapi/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD-1" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86" +IUSE="debug selinux systemd hardened" + +COMMON_DEPEND=">=dev-libs/libverto-0.2.2 + >=dev-libs/ding-libs-0.6.1 + virtual/krb5 + selinux? ( sys-libs/libselinux )" +RDEPEND="${COMMON_DEPEND} + selinux? ( sec-policy/selinux-gssproxy )" +# We need xml stuff to build the man pages, and people really want/need +# the man pages for this package :). #585200 +BDEPEND=" + app-text/docbook-xml-dtd:4.4 + dev-libs/libxslt + virtual/pkgconfig +" + +# Many requirements to run tests, including running slapd as root, hence +# unfeasible. +RESTRICT="test" + +# pkg_setup() { +# # Here instead of flag-logic in DEPEND, since virtual/krb5 does not +# # allow to specify the openldap use flag, which heimdal doesn't +# # support. +# # Using mit-krb5 explicitly because heimdal doesn't install kerberos +# # schemata required for the tests of gss-proxy. +# if use test && ! has_version "app-crypt/mit-krb5[openldap]"; then +# eerror "Tests of this package require the kerberos schemata installed from app-crypt/mit-krb5[openldap]." +# die "Tests enabled but no app-crypt/mit-krb5[openldap] being installed." +# fi +# } + +# Was required in 0.7.0 to fix the schema- and slapd-path. Reason for +# comment: see RESTRICT comment +# src_prepare() { +# default +# # The tests look for kerberos schemata in the documentation +# # directory of krb5, however these are installed in /etc/openldap +# # and only if the openldap useflag is supplied +# sed -i \ +# -e 's#/usr/share/doc/krb5-server-ldap*#/etc/openldap/schema#' \ +# -e "s#\(subprocess.Popen..\"\)slapd#\1/usr/$(get_libdir)/openldap/slapd#" \ +# "${S}/tests/testlib.py" || die +# } + +src_configure() { + local myeconfargs=( + # The build assumes localstatedir is /var and takes care of + # using all the right subdirs itself. + "--localstatedir=${EPREFIX}/var" + "--with-os=gentoo" + "--with-initscript=$(usex systemd systemd none)" + "$(use_with selinux)" + "$(use_with debug gssidebug)" + "$(use_with hardened hardening)" + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + # This is a plugin module, so no need for la file. + find "${ED}"/usr -name proxymech.la -delete || die + + doinitd "${FILESDIR}"/gssproxy + insinto /etc/gssproxy + doins examples/*.conf + insinto /etc/gss/mech.d + newins examples/mech gssproxy.conf + + keepdir /var/lib/gssproxy + keepdir /var/lib/gssproxy/clients + keepdir /var/lib/gssproxy/rcache + fperms 0700 /var/lib/gssproxy/clients + fperms 0700 /var/lib/gssproxy/rcache + + # The build installs a bunch of empty dirs, so prune them. + find "${ED}" -depth -type d -empty -delete || die +} diff --git a/net-nds/gssproxy/gssproxy-0.8.4.ebuild b/net-nds/gssproxy/gssproxy-0.8.4.ebuild deleted file mode 100644 index dd5999942c52..000000000000 --- a/net-nds/gssproxy/gssproxy-0.8.4.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="daemon to proxy GSSAPI context establishment and channel handling" -HOMEPAGE="https://github.com/gssapi/gssproxy" -SRC_URI="https://github.com/gssapi/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD-1" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86" -IUSE="debug selinux systemd hardened" - -COMMON_DEPEND=">=dev-libs/libverto-0.2.2 - >=dev-libs/ding-libs-0.6.1 - virtual/krb5 - selinux? ( sys-libs/libselinux )" -RDEPEND="${COMMON_DEPEND} - selinux? ( sec-policy/selinux-gssproxy )" -# We need xml stuff to build the man pages, and people really want/need -# the man pages for this package :). #585200 -BDEPEND=" - app-text/docbook-xml-dtd:4.4 - dev-libs/libxslt - virtual/pkgconfig -" - -# Many requirements to run tests, including running slapd as root, hence -# unfeasible. -RESTRICT="test" - -# pkg_setup() { -# # Here instead of flag-logic in DEPEND, since virtual/krb5 does not -# # allow to specify the openldap use flag, which heimdal doesn't -# # support. -# # Using mit-krb5 explicitly because heimdal doesn't install kerberos -# # schemata required for the tests of gss-proxy. -# if use test && ! has_version "app-crypt/mit-krb5[openldap]"; then -# eerror "Tests of this package require the kerberos schemata installed from app-crypt/mit-krb5[openldap]." -# die "Tests enabled but no app-crypt/mit-krb5[openldap] being installed." -# fi -# } - -# Was required in 0.7.0 to fix the schema- and slapd-path. Reason for -# comment: see RESTRICT comment -# src_prepare() { -# default -# # The tests look for kerberos schemata in the documentation -# # directory of krb5, however these are installed in /etc/openldap -# # and only if the openldap useflag is supplied -# sed -i \ -# -e 's#/usr/share/doc/krb5-server-ldap*#/etc/openldap/schema#' \ -# -e "s#\(subprocess.Popen..\"\)slapd#\1/usr/$(get_libdir)/openldap/slapd#" \ -# "${S}/tests/testlib.py" || die -# } - -src_configure() { - local myeconfargs=( - # The build assumes localstatedir is /var and takes care of - # using all the right subdirs itself. - "--localstatedir=${EPREFIX}/var" - "--with-os=gentoo" - "--with-initscript=$(usex systemd systemd none)" - "$(use_with selinux)" - "$(use_with debug gssidebug)" - "$(use_with hardened hardening)" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - # This is a plugin module, so no need for la file. - find "${ED}"/usr -name proxymech.la -delete || die - - doinitd "${FILESDIR}"/gssproxy - insinto /etc/gssproxy - doins examples/*.conf - insinto /etc/gss/mech.d - newins examples/mech gssproxy.conf - - keepdir /var/lib/gssproxy - - # The build installs a bunch of empty dirs, so prune them. - find "${ED}" -depth -type d -empty -delete || die -} -- cgit v1.2.3