Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/openpam/, sys-auth/openpam/files/
Date: Sun, 03 Nov 2019 17:05:22
Message-Id: 1572800711.39a6b1908f9a22b4d6a91bb76014fa3e007140bf.zlogene@gentoo
1 commit: 39a6b1908f9a22b4d6a91bb76014fa3e007140bf
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 3 17:02:07 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 3 17:05:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39a6b190
7
8 sys-auth/openpam: remove last rited pkg
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 sys-auth/openpam/Manifest | 1 -
13 .../openpam/files/openpam-20130907-gentoo.patch | 149 ---------------------
14 .../files/openpam-20130907-module-dir.patch | 15 ---
15 sys-auth/openpam/files/openpam-20130907-nbsd.patch | 12 --
16 sys-auth/openpam/metadata.xml | 8 --
17 sys-auth/openpam/openpam-20140912-r2.ebuild | 48 -------
18 6 files changed, 233 deletions(-)
19
20 diff --git a/sys-auth/openpam/Manifest b/sys-auth/openpam/Manifest
21 deleted file mode 100644
22 index 467e252885a..00000000000
23 --- a/sys-auth/openpam/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST openpam-20140912.tar.gz 457600 BLAKE2B 8c963d9447c55a4f181e2524f9846d92038b3a5172e14ff0bad15ad7e595455896946f0dcf1d8f6dfcbc571ad01b8565447938a0fe9c001da39611d1d265f58a SHA512 c6cfbd669fe1b67af43a33c33bf2587e1512c27f1b96b9b38df37b81ecc4999d85e04b361b19a7265dbf271ebd3de3bd55342ee4fdbee9c68836b69714706423
27
28 diff --git a/sys-auth/openpam/files/openpam-20130907-gentoo.patch b/sys-auth/openpam/files/openpam-20130907-gentoo.patch
29 deleted file mode 100644
30 index 89a63f26460..00000000000
31 --- a/sys-auth/openpam/files/openpam-20130907-gentoo.patch
32 +++ /dev/null
33 @@ -1,149 +0,0 @@
34 -diff -Nur openpam-20130907.orig/include/security/Makefile.am openpam-20130907/include/security/Makefile.am
35 ---- openpam-20130907.orig/include/security/Makefile.am 2013-09-07 22:28:00.000000000 +0900
36 -+++ openpam-20130907/include/security/Makefile.am 2013-11-26 23:24:54.000000000 +0900
37 -@@ -9,4 +9,5 @@
38 - pam_appl.h \
39 - pam_constants.h \
40 - pam_modules.h \
41 -- pam_types.h
42 -+ pam_types.h \
43 -+ pam_mod_misc.h
44 -diff -Nur openpam-20130907.orig/include/security/pam_mod_misc.h openpam-20130907/include/security/pam_mod_misc.h
45 ---- openpam-20130907.orig/include/security/pam_mod_misc.h 1970-01-01 09:00:00.000000000 +0900
46 -+++ openpam-20130907/include/security/pam_mod_misc.h 2013-11-26 23:24:54.000000000 +0900
47 -@@ -0,0 +1,56 @@
48 -+/*-
49 -+ * Copyright 1998 Juniper Networks, Inc.
50 -+ * All rights reserved.
51 -+ *
52 -+ * Redistribution and use in source and binary forms, with or without
53 -+ * modification, are permitted provided that the following conditions
54 -+ * are met:
55 -+ * 1. Redistributions of source code must retain the above copyright
56 -+ * notice, this list of conditions and the following disclaimer.
57 -+ * 2. Redistributions in binary form must reproduce the above copyright
58 -+ * notice, this list of conditions and the following disclaimer in the
59 -+ * documentation and/or other materials provided with the distribution.
60 -+ *
61 -+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
62 -+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
63 -+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
64 -+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
65 -+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
66 -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
67 -+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
68 -+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
69 -+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
70 -+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
71 -+ * SUCH DAMAGE.
72 -+ *
73 -+ * $FreeBSD: src/lib/libpam/libpam/security/pam_mod_misc.h,v 1.12 2003/05/31 16:56:35 des Exp $
74 -+ */
75 -+
76 -+#ifndef PAM_MOD_MISC_H
77 -+#define PAM_MOD_MISC_H
78 -+
79 -+#include <sys/cdefs.h>
80 -+
81 -+/*
82 -+ * Common option names
83 -+ */
84 -+#define PAM_OPT_NULLOK "nullok"
85 -+#define PAM_OPT_AUTH_AS_SELF "auth_as_self"
86 -+#define PAM_OPT_ECHO_PASS "echo_pass"
87 -+#define PAM_OPT_DEBUG "debug"
88 -+
89 -+__BEGIN_DECLS
90 -+void _pam_verbose_error(pam_handle_t *, int, const char *,
91 -+ const char *, const char *, ...);
92 -+__END_DECLS
93 -+
94 -+#define PAM_LOG(...) \
95 -+ openpam_log(PAM_LOG_DEBUG, __VA_ARGS__)
96 -+
97 -+#define PAM_RETURN(arg) \
98 -+ return (arg)
99 -+
100 -+#define PAM_VERBOSE_ERROR(...) \
101 -+ _pam_verbose_error(pamh, flags, __FILE__, __FUNCTION__, __VA_ARGS__)
102 -+
103 -+#endif
104 -diff -Nur openpam-20130907.orig/lib/libpam/Makefile.am openpam-20130907/lib/libpam/Makefile.am
105 ---- openpam-20130907.orig/lib/libpam/Makefile.am 2013-09-07 22:28:00.000000000 +0900
106 -+++ openpam-20130907/lib/libpam/Makefile.am 2013-11-26 23:25:33.000000000 +0900
107 -@@ -75,6 +75,7 @@
108 - pam_verror.c \
109 - pam_vinfo.c \
110 - pam_vprompt.c \
111 -+ pam_debug_log.c \
112 - $(NULL)
113 -
114 - libpam_la_LDFLAGS = -no-undefined -version-info @LIB_MAJ@
115 -diff -Nur openpam-20130907.orig/lib/libpam/pam_debug_log.c openpam-20130907/lib/libpam/pam_debug_log.c
116 ---- openpam-20130907.orig/lib/libpam/pam_debug_log.c 1970-01-01 09:00:00.000000000 +0900
117 -+++ openpam-20130907/lib/libpam/pam_debug_log.c 2013-11-26 23:24:54.000000000 +0900
118 -@@ -0,0 +1,64 @@
119 -+/*-
120 -+ * Copyright 2001 Mark R V Murray
121 -+ * All rights reserved.
122 -+ *
123 -+ * Redistribution and use in source and binary forms, with or without
124 -+ * modification, are permitted provided that the following conditions
125 -+ * are met:
126 -+ * 1. Redistributions of source code must retain the above copyright
127 -+ * notice, this list of conditions and the following disclaimer.
128 -+ * 2. Redistributions in binary form must reproduce the above copyright
129 -+ * notice, this list of conditions and the following disclaimer in the
130 -+ * documentation and/or other materials provided with the distribution.
131 -+ *
132 -+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
133 -+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
134 -+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
135 -+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
136 -+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
137 -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
138 -+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
139 -+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
140 -+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
141 -+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
142 -+ * SUCH DAMAGE.
143 -+ */
144 -+
145 -+#include <sys/cdefs.h>
146 -+
147 -+#ifndef __GLIBC__
148 -+#include <libgen.h>
149 -+#endif
150 -+
151 -+#include <stdarg.h>
152 -+#include <stdio.h>
153 -+#include <stdlib.h>
154 -+#include <string.h>
155 -+
156 -+#include <security/pam_appl.h>
157 -+#include <security/openpam.h>
158 -+#include <security/pam_mod_misc.h>
159 -+
160 -+/* Print a verbose error, including the function name and a
161 -+ * cleaned up filename.
162 -+ */
163 -+void
164 -+_pam_verbose_error(pam_handle_t *pamh, int flags,
165 -+ const char *file, const char *function, const char *format, ...)
166 -+{
167 -+ va_list ap;
168 -+ char *fmtbuf, *modname, *period;
169 -+
170 -+ if (!(flags & PAM_SILENT) && !openpam_get_option(pamh, "no_warn")) {
171 -+ modname = basename(file);
172 -+ period = strchr(modname, '.');
173 -+ if (period == NULL)
174 -+ period = strchr(modname, '\0');
175 -+ va_start(ap, format);
176 -+ asprintf(&fmtbuf, "%.*s: %s: %s\n", (int)(period - modname),
177 -+ modname, function, format);
178 -+ pam_verror(pamh, fmtbuf, ap);
179 -+ free(fmtbuf);
180 -+ va_end(ap);
181 -+ }
182 -+}
183
184 diff --git a/sys-auth/openpam/files/openpam-20130907-module-dir.patch b/sys-auth/openpam/files/openpam-20130907-module-dir.patch
185 deleted file mode 100644
186 index 28c4414f912..00000000000
187 --- a/sys-auth/openpam/files/openpam-20130907-module-dir.patch
188 +++ /dev/null
189 @@ -1,15 +0,0 @@
190 -diff --git a/openpam-20130907/lib/libpam/openpam_constants.c b/openpam-20130907/lib/libpam/openpam_constants.c
191 -index 1cdd810..f66e469 100644
192 ---- a/lib/libpam/openpam_constants.c
193 -+++ b/lib/libpam/openpam_constants.c
194 -@@ -135,8 +135,8 @@ const char *openpam_policy_path[] = {
195 - };
196 -
197 - const char *openpam_module_path[] = {
198 --#ifdef OPENPAM_MODULES_DIRECTORY
199 -- OPENPAM_MODULES_DIRECTORY,
200 -+#ifdef OPENPAM_MODULES_DIR
201 -+ OPENPAM_MODULES_DIR,
202 - #else
203 - "/usr/lib",
204 - "/usr/local/lib",
205
206 diff --git a/sys-auth/openpam/files/openpam-20130907-nbsd.patch b/sys-auth/openpam/files/openpam-20130907-nbsd.patch
207 deleted file mode 100644
208 index 9e76c9f3054..00000000000
209 --- a/sys-auth/openpam/files/openpam-20130907-nbsd.patch
210 +++ /dev/null
211 @@ -1,12 +0,0 @@
212 ---- openpam-20050201.orig/lib/libpam/pam_debug_log.c 2006-02-18 01:15:39.000000000 -0200
213 -+++ openpam-20050201/lib/libpam/pam_debug_log.c 2006-02-18 01:16:30.000000000 -0200
214 -@@ -47,7 +47,8 @@
215 - const char *file, const char *function, const char *format, ...)
216 - {
217 - va_list ap;
218 -- char *fmtbuf, *modname, *period;
219 -+ char *fmtbuf;
220 -+ const char *modname, *period;
221 -
222 - if (!(flags & PAM_SILENT) && !openpam_get_option(pamh, "no_warn")) {
223 - modname = basename(file);
224
225 diff --git a/sys-auth/openpam/metadata.xml b/sys-auth/openpam/metadata.xml
226 deleted file mode 100644
227 index ada59d84f43..00000000000
228 --- a/sys-auth/openpam/metadata.xml
229 +++ /dev/null
230 @@ -1,8 +0,0 @@
231 -<?xml version="1.0" encoding="UTF-8"?>
232 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
233 -<pkgmetadata>
234 - <!-- maintainer-needed -->
235 - <upstream>
236 - <remote-id type="sourceforge">openpam</remote-id>
237 - </upstream>
238 -</pkgmetadata>
239
240 diff --git a/sys-auth/openpam/openpam-20140912-r2.ebuild b/sys-auth/openpam/openpam-20140912-r2.ebuild
241 deleted file mode 100644
242 index 7bc134cddff..00000000000
243 --- a/sys-auth/openpam/openpam-20140912-r2.ebuild
244 +++ /dev/null
245 @@ -1,48 +0,0 @@
246 -# Copyright 1999-2019 Gentoo Authors
247 -# Distributed under the terms of the GNU General Public License v2
248 -
249 -EAPI=6
250 -
251 -inherit autotools multilib-minimal
252 -
253 -DESCRIPTION="Open source PAM library"
254 -HOMEPAGE="https://www.openpam.org/"
255 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
256 -
257 -LICENSE="BSD"
258 -SLOT="0"
259 -KEYWORDS=""
260 -IUSE=""
261 -
262 -RDEPEND="!sys-libs/pam"
263 -DEPEND="
264 - sys-devel/make
265 - dev-lang/perl"
266 -
267 -PDEPEND="
268 - sys-auth/pambase"
269 -
270 -PATCHES=(
271 - "${FILESDIR}/${PN}-20130907-gentoo.patch"
272 - "${FILESDIR}/${PN}-20130907-nbsd.patch"
273 - "${FILESDIR}/${PN}-20130907-module-dir.patch"
274 -)
275 -
276 -src_prepare() {
277 - sed -i -e 's:-Werror::' "${S}/configure.ac"
278 - default
279 - eautoreconf
280 -}
281 -
282 -multilib_src_configure() {
283 - local myconf=(
284 - --with-modules-dir=/$(get_libdir)/security
285 - )
286 - ECONF_SOURCE=${S} \
287 - econf "${myconf[@]}"
288 -}
289 -
290 -multilib_src_install_all() {
291 - dodoc CREDITS HISTORY RELNOTES README
292 - find "${D}" -name '*.la' -delete || die
293 -}