From 41d224b667bf1d1894a4565348b519a2e01842ba Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Sat, 10 Feb 2024 13:05:41 +0100 Subject: net-nds/tac_plus: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/921304 Closes: https://bugs.gentoo.org/884501 Closes: https://bugs.gentoo.org/849440 Bug: https://bugs.gentoo.org/918536 Signed-off-by: Jakov Smolić --- net-nds/tac_plus/Manifest | 1 - .../files/tac_plus-4.0.4.19-deansification.patch | 10 ---- .../files/tac_plus-4.0.4.27a-parallelmake.patch | 11 ---- net-nds/tac_plus/files/tac_plus.conf | 11 ---- net-nds/tac_plus/files/tac_plus.conf2 | 41 ------------- net-nds/tac_plus/files/tac_plus.confd | 7 --- net-nds/tac_plus/files/tac_plus.confd2 | 6 -- net-nds/tac_plus/files/tac_plus.init | 22 ------- net-nds/tac_plus/files/tac_plus.init2 | 20 ------- net-nds/tac_plus/metadata.xml | 9 --- net-nds/tac_plus/tac_plus-4.0.4.27a-r3.ebuild | 68 ---------------------- 11 files changed, 206 deletions(-) delete mode 100644 net-nds/tac_plus/Manifest delete mode 100644 net-nds/tac_plus/files/tac_plus-4.0.4.19-deansification.patch delete mode 100644 net-nds/tac_plus/files/tac_plus-4.0.4.27a-parallelmake.patch delete mode 100644 net-nds/tac_plus/files/tac_plus.conf delete mode 100644 net-nds/tac_plus/files/tac_plus.conf2 delete mode 100644 net-nds/tac_plus/files/tac_plus.confd delete mode 100644 net-nds/tac_plus/files/tac_plus.confd2 delete mode 100644 net-nds/tac_plus/files/tac_plus.init delete mode 100644 net-nds/tac_plus/files/tac_plus.init2 delete mode 100644 net-nds/tac_plus/metadata.xml delete mode 100644 net-nds/tac_plus/tac_plus-4.0.4.27a-r3.ebuild (limited to 'net-nds') diff --git a/net-nds/tac_plus/Manifest b/net-nds/tac_plus/Manifest deleted file mode 100644 index f9ff6ecd256b..000000000000 --- a/net-nds/tac_plus/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tacacs+-F4.0.4.27a.tar.gz 504395 BLAKE2B 8cd58d451c28e16d3804e9dcf5a82ae5ec0d1a783088f6ca6d4a4084bdab09fe9e402cf709c46822749edb5df5b9f20a225c420d1430ddd903b725a8f1cefe01 SHA512 2251a21f609d516b3ebc7d3d2d7d030ea1bb491e0fe5e08e7639d2d9bdb0ef9a1ab4d17f340e50e83771dc9a512c5dacc99716fd882ba3f6db2fafb0915e86bd diff --git a/net-nds/tac_plus/files/tac_plus-4.0.4.19-deansification.patch b/net-nds/tac_plus/files/tac_plus-4.0.4.19-deansification.patch deleted file mode 100644 index 4a1f579c62e0..000000000000 --- a/net-nds/tac_plus/files/tac_plus-4.0.4.19-deansification.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/configure.in -+++ b/configure.in -@@ -126,7 +126,6 @@ - - # compiler specifics - AC_PROG_CC --AM_C_PROTOTYPES - AC_PROG_CPP - AC_C_CONST - AC_C_INLINE diff --git a/net-nds/tac_plus/files/tac_plus-4.0.4.27a-parallelmake.patch b/net-nds/tac_plus/files/tac_plus-4.0.4.27a-parallelmake.patch deleted file mode 100644 index d77c4714e384..000000000000 --- a/net-nds/tac_plus/files/tac_plus-4.0.4.27a-parallelmake.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -19,7 +19,7 @@ - tac_plus_SOURCES += aceclnt_fn.c - endif - tac_plus_LDFLAGS = -L$(top_srcdir) --tac_plus_LDADD = $(WRAPLIBS) -ltacacs -+tac_plus_LDADD = $(WRAPLIBS) libtacacs.la - - lib_LTLIBRARIES = libtacacs.la - libtacacs_la_SOURCES = fdes.c maxsess.c md4.c md5.c packet.c diff --git a/net-nds/tac_plus/files/tac_plus.conf b/net-nds/tac_plus/files/tac_plus.conf deleted file mode 100644 index dfdf2186a816..000000000000 --- a/net-nds/tac_plus/files/tac_plus.conf +++ /dev/null @@ -1,11 +0,0 @@ -# You must configure tac_plus before use. At a minimum, you need a server -# key and a user block, such as below. -# -# Please see tac_plus.conf(5) for more information. - -#key = kEy4U - -#user = youruser { -# login = des ndkKAzNoc37VA -# enable = des ndkKAzNoc37VA -#} diff --git a/net-nds/tac_plus/files/tac_plus.conf2 b/net-nds/tac_plus/files/tac_plus.conf2 deleted file mode 100644 index 406fff33b800..000000000000 --- a/net-nds/tac_plus/files/tac_plus.conf2 +++ /dev/null @@ -1,41 +0,0 @@ -# You must configure tac_plus before use. At a minimum, you need a server -# key and a user block, such as below. -# -# Please see tac_plus.conf(5) for more information. - -#key = kEy4U - -#user = youruser { -# login = des ndkKAzNoc37VA -# enable = des ndkKAzNoc37VA -#} - -#user = youruser { -# default service = permit -# login = PAM -# member = yourgroup -#} - -# Cisco admins -#group = ciscoadmins { -# default service = permit -# service = exec { -# priv-lvl = 15 -# } -#} - - -# Cisco admins using an acl to allow specific devices -#group = ciscoadmins { -# default service = permit -# acl = ciscodevices -# service = exec { -# priv-lvl = 15 -# } -#} - -# Allows devices with specified IP address to talk to this TACACS+ server -#acl = ciscodevices { -# permit = 1.2.3.4$ -# deny = .* -#} diff --git a/net-nds/tac_plus/files/tac_plus.confd b/net-nds/tac_plus/files/tac_plus.confd deleted file mode 100644 index 76f2af066703..000000000000 --- a/net-nds/tac_plus/files/tac_plus.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Config file for /etc/init.d/tac_plus - -TAC_PLUS_OPTS="-d 248" - diff --git a/net-nds/tac_plus/files/tac_plus.confd2 b/net-nds/tac_plus/files/tac_plus.confd2 deleted file mode 100644 index 6e1dd5f9a01c..000000000000 --- a/net-nds/tac_plus/files/tac_plus.confd2 +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Config file for /etc/init.d/tac_plus - -TAC_PLUS_OPTS="" diff --git a/net-nds/tac_plus/files/tac_plus.init b/net-nds/tac_plus/files/tac_plus.init deleted file mode 100644 index 23dcbe8f11ff..000000000000 --- a/net-nds/tac_plus/files/tac_plus.init +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -opts="start stop restart" - -depend() { - need net -} - -start() { - ebegin "Starting tac_plus" - start-stop-daemon --start --quiet --exec /usr/bin/tac_plus \ - -- -C /etc/tac_plus/tac_plus.conf ${TAC_PLUS_OPTS} - eend $? -} - -stop() { - ebegin "Stopping tac_plus" - start-stop-daemon --stop --quiet --pidfile /var/run/tac_plus.pid - eend $? -} diff --git a/net-nds/tac_plus/files/tac_plus.init2 b/net-nds/tac_plus/files/tac_plus.init2 deleted file mode 100644 index 8787fa26b94c..000000000000 --- a/net-nds/tac_plus/files/tac_plus.init2 +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - ebegin "Starting tac_plus" - start-stop-daemon --start --quiet --exec /usr/bin/tac_plus \ - -- -C /etc/tac_plus/tac_plus.conf ${TAC_PLUS_OPTS} - eend $? -} - -stop() { - ebegin "Stopping tac_plus" - start-stop-daemon --stop --quiet --pidfile /var/run/tac_plus.pid - eend $? -} diff --git a/net-nds/tac_plus/metadata.xml b/net-nds/tac_plus/metadata.xml deleted file mode 100644 index 75c49978ae22..000000000000 --- a/net-nds/tac_plus/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - Adds support for checking user counts via fingering the NAS - Enforce a limit on maximum sessions per user - - diff --git a/net-nds/tac_plus/tac_plus-4.0.4.27a-r3.ebuild b/net-nds/tac_plus/tac_plus-4.0.4.27a-r3.ebuild deleted file mode 100644 index ef68cb7a41cb..000000000000 --- a/net-nds/tac_plus/tac_plus-4.0.4.27a-r3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools pam - -MY_P="tacacs+-F${PV}" -DESCRIPTION="An updated version of Cisco's TACACS+ server" -HOMEPAGE="https://www.shrubbery.net/tac_plus/" -SRC_URI="ftp://ftp.shrubbery.net/pub/tac_plus/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="HPND RSA GPL-2" # GPL-2 only for init script -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="debug finger maxsess tcpd skey static-libs" - -DEPEND=" - net-libs/libnsl:= - sys-libs/pam - virtual/libcrypt:= - skey? ( >=sys-auth/skey-1.1.5-r1 ) - tcpd? ( sys-apps/tcp-wrappers ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-parallelmake.patch" - "${FILESDIR}/${PN}-4.0.4.19-deansification.patch" -) - -src_prepare() { - default - - mv configure.in configure.ac || die "Unable to quiet autoconf deprecation warning" - AT_M4DIR="." eautoreconf - -} - -src_configure() { - econf \ - $(use_with skey) \ - $(use_with tcpd libwrap) \ - $(use_enable debug) \ - $(use_enable finger) \ - $(use_enable maxsess) \ - $(use_enable static-libs static) -} - -src_install() { - emake DESTDIR="${D}" install - - if use static-libs ; then - find "${ED}" -name '*.la' -delete || die "Unable to remove spurious libtool archive" - fi - - dodoc CHANGES FAQ - - newinitd "${FILESDIR}/tac_plus.init2" tac_plus - newconfd "${FILESDIR}/tac_plus.confd2" tac_plus - - # bug #474860 - pamd_mimic_system tac_plus auth account password session - - insinto /etc/tac_plus - newins "${FILESDIR}/tac_plus.conf2" tac_plus.conf -} -- cgit v1.2.3-65-gdbad