Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/files/, net-nds/gssproxy/
Date: Fri, 23 Sep 2022 02:15:02
Message-Id: 1663899217.ca1dc11b98c7935f1005e55e549e04720e625ac8.sam@gentoo
1 commit: ca1dc11b98c7935f1005e55e549e04720e625ac8
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 02:11:38 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 02:13:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca1dc11b
7
8 net-nds/gssproxy: drop 0.8.4-r2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-nds/gssproxy/Manifest | 1 -
13 .../gssproxy/files/gssproxy-0.8.4-include.patch | 24 ------
14 net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild | 94 ----------------------
15 3 files changed, 119 deletions(-)
16
17 diff --git a/net-nds/gssproxy/Manifest b/net-nds/gssproxy/Manifest
18 index 124be759a0d3..6fc2a26a1c4b 100644
19 --- a/net-nds/gssproxy/Manifest
20 +++ b/net-nds/gssproxy/Manifest
21 @@ -1,2 +1 @@
22 -DIST gssproxy-0.8.4.tar.gz 567579 BLAKE2B 55519d2d439e168df0346cfa2655e01bc90191e17ea7d8c72c5f29c22ed6adca39e5adb4fd900f6dc756147b2fbee23212bfc097c38ab927e6c9679b0186fa2c SHA512 ab81c40d6c7b1908751feb107d8da66603b7681fb67aa7a1f30194a81d542ca89e6c2f34425e9356b9c55eb3691bfa240ba41441c01498af45e862a133cd088a
23 DIST gssproxy-0.9.1.tar.gz 579038 BLAKE2B a17e673876b4acf480b23a8086720f507cd3a85c2f328469b726ab1653a94cd9a3eb9dd9369dee30b57457b6e8125b67a86fc4186c387e58d2d96b1da7c55089 SHA512 767c4e73d5240a43a0586e836e7dc199b8baf0adbc5a1a2cbb6ffc6f0a7ca574a4fc541ca474ef696d78956724eb24c465760f680e7170f8d77d056513b6226b
24
25 diff --git a/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch b/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch
26 deleted file mode 100644
27 index 1f85329c237e..000000000000
28 --- a/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch
29 +++ /dev/null
30 @@ -1,24 +0,0 @@
31 -From 57f951d1e32739ddfd0d924df81da010e47d35b9 Mon Sep 17 00:00:00 2001
32 -From: David Seifert <soap@g.o>
33 -Date: Sun, 23 Jan 2022 19:09:25 +0100
34 -Subject: [PATCH] Add missing #include for musl
35 -
36 -Bug: https://bugs.gentoo.org/719920
37 -
38 -Signed-off-by: David Seifert <soap@g.o>
39 ----
40 - src/gp_socket.c | 1 +
41 - 1 file changed, 1 insertion(+)
42 -
43 -diff --git a/src/gp_socket.c b/src/gp_socket.c
44 -index 9070928..493399a 100644
45 ---- a/src/gp_socket.c
46 -+++ b/src/gp_socket.c
47 -@@ -10,6 +10,7 @@
48 - #include <fcntl.h>
49 - #include <netinet/in.h>
50 - #include <stdlib.h>
51 -+#include <string.h>
52 - #include <sys/socket.h>
53 - #include <sys/stat.h>
54 - #include <sys/types.h>
55
56 diff --git a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
57 deleted file mode 100644
58 index 3e5dc8ca5043..000000000000
59 --- a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
60 +++ /dev/null
61 @@ -1,94 +0,0 @@
62 -# Copyright 1999-2022 Gentoo Authors
63 -# Distributed under the terms of the GNU General Public License v2
64 -
65 -EAPI=7
66 -
67 -DESCRIPTION="daemon to proxy GSSAPI context establishment and channel handling"
68 -HOMEPAGE="https://github.com/gssapi/gssproxy"
69 -SRC_URI="https://github.com/gssapi/${PN}/releases/download/v${PV}/${P}.tar.gz"
70 -
71 -LICENSE="BSD-1"
72 -SLOT="0"
73 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc x86"
74 -IUSE="debug selinux systemd hardened"
75 -
76 -COMMON_DEPEND=">=dev-libs/libverto-0.2.2
77 - >=dev-libs/ding-libs-0.6.1
78 - virtual/krb5
79 - selinux? ( sys-libs/libselinux )"
80 -RDEPEND="${COMMON_DEPEND}
81 - selinux? ( sec-policy/selinux-gssproxy )"
82 -# We need xml stuff to build the man pages, and people really want/need
83 -# the man pages for this package :). #585200
84 -BDEPEND="
85 - app-text/docbook-xml-dtd:4.4
86 - dev-libs/libxslt
87 - virtual/pkgconfig
88 -"
89 -
90 -# Many requirements to run tests, including running slapd as root, hence
91 -# unfeasible.
92 -RESTRICT="test"
93 -
94 -# pkg_setup() {
95 -# # Here instead of flag-logic in DEPEND, since virtual/krb5 does not
96 -# # allow to specify the openldap use flag, which heimdal doesn't
97 -# # support.
98 -# # Using mit-krb5 explicitly because heimdal doesn't install kerberos
99 -# # schemata required for the tests of gss-proxy.
100 -# if use test && ! has_version "app-crypt/mit-krb5[openldap]"; then
101 -# eerror "Tests of this package require the kerberos schemata installed from app-crypt/mit-krb5[openldap]."
102 -# die "Tests enabled but no app-crypt/mit-krb5[openldap] being installed."
103 -# fi
104 -# }
105 -
106 -# Was required in 0.7.0 to fix the schema- and slapd-path. Reason for
107 -# comment: see RESTRICT comment
108 -# src_prepare() {
109 -# default
110 -# # The tests look for kerberos schemata in the documentation
111 -# # directory of krb5, however these are installed in /etc/openldap
112 -# # and only if the openldap useflag is supplied
113 -# sed -i \
114 -# -e 's#/usr/share/doc/krb5-server-ldap*#/etc/openldap/schema#' \
115 -# -e "s#\(subprocess.Popen..\"\)slapd#\1/usr/$(get_libdir)/openldap/slapd#" \
116 -# "${S}/tests/testlib.py" || die
117 -# }
118 -
119 -PATCHES=( "${FILESDIR}"/${P}-include.patch )
120 -
121 -src_configure() {
122 - local myeconfargs=(
123 - # The build assumes localstatedir is /var and takes care of
124 - # using all the right subdirs itself.
125 - "--localstatedir=${EPREFIX}/var"
126 - "--with-os=gentoo"
127 - "--with-initscript=$(usex systemd systemd none)"
128 - "$(use_with selinux)"
129 - "$(use_with debug gssidebug)"
130 - "$(use_with hardened hardening)"
131 - )
132 -
133 - econf "${myeconfargs[@]}"
134 -}
135 -
136 -src_install() {
137 - default
138 - # This is a plugin module, so no need for la file.
139 - find "${ED}"/usr -name proxymech.la -delete || die
140 -
141 - doinitd "${FILESDIR}"/gssproxy
142 - insinto /etc/gssproxy
143 - doins examples/*.conf
144 - insinto /etc/gss/mech.d
145 - newins examples/mech gssproxy.conf
146 -
147 - keepdir /var/lib/gssproxy
148 - keepdir /var/lib/gssproxy/clients
149 - keepdir /var/lib/gssproxy/rcache
150 - fperms 0700 /var/lib/gssproxy/clients
151 - fperms 0700 /var/lib/gssproxy/rcache
152 -
153 - # The build installs a bunch of empty dirs, so prune them.
154 - find "${ED}" -depth -type d -empty -delete || die
155 -}