summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-03-01 11:20:46 +0000
committerAlin Năstac <mrness@gentoo.org>2009-03-01 11:20:46 +0000
commitea90575d55c101b25f410464286c36ed2854a76d (patch)
tree4d0f49b57aac3c578329dd920e0fc7ffb2755e3a
parentAdd mips love (diff)
downloadgentoo-2-ea90575d55c101b25f410464286c36ed2854a76d.tar.gz
gentoo-2-ea90575d55c101b25f410464286c36ed2854a76d.tar.bz2
gentoo-2-ea90575d55c101b25f410464286c36ed2854a76d.zip
Version bump (#256552).
(Portage version: 2.1.6.7/cvs/Linux x86_64)
-rw-r--r--net-dialup/gnuradius/ChangeLog10
-rw-r--r--net-dialup/gnuradius/files/gnuradius-1.6.1-qa-false-positives.patch28
-rw-r--r--net-dialup/gnuradius/gnuradius-1.6.1.ebuild67
3 files changed, 103 insertions, 2 deletions
diff --git a/net-dialup/gnuradius/ChangeLog b/net-dialup/gnuradius/ChangeLog
index 658aa8a4f4f8..2136cc317e38 100644
--- a/net-dialup/gnuradius/ChangeLog
+++ b/net-dialup/gnuradius/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/gnuradius
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.19 2008/05/21 18:53:26 dev-zero Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.20 2009/03/01 11:20:46 mrness Exp $
+
+*gnuradius-1.6.1 (01 Mar 2009)
+
+ 01 Mar 2009; Alin Năstac <mrness@gentoo.org>
+ +files/gnuradius-1.6.1-qa-false-positives.patch, +gnuradius-1.6.1.ebuild:
+ Version bump (#256552).
21 May 2008; Tiziano Müller <dev-zero@gentoo.org> gnuradius-1.5.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
diff --git a/net-dialup/gnuradius/files/gnuradius-1.6.1-qa-false-positives.patch b/net-dialup/gnuradius/files/gnuradius-1.6.1-qa-false-positives.patch
new file mode 100644
index 000000000000..9d1c7f119e38
--- /dev/null
+++ b/net-dialup/gnuradius/files/gnuradius-1.6.1-qa-false-positives.patch
@@ -0,0 +1,28 @@
+diff -Nru radius-1.6.1.orig/radscripts/Makefile.in radius-1.6.1/radscripts/Makefile.in
+--- radius-1.6.1.orig/radscripts/Makefile.in 2009-03-01 11:02:16.000000000 +0000
++++ radius-1.6.1/radscripts/Makefile.in 2009-03-01 11:12:52.000000000 +0000
+@@ -854,19 +854,19 @@
+
+
+ radctl: $(srcdir)/radctl.m4
+- $(M4) $(M4_DEFINES) $(srcdir)/radctl.m4 > radctl
++ @$(M4) $(M4_DEFINES) $(srcdir)/radctl.m4 > radctl
+
+ radgrep: $(srcdir)/radgrep.m4
+- $(M4) $(M4_DEFINES) $(srcdir)/radgrep.m4 > radgrep
++ @$(M4) $(M4_DEFINES) $(srcdir)/radgrep.m4 > radgrep
+
+ radping: $(srcdir)/radping.m4
+- $(M4) $(M4_DEFINES) $(srcdir)/radping.m4 > radping
++ @$(M4) $(M4_DEFINES) $(srcdir)/radping.m4 > radping
+
+ radauth: $(srcdir)/radauth.m4
+- $(M4) $(M4_DEFINES) $(srcdir)/radauth.m4 > radauth
++ @$(M4) $(M4_DEFINES) $(srcdir)/radauth.m4 > radauth
+
+ builddbm: $(srcdir)/builddbm.m4
+- $(M4) $(M4_DEFINES) $(srcdir)/builddbm.m4 > builddbm
++ @$(M4) $(M4_DEFINES) $(srcdir)/builddbm.m4 > builddbm
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/net-dialup/gnuradius/gnuradius-1.6.1.ebuild b/net-dialup/gnuradius/gnuradius-1.6.1.ebuild
new file mode 100644
index 000000000000..323076b24160
--- /dev/null
+++ b/net-dialup/gnuradius/gnuradius-1.6.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/gnuradius-1.6.1.ebuild,v 1.1 2009/03/01 11:20:46 mrness Exp $
+
+EAPI="2"
+
+inherit eutils pam
+
+MY_P="${P#gnu}"
+
+DESCRIPTION="GNU radius authentication server"
+HOMEPAGE="http://www.gnu.org/software/radius/radius.html"
+SRC_URI="mirror://gnu/radius/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="guile mysql postgres odbc dbm nls snmp pam static debug readline"
+
+DEPEND="!net-dialup/freeradius
+ !net-dialup/cistronradius
+ guile? ( >=dev-scheme/guile-1.4 )
+ mysql? ( virtual/mysql )
+ postgres? ( virtual/postgresql-server )
+ odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) )
+ readline? ( sys-libs/readline )
+ dbm? ( sys-libs/gdbm )
+ snmp? ( net-analyzer/net-snmp )
+ pam? ( virtual/pam )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+
+ # Portage incorrectly detects missing --run m4 output lines as automake maintainer mode
+ # eautoreconf cannot be used because it will screw up the libtool file
+ epatch "${FILESDIR}/${P}-qa-false-positives.patch"
+}
+
+src_configure() {
+ local additional_conf=""
+ if use pam ; then
+ additional_conf="--with-pamdir=$(getpam_mod_dir)"
+ fi
+ econf --enable-client --disable-maintainer-mode \
+ $(use_with guile) \
+ $(use_with guile server-guile) \
+ $(use_with mysql) \
+ $(use_with postgres) \
+ $(use_with odbc) \
+ $(use_with readline) \
+ $(use_enable dbm) \
+ $(use_enable nls) \
+ $(use_enable snmp) \
+ $(use_enable pam) \
+ $(use_enable debug) \
+ $(use_enable static) \
+ ${additional_conf} || die "configuration failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "installation failed"
+}