net-nds/tac_plus: treeclean

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ć <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić 2024-02-10 13:05:41 +01:00
parent 304fbed07b
commit 41d224b667
No known key found for this signature in database
GPG Key ID: 82295E1EFAE3208F
12 changed files with 0 additions and 211 deletions

View File

@ -1 +0,0 @@
DIST tacacs+-F4.0.4.27a.tar.gz 504395 BLAKE2B 8cd58d451c28e16d3804e9dcf5a82ae5ec0d1a783088f6ca6d4a4084bdab09fe9e402cf709c46822749edb5df5b9f20a225c420d1430ddd903b725a8f1cefe01 SHA512 2251a21f609d516b3ebc7d3d2d7d030ea1bb491e0fe5e08e7639d2d9bdb0ef9a1ab4d17f340e50e83771dc9a512c5dacc99716fd882ba3f6db2fafb0915e86bd

View File

@ -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

View File

@ -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

View File

@ -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
#}

View File

@ -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 = .*
#}

View File

@ -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"

View File

@ -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=""

View File

@ -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 $?
}

View File

@ -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 $?
}

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name="finger">Adds support for checking user counts via fingering the NAS</flag>
<flag name="maxsess">Enforce a limit on maximum sessions per user</flag>
</use>
</pkgmetadata>

View File

@ -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
}

View File

@ -168,11 +168,6 @@ sys-devel/ucpp
# Removal on 2024-02-06. Bugs #856466, #865253
net-dns/totd
# John Helmert III <ajak@gentoo.org> (2024-01-06)
# Unmaintained in Gentoo, outdated, vulnerable
# Removal on 2024-02-06. Bug #918536
net-nds/tac_plus
# Andreas Sturmlechner <asturm@gentoo.org> (2023-12-25)
# Masked until KF6 is unmasked.
~media-libs/mpvqt-1.0.0