diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-07-11 13:03:48 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-07-11 13:03:48 +0000 |
commit | abe385d150ac33d8990a82b13e11472d37097c32 (patch) | |
tree | 81b09b338c45b070ab7ca76b7ddb6aba9587981f /net-dialup/cistronradius/cistronradius-1.6.6-r1.ebuild | |
parent | adding metadata.xml (diff) | |
download | gentoo-2-abe385d150ac33d8990a82b13e11472d37097c32.tar.gz gentoo-2-abe385d150ac33d8990a82b13e11472d37097c32.tar.bz2 gentoo-2-abe385d150ac33d8990a82b13e11472d37097c32.zip |
security update
Diffstat (limited to 'net-dialup/cistronradius/cistronradius-1.6.6-r1.ebuild')
-rw-r--r-- | net-dialup/cistronradius/cistronradius-1.6.6-r1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/net-dialup/cistronradius/cistronradius-1.6.6-r1.ebuild b/net-dialup/cistronradius/cistronradius-1.6.6-r1.ebuild new file mode 100644 index 000000000000..eb698d13f7c0 --- /dev/null +++ b/net-dialup/cistronradius/cistronradius-1.6.6-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/cistronradius/cistronradius-1.6.6-r1.ebuild,v 1.1 2003/07/11 13:03:48 aliz Exp $ + +IUSE="" + +S="${WORKDIR}/radiusd-cistron-${PV}/src" +DESCRIPTION="An authentication and accounting server for terminal servers that speak the RADIUS protocol." +SRC_URI="ftp://ftp.radius.cistron.nl/pub/radius/radiusd-cistron-${PV}.tar.gz" +HOMEPAGE="http://www.radius.cistron.nl/" +KEYWORDS="~x86" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="sys-devel/gcc + >=sys-apps/sed-4" +RDEPEND=${DEPEND} + +src_unpack() { + unpack ${A} ; cd ${S} + + epatch ${FILESDIR}/${P}-security.patch + + sed -i -e "s:/usr/local:/usr:g" \ + -e "s:-Wall -g:${CFLAGS}:g" \ + Makefile || die + mv checkrad.pl checkrad +} + +src_compile() { + emake || die +} + +src_install() { +# cd ${S} + dodir /usr/sbin + exeinto /usr/sbin + doexe ${S}/checkrad + doexe ${S}/radiusd + doexe ${S}/radrelay + dodir /usr/bin + exeinto /usr/bin + doexe ${S}/radclient + doexe ${S}/radlast + doexe ${S}/radtest + doexe ${S}/raduse + doexe ${S}/radwho + doexe ${S}/radzap + exeinto /etc/init.d + newexe ${FILESDIR}/cistronradius.rc cistronradius + cd ${S}/.. + dodir /etc/raddb + insinto /etc/raddb + doins raddb/* + dodoc COPYRIGHT INSTALL README doc/{ChangeLog,FAQ.txt,README*} + doman doc/{*.1,*.8,*.5rad,*.8rad} +} |