summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-07-14 07:08:02 +0000
committerAlin Năstac <mrness@gentoo.org>2007-07-14 07:08:02 +0000
commitf1bc2e7d94bef67a3fdb27a9287b6aece6a91f19 (patch)
tree71cf18a49ab5a36c53362f95f85e9e56e554754d /net-dialup
parentRevision bump, we're at -git4 right now. (diff)
downloadgentoo-2-f1bc2e7d94bef67a3fdb27a9287b6aece6a91f19.tar.gz
gentoo-2-f1bc2e7d94bef67a3fdb27a9287b6aece6a91f19.tar.bz2
gentoo-2-f1bc2e7d94bef67a3fdb27a9287b6aece6a91f19.zip
Version bump. Add ~amd64 keyword.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/gnuradius/ChangeLog9
-rw-r--r--net-dialup/gnuradius/files/digest-gnuradius-1.53
-rw-r--r--net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch23
-rw-r--r--net-dialup/gnuradius/files/gnuradius-1.5-implicit-decl.patch66
-rw-r--r--net-dialup/gnuradius/gnuradius-1.5.ebuild67
5 files changed, 167 insertions, 1 deletions
diff --git a/net-dialup/gnuradius/ChangeLog b/net-dialup/gnuradius/ChangeLog
index 4dbffc76db5b..d9803c52fb8e 100644
--- a/net-dialup/gnuradius/ChangeLog
+++ b/net-dialup/gnuradius/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dialup/gnuradius
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.14 2007/04/14 10:57:58 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.15 2007/07/14 07:08:02 mrness Exp $
+
+*gnuradius-1.5 (14 Jul 2007)
+
+ 14 Jul 2007; Alin Năstac <mrness@gentoo.org>
+ +files/gnuradius-1.5-gcc41.patch,
+ +files/gnuradius-1.5-implicit-decl.patch, +gnuradius-1.5.ebuild:
+ Version bump. Add ~amd64 keyword.
14 Apr 2007; Alin Năstac <mrness@gentoo.org>
+files/gnuradius-1.4-implicit-decl.patch, gnuradius-1.4.ebuild:
diff --git a/net-dialup/gnuradius/files/digest-gnuradius-1.5 b/net-dialup/gnuradius/files/digest-gnuradius-1.5
new file mode 100644
index 000000000000..7a4b5cd77b3c
--- /dev/null
+++ b/net-dialup/gnuradius/files/digest-gnuradius-1.5
@@ -0,0 +1,3 @@
+MD5 8a33dedd29cec62fc9ba33f04a54bf81 radius-1.5.tar.gz 2490324
+RMD160 26025a07914633984f67f370109ead1cf4fc84f9 radius-1.5.tar.gz 2490324
+SHA256 74f11ed438452fd7b686c9691a466d2b632a9560a7e9a540d82cf716e22d74f8 radius-1.5.tar.gz 2490324
diff --git a/net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch b/net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch
new file mode 100644
index 000000000000..a269dfc993b5
--- /dev/null
+++ b/net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch
@@ -0,0 +1,23 @@
+diff -Nru radius-1.5.orig/include/radiusd.h radius-1.5/include/radiusd.h
+--- radius-1.5.orig/include/radiusd.h 2007-06-27 15:54:21.000000000 +0300
++++ radius-1.5/include/radiusd.h 2007-07-14 09:17:16.000000000 +0300
+@@ -340,7 +340,6 @@
+ extern int max_threads;
+ extern int num_threads;
+ #ifdef USE_SERVER_GUILE
+-extern unsigned scheme_gc_interval;
+ extern u_int scheme_task_timeout;
+ #endif
+ #ifdef USE_SNMP
+diff -Nru radius-1.5.orig/radiusd/log.c radius-1.5/radiusd/log.c
+--- radius-1.5.orig/radiusd/log.c 2007-06-27 15:54:22.000000000 +0300
++++ radius-1.5/radiusd/log.c 2007-07-14 09:17:16.000000000 +0300
+@@ -185,7 +185,7 @@
+ if (rewrite_invoke(String,
+ &val,
+ hook_name,
+- req,
++ (grad_request_t *)req,
+ "isi",
+ req->code,
+ grad_nas_request_to_name(req,
diff --git a/net-dialup/gnuradius/files/gnuradius-1.5-implicit-decl.patch b/net-dialup/gnuradius/files/gnuradius-1.5-implicit-decl.patch
new file mode 100644
index 000000000000..2e4b509b9c2d
--- /dev/null
+++ b/net-dialup/gnuradius/files/gnuradius-1.5-implicit-decl.patch
@@ -0,0 +1,66 @@
+diff -Nru radius-1.5.orig/lib/getgr.c radius-1.5/lib/getgr.c
+--- radius-1.5.orig/lib/getgr.c 2007-07-14 09:23:17.000000000 +0300
++++ radius-1.5/lib/getgr.c 2007-07-14 09:20:52.000000000 +0300
+@@ -23,6 +23,7 @@
+ #endif
+ #include <sys/types.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <grp.h>
+
+ #include <radius/mem.h>
+diff -Nru radius-1.5.orig/lib/getpw_r.c radius-1.5/lib/getpw_r.c
+--- radius-1.5.orig/lib/getpw_r.c 2007-07-14 09:23:17.000000000 +0300
++++ radius-1.5/lib/getpw_r.c 2007-07-14 09:20:52.000000000 +0300
+@@ -24,6 +24,7 @@
+
+ #include <sys/types.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <pwd.h>
+
+ LOCK_DECLARE(lock)
+diff -Nru radius-1.5.orig/lib/numtostr.c radius-1.5/lib/numtostr.c
+--- radius-1.5.orig/lib/numtostr.c 2007-06-27 15:53:52.000000000 +0300
++++ radius-1.5/lib/numtostr.c 2007-07-14 09:23:56.000000000 +0300
+@@ -22,6 +22,7 @@
+
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <string.h>
+ #include "intprops.h"
+
+ size_t
+diff -Nru radius-1.5.orig/radscm/rscm_lib.c radius-1.5/radscm/rscm_lib.c
+--- radius-1.5.orig/radscm/rscm_lib.c 2007-07-14 09:23:17.000000000 +0300
++++ radius-1.5/radscm/rscm_lib.c 2007-07-14 09:20:52.000000000 +0300
+@@ -22,6 +22,7 @@
+ #endif
+
+ #include <libguile.h>
++#include <string.h>
+ #include <radius/radius.h>
+ #include <radius/radscm.h>
+
+diff -Nru radius-1.5.orig/radscm/rscm_utmp.c radius-1.5/radscm/rscm_utmp.c
+--- radius-1.5.orig/radscm/rscm_utmp.c 2007-07-14 09:23:17.000000000 +0300
++++ radius-1.5/radscm/rscm_utmp.c 2007-07-14 09:20:52.000000000 +0300
+@@ -23,6 +23,7 @@
+ #endif
+
+ #include <stdlib.h>
++#include <string.h>
+ #include <sys/types.h>
+ #include <netinet/in.h>
+
+diff -Nru radius-1.5.orig/scripts/mktypes.c radius-1.5/scripts/mktypes.c
+--- radius-1.5.orig/scripts/mktypes.c 2007-07-14 09:23:17.000000000 +0300
++++ radius-1.5/scripts/mktypes.c 2007-07-14 09:20:52.000000000 +0300
+@@ -25,6 +25,7 @@
+ #ifdef HAVE_STDINT_H
+ # include <stdint.h>
+ #endif
++#include <stdio.h>
+
+ #ifndef DEF_AUTH_PORT
+ # define DEF_AUTH_PORT 1812
diff --git a/net-dialup/gnuradius/gnuradius-1.5.ebuild b/net-dialup/gnuradius/gnuradius-1.5.ebuild
new file mode 100644
index 000000000000..75fe6da6778f
--- /dev/null
+++ b/net-dialup/gnuradius/gnuradius-1.5.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/gnuradius-1.5.ebuild,v 1.1 2007/07/14 07:08:02 mrness Exp $
+
+inherit libtool eutils
+
+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? ( dev-db/postgresql )
+ odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) )
+ readline? ( sys-libs/readline )
+ dbm? ( sys-libs/gdbm )
+ snmp? ( net-analyzer/net-snmp )
+ pam? ( sys-libs/pam )"
+
+S="${WORKDIR}/${MY_P}"
+
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-gcc41.patch"
+ epatch "${FILESDIR}/${P}-implicit-decl.patch"
+}
+
+src_compile() {
+ elibtoolize --reverse-deps
+
+ local additional_conf=""
+ if use pam ; then
+ additional_conf="--with-pamdir=/$(get_libdir)/security"
+ fi
+ econf --enable-client \
+ $(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"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "installation failed"
+}