From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3DE00138208 for ; Thu, 28 Apr 2016 22:00:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DE28E086E; Thu, 28 Apr 2016 22:00:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75671E086E for ; Thu, 28 Apr 2016 22:00:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92B0B340D04 for ; Thu, 28 Apr 2016 22:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEB09334 for ; Thu, 28 Apr 2016 22:00:16 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1461880772.919012ef6bffd81b330e53f015223f269b0872f6.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/cistronradius/files/, net-dialup/cistronradius/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/cistronradius/cistronradius-1.6.8-r2.ebuild net-dialup/cistronradius/files/cistronradius.rc X-VCS-Directories: net-dialup/cistronradius/files/ net-dialup/cistronradius/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 919012ef6bffd81b330e53f015223f269b0872f6 X-VCS-Branch: master Date: Thu, 28 Apr 2016 22:00:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 359cc4f1-1655-4c5f-93a6-d12429c734c5 X-Archives-Hash: f7cfa5c9b90b9e37e631579f85bcfa13 commit: 919012ef6bffd81b330e53f015223f269b0872f6 Author: Austin English gentoo org> AuthorDate: Thu Apr 28 20:07:12 2016 +0000 Commit: Austin English gentoo org> CommitDate: Thu Apr 28 21:59:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=919012ef net-dialup/cistronradius: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 .../cistronradius/cistronradius-1.6.8-r2.ebuild | 49 ++++++++++++++++++++++ net-dialup/cistronradius/files/cistronradius.rc | 4 +- 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/net-dialup/cistronradius/cistronradius-1.6.8-r2.ebuild b/net-dialup/cistronradius/cistronradius-1.6.8-r2.ebuild new file mode 100644 index 0000000..5461d00 --- /dev/null +++ b/net-dialup/cistronradius/cistronradius-1.6.8-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="Authentication and accounting server for terminal servers that speak the RADIUS protocol" +HOMEPAGE="http://www.radius.cistron.nl/" +SRC_URI="ftp://ftp.radius.cistron.nl/pub/radius/radiusd-cistron-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* x86" + +DEPEND=" + !net-dialup/freeradius + !net-dialup/gnuradius" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/radiusd-cistron-${PV}" + +src_prepare() { + epatch "${FILESDIR}/${P}-gcc41.patch" + sed -i -e "s:SHAREDIR/::g" raddb/dictionary || die + mv src/checkrad.pl src/checkrad || die + + epatch_user +} + +src_compile() { + emake -C src \ + CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + BINDIR=/usr/bin SBINDIR=/usr/sbin \ + MANDIR=/usr/share/man SHAREDIR=/usr/share/radius +} + +src_install() { + insinto /etc/raddb + doins raddb/* + dodoc README doc/{ChangeLog,FAQ.txt,README*} + doman doc/{*.1,*.8,*.5rad,*.8rad} + + dosbin src/{checkrad,radiusd,radrelay} + dobin src/{radclient,radlast,radtest,radwho,radzap} + + newinitd "${FILESDIR}/cistronradius.rc" cistronradius +} diff --git a/net-dialup/cistronradius/files/cistronradius.rc b/net-dialup/cistronradius/files/cistronradius.rc index cc4b7d3..3154c6a 100644 --- a/net-dialup/cistronradius/files/cistronradius.rc +++ b/net-dialup/cistronradius/files/cistronradius.rc @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$