1 |
commit: 3e34515f48f33037f9e93a168b5ce902f1970652 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 4 00:07:14 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 4 00:07:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e34515f |
7 |
|
8 |
sys-auth/pam_radius: remove last-rited pkg |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
profiles/package.mask | 6 --- |
13 |
sys-auth/pam_radius/Manifest | 1 - |
14 |
.../files/pam_radius-1.3.17-gentoo.patch | 27 ------------ |
15 |
sys-auth/pam_radius/files/server | 23 ---------- |
16 |
sys-auth/pam_radius/metadata.xml | 10 ----- |
17 |
sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild | 50 ---------------------- |
18 |
6 files changed, 117 deletions(-) |
19 |
|
20 |
diff --git a/profiles/package.mask b/profiles/package.mask |
21 |
index c9a788467e0..95277921169 100644 |
22 |
--- a/profiles/package.mask |
23 |
+++ b/profiles/package.mask |
24 |
@@ -632,12 +632,6 @@ www-apps/dspam-web |
25 |
# Removal in 30 days. bug #630990 |
26 |
mail-filter/rmilter |
27 |
|
28 |
-# Sam James <sam@g.o> (2020-08-04) |
29 |
-# Unmaintained and out of date in Gentoo. |
30 |
-# Has outstanding security issue. |
31 |
-# Removal in 30 days. bug #710728, bug #588606 |
32 |
-sys-auth/pam_radius |
33 |
- |
34 |
# Mikle Kolyada <zlogene@g.o> (2020-08-02) |
35 |
# consolekit is abandoned upstream. |
36 |
# People are encouraged to switch to any logind |
37 |
|
38 |
diff --git a/sys-auth/pam_radius/Manifest b/sys-auth/pam_radius/Manifest |
39 |
deleted file mode 100644 |
40 |
index 7e5992d4550..00000000000 |
41 |
--- a/sys-auth/pam_radius/Manifest |
42 |
+++ /dev/null |
43 |
@@ -1 +0,0 @@ |
44 |
-DIST pam_radius-1.3.17.tar.gz 31341 BLAKE2B 7f6dfbee555979585a60a266066db00e114f9bad7d2f42eb7eb1b0c11572f6463dd8727cb4676306b5e517e42d55e55636703564367748b4d12b27b161b07fad SHA512 82fc1431e8fc18c389880da4f93490363af8acd605283a5923c531fede77f449324f1ac4850783355cc7d610b3ee73bd172c94d8b73800c3deaa649af4c41060 |
45 |
|
46 |
diff --git a/sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch b/sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch |
47 |
deleted file mode 100644 |
48 |
index 3e0b02f7020..00000000000 |
49 |
--- a/sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch |
50 |
+++ /dev/null |
51 |
@@ -1,27 +0,0 @@ |
52 |
-diff -Nru pam_radius-1.3.17.orig/pam_radius_auth.c pam_radius-1.3.17/pam_radius_auth.c |
53 |
---- pam_radius-1.3.17.orig/pam_radius_auth.c 2007-03-26 11:36:13.000000000 +0200 |
54 |
-+++ pam_radius-1.3.17/pam_radius_auth.c 2008-06-28 08:43:24.000000000 +0200 |
55 |
-@@ -1062,7 +1062,7 @@ |
56 |
- pam_sm_authenticate(pam_handle_t *pamh,int flags,int argc,CONST char **argv) |
57 |
- { |
58 |
- CONST char *user; |
59 |
-- CONST char **userinfo; |
60 |
-+ CONST char *userinfo; |
61 |
- char *password = NULL; |
62 |
- CONST char *rhost; |
63 |
- char *resp2challenge = NULL; |
64 |
-diff -Nru pam_radius-1.3.17.orig/USAGE pam_radius-1.3.17/USAGE |
65 |
---- pam_radius-1.3.17.orig/USAGE 2008-06-28 08:43:43.000000000 +0200 |
66 |
-+++ pam_radius-1.3.17/USAGE 2008-06-28 08:42:57.000000000 +0200 |
67 |
-@@ -3,9 +3,9 @@ |
68 |
- |
69 |
- The pam configuration can be: |
70 |
- ... |
71 |
--auth sufficient /lib/security/pam_radius_auth.so [options] |
72 |
-+auth sufficient pam_radius_auth.so [options] |
73 |
- ... |
74 |
--account sufficient /lib/security/pam_radius_auth.so |
75 |
-+account sufficient pam_radius_auth.so |
76 |
- |
77 |
- --------------------------------------------------------------------------- |
78 |
- |
79 |
|
80 |
diff --git a/sys-auth/pam_radius/files/server b/sys-auth/pam_radius/files/server |
81 |
deleted file mode 100644 |
82 |
index 4c31e60ae85..00000000000 |
83 |
--- a/sys-auth/pam_radius/files/server |
84 |
+++ /dev/null |
85 |
@@ -1,23 +0,0 @@ |
86 |
-# This is pam_radius_auth configuration file. |
87 |
-# |
88 |
-# There are 3 fields per line in this file. There may be multiple |
89 |
-# lines. Blank lines or lines beginning with '#' are treated as |
90 |
-# comments, and are ignored. The fields are: |
91 |
-# |
92 |
-# server[:port] secret [timeout] |
93 |
-# |
94 |
-# the port name or number is optional. The default port name is |
95 |
-# "radius", and is looked up from /etc/services The timeout field is |
96 |
-# optional. The default timeout is 3 seconds. |
97 |
-# |
98 |
-# If multiple RADIUS server lines exist, they are tried in order. The |
99 |
-# first server to return success or failure causes the module to return |
100 |
-# success or failure. Only if a server fails to response is it skipped, |
101 |
-# and the next server in turn is used. |
102 |
-# |
103 |
-# The timeout field controls how many seconds the module waits before |
104 |
-# deciding that the server has failed to respond. |
105 |
-# |
106 |
-# server[:port] shared_secret timeout (s) |
107 |
-# 127.0.0.1 secret 1 |
108 |
-# other-server other-secret 3 |
109 |
|
110 |
diff --git a/sys-auth/pam_radius/metadata.xml b/sys-auth/pam_radius/metadata.xml |
111 |
deleted file mode 100644 |
112 |
index 377296cf894..00000000000 |
113 |
--- a/sys-auth/pam_radius/metadata.xml |
114 |
+++ /dev/null |
115 |
@@ -1,10 +0,0 @@ |
116 |
-<?xml version="1.0" encoding="UTF-8"?> |
117 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
118 |
-<pkgmetadata> |
119 |
- <!-- maintainer-needed --> |
120 |
- <longdescription> |
121 |
- This is the PAM to RADIUS authentication module. It allows any |
122 |
- PAM-capable machine to become a RADIUS client for authentication |
123 |
- and accounting requests. |
124 |
- </longdescription> |
125 |
-</pkgmetadata> |
126 |
|
127 |
diff --git a/sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild b/sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild |
128 |
deleted file mode 100644 |
129 |
index fd2021bec59..00000000000 |
130 |
--- a/sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild |
131 |
+++ /dev/null |
132 |
@@ -1,50 +0,0 @@ |
133 |
-# Copyright 1999-2019 Gentoo Authors |
134 |
-# Distributed under the terms of the GNU General Public License v2 |
135 |
- |
136 |
-EAPI=5 |
137 |
- |
138 |
-inherit eutils pam toolchain-funcs |
139 |
- |
140 |
-DESCRIPTION="PAM RADIUS authentication module" |
141 |
-HOMEPAGE="http://www.freeradius.org/pam_radius_auth/" |
142 |
-SRC_URI="ftp://ftp.freeradius.org/pub/radius/${P}.tar.gz" |
143 |
- |
144 |
-LICENSE="GPL-2+" |
145 |
-SLOT="0" |
146 |
-KEYWORDS="~amd64 ~x86" |
147 |
-IUSE="" |
148 |
- |
149 |
-DEPEND="sys-libs/pam" |
150 |
-RDEPEND="${DEPEND}" |
151 |
- |
152 |
-src_prepare() { |
153 |
- epatch "${FILESDIR}"/${P}-gentoo.patch |
154 |
-} |
155 |
- |
156 |
-doecho() { |
157 |
- echo "$@" |
158 |
- "$@" || die |
159 |
-} |
160 |
- |
161 |
-src_compile() { |
162 |
- # using the Makefile would require patching it to work properly, so |
163 |
- # rather simply re-create it here. |
164 |
- |
165 |
- pammod_hide_symbols |
166 |
- doecho $(tc-getCC) ${CFLAGS} -shared -fPIC ${LDFLAGS} *.c -lpam -o pam_radius_auth.so |
167 |
-} |
168 |
- |
169 |
-src_install() { |
170 |
- dopammod pam_radius_auth.so |
171 |
- |
172 |
- insopts -m600 |
173 |
- insinto /etc/raddb |
174 |
- doins "${FILESDIR}"/server |
175 |
- |
176 |
- dodoc README Changelog USAGE |
177 |
-} |
178 |
- |
179 |
-pkg_postinst() { |
180 |
- elog "Before you can use this you'll have to add RADIUS servers to /etc/raddb/server." |
181 |
- elog "The usage of pam_radius_auth module is explained in /usr/share/doc/${PF}/USAGE." |
182 |
-} |