* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/files/, net-nds/gssproxy/
@ 2022-01-23 18:16 David Seifert
0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2022-01-23 18:16 UTC (permalink / raw
To: gentoo-commits
commit: f0fb22b3be9aee44894859fd4306bfa4256e7c0e
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 23 18:16:00 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 18:16:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0fb22b3
net-nds/gssproxy: add missing #include <string.h>
Closes: https://bugs.gentoo.org/719920
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../gssproxy/files/gssproxy-0.8.4-include.patch | 24 ++++++++++++++++++++++
net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild | 2 ++
2 files changed, 26 insertions(+)
diff --git a/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch b/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch
new file mode 100644
index 000000000000..1f85329c237e
--- /dev/null
+++ b/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch
@@ -0,0 +1,24 @@
+From 57f951d1e32739ddfd0d924df81da010e47d35b9 Mon Sep 17 00:00:00 2001
+From: David Seifert <soap@gentoo.org>
+Date: Sun, 23 Jan 2022 19:09:25 +0100
+Subject: [PATCH] Add missing #include for musl
+
+Bug: https://bugs.gentoo.org/719920
+
+Signed-off-by: David Seifert <soap@gentoo.org>
+---
+ src/gp_socket.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/gp_socket.c b/src/gp_socket.c
+index 9070928..493399a 100644
+--- a/src/gp_socket.c
++++ b/src/gp_socket.c
+@@ -10,6 +10,7 @@
+ #include <fcntl.h>
+ #include <netinet/in.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
diff --git a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
index cdf4adce1dfb..78ca63ee6d6a 100644
--- a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
+++ b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
@@ -55,6 +55,8 @@ RESTRICT="test"
# "${S}/tests/testlib.py" || die
# }
+PATCHES=( "${FILESDIR}"/${P}-include.patch )
+
src_configure() {
local myeconfargs=(
# The build assumes localstatedir is /var and takes care of
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/files/, net-nds/gssproxy/
@ 2022-09-23 2:14 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-09-23 2:14 UTC (permalink / raw
To: gentoo-commits
commit: ca1dc11b98c7935f1005e55e549e04720e625ac8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 23 02:11:38 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 23 02:13:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca1dc11b
net-nds/gssproxy: drop 0.8.4-r2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-nds/gssproxy/Manifest | 1 -
.../gssproxy/files/gssproxy-0.8.4-include.patch | 24 ------
net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild | 94 ----------------------
3 files changed, 119 deletions(-)
diff --git a/net-nds/gssproxy/Manifest b/net-nds/gssproxy/Manifest
index 124be759a0d3..6fc2a26a1c4b 100644
--- a/net-nds/gssproxy/Manifest
+++ b/net-nds/gssproxy/Manifest
@@ -1,2 +1 @@
-DIST gssproxy-0.8.4.tar.gz 567579 BLAKE2B 55519d2d439e168df0346cfa2655e01bc90191e17ea7d8c72c5f29c22ed6adca39e5adb4fd900f6dc756147b2fbee23212bfc097c38ab927e6c9679b0186fa2c SHA512 ab81c40d6c7b1908751feb107d8da66603b7681fb67aa7a1f30194a81d542ca89e6c2f34425e9356b9c55eb3691bfa240ba41441c01498af45e862a133cd088a
DIST gssproxy-0.9.1.tar.gz 579038 BLAKE2B a17e673876b4acf480b23a8086720f507cd3a85c2f328469b726ab1653a94cd9a3eb9dd9369dee30b57457b6e8125b67a86fc4186c387e58d2d96b1da7c55089 SHA512 767c4e73d5240a43a0586e836e7dc199b8baf0adbc5a1a2cbb6ffc6f0a7ca574a4fc541ca474ef696d78956724eb24c465760f680e7170f8d77d056513b6226b
diff --git a/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch b/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch
deleted file mode 100644
index 1f85329c237e..000000000000
--- a/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 57f951d1e32739ddfd0d924df81da010e47d35b9 Mon Sep 17 00:00:00 2001
-From: David Seifert <soap@gentoo.org>
-Date: Sun, 23 Jan 2022 19:09:25 +0100
-Subject: [PATCH] Add missing #include for musl
-
-Bug: https://bugs.gentoo.org/719920
-
-Signed-off-by: David Seifert <soap@gentoo.org>
----
- src/gp_socket.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/gp_socket.c b/src/gp_socket.c
-index 9070928..493399a 100644
---- a/src/gp_socket.c
-+++ b/src/gp_socket.c
-@@ -10,6 +10,7 @@
- #include <fcntl.h>
- #include <netinet/in.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <sys/socket.h>
- #include <sys/stat.h>
- #include <sys/types.h>
diff --git a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
deleted file mode 100644
index 3e5dc8ca5043..000000000000
--- a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# 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
-# }
-
-PATCHES=( "${FILESDIR}"/${P}-include.patch )
-
-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
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/files/, net-nds/gssproxy/
@ 2023-07-23 1:55 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2023-07-23 1:55 UTC (permalink / raw
To: gentoo-commits
commit: 1a1fa5706559e41c9fce366a69291e7cbc7b86c3
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Wed May 31 13:35:43 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 01:54:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1fa570
net-nds/gssproxy: Fix build with musl llvm
Upstream-Commit: https://github.com/gssapi/gssproxy/commit/f6ab3193e64ecc9db4d253b6dd99991f461b6081
Closes: https://bugs.gentoo.org/898064
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31238
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../gssproxy-0.9.1-fix-musl-llvm16-build.patch | 30 ++++++
net-nds/gssproxy/gssproxy-0.9.1-r1.ebuild | 102 +++++++++++++++++++++
2 files changed, 132 insertions(+)
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
new file mode 100644
index 000000000000..ac8c35c565ec
--- /dev/null
+++ b/net-nds/gssproxy/files/gssproxy-0.9.1-fix-musl-llvm16-build.patch
@@ -0,0 +1,30 @@
+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
new file mode 100644
index 000000000000..2b819259be0a
--- /dev/null
+++ b/net-nds/gssproxy/gssproxy-0.9.1-r1.ebuild
@@ -0,0 +1,102 @@
+# 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
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/files/, net-nds/gssproxy/
@ 2023-10-20 0:51 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2023-10-20 0:51 UTC (permalink / raw
To: gentoo-commits
commit: dd11618dfbfb067a8e61194050266c0adb8c2092
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 20 00:41:48 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 20 00:50:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd11618d
net-nds/gssproxy: add 0.9.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-nds/gssproxy/Manifest | 1 +
.../files/gssproxy-0.9.2-docbook-upgrade.patch | 46 ++++++++
.../gssproxy/files/gssproxy-0.9.2-no-git-log.patch | 13 +++
net-nds/gssproxy/gssproxy-0.9.2.ebuild | 116 +++++++++++++++++++++
4 files changed, 176 insertions(+)
diff --git a/net-nds/gssproxy/Manifest b/net-nds/gssproxy/Manifest
index 6fc2a26a1c4b..5bbb2130220d 100644
--- a/net-nds/gssproxy/Manifest
+++ b/net-nds/gssproxy/Manifest
@@ -1 +1,2 @@
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.2-docbook-upgrade.patch b/net-nds/gssproxy/files/gssproxy-0.9.2-docbook-upgrade.patch
new file mode 100644
index 000000000000..d8aba58b2823
--- /dev/null
+++ b/net-nds/gssproxy/files/gssproxy-0.9.2-docbook-upgrade.patch
@@ -0,0 +1,46 @@
+https://github.com/gssapi/gssproxy/commit/d4004e67cb399054c07b34517e8f0eaee83c55de
+
+From d4004e67cb399054c07b34517e8f0eaee83c55de Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= <kloczek@github.com>
+Date: Fri, 1 Sep 2023 18:19:23 +0000
+Subject: [PATCH] upgrade xml DTD to 4.5
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Trival change which upgardes xml DTD version to latest stable 4.5.
+
+Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
+--- a/man/gssproxy-mech.8.xml.in
++++ b/man/gssproxy-mech.8.xml.in
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+-<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+-"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
++<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
++"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+ <reference>
+ <title>GssProxy GSSAPI mechanism manual page</title>
+ <refentry>
+--- a/man/gssproxy.8.xml
++++ b/man/gssproxy.8.xml
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+-<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+-"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
++<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
++"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+ <reference>
+ <title>GssProxy Manual pages</title>
+ <refentry>
+--- a/man/gssproxy.conf.5.xml
++++ b/man/gssproxy.conf.5.xml
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+-<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+-"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
++<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
++"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+ <reference>
+ <title>GssProxy Manual pages</title>
+ <refentry>
diff --git a/net-nds/gssproxy/files/gssproxy-0.9.2-no-git-log.patch b/net-nds/gssproxy/files/gssproxy-0.9.2-no-git-log.patch
new file mode 100644
index 000000000000..2d12d7d738f9
--- /dev/null
+++ b/net-nds/gssproxy/files/gssproxy-0.9.2-no-git-log.patch
@@ -0,0 +1,13 @@
+Don't try to call 'git log' during configure. This leads to especially confusing
+output if the WORKDIR or S is a git repo for development.
+--- a/configure.ac
++++ b/configure.ac
+@@ -29,7 +29,7 @@ AC_SUBST([PRERELEASE_VERSION],
+ AC_DEFINE([PRERELEASE_VERSION], "PRERELEASE_VERSION_NUMBER",
+ [Prerelease version number of package])
+
+-AM_CONDITIONAL([GIT_CHECKOUT], [git log -1 &>/dev/null])
++AM_CONDITIONAL([GIT_CHECKOUT], [false &>/dev/null])
+
+ m4_pattern_allow([AM_SILENT_RULES])
+ AM_SILENT_RULES
diff --git a/net-nds/gssproxy/gssproxy-0.9.2.ebuild b/net-nds/gssproxy/gssproxy-0.9.2.ebuild
new file mode 100644
index 000000000000..501803444429
--- /dev/null
+++ b/net-nds/gssproxy/gssproxy-0.9.2.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+
+DEPEND="
+ >=dev-libs/libverto-0.2.2
+ >=dev-libs/ding-libs-0.6.1
+ virtual/krb5
+ selinux? ( sys-libs/libselinux )
+"
+RDEPEND="
+ ${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 :), bug #585200
+BDEPEND="
+ app-text/docbook-xml-dtd:4.5
+ dev-libs/libxslt
+ virtual/pkgconfig
+"
+
+# Many requirements to run tests, including running slapd as root, hence
+# unfeasible.
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.2-no-git-log.patch
+ "${FILESDIR}"/${P}-docbook-upgrade.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 gssproxy-0.9.2-no-git-log.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] 4+ messages in thread
end of thread, other threads:[~2023-10-20 0:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-20 0:51 [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/files/, net-nds/gssproxy/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2023-07-23 1:55 Sam James
2022-09-23 2:14 Sam James
2022-01-23 18:16 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox