summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2011-06-06 13:27:43 +0000
committerTony Vroon <chainsaw@gentoo.org>2011-06-06 13:27:43 +0000
commit10254dd630cafaf5367464c6e1ef996e869a0cd6 (patch)
treea779f8b9e4657f39c6e52f33fb5476faffd5380f /net-nds
parentSecurity update 1.8.4.2; upstream vulnerability report AST-2011-007 describes... (diff)
downloadgentoo-2-10254dd630cafaf5367464c6e1ef996e869a0cd6.tar.gz
gentoo-2-10254dd630cafaf5367464c6e1ef996e869a0cd6.tar.bz2
gentoo-2-10254dd630cafaf5367464c6e1ef996e869a0cd6.zip
Version bump, all ebuild work by William Cooke in bug #356709. Also thanks to needle for the conf.d update.
(Portage version: 2.1.9.50/cvs/Linux x86_64)
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/tac_plus/ChangeLog11
-rw-r--r--net-nds/tac_plus/files/tac_plus.conf241
-rw-r--r--net-nds/tac_plus/files/tac_plus.confd27
-rw-r--r--net-nds/tac_plus/metadata.xml1
-rw-r--r--net-nds/tac_plus/tac_plus-4.0.4.19.ebuild43
5 files changed, 101 insertions, 2 deletions
diff --git a/net-nds/tac_plus/ChangeLog b/net-nds/tac_plus/ChangeLog
index 9ee9a01ac048..26f5dc393cd0 100644
--- a/net-nds/tac_plus/ChangeLog
+++ b/net-nds/tac_plus/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-nds/tac_plus
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/tac_plus/ChangeLog,v 1.4 2008/08/16 03:57:56 cardoe Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/tac_plus/ChangeLog,v 1.5 2011/06/06 13:27:42 chainsaw Exp $
+
+*tac_plus-4.0.4.19 (06 Jun 2011)
+
+ 06 Jun 2011; Tony Vroon <chainsaw@gentoo.org> +tac_plus-4.0.4.19.ebuild,
+ +files/tac_plus.conf2, +files/tac_plus.confd2, metadata.xml:
+ Version bump, all ebuild work by William Cooke in bug #356709. Also thanks to
+ needle for the conf.d update.
16 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/net-nds/tac_plus/files/tac_plus.conf2 b/net-nds/tac_plus/files/tac_plus.conf2
new file mode 100644
index 000000000000..617e34420281
--- /dev/null
+++ b/net-nds/tac_plus/files/tac_plus.conf2
@@ -0,0 +1,41 @@
+# 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.confd2 b/net-nds/tac_plus/files/tac_plus.confd2
new file mode 100644
index 000000000000..8bb77a50e5e5
--- /dev/null
+++ b/net-nds/tac_plus/files/tac_plus.confd2
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/tac_plus/files/tac_plus.confd2,v 1.1 2011/06/06 13:27:43 chainsaw Exp $
+
+# Config file for /etc/init.d/tac_plus
+
+TAC_PLUS_OPTS="" \ No newline at end of file
diff --git a/net-nds/tac_plus/metadata.xml b/net-nds/tac_plus/metadata.xml
index 3b6099160c17..498d97a9eb76 100644
--- a/net-nds/tac_plus/metadata.xml
+++ b/net-nds/tac_plus/metadata.xml
@@ -9,5 +9,6 @@
<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>
diff --git a/net-nds/tac_plus/tac_plus-4.0.4.19.ebuild b/net-nds/tac_plus/tac_plus-4.0.4.19.ebuild
new file mode 100644
index 000000000000..0aad8387bc4e
--- /dev/null
+++ b/net-nds/tac_plus/tac_plus-4.0.4.19.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/tac_plus/tac_plus-4.0.4.19.ebuild,v 1.1 2011/06/06 13:27:43 chainsaw Exp $
+
+MY_P="tacacs+-F${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="An updated version of Cisco's TACACS+ server"
+HOMEPAGE="http://www.shrubbery.net/tac_plus/"
+SRC_URI="ftp://ftp.shrubbery.net/pub/tac_plus/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="debug finger maxsess tcpd skey static-libs"
+
+DEPEND="skey? ( >=sys-auth/skey-1.1.5-r1 )
+ tcpd? ( sys-apps/tcp-wrappers )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ econf \
+ $(use_with skey) \
+ $(use_with tcpd libwrap) \
+ $(use_enable debug) \
+ $(use_enable finger) \
+ $(use_enable maxsess) \
+ $(use_enable static-libs static) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc CHANGES FAQ
+
+ newinitd "${FILESDIR}/tac_plus.init" tac_plus
+ newconfd "${FILESDIR}/tac_plus.confd2" tac_plus
+
+ insinto /etc/tac_plus
+ newins "${FILESDIR}/tac_plus.conf2" tac_plus.conf || die
+}