diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-07-14 07:08:02 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-07-14 07:08:02 +0000 |
commit | dd8b859775926e7bbed4cff9f5cc0b843d33db2a (patch) | |
tree | 6ee4aa78ac60cdd08a211939774bc3e44d86629c /net-dialup/gnuradius | |
parent | Revision bump, we're at -git4 right now. (diff) | |
download | historical-dd8b859775926e7bbed4cff9f5cc0b843d33db2a.tar.gz historical-dd8b859775926e7bbed4cff9f5cc0b843d33db2a.tar.bz2 historical-dd8b859775926e7bbed4cff9f5cc0b843d33db2a.zip |
Version bump. Add ~amd64 keyword.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-dialup/gnuradius')
-rw-r--r-- | net-dialup/gnuradius/ChangeLog | 9 | ||||
-rw-r--r-- | net-dialup/gnuradius/Manifest | 32 | ||||
-rw-r--r-- | net-dialup/gnuradius/files/digest-gnuradius-1.5 | 3 | ||||
-rw-r--r-- | net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch | 23 | ||||
-rw-r--r-- | net-dialup/gnuradius/files/gnuradius-1.5-implicit-decl.patch | 66 | ||||
-rw-r--r-- | net-dialup/gnuradius/gnuradius-1.5.ebuild | 67 |
6 files changed, 191 insertions, 9 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/Manifest b/net-dialup/gnuradius/Manifest index 442bd336c276..eea93df98bb8 100644 --- a/net-dialup/gnuradius/Manifest +++ b/net-dialup/gnuradius/Manifest @@ -9,15 +9,28 @@ AUX gnuradius-1.4-implicit-decl.patch 1703 RMD160 adb6071f8810523e4f1ade827b30b3 MD5 eef49d45ee5e42ef578bc3415af10308 files/gnuradius-1.4-implicit-decl.patch 1703 RMD160 adb6071f8810523e4f1ade827b30b31ac7105fcd files/gnuradius-1.4-implicit-decl.patch 1703 SHA256 d981cd40858fa9b65df5088ee5eb40e0dcd246df93397d85831092b6410c6655 files/gnuradius-1.4-implicit-decl.patch 1703 +AUX gnuradius-1.5-gcc41.patch 799 RMD160 d48dc338a88a44268349d9daace7407d71be48b1 SHA1 c9904fdd7c181d13a3c18f7c8ef3960a1492194e SHA256 986b76addb989c5f4543bafa5f3d09b9c4ac722b112e2e6298f9fd65b44d1a25 +MD5 61ba9e97f79d6065a741475e1487bf13 files/gnuradius-1.5-gcc41.patch 799 +RMD160 d48dc338a88a44268349d9daace7407d71be48b1 files/gnuradius-1.5-gcc41.patch 799 +SHA256 986b76addb989c5f4543bafa5f3d09b9c4ac722b112e2e6298f9fd65b44d1a25 files/gnuradius-1.5-gcc41.patch 799 +AUX gnuradius-1.5-implicit-decl.patch 2026 RMD160 028ac9d5d1d5f089b56a25b580e69d000f531c82 SHA1 eef4051f0eb8aa32c23aa7023f98533dca320218 SHA256 4ed2648800118d656c4acde39da1fba787028bb42a6cb160a5119de876396850 +MD5 7a5eadd1cd210b62f6126150a3393f02 files/gnuradius-1.5-implicit-decl.patch 2026 +RMD160 028ac9d5d1d5f089b56a25b580e69d000f531c82 files/gnuradius-1.5-implicit-decl.patch 2026 +SHA256 4ed2648800118d656c4acde39da1fba787028bb42a6cb160a5119de876396850 files/gnuradius-1.5-implicit-decl.patch 2026 DIST radius-1.4.tar.gz 2341479 RMD160 5d483800f8bb8b0dc4f967b7d7bd86a03799e1da SHA1 22ce8835711a11244252b6105dd7bcfdf8f04e0c SHA256 e598ed8b9cbea3ffaffb43e06345b1b15dc770cdcc30ecb577af2347d7bae1a1 +DIST radius-1.5.tar.gz 2490324 RMD160 26025a07914633984f67f370109ead1cf4fc84f9 SHA1 8ddd58c3b9042bfe9ae6c4f387ad790b56e80a62 SHA256 74f11ed438452fd7b686c9691a466d2b632a9560a7e9a540d82cf716e22d74f8 EBUILD gnuradius-1.4.ebuild 1515 RMD160 dd0d70a2e0c1fa39928a0939ca50aae7de3e1b5a SHA1 7fd2747c4fdd0e74cdf5cc629dbadbc941a5529f SHA256 7b984accda0179260336fcdf41e3d3d7c648cc3d850a6c313ace0f8995757919 MD5 5c812491f9daac988d362b83a0a42750 gnuradius-1.4.ebuild 1515 RMD160 dd0d70a2e0c1fa39928a0939ca50aae7de3e1b5a gnuradius-1.4.ebuild 1515 SHA256 7b984accda0179260336fcdf41e3d3d7c648cc3d850a6c313ace0f8995757919 gnuradius-1.4.ebuild 1515 -MISC ChangeLog 2323 RMD160 c683a4c56fd68b28bb44c0750f6946dedd66f530 SHA1 4e86bf3213d7c2502e05d9400e591cd24478ab08 SHA256 c12e571e28c1454fd1a16e5688daf94cd408d782c751506be8380930825b67aa -MD5 a68af659cd363a3d29728fd5ab41fa91 ChangeLog 2323 -RMD160 c683a4c56fd68b28bb44c0750f6946dedd66f530 ChangeLog 2323 -SHA256 c12e571e28c1454fd1a16e5688daf94cd408d782c751506be8380930825b67aa ChangeLog 2323 +EBUILD gnuradius-1.5.ebuild 1638 RMD160 c41382f556c17d54af12dcb2a7201ca6731787ea SHA1 6ef7ee41a10fcd525d6b18af55d4120faeb37d6e SHA256 b14906389b60ad444ceab7e73b74190aad9d167c8bfa85f3db4d204d4cc1da45 +MD5 977db6e27f7cb2725a3fe2015bd4b34d gnuradius-1.5.ebuild 1638 +RMD160 c41382f556c17d54af12dcb2a7201ca6731787ea gnuradius-1.5.ebuild 1638 +SHA256 b14906389b60ad444ceab7e73b74190aad9d167c8bfa85f3db4d204d4cc1da45 gnuradius-1.5.ebuild 1638 +MISC ChangeLog 2541 RMD160 5f57da4ad40919e2c77e63abe8faf7281873f1c8 SHA1 809ba00631f78eda6e7d7af62aba6cb2c01d7d4b SHA256 90238cd60b4c43fa3daf16160bba799582f2261e55bb4100aea7776d123dee96 +MD5 cb9139abe544990cd77582104cc6cad5 ChangeLog 2541 +RMD160 5f57da4ad40919e2c77e63abe8faf7281873f1c8 ChangeLog 2541 +SHA256 90238cd60b4c43fa3daf16160bba799582f2261e55bb4100aea7776d123dee96 ChangeLog 2541 MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e metadata.xml 163 @@ -25,10 +38,13 @@ SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 metadata MD5 0fd2b4a803732b179b1b28b2c18cd679 files/digest-gnuradius-1.4 235 RMD160 cc9b6591d1e7326fb7691d5738b6925fe854f339 files/digest-gnuradius-1.4 235 SHA256 55d86bdbaa60d2aadb124d6b90c46ab375135b7db4ddf624c6023c3c9e6d8a23 files/digest-gnuradius-1.4 235 +MD5 434f97df84c332e9d30d64a73c8e53f4 files/digest-gnuradius-1.5 235 +RMD160 acf88b3a6e140da8d1c016b78f24238e89a8e595 files/digest-gnuradius-1.5 235 +SHA256 83bccaab95fba334c98d23c7cb7eabbb9e4864fdfe912dba503d9c3cde26e43a files/digest-gnuradius-1.5 235 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGILPBJnxX6mF440QRAmsQAJ43Nfw0mEg4hD11NM78kLO5NQ0lbACgxhGM -3Gz9V+L3kVUswBscu9/aGew= -=7Mhb +iD8DBQFGmHZaVSA5X31g7/gRAqvIAJ4sDd76cCP9N9Zu2X3FpXwVrDrucgCeMmeg +Kd3vNIYSD0X7Ka2x+nfaFCE= +=p6A4 -----END PGP SIGNATURE----- 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" +} |