public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/, net-nds/gssproxy/files/
@ 2022-01-15 12:32 Georgy Yakovlev
  0 siblings, 0 replies; 5+ messages in thread
From: Georgy Yakovlev @ 2022-01-15 12:32 UTC (permalink / raw
  To: gentoo-commits

commit:     7cb8559a91b2c1d8508b877e711ded939f0c0bef
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 15 12:22:48 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 12:32:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb8559a

net-nds/gssproxy: create /var/lib/gssproxy/rcache

without that directory present krb nfs mounts fail with very confusing
and hard to debug messages.
systemd unit sets Environment=KRB5RCACHEDIR=/var/lib/gssproxy/rcache
but does not create it.
Let's do it in ebuild and openrc service.
Fedora's rpm spec also creates it mkdir -p %{buildroot}%{gpstatedir}/rcache
https://src.fedoraproject.org/rpms/gssproxy/blob/rawhide/f/gssproxy.spec

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 net-nds/gssproxy/files/gssproxy                                      | 1 +
 net-nds/gssproxy/{gssproxy-0.8.4.ebuild => gssproxy-0.8.4-r1.ebuild} | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-nds/gssproxy/files/gssproxy b/net-nds/gssproxy/files/gssproxy
index 750e7623cdcc..34e4983b384f 100644
--- a/net-nds/gssproxy/files/gssproxy
+++ b/net-nds/gssproxy/files/gssproxy
@@ -12,4 +12,5 @@ depend() {
 
 start_pre() {
 	checkpath -d -m 0755 /var/lib/gssproxy
+	checkpath -d -m 0755 /var/lib/gssproxy/rcache
 }

diff --git a/net-nds/gssproxy/gssproxy-0.8.4.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild
similarity index 97%
rename from net-nds/gssproxy/gssproxy-0.8.4.ebuild
rename to net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild
index dd5999942c52..df211a14dbf6 100644
--- a/net-nds/gssproxy/gssproxy-0.8.4.ebuild
+++ b/net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -82,6 +82,7 @@ src_install() {
 	newins examples/mech gssproxy.conf
 
 	keepdir /var/lib/gssproxy
+	keepdir /var/lib/gssproxy/rcache
 
 	# The build installs a bunch of empty dirs, so prune them.
 	find "${ED}" -depth -type d -empty -delete || die


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/, net-nds/gssproxy/files/
@ 2022-01-15 12:42 Georgy Yakovlev
  0 siblings, 0 replies; 5+ messages in thread
From: Georgy Yakovlev @ 2022-01-15 12:42 UTC (permalink / raw
  To: gentoo-commits

commit:     5ec4f783e19a167a9fb40e71b132fc510b040958
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 15 12:42:05 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 12:42:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec4f783

net-nds/gssproxy: create clients dir too, secure permissions

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 net-nds/gssproxy/files/gssproxy                                        | 3 ++-
 .../gssproxy/{gssproxy-0.8.4-r1.ebuild => gssproxy-0.8.4-r2.ebuild}    | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-nds/gssproxy/files/gssproxy b/net-nds/gssproxy/files/gssproxy
index 34e4983b384f..83c594402258 100644
--- a/net-nds/gssproxy/files/gssproxy
+++ b/net-nds/gssproxy/files/gssproxy
@@ -12,5 +12,6 @@ depend() {
 
 start_pre() {
 	checkpath -d -m 0755 /var/lib/gssproxy
-	checkpath -d -m 0755 /var/lib/gssproxy/rcache
+	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-r1.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
similarity index 96%
rename from net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild
rename to net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
index df211a14dbf6..cdf4adce1dfb 100644
--- a/net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild
+++ b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
@@ -82,7 +82,10 @@ src_install() {
 	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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/, net-nds/gssproxy/files/
@ 2022-06-01  6:38 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-06-01  6:38 UTC (permalink / raw
  To: gentoo-commits

commit:     7cead118afb53b22923e581340d3e0c8d279a5bc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  1 06:38:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun  1 06:38:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cead118

net-nds/gssproxy: fix configure w/o systemd

Closes: https://bugs.gentoo.org/848909
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/gssproxy-0.9.0-configure-systemd.patch   | 38 ++++++++++++++++++++++
 net-nds/gssproxy/gssproxy-0.9.0.ebuild             | 22 ++++++++++++-
 2 files changed, 59 insertions(+), 1 deletion(-)

diff --git a/net-nds/gssproxy/files/gssproxy-0.9.0-configure-systemd.patch b/net-nds/gssproxy/files/gssproxy-0.9.0-configure-systemd.patch
new file mode 100644
index 000000000000..501fe3896666
--- /dev/null
+++ b/net-nds/gssproxy/files/gssproxy-0.9.0-configure-systemd.patch
@@ -0,0 +1,38 @@
+https://github.com/gssapi/gssproxy/commit/325869a33cb923ab2123ab4179399a37503ed3b5.patch
+https://bugs.gentoo.org/848909
+
+From: Simo Sorce <simo@redhat.com>
+Date: Tue, 31 May 2022 11:09:14 -0400
+Subject: [PATCH] Move some configure checks out of a condition
+
+I was too aggressive in moving all systemd checks, some of them need to
+be performed at all times because there are conditionals ependent on the
+detection.
+
+The actual build for gss-only module is controlled by the BUILD_PROXY
+guard anyway, so the checking unconditionally should not cause any
+change for that configuration even when unused.
+
+Signed-off-by: Simo Sorce <simo@redhat.com>
+--- a/configure.ac
++++ b/configure.ac
+@@ -164,13 +164,13 @@ if test x$only_gss_module != xyes; then
+                          [AC_MSG_ERROR([Could not find libcap headers])])
+     fi
+ 
+-    if test x$initscript = xsystemd; then
+-        WITH_SYSTEMD_UNIT_DIR
+-        WITH_SYSTEMD_USER_UNIT_DIR
+-        AM_CHECK_SYSTEMD
+-    fi
+ fi
+ AM_CONDITIONAL([BUILD_PROXY], [test x$only_gss_module != xyes ])
++if test x$initscript = xsystemd; then
++    WITH_SYSTEMD_UNIT_DIR
++    WITH_SYSTEMD_USER_UNIT_DIR
++fi
++AM_CHECK_SYSTEMD
+ 
+ AC_ARG_ENABLE([always-interpose],
+               [AC_HELP_STRING([--enable-always-interpose],
+

diff --git a/net-nds/gssproxy/gssproxy-0.9.0.ebuild b/net-nds/gssproxy/gssproxy-0.9.0.ebuild
index ac3daab25f48..3a9749f43991 100644
--- a/net-nds/gssproxy/gssproxy-0.9.0.ebuild
+++ b/net-nds/gssproxy/gssproxy-0.9.0.ebuild
@@ -3,6 +3,9 @@
 
 EAPI=7
 
+# Can drop after 0.9.0, just for patch
+inherit autotools
+
 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"
@@ -30,6 +33,10 @@ BDEPEND="
 # unfeasible.
 RESTRICT="test"
 
+PATCHES=(
+	"${FILESDIR}"/${P}-configure-systemd.patch
+)
+
 # 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
@@ -55,6 +62,13 @@ RESTRICT="test"
 #		"${S}/tests/testlib.py" || die
 # }
 
+src_prepare() {
+	default
+
+	# Just for 0.9.0 systemd patch
+	eautoreconf
+}
+
 src_configure() {
 	local myeconfargs=(
 		# The build assumes localstatedir is /var and takes care of
@@ -65,7 +79,13 @@ src_configure() {
 		--with-initscript=$(usex systemd systemd none)
 		$(use_with selinux)
 		$(use_with debug gssidebug)
-		$(use_with hardened hardening)
+
+		# We already set FORTIFY_SOURCE by default along with the
+		# other bits. But setting it on each compile line interferes
+		# with efforts to try e.g. FORTIFY_SOURCE=3. So, disable it,
+		# but there's no actual difference to the safety of the binaries
+		# because of Gentoo's configuration/patches to the toolchain.
+		--without-hardening
 	)
 
 	econf "${myeconfargs[@]}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/, net-nds/gssproxy/files/
@ 2022-06-16 22:09 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-06-16 22:09 UTC (permalink / raw
  To: gentoo-commits

commit:     52f9eedce23475a9eb91391ff92dfcd76c24697f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 22:09:27 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 22:09:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52f9eedc

net-nds/gssproxy: drop 0.9.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-nds/gssproxy/Manifest                          |   1 -
 .../files/gssproxy-0.9.0-configure-systemd.patch   |  38 -------
 net-nds/gssproxy/gssproxy-0.9.0.ebuild             | 112 ---------------------
 3 files changed, 151 deletions(-)

diff --git a/net-nds/gssproxy/Manifest b/net-nds/gssproxy/Manifest
index f023b7afc92b..124be759a0d3 100644
--- a/net-nds/gssproxy/Manifest
+++ b/net-nds/gssproxy/Manifest
@@ -1,3 +1,2 @@
 DIST gssproxy-0.8.4.tar.gz 567579 BLAKE2B 55519d2d439e168df0346cfa2655e01bc90191e17ea7d8c72c5f29c22ed6adca39e5adb4fd900f6dc756147b2fbee23212bfc097c38ab927e6c9679b0186fa2c SHA512 ab81c40d6c7b1908751feb107d8da66603b7681fb67aa7a1f30194a81d542ca89e6c2f34425e9356b9c55eb3691bfa240ba41441c01498af45e862a133cd088a
-DIST gssproxy-0.9.0.tar.gz 578823 BLAKE2B e018f24ff5a4aba071e1566f55ab65c160a69eae623d596b41e7889289b4d12d04ce4bfd244536d6e4610430d5dc98071a5a9fc2085d63de99ca1eef9120abe8 SHA512 0c597951bd9c26db93a8aeb0c1f7328d8ae03ec72838b376eef458b0021b6b5f6d814d6b2438472cc121c0938883d30125f0e10bda01a1d0896d7933856976c9
 DIST gssproxy-0.9.1.tar.gz 579038 BLAKE2B a17e673876b4acf480b23a8086720f507cd3a85c2f328469b726ab1653a94cd9a3eb9dd9369dee30b57457b6e8125b67a86fc4186c387e58d2d96b1da7c55089 SHA512 767c4e73d5240a43a0586e836e7dc199b8baf0adbc5a1a2cbb6ffc6f0a7ca574a4fc541ca474ef696d78956724eb24c465760f680e7170f8d77d056513b6226b

diff --git a/net-nds/gssproxy/files/gssproxy-0.9.0-configure-systemd.patch b/net-nds/gssproxy/files/gssproxy-0.9.0-configure-systemd.patch
deleted file mode 100644
index 501fe3896666..000000000000
--- a/net-nds/gssproxy/files/gssproxy-0.9.0-configure-systemd.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-https://github.com/gssapi/gssproxy/commit/325869a33cb923ab2123ab4179399a37503ed3b5.patch
-https://bugs.gentoo.org/848909
-
-From: Simo Sorce <simo@redhat.com>
-Date: Tue, 31 May 2022 11:09:14 -0400
-Subject: [PATCH] Move some configure checks out of a condition
-
-I was too aggressive in moving all systemd checks, some of them need to
-be performed at all times because there are conditionals ependent on the
-detection.
-
-The actual build for gss-only module is controlled by the BUILD_PROXY
-guard anyway, so the checking unconditionally should not cause any
-change for that configuration even when unused.
-
-Signed-off-by: Simo Sorce <simo@redhat.com>
---- a/configure.ac
-+++ b/configure.ac
-@@ -164,13 +164,13 @@ if test x$only_gss_module != xyes; then
-                          [AC_MSG_ERROR([Could not find libcap headers])])
-     fi
- 
--    if test x$initscript = xsystemd; then
--        WITH_SYSTEMD_UNIT_DIR
--        WITH_SYSTEMD_USER_UNIT_DIR
--        AM_CHECK_SYSTEMD
--    fi
- fi
- AM_CONDITIONAL([BUILD_PROXY], [test x$only_gss_module != xyes ])
-+if test x$initscript = xsystemd; then
-+    WITH_SYSTEMD_UNIT_DIR
-+    WITH_SYSTEMD_USER_UNIT_DIR
-+fi
-+AM_CHECK_SYSTEMD
- 
- AC_ARG_ENABLE([always-interpose],
-               [AC_HELP_STRING([--enable-always-interpose],
-

diff --git a/net-nds/gssproxy/gssproxy-0.9.0.ebuild b/net-nds/gssproxy/gssproxy-0.9.0.ebuild
deleted file mode 100644
index 3a9749f43991..000000000000
--- a/net-nds/gssproxy/gssproxy-0.9.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Can drop after 0.9.0, just for patch
-inherit autotools
-
-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"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-configure-systemd.patch
-)
-
-# 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_prepare() {
-	default
-
-	# Just for 0.9.0 systemd patch
-	eautoreconf
-}
-
-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)
-
-		# We already set FORTIFY_SOURCE by default along with the
-		# other bits. But setting it on each compile line interferes
-		# with efforts to try e.g. FORTIFY_SOURCE=3. So, disable it,
-		# but there's no actual difference to the safety of the binaries
-		# because of Gentoo's configuration/patches to the toolchain.
-		--without-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
-
-	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
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/, net-nds/gssproxy/files/
@ 2023-12-28  4:23 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2023-12-28  4:23 UTC (permalink / raw
  To: gentoo-commits

commit:     6e3971dbf664dc31ddcd0062009e761d87b0450c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 04:16:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 04:16:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3971db

net-nds/gssproxy: drop 0.9.1, 0.9.1-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-nds/gssproxy/Manifest                          |   1 -
 .../gssproxy-0.9.1-fix-musl-llvm16-build.patch     |  30 ------
 net-nds/gssproxy/gssproxy-0.9.1-r1.ebuild          | 102 ---------------------
 net-nds/gssproxy/gssproxy-0.9.1.ebuild             |  98 --------------------
 4 files changed, 231 deletions(-)

diff --git a/net-nds/gssproxy/Manifest b/net-nds/gssproxy/Manifest
index 5bbb2130220d..2e3b1aa132a5 100644
--- a/net-nds/gssproxy/Manifest
+++ b/net-nds/gssproxy/Manifest
@@ -1,2 +1 @@
-DIST gssproxy-0.9.1.tar.gz 579038 BLAKE2B a17e673876b4acf480b23a8086720f507cd3a85c2f328469b726ab1653a94cd9a3eb9dd9369dee30b57457b6e8125b67a86fc4186c387e58d2d96b1da7c55089 SHA512 767c4e73d5240a43a0586e836e7dc199b8baf0adbc5a1a2cbb6ffc6f0a7ca574a4fc541ca474ef696d78956724eb24c465760f680e7170f8d77d056513b6226b
 DIST gssproxy-0.9.2.tar.gz 586240 BLAKE2B 4480070740ce77a9ed8714bbe8cb24684292317cc61e6c13e06b368bef6d722fdefb3c5230d15773050960851382435a15a0106e5d920c74b13afbbab9ff9194 SHA512 6de484c9c1715e8b845106e1b16e1c29805e4104db296eb44ea15e6b6973fd1df0b043d2cdc2798f04c7a0ce66279e356a285684bc3573ef847532ab2b87aca3

diff --git a/net-nds/gssproxy/files/gssproxy-0.9.1-fix-musl-llvm16-build.patch b/net-nds/gssproxy/files/gssproxy-0.9.1-fix-musl-llvm16-build.patch
deleted file mode 100644
index ac8c35c565ec..000000000000
--- a/net-nds/gssproxy/files/gssproxy-0.9.1-fix-musl-llvm16-build.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-https://github.com/gssapi/gssproxy/commit/f6ab3193e64ecc9db4d253b6dd99991f461b6081
-From: Brahmajit Das <brahmajit.xyz@gmail.com>
-Date: Wed, 31 May 2023 04:53:23 +0000
-Subject: [PATCH] Fix build with musl and llvm
-
-Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
---- a/src/gp_util.c
-+++ b/src/gp_util.c
-@@ -63,7 +63,7 @@ char *gp_strerror(int errnum)
-     static __thread char buf[MAX_GP_STRERROR];
-     int saved_errno = errno;
- 
--#if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE)
-+#if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE) || !defined(__GLIBC__)
-     /* XSI version */
-     int ret;
- 
---- a/tests/userproxytest.c
-+++ b/tests/userproxytest.c
-@@ -5,6 +5,7 @@
- #include <stdbool.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <sys/socket.h>
- #include <sys/un.h>
- #include <sys/wait.h>
--- 
-2.40.1
-

diff --git a/net-nds/gssproxy/gssproxy-0.9.1-r1.ebuild b/net-nds/gssproxy/gssproxy-0.9.1-r1.ebuild
deleted file mode 100644
index 5a9017c89d1f..000000000000
--- a/net-nds/gssproxy/gssproxy-0.9.1-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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"
-
-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"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.9.1-fix-musl-llvm16-build.patch
-)
-
-# 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)
-
-		# We already set FORTIFY_SOURCE by default along with the
-		# other bits. But setting it on each compile line interferes
-		# with efforts to try e.g. FORTIFY_SOURCE=3. So, disable it,
-		# but there's no actual difference to the safety of the binaries
-		# because of Gentoo's configuration/patches to the toolchain.
-		--without-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
-
-	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.9.1.ebuild b/net-nds/gssproxy/gssproxy-0.9.1.ebuild
deleted file mode 100644
index fb9335bdb62a..000000000000
--- a/net-nds/gssproxy/gssproxy-0.9.1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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"
-
-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)
-
-		# We already set FORTIFY_SOURCE by default along with the
-		# other bits. But setting it on each compile line interferes
-		# with efforts to try e.g. FORTIFY_SOURCE=3. So, disable it,
-		# but there's no actual difference to the safety of the binaries
-		# because of Gentoo's configuration/patches to the toolchain.
-		--without-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
-
-	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
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-28  4:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-15 12:42 [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/, net-nds/gssproxy/files/ Georgy Yakovlev
  -- strict thread matches above, loose matches on Subject: below --
2023-12-28  4:23 Sam James
2022-06-16 22:09 Sam James
2022-06-01  6:38 Sam James
2022-01-15 12:32 Georgy Yakovlev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox