summaryrefslogtreecommitdiff
path: root/sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild')
-rw-r--r--sys-auth/pam_radius/pam_radius-1.3.17-r1.ebuild50
1 files changed, 0 insertions, 50 deletions
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."
-}