From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-dialup/radiusclient-ng/Manifest | 6 ++ .../radiusclient-ng-0.5.6-cross-compile.patch | 73 ++++++++++++++++++++++ net-dialup/radiusclient-ng/metadata.xml | 10 +++ .../radiusclient-ng-0.5.6-r1.ebuild | 35 +++++++++++ 4 files changed, 124 insertions(+) create mode 100644 net-dialup/radiusclient-ng/Manifest create mode 100644 net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch create mode 100644 net-dialup/radiusclient-ng/metadata.xml create mode 100644 net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild (limited to 'net-dialup/radiusclient-ng') diff --git a/net-dialup/radiusclient-ng/Manifest b/net-dialup/radiusclient-ng/Manifest new file mode 100644 index 000000000000..96bc7061685f --- /dev/null +++ b/net-dialup/radiusclient-ng/Manifest @@ -0,0 +1,6 @@ +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 828 SHA256 207ce00acc4a4ea648f270113fee7725abc05cddd76d76e9ca9c84ce5e864d80 SHA512 6fbec225d66599fa9a7f9e3d341bfd8ab1148dbec221a9d94991217c5d9497eb3acdfee229c08e555612ad8eb76ba45c5e807d4a4195d1d0529de0244cdf3f39 WHIRLPOOL 6fec501fa080fabf6126a7668af5574a9811a536cbf88237b8f9b130a66ba451ef209e9307c392edba28225d29ac08510b404670d8ce0fa7c21bff527eaad9da +MISC ChangeLog 2665 SHA256 65701937ce1fe5721ed1377306b162a272440f864b5c98288ea4ba6438c61696 SHA512 0be98984d9e7c9f4e26a14ec80db08d7b8b5e27ae2f9cae721835b58c435a9f002ead08b5397f31c1f006a3dd02325b0b08c0888c5dd13a8a6116fd78e6fdaca WHIRLPOOL 48a10720002d500bbfe4134d391d6923f77bbfa653bc0bb1741cca87cbd66783c50e79cba478d6ca868e85b6c20844c78b6c158b15d71cf1e0ae9867ab517a1c +MISC ChangeLog-2015 3996 SHA256 552426f6ae3400ebcafe534730f2f6bb0545bef93c9ad7fea995be1d9b7a7a51 SHA512 b4185859519558572b910a50ee33829c927a41e82eca19773ea21264aca2b5393b4997404891dc56774bc0a613c7ba47475b23494a54582af6e683332661ec5b WHIRLPOOL db0a54b0944037e93e5c19d1dfdb6e77c5ecc3bebfe76f50ede2798e21b4c530190ac8c63cc00656738fa1642b61b6a6fef8c3e47cf812fec605892ec4518d9d +MISC metadata.xml 501 SHA256 d572719117dd6b9cf8439225a522045ae9b82ddd163063c0b683ea5fc3e061c9 SHA512 15c33f1f895766cdccccd0b98c0b0d345430c25d4bad768c183f8c817ae7250547662ae5d00df7436190f8a910e8cf33b907d826488c37b98e08fbb63351e01a WHIRLPOOL a3a620b7f34bb0781da032e3ce5b137c13d26c7fe48c9dc5c32043c184707d99548f8f44cdd0b16b05e094089cedf03ac2cda1c75504035fe902a7c11ab3f19f 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 + +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 ++AC_CACHE_CHECK([for field domainname in struct utsname], ac_cv_struct_utsname, ++ [AC_TRY_RUN([ ++ #include + +- 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/metadata.xml b/net-dialup/radiusclient-ng/metadata.xml new file mode 100644 index 000000000000..2dedb58545bc --- /dev/null +++ b/net-dialup/radiusclient-ng/metadata.xml @@ -0,0 +1,10 @@ + + + + + Purpose of this project is to build portable, easy-to-use and standard compliant library suitable for +developing free and commercial software that need support for a RADIUS protocol (RFCs 2128 and 2139). + + radiusclient-ng.berlios + + 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..cc56f4a66300 --- /dev/null +++ b/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils eutils toolchain-funcs + +DESCRIPTION="RadiusClient NextGeneration - library for RADIUS clients" +HOMEPAGE="https://sourceforge.net/projects/radiusclient-ng.berlios/" +SRC_URI="mirror://sourceforge/${PN}.berlios/${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 +} -- cgit v1.2.3