summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-09-11 05:39:50 +0000
committerAlin Năstac <mrness@gentoo.org>2007-09-11 05:39:50 +0000
commite3afab26ef7e39a3a96d1937017777bc5313955c (patch)
tree015f1dedda41739496f5c39aabf0c43359ba7144 /net-dialup/gnuradius
parentDrop a broken ebuild. (diff)
downloadgentoo-2-e3afab26ef7e39a3a96d1937017777bc5313955c.tar.gz
gentoo-2-e3afab26ef7e39a3a96d1937017777bc5313955c.tar.bz2
gentoo-2-e3afab26ef7e39a3a96d1937017777bc5313955c.zip
Remove obsolete version. Inherit pam.eclass (#191943).
(Portage version: 2.1.2.12)
Diffstat (limited to 'net-dialup/gnuradius')
-rw-r--r--net-dialup/gnuradius/ChangeLog8
-rw-r--r--net-dialup/gnuradius/files/digest-gnuradius-1.43
-rw-r--r--net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch23
-rw-r--r--net-dialup/gnuradius/files/gnuradius-1.4-implicit-decl.patch55
-rw-r--r--net-dialup/gnuradius/gnuradius-1.4.ebuild63
-rw-r--r--net-dialup/gnuradius/gnuradius-1.5.ebuild6
6 files changed, 10 insertions, 148 deletions
diff --git a/net-dialup/gnuradius/ChangeLog b/net-dialup/gnuradius/ChangeLog
index 6b88f329db24..d36eb4594d78 100644
--- a/net-dialup/gnuradius/ChangeLog
+++ b/net-dialup/gnuradius/ChangeLog
@@ -1,6 +1,12 @@
# 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.16 2007/09/06 11:59:48 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.17 2007/09/11 05:39:49 mrness Exp $
+
+ 11 Sep 2007; Alin Năstac <mrness@gentoo.org>
+ -files/gnuradius-1.4-gcc41.patch,
+ -files/gnuradius-1.4-implicit-decl.patch, -gnuradius-1.4.ebuild,
+ gnuradius-1.5.ebuild:
+ Remove obsolete version. Inherit pam.eclass (#191943).
06 Sep 2007; Raúl Porcel <armin76@gentoo.org> gnuradius-1.5.ebuild:
x86 stable wrt #190135
diff --git a/net-dialup/gnuradius/files/digest-gnuradius-1.4 b/net-dialup/gnuradius/files/digest-gnuradius-1.4
deleted file mode 100644
index fc443214dc84..000000000000
--- a/net-dialup/gnuradius/files/digest-gnuradius-1.4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 ef7c70f694da57a319068df6735f2953 radius-1.4.tar.gz 2341479
-RMD160 5d483800f8bb8b0dc4f967b7d7bd86a03799e1da radius-1.4.tar.gz 2341479
-SHA256 e598ed8b9cbea3ffaffb43e06345b1b15dc770cdcc30ecb577af2347d7bae1a1 radius-1.4.tar.gz 2341479
diff --git a/net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch b/net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch
deleted file mode 100644
index d22aec90b612..000000000000
--- a/net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -Nru radius-1.4.orig/include/radiusd.h radius-1.4/include/radiusd.h
---- radius-1.4.orig/include/radiusd.h 2006-09-08 10:37:33.000000000 +0300
-+++ radius-1.4/include/radiusd.h 2006-11-27 19:14:32.715040847 +0200
-@@ -339,7 +339,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.4.orig/radiusd/log.c radius-1.4/radiusd/log.c
---- radius-1.4.orig/radiusd/log.c 2006-08-17 00:15:57.000000000 +0300
-+++ radius-1.4/radiusd/log.c 2006-11-27 19:14:32.715040847 +0200
-@@ -184,7 +184,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.4-implicit-decl.patch b/net-dialup/gnuradius/files/gnuradius-1.4-implicit-decl.patch
deleted file mode 100644
index bfd17748435d..000000000000
--- a/net-dialup/gnuradius/files/gnuradius-1.4-implicit-decl.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff -Nru radius-1.4.orig/lib/getgr.c radius-1.4/lib/getgr.c
---- radius-1.4.orig/lib/getgr.c 2005-05-18 15:12:19.000000000 +0300
-+++ radius-1.4/lib/getgr.c 2007-04-14 13:49:45.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.4.orig/lib/getpw_r.c radius-1.4/lib/getpw_r.c
---- radius-1.4.orig/lib/getpw_r.c 2005-05-18 15:12:19.000000000 +0300
-+++ radius-1.4/lib/getpw_r.c 2007-04-14 13:50:21.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.4.orig/radscm/rscm_lib.c radius-1.4/radscm/rscm_lib.c
---- radius-1.4.orig/radscm/rscm_lib.c 2004-08-26 14:10:16.000000000 +0300
-+++ radius-1.4/radscm/rscm_lib.c 2007-04-14 13:45:38.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.4.orig/radscm/rscm_utmp.c radius-1.4/radscm/rscm_utmp.c
---- radius-1.4.orig/radscm/rscm_utmp.c 2005-08-12 19:52:41.000000000 +0300
-+++ radius-1.4/radscm/rscm_utmp.c 2007-04-14 13:45:03.000000000 +0300
-@@ -22,6 +22,7 @@
- #endif
-
- #include <stdlib.h>
-+#include <string.h>
- #include <sys/types.h>
- #include <netinet/in.h>
-
-diff -Nru radius-1.4.orig/scripts/mktypes.c radius-1.4/scripts/mktypes.c
---- radius-1.4.orig/scripts/mktypes.c 2005-05-18 15:12:22.000000000 +0300
-+++ radius-1.4/scripts/mktypes.c 2007-04-14 13:49:30.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.4.ebuild b/net-dialup/gnuradius/gnuradius-1.4.ebuild
deleted file mode 100644
index 9ac26a4f104a..000000000000
--- a/net-dialup/gnuradius/gnuradius-1.4.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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.4.ebuild,v 1.3 2007/04/14 10:57:58 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-2"
-SLOT="0"
-KEYWORDS="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 myconf="--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` "
-
- econf ${myconf} || die "configuration failed"
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "installation failed"
-}
diff --git a/net-dialup/gnuradius/gnuradius-1.5.ebuild b/net-dialup/gnuradius/gnuradius-1.5.ebuild
index 509745ea82e6..de91d4388475 100644
--- a/net-dialup/gnuradius/gnuradius-1.5.ebuild
+++ b/net-dialup/gnuradius/gnuradius-1.5.ebuild
@@ -1,8 +1,8 @@
# 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.2 2007/09/06 11:59:48 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/gnuradius-1.5.ebuild,v 1.3 2007/09/11 05:39:49 mrness Exp $
-inherit libtool eutils
+inherit libtool eutils pam
MY_P="${P#gnu}"
@@ -42,7 +42,7 @@ src_compile() {
local additional_conf=""
if use pam ; then
- additional_conf="--with-pamdir=/$(get_libdir)/security"
+ additional_conf="--with-pamdir=$(getpam_mod_dir)"
fi
econf --enable-client \
$(use_with guile) \