summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-04 00:07:14 +0000
committerSam James <sam@gentoo.org>2020-09-04 00:07:14 +0000
commit3e34515f48f33037f9e93a168b5ce902f1970652 (patch)
tree678cf0eeddae7c755b316f0c3431c2f6a784fc9e /sys-auth
parentnet-analyzer/nikto: remove last-rited pkg (diff)
downloadgentoo-3e34515f48f33037f9e93a168b5ce902f1970652.tar.gz
gentoo-3e34515f48f33037f9e93a168b5ce902f1970652.tar.bz2
gentoo-3e34515f48f33037f9e93a168b5ce902f1970652.zip
sys-auth/pam_radius: remove last-rited pkg
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_radius/Manifest1
-rw-r--r--sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch27
-rw-r--r--sys-auth/pam_radius/files/server23
-rw-r--r--sys-auth/pam_radius/metadata.xml10
-rw-r--r--sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild50
5 files changed, 0 insertions, 111 deletions
diff --git a/sys-auth/pam_radius/Manifest b/sys-auth/pam_radius/Manifest
deleted file mode 100644
index 7e5992d4550d..000000000000
--- 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 3e0b02f7020d..000000000000
--- 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 4c31e60ae856..000000000000
--- 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 377296cf894d..000000000000
--- 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 fd2021bec593..000000000000
--- 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."
-}