# ChangeLog for net-dialup/gnuradius
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.10 2006/11/23 20:30:38 vivo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.11 2006/11/27 18:17:45 mrness Exp $
+
+*gnuradius-1.4 (27 Nov 2006)
+
+ 27 Nov 2006; Alin Năstac <mrness@gentoo.org>
+ +files/gnuradius-1.4-gcc41.patch, +gnuradius-1.4.ebuild:
+ Version bumped and marked stable wrt security bug #156376.
23 Nov 2006; Francesco Riosa <vivo@gentoo.org> gnuradius-1.3-r2.ebuild:
dev-db/mysql => virtual/mysql
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX gnuradius-1.3-gcc41.patch 1575 RMD160 97452b705569bc8033f784e3d05d96ea93da0534 SHA1 d588a55712f4939bbcf2723ee532c6dcfc672cfa SHA256 b09faebd00873d11c1e8c99571d6f2e650c95d0436cc6401ecb30665c6b4987c
MD5 8a101e796f3eda3fc7a3b7815570e8cc files/gnuradius-1.3-gcc41.patch 1575
RMD160 97452b705569bc8033f784e3d05d96ea93da0534 files/gnuradius-1.3-gcc41.patch 1575
SHA256 b09faebd00873d11c1e8c99571d6f2e650c95d0436cc6401ecb30665c6b4987c files/gnuradius-1.3-gcc41.patch 1575
+AUX gnuradius-1.4-gcc41.patch 799 RMD160 d2575db333ab6212188cc305041e1b78bbc79e8a SHA1 fc1b16da485817b11a03a4988d046b22cefc2e4c SHA256 ea0e6b2b1637bd628278944f9a8031b1bed3b14ee804ee3f7b82f9de3fedfc7d
+MD5 46e7f275c8c2b1b6000b412ec38fe0cb files/gnuradius-1.4-gcc41.patch 799
+RMD160 d2575db333ab6212188cc305041e1b78bbc79e8a files/gnuradius-1.4-gcc41.patch 799
+SHA256 ea0e6b2b1637bd628278944f9a8031b1bed3b14ee804ee3f7b82f9de3fedfc7d files/gnuradius-1.4-gcc41.patch 799
DIST radius-1.3.tar.gz 2047469 RMD160 95eac017c0c2bfa881bde343d3afa6af5d87e530 SHA1 e99fd8d762d0f1337308313954595164e66ecdb7 SHA256 3e2bd3f2e6f9b062ccc2fde80fa26e46a2a2f3645227daca427501135e5846c5
+DIST radius-1.4.tar.gz 2341479 RMD160 5d483800f8bb8b0dc4f967b7d7bd86a03799e1da SHA1 22ce8835711a11244252b6105dd7bcfdf8f04e0c SHA256 e598ed8b9cbea3ffaffb43e06345b1b15dc770cdcc30ecb577af2347d7bae1a1
EBUILD gnuradius-1.3-r2.ebuild 1471 RMD160 472d6f548df82560e8ba331fc2de8c507ddc74eb SHA1 609358a4dd25056748efb2062c257bae985a00f4 SHA256 24e0ff5b0625c41156fa57b3558c881624f0eb4a21446dd5efac984755eb24cc
MD5 b5a88b7844d42419f89b5a229a1effb6 gnuradius-1.3-r2.ebuild 1471
RMD160 472d6f548df82560e8ba331fc2de8c507ddc74eb gnuradius-1.3-r2.ebuild 1471
SHA256 24e0ff5b0625c41156fa57b3558c881624f0eb4a21446dd5efac984755eb24cc gnuradius-1.3-r2.ebuild 1471
-MISC ChangeLog 1672 RMD160 ce8573d66416f6620186cd9e7dd693cbca792122 SHA1 0ae8e5e8528fc22dca4f63658b91de47afbbd92b SHA256 3b891639f9330fa353bcd1eda3370c3f9c19dc19727f6000e77d26506ad37ec3
-MD5 b156833759a902dab0f4b54abcbbd47a ChangeLog 1672
-RMD160 ce8573d66416f6620186cd9e7dd693cbca792122 ChangeLog 1672
-SHA256 3b891639f9330fa353bcd1eda3370c3f9c19dc19727f6000e77d26506ad37ec3 ChangeLog 1672
+EBUILD gnuradius-1.4.ebuild 1466 RMD160 6fb54c6c02e0e2607409e3dc8f3e36a1a780084f SHA1 b1f34de79d479ac02b273a43e0687ca809dcee17 SHA256 1613da71d9184c91725995ad33cac51da31135284a948def6193dfed8f34a370
+MD5 67ce5689205f0c93036920f244f7fa1e gnuradius-1.4.ebuild 1466
+RMD160 6fb54c6c02e0e2607409e3dc8f3e36a1a780084f gnuradius-1.4.ebuild 1466
+SHA256 1613da71d9184c91725995ad33cac51da31135284a948def6193dfed8f34a370 gnuradius-1.4.ebuild 1466
+MISC ChangeLog 1873 RMD160 1a8836be9e423b8752b87ed64bb91a258dd5ccb2 SHA1 6d6057ccca0dd8b95c56dc707040a995661a7751 SHA256 d8cb33fc1a840ce085cc3d7a74f939c089c86faf4077d386f8d044e5338dd0bd
+MD5 ac0904ac7568c650b4076877544e8045 ChangeLog 1873
+RMD160 1a8836be9e423b8752b87ed64bb91a258dd5ccb2 ChangeLog 1873
+SHA256 d8cb33fc1a840ce085cc3d7a74f939c089c86faf4077d386f8d044e5338dd0bd ChangeLog 1873
MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e metadata.xml 163
MD5 d33385f1509b05b84384dff6177a5fc0 files/digest-gnuradius-1.3-r2 235
RMD160 4f54b6a76041e6ab64a8316fc65674b760dc25b5 files/digest-gnuradius-1.3-r2 235
SHA256 e328bd0e3789af7794581c7e75f9a771186f356114e8d5c978995b6bb4b7a696 files/digest-gnuradius-1.3-r2 235
+MD5 0fd2b4a803732b179b1b28b2c18cd679 files/digest-gnuradius-1.4 235
+RMD160 cc9b6591d1e7326fb7691d5738b6925fe854f339 files/digest-gnuradius-1.4 235
+SHA256 55d86bdbaa60d2aadb124d6b90c46ab375135b7db4ddf624c6023c3c9e6d8a23 files/digest-gnuradius-1.4 235
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFayvY3sf9c6kjmR8RAn59AJ0Tcr4PnU9hiWZcY8ualQEy4VIx0gCcCAUG
+RvrAcx/+ntZdydTGLOjceg8=
+=vZJq
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 ef7c70f694da57a319068df6735f2953 radius-1.4.tar.gz 2341479
+RMD160 5d483800f8bb8b0dc4f967b7d7bd86a03799e1da radius-1.4.tar.gz 2341479
+SHA256 e598ed8b9cbea3ffaffb43e06345b1b15dc770cdcc30ecb577af2347d7bae1a1 radius-1.4.tar.gz 2341479
--- /dev/null
+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,
--- /dev/null
+# Copyright 1999-2006 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.1 2006/11/27 18:17:45 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-util/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"
+}
+
+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"
+}