commit:     3e34515f48f33037f9e93a168b5ce902f1970652
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  4 00:07:14 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep  4 00:07:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e34515f

sys-auth/pam_radius: remove last-rited pkg

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

 profiles/package.mask                              |  6 ---
 sys-auth/pam_radius/Manifest                       |  1 -
 .../files/pam_radius-1.3.17-gentoo.patch           | 27 ------------
 sys-auth/pam_radius/files/server                   | 23 ----------
 sys-auth/pam_radius/metadata.xml                   | 10 -----
 sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild    | 50 ----------------------
 6 files changed, 117 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index c9a788467e0..95277921169 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -632,12 +632,6 @@ www-apps/dspam-web
 # Removal in 30 days. bug #630990
 mail-filter/rmilter
 
-# Sam James <[email protected]> (2020-08-04)
-# Unmaintained and out of date in Gentoo.
-# Has outstanding security issue.
-# Removal in 30 days. bug #710728, bug #588606
-sys-auth/pam_radius
-
 # Mikle Kolyada <[email protected]> (2020-08-02)
 # consolekit is abandoned upstream.
 # People are encouraged to switch to any logind

diff --git a/sys-auth/pam_radius/Manifest b/sys-auth/pam_radius/Manifest
deleted file mode 100644
index 7e5992d4550..00000000000
--- a/sys-auth/pam_radius/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_radius-1.3.17.tar.gz 31341 BLAKE2B 
7f6dfbee555979585a60a266066db00e114f9bad7d2f42eb7eb1b0c11572f6463dd8727cb4676306b5e517e42d55e55636703564367748b4d12b27b161b07fad
 SHA512 
82fc1431e8fc18c389880da4f93490363af8acd605283a5923c531fede77f449324f1ac4850783355cc7d610b3ee73bd172c94d8b73800c3deaa649af4c41060

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
deleted file mode 100644
index 3e0b02f7020..00000000000
--- a/sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Nru pam_radius-1.3.17.orig/pam_radius_auth.c 
pam_radius-1.3.17/pam_radius_auth.c
---- pam_radius-1.3.17.orig/pam_radius_auth.c   2007-03-26 11:36:13.000000000 
+0200
-+++ pam_radius-1.3.17/pam_radius_auth.c        2008-06-28 08:43:24.000000000 
+0200
-@@ -1062,7 +1062,7 @@
- pam_sm_authenticate(pam_handle_t *pamh,int flags,int argc,CONST char **argv)
- {
-   CONST char *user;
--  CONST char **userinfo;
-+  CONST char *userinfo;
-   char *password = NULL;
-   CONST char *rhost;
-   char *resp2challenge = NULL;
-diff -Nru pam_radius-1.3.17.orig/USAGE pam_radius-1.3.17/USAGE
---- pam_radius-1.3.17.orig/USAGE       2008-06-28 08:43:43.000000000 +0200
-+++ pam_radius-1.3.17/USAGE    2008-06-28 08:42:57.000000000 +0200
-@@ -3,9 +3,9 @@
- 
-   The pam configuration can be:
- ...
--auth       sufficient   /lib/security/pam_radius_auth.so [options]
-+auth       sufficient   pam_radius_auth.so [options]
- ...
--account    sufficient   /lib/security/pam_radius_auth.so
-+account    sufficient   pam_radius_auth.so
- 
- ---------------------------------------------------------------------------
- 

diff --git a/sys-auth/pam_radius/files/server b/sys-auth/pam_radius/files/server
deleted file mode 100644
index 4c31e60ae85..00000000000
--- a/sys-auth/pam_radius/files/server
+++ /dev/null
@@ -1,23 +0,0 @@
-#  This is pam_radius_auth configuration file.
-#
-#  There are 3 fields per line in this file.  There may be multiple
-#  lines.  Blank lines or lines beginning with '#' are treated as
-#  comments, and are ignored.  The fields are:
-#
-#  server[:port] secret [timeout]
-#
-#  the port name or number is optional.  The default port name is
-#  "radius", and is looked up from /etc/services The timeout field is
-#  optional.  The default timeout is 3 seconds.
-#
-#  If multiple RADIUS server lines exist, they are tried in order.  The
-#  first server to return success or failure causes the module to return
-#  success or failure.  Only if a server fails to response is it skipped,
-#  and the next server in turn is used.
-#
-#  The timeout field controls how many seconds the module waits before
-#  deciding that the server has failed to respond.
-#
-# server[:port]        shared_secret      timeout (s)
-# 127.0.0.1    secret             1
-# other-server other-secret       3

diff --git a/sys-auth/pam_radius/metadata.xml b/sys-auth/pam_radius/metadata.xml
deleted file mode 100644
index 377296cf894..00000000000
--- a/sys-auth/pam_radius/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-  <!-- maintainer-needed -->
-  <longdescription>
-    This is the PAM to RADIUS authentication module. It allows any
-    PAM-capable machine to become a RADIUS client for authentication
-    and accounting requests.
-  </longdescription>
-</pkgmetadata>

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
deleted file mode 100644
index fd2021bec59..00000000000
--- a/sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils pam toolchain-funcs
-
-DESCRIPTION="PAM RADIUS authentication module"
-HOMEPAGE="http://www.freeradius.org/pam_radius_auth/";
-SRC_URI="ftp://ftp.freeradius.org/pub/radius/${P}.tar.gz";
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="sys-libs/pam"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-gentoo.patch
-}
-
-doecho() {
-       echo "$@"
-       "$@" || die
-}
-
-src_compile() {
-       # using the Makefile would require patching it to work properly, so
-       # rather simply re-create it here.
-
-       pammod_hide_symbols
-       doecho $(tc-getCC) ${CFLAGS} -shared -fPIC ${LDFLAGS} *.c -lpam -o 
pam_radius_auth.so
-}
-
-src_install() {
-       dopammod pam_radius_auth.so
-
-       insopts -m600
-       insinto /etc/raddb
-       doins "${FILESDIR}"/server
-
-       dodoc README Changelog USAGE
-}
-
-pkg_postinst() {
-       elog "Before you can use this you'll have to add RADIUS servers to 
/etc/raddb/server."
-       elog "The usage of pam_radius_auth module is explained in 
/usr/share/doc/${PF}/USAGE."
-}

Reply via email to