summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-11-11 14:14:22 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-11-11 14:14:22 +0000
commitca66c95bf8ea99ab8d27a2bbd6e11bc8d23030b3 (patch)
tree60be4426d745899108535b1f2d4ca69a6b5661ee /net-dialup
parentStable for HPPA (bug #490382). (diff)
downloadhistorical-ca66c95bf8ea99ab8d27a2bbd6e11bc8d23030b3.tar.gz
historical-ca66c95bf8ea99ab8d27a2bbd6e11bc8d23030b3.tar.bz2
historical-ca66c95bf8ea99ab8d27a2bbd6e11bc8d23030b3.zip
Revision bump: EAPI 5, autotools-utils eclass, add fix for cross compilation wrt bug #373365, thanks to Bertrand Jacquin <beber AT meleeweb.net>
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/radiusclient-ng/ChangeLog12
-rw-r--r--net-dialup/radiusclient-ng/Manifest24
-rw-r--r--net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch73
-rw-r--r--net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild36
4 files changed, 134 insertions, 11 deletions
diff --git a/net-dialup/radiusclient-ng/ChangeLog b/net-dialup/radiusclient-ng/ChangeLog
index f07928a54af6..69f4e311407d 100644
--- a/net-dialup/radiusclient-ng/ChangeLog
+++ b/net-dialup/radiusclient-ng/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-dialup/radiusclient-ng
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/radiusclient-ng/ChangeLog,v 1.21 2009/03/03 21:05:37 mrness Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/radiusclient-ng/ChangeLog,v 1.22 2013/11/11 14:14:16 pinkbyte Exp $
+
+*radiusclient-ng-0.5.6-r1 (11 Nov 2013)
+
+ 11 Nov 2013; Sergey Popov <pinkbyte@gentoo.org>
+ +radiusclient-ng-0.5.6-r1.ebuild,
+ +files/radiusclient-ng-0.5.6-cross-compile.patch:
+ Revision bump: EAPI 5, autotools-utils eclass, add fix for cross compilation
+ wrt bug #373365, thanks to Bertrand Jacquin <beber AT meleeweb.net>
03 Mar 2009; Alin Năstac <mrness@gentoo.org>
radiusclient-ng-0.5.6.ebuild:
diff --git a/net-dialup/radiusclient-ng/Manifest b/net-dialup/radiusclient-ng/Manifest
index ac453150a8f8..88e9b57874f9 100644
--- a/net-dialup/radiusclient-ng/Manifest
+++ b/net-dialup/radiusclient-ng/Manifest
@@ -1,14 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-DIST radiusclient-ng-0.5.6.tar.gz 383882 RMD160 70fec6c143775e7216d80d818497fe23ece700de SHA1 4c11d49190e52fce42e0f301b0ef62e17a68a49b SHA256 282a9f1355f190efbb06c0d7c4e062eaa652caf342ed3ad361ac595f72f09f14
-EBUILD radiusclient-ng-0.5.6.ebuild 750 RMD160 f3cbc27c5a3d58361033b573c84f3a82c90c6cdf SHA1 aa061c920dee2d7eba2884f24ad9ae3038bd1a47 SHA256 a28dafcb0671719041a840ce59d2ba607dc35fe5c71c9663e103d8daefaccb79
-MISC ChangeLog 3255 RMD160 8f6cd9438598852384b08c8cf49d40e6eb981338 SHA1 3548f6eb3ebfb8970f4b4023cc17a270a8a3de9d SHA256 25680964ac5627c1c8e4dccc7d7a19caec1b7d533dfc6e53e2644a02aa5bdb35
-MISC metadata.xml 403 RMD160 117301440d221abd8de5dffb3b2a734995e75285 SHA1 21cd4f051e11368a94db64756554120c10b79ea5 SHA256 56b82d818c4fd6a87f7013222799e26d0ad120e0d825c9b867152846e2a6f04c
+AUX radiusclient-ng-0.5.6-cross-compile.patch 1938 SHA256 01bf118cfc11b9c27e7904b2bf65831734dbc189c238a4e9910eedb8ff8c99c9 SHA512 5d7bc663a233af5c3f098eb8531c6ec87b32099e1e7990ba1c189c94e2c45a52970b77165ec898514036990e14edbf430f0550d71667b681ea58af7ebe32898f WHIRLPOOL 3e4301ca026eb7e1db14a02c96315fc7bcc891728279d720e514187e9c487208ce77cc762099cd1d4c4f35b1e623378e86f3ae37a10b722bf32edddc12796871
+DIST radiusclient-ng-0.5.6.tar.gz 383882 SHA256 282a9f1355f190efbb06c0d7c4e062eaa652caf342ed3ad361ac595f72f09f14 SHA512 3096519cb2029a216ac9a613c8c0721d9154b0b82c219f5528423bd1157333101137064cb2363e9cfd646a1719b06b1cec78eaf24fafb2f780fec41f40bcae88 WHIRLPOOL c50a0840a63081d1f1da86c523f57f0af6da9329553b7bd45f379e91d738b80dcccb07ffce1ce791c4ce4570610ca03ee022ee2ee5ada9a646f6c7eb697ff282
+EBUILD radiusclient-ng-0.5.6-r1.ebuild 991 SHA256 b4046a2a9f1fd6ab37fdac1e086044c85bebf91a77c4aff3a1061b0b14213e59 SHA512 d1956e77bcbd4a9c6b66de70456e57cde8cff1687fb85b37a21354cc0a667429c770f35b2dcf540fb337f3b8180aafce7792b1c1a324a9f12f67a0e2b3e091af WHIRLPOOL 651339ec2ba0a1db13f050b62f8fc3ff26860222136980259a1ab225914127d2756c51ff0a910c570bb853f8172935a0652dce7ba9153dac994cdfcc96cbc704
+EBUILD radiusclient-ng-0.5.6.ebuild 750 SHA256 a28dafcb0671719041a840ce59d2ba607dc35fe5c71c9663e103d8daefaccb79 SHA512 fe34e26e48f6505aa1b8410cfa4120e3ceada1dc4d09d67032c01694ddd3a3916e03b332ec7a2302f233abea87d1341522d82b0e62ca4d18be812ef604b07fdc WHIRLPOOL 8e4d7e59508f2b5e81848efd07294bb62ea83d87ba7460c2d3bdb3cea40fa9a7a0d7848f4a37afebd0be2699737bb654b75f196918e9b9ab2f17323321cf669d
+MISC ChangeLog 3586 SHA256 a63821375e311cbd36f894d6f90958dd4ae1c8a58a463f391efc2d5d92494fc4 SHA512 66905691ae4265da5eae5d88d728ecd3299168829d7a31ccbb5dc7356bea7e308c6fe281168b491622f476897519fb3ca4064a51f787e44bb048b4ec164ee796 WHIRLPOOL fcdae4f82bebee94ccafae9b86abb847806ca9ddc72e34b0a1b7d02d69c8a8db9018118fe18db265149e28e1bc3d8d284c3b9a7dd0098699e84b7b872bbf9e9e
+MISC metadata.xml 403 SHA256 56b82d818c4fd6a87f7013222799e26d0ad120e0d825c9b867152846e2a6f04c SHA512 9870f3da20e942b6aa8043ddc16869f47756123ca6d8256973d767df89b85cd86e9688f6868c6ee55bea121a0f10fcd97ee76a82f2273d124eb8eaafdaf38242 WHIRLPOOL 0037bfb63ba3dd09903899ce27be8b2d2c1db0c08e04acb8d8e5e1f5fcc47e717b6dec56a9bfa68671b581dcae5d9adffacc199307cb6c2b4c41e50f6c4c956b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEARECAAYFAkmtt8YACgkQts85UDFmaOVKvgCfT6Gy4/2GzPCpHpWvOo7k74sM
-SA0An27v6O7YMjbd6iqDyGVluiM7TFq7
-=s/Bj
+iQEcBAEBCAAGBQJSgOY8AAoJECo/aRed9267soEH/0iz1Im7QstO4wfMchX5SzSJ
+5NiC4E2/8V/3x+AJvggf1fD+jq73gWA/+a8sOnOX+cZ/Or7L4/4o4nvaQKrghzUq
+UdM7h/U19ceyjQ1fQ52tTckbRRh92w7Z0VYnKal7bp3qEBLYGFFGUcSf/8PaM5nb
+K9QfprptO06VTQNjVNabmkK3Y6u5X4yobHptTCWm52shxWY650GIdcnR6zCIjOhB
+2anSfHPkkum43Cwkc4xgstSlgPydg9mJF+WJV8XWhyxMOajDQHRE4WNQ3wka1+ay
+YLBGAmZSOFOOdeg98fAsnOxKh1HE/62OI9B9AUVLzY/VtUVmeBZO6Ep0CpTxSL0=
+=eZFU
-----END PGP SIGNATURE-----
diff --git a/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch b/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch
new file mode 100644
index 000000000000..ff11d841bcec
--- /dev/null
+++ b/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch
@@ -0,0 +1,73 @@
+Fix by Bertrand Jacquin <beber AT meleeweb.net>
+
+Gentoo bugreport: https://bugs.gentoo.org/show_bug.cgi?id=373365
+Upstream bugreport: https://developer.berlios.de/bugs/?func=detailbug&bug_id=18190&group_id=1208
+
+--- configure.in.orig 2011-06-28 16:26:10.000000000 +0200
++++ configure.in 2011-06-28 16:26:12.000000000 +0200
+@@ -104,32 +104,40 @@
+ AC_CHECK_FUNCS(flock fcntl uname gethostname sysinfo getdomainname)
+ AC_CHECK_FUNCS(stricmp random rand snprintf vsnprintf)
+
+-if test "$ac_cv_func_uname" = 'yes'
+-then
+- AC_MSG_CHECKING([for field domainname in struct utsname])
+- AC_TRY_RUN([
+- #include <sys/utsname.h>
++AC_CACHE_CHECK([for field domainname in struct utsname], ac_cv_struct_utsname,
++ [AC_TRY_RUN([
++ #include <sys/utsname.h>
+
+- main(int argc, char **argv)
+- {
+- struct utsname uts;
+- uts.domainname[0] = '\0';
+- }
+- ],
+- AC_MSG_RESULT(yes)
+- AC_DEFINE(HAVE_STRUCT_UTSNAME_DOMAINNAME),
+- AC_MSG_RESULT(no)
+- )
+-fi
++ main(int argc, char **argv)
++ {
++ struct utsname uts;
++ uts.domainname[0] = '\0';
++ }
++ ],
++ ac_cv_struct_utsname=yes,
++ ac_cv_struct_utsname=no,
++ [AC_MSG_ERROR([cross-compiling,
++ presetting ac_cv_struct_utsname=(yes|no) will help])]
++ )
++])
++AS_VAR_IF(ac_cv_struct_utsname, yes,
++ [AC_DEFINE(HAVE_STRUCT_UTSNAME_DOMAINNAME)],
++)
+
+-AC_MSG_CHECKING([for /dev/urandom])
+-if test -c /dev/urandom
+-then
+- AC_MSG_RESULT(yes)
+- AC_DEFINE(HAVE_DEV_URANDOM)
+-else
+- AC_MSG_RESULT(no)
+-fi
++AC_CACHE_CHECK([for /dev/urandom], ac_cv_file__dev_urandom,
++ [AS_IF([test "$cross_compiling" = yes],
++ [AC_MSG_ERROR([cross-compiling,
++ presetting ac_cv_file__dev_urandom=(yes|no) will help])],
++ if test -c /dev/urandom ; then
++ ac_cv_file__dev_urandom=yes
++ else
++ ac_cv_file__dev_urandom=no
++ fi
++ )]
++)
++AS_VAR_IF(ac_cv_file__dev_urandom, yes,
++ [AC_DEFINE(HAVE_DEV_URANDOM)]
++)
+
+ dnl Determine PATH setting
+ echo $ac_n "using the following PATH setting for exec'ed programs... $ac_c" 1>&6
+
diff --git a/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild b/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild
new file mode 100644
index 000000000000..7ce2156ce0c8
--- /dev/null
+++ b/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild,v 1.1 2013/11/11 14:14:16 pinkbyte Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils eutils toolchain-funcs
+
+DESCRIPTION="RadiusClient NextGeneration - library for RADIUS clients accompanied with several client utilities"
+HOMEPAGE="http://developer.berlios.de/projects/radiusclient-ng/"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="static-libs"
+
+DEPEND="!net-dialup/radiusclient
+ !net-dialup/freeradius-client"
+RDEPEND="${DEPEND}"
+
+DOCS=( BUGS CHANGES README )
+HTML_DOCS=( doc/instop.html )
+
+PATCHES=( "${FILESDIR}/${P}-cross-compile.patch" )
+
+src_prepare() {
+ # bug #373365
+ if tc-is-cross-compiler ; then
+ export ac_cv_file__dev_urandom=yes
+ export ac_cv_struct_utsname=no
+ fi
+
+ autotools-utils_src_prepare
+}