public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/tac_plus/
Date: Tue, 30 Mar 2021 21:45:55 +0000 (UTC)	[thread overview]
Message-ID: <1617140743.591699ea45d46e23808c2286cc060c09e0a83c97.sam@gentoo> (raw)

commit:     591699ea45d46e23808c2286cc060c09e0a83c97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 30 21:28:08 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 21:45:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591699ea

net-nds/tac_plus: install PAM configuration file

Thanks-to: Reuben Farrelly <reuben-gentoo-bugzilla <AT> reub.net>
Closes: https://bugs.gentoo.org/474860
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-nds/tac_plus/tac_plus-4.0.4.27a-r1.ebuild | 67 +++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/net-nds/tac_plus/tac_plus-4.0.4.27a-r1.ebuild b/net-nds/tac_plus/tac_plus-4.0.4.27a-r1.ebuild
new file mode 100644
index 00000000000..d1efa11dd8b
--- /dev/null
+++ b/net-nds/tac_plus/tac_plus-4.0.4.27a-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 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="http://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
+	skey? ( >=sys-auth/skey-1.1.5-r1 )
+	tcpd? ( sys-apps/tcp-wrappers )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/${P}-parallelmake.patch"
+	"${FILESDIR}/${P}-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
+}


             reply	other threads:[~2021-03-30 21:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 21:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-11 19:13 [gentoo-commits] repo/gentoo:master commit in: net-nds/tac_plus/ Conrad Kostecki
2021-05-31 17:49 David Seifert
2021-03-30 21:45 Sam James
2020-02-24 17:21 Mikle Kolyada
2017-11-26 23:23 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1617140743.591699ea45d46e23808c2286cc060c09e0a83c97.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox