summaryrefslogtreecommitdiff
path: root/net-dialup/radiusclient
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2011-07-26 20:17:14 +0200
committerBertrand Jacquin <beber@meleeweb.net>2011-07-26 20:17:14 +0200
commitce10f8b3af7e5c861cf2fb11bcfe81c8ca5d458b (patch)
tree2835f357d718cec0eee3a86bd151d5047bda3569 /net-dialup/radiusclient
parentnet-dialup/freeradius-client: #373369 (diff)
downloadportage-ce10f8b3af7e5c861cf2fb11bcfe81c8ca5d458b.tar.xz
net-dialup/radiusclient: #373347
https://bugs.gentoo.org/show_bug.cgi?id=373347
Diffstat (limited to 'net-dialup/radiusclient')
-rw-r--r--net-dialup/radiusclient/ChangeLog92
-rw-r--r--net-dialup/radiusclient/Manifest6
-rw-r--r--net-dialup/radiusclient/files/pkgsysconfdir-install.patch16
-rw-r--r--net-dialup/radiusclient/files/radiusclient-0.3.2-BJA-cross.diff67
-rw-r--r--net-dialup/radiusclient/metadata.xml6
-rw-r--r--net-dialup/radiusclient/radiusclient-0.3.2.ebuild33
6 files changed, 220 insertions, 0 deletions
diff --git a/net-dialup/radiusclient/ChangeLog b/net-dialup/radiusclient/ChangeLog
new file mode 100644
index 00000000..12346d50
--- /dev/null
+++ b/net-dialup/radiusclient/ChangeLog
@@ -0,0 +1,92 @@
+# ChangeLog for net-dialup/radiusclient
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/radiusclient/ChangeLog,v 1.24 2009/03/03 21:04:24 mrness Exp $
+
+ 03 Mar 2009; Alin Năstac <mrness@gentoo.org> radiusclient-0.3.2.ebuild:
+ Add net-dialup/freeradius-client blocking atom (#234098).
+
+ 01 Dec 2008; Alin Năstac <mrness@gentoo.org> radiusclient-0.3.2.ebuild:
+ Add net-dialup/radiusclient-ng blocking dependency atom (#247950).
+
+ 23 Jun 2008; Alin Năstac <mrness@gentoo.org>
+ files/pkgsysconfdir-install.patch, radiusclient-0.3.2.ebuild:
+ Sanitize patch (#226791).
+
+ 16 Nov 2007; nixnut <nixnut@gentoo.org> radiusclient-0.3.2.ebuild:
+ Stable on ppc wrt bug 198489
+
+ 14 Nov 2007; Jeroen Roovers <jer@gentoo.org> radiusclient-0.3.2.ebuild:
+ Stable for HPPA (bug #198489).
+
+ 11 Nov 2007; Raúl Porcel <armin76@gentoo.org> radiusclient-0.3.2.ebuild:
+ ia64 stable
+
+ 09 Aug 2007; Raúl Porcel <armin76@gentoo.org> radiusclient-0.3.2.ebuild:
+ alpha stable
+
+ 30 Jun 2007; Raúl Porcel <armin76@gentoo.org> radiusclient-0.3.2.ebuild:
+ Add ~alpha wrt #176487
+
+ 07 May 2007; Jeroen Roovers <jer@gentoo.org> radiusclient-0.3.2.ebuild:
+ Marked ~hppa (bug #176487).
+
+ 01 May 2007; Raúl Porcel <armin76@gentoo.org> radiusclient-0.3.2.ebuild:
+ Add ~ia64 wrt bug 176487
+
+ 15 Apr 2007; Alin Năstac <mrness@gentoo.org> radiusclient-0.3.2.ebuild:
+ Stable on amd64.
+
+ 04 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org>
+ radiusclient-0.3.2.ebuild:
+ Stable on Alpha.
+
+ 21 Oct 2006; Thomas Cort <tcort@gentoo.org> radiusclient-0.3.2.ebuild:
+ Added ~alpha keyword.
+
+ 07 May 2006; Markus Rothe <corsair@gentoo.org> radiusclient-0.3.2.ebuild:
+ Stable on ppc64; bug #113908
+
+ 16 Mar 2006; Alin Nastac <mrness@gentoo.org> radiusclient-0.3.2.ebuild:
+ Remove virtual/libc dependency.
+
+ 10 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ radiusclient-0.3.2.ebuild:
+ Stable on sparc
+
+ 17 Dec 2005; Markus Rothe <corsair@gentoo.org> radiusclient-0.3.2.ebuild:
+ Added ~ppc64
+
+ 02 Oct 2005; Jason Wever <weeve@gentoo.org> radiusclient-0.3.2.ebuild:
+ Added ~sparc keyword wrt bug #105512.
+
+ 18 Sep 2005; Tobias Scherbaum <dertobi123@gentoo.org>
+ radiusclient-0.3.2.ebuild:
+ Added ~ppc Keyword
+
+ 12 Sep 2005; Luis Medinas <metalgod@gentoo.org> radiusclient-0.3.2.ebuild:
+ Added ~amd64 keyword. Fix bug #105512.
+
+ 22 May 2005; Alin Nastac <mrness@gentoo.org> -radiusclient-0.4.8.ebuild,
+ -radiusclient-0.5.0.ebuild:
+ Removed versions based on radiusclient-ng tarballs - radiusclient and
+ radiusclient-ng does not implement same functionality. The
+ net-dialup/radiusclient-0.5.0 is now known as
+ net-dialup/radiusclient-ng-0.5.0.
+
+*radiusclient-0.5.0 (16 Apr 2005)
+
+ 16 Apr 2005; Alin Nastac <mrness@gentoo.org> radiusclient-0.4.8.ebuild,
+ +radiusclient-0.5.0.ebuild:
+ Mark stable on x86. Version bump.
+
+*radiusclient-0.4.8 (22 Jan 2005)
+
+ 22 Jan 2005; Alin Nastac <mrness@gentoo.org> +radiusclient-0.4.8.ebuild:
+ Version bumped using radiusclient-ng sources (see bug #78386).
+
+*radiusclient-0.3.2 (21 Nov 2004)
+
+ 21 Nov 2004; Alin Nastac <mrness@gentoo.org> +metadata.xml,
+ +files/pkgsysconfdir-install.patch, +radiusclient-0.3.2.ebuild:
+ Initial import from #71591, thanks to Evan Borgstrom <evan@mirrored.ca>.
+
diff --git a/net-dialup/radiusclient/Manifest b/net-dialup/radiusclient/Manifest
new file mode 100644
index 00000000..5f233a9a
--- /dev/null
+++ b/net-dialup/radiusclient/Manifest
@@ -0,0 +1,6 @@
+AUX pkgsysconfdir-install.patch 805 RMD160 67883cfdbb5e6019dfe9193258c081e7e358af1d SHA1 164de75aefdfd5748b943dd1ad56a18888cf012e SHA256 cde89415675f7743f2def9d57439fdad12d4f60cd836fcaf5ff75161b1f922e3
+AUX radiusclient-0.3.2-BJA-cross.diff 1718 RMD160 edf75095441e75d3775c23660abbe19f3ccbb342 SHA1 f4f0d716daca9aaf290bef7af91eb203c28cdd28 SHA256 945e39f52fe65ebb50254dc2cb879a6b090d1b4f36a99b8556e93ceb3358d47a
+DIST radiusclient-0.3.2.tar.gz 147004 RMD160 b8c446d4b5d9bd4a96cfd0197168dd5857532045 SHA1 77ae265269ff9c0b0b116457b1ca2db1867e2dd9 SHA256 ebf5efdd6efe385faba39f48b39ebc4ee6857ccf59adf5174a5865ac7c05b6fe
+EBUILD radiusclient-0.3.2.ebuild 930 RMD160 25803488bbff6a6744e15ff8e74ada80524f97a8 SHA1 56612b8fbb795c723ee403b9b11ac3f0b2ef67e2 SHA256 e1ac119ad7e46ba43853b53bb57e76f0354d300f612a1583fcb9f7350e2d164b
+MISC ChangeLog 3307 RMD160 e4f9c24092c7486d3db5794c577a8fc60fa4e8e9 SHA1 6530cf8df6be816571116f7fc6d3f23b93537f8c SHA256 2589e8c33c3026846613294503d755fae730c12befedefbe729cc01a629f4e3d
+MISC metadata.xml 277 RMD160 8dcb533009cf735ff00e59a174caf7cfef34dfb2 SHA1 04729a40af3f36630fd8846bb276f61df9d4a0f3 SHA256 f77f11b481e17cc02b88067b28972ea7dbb571842d440f1f6ab4c45a326d81fe
diff --git a/net-dialup/radiusclient/files/pkgsysconfdir-install.patch b/net-dialup/radiusclient/files/pkgsysconfdir-install.patch
new file mode 100644
index 00000000..3c9544a4
--- /dev/null
+++ b/net-dialup/radiusclient/files/pkgsysconfdir-install.patch
@@ -0,0 +1,16 @@
+diff -Nru radiusclient-0.3.2.orig/etc/Makefile.am radiusclient-0.3.2/etc/Makefile.am
+--- radiusclient-0.3.2.orig/etc/Makefile.am 1998-06-28 03:08:16.000000000 +0300
++++ radiusclient-0.3.2/etc/Makefile.am 2004-11-21 09:49:57.556532216 +0200
+@@ -26,9 +26,9 @@
+ <$(srcdir)/radiusclient.conf.in >radiusclient.conf
+
+ install-data-local: servers
+- $(mkinstalldirs) $(pkgsysconfdir); \
+- echo " $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers"; \
+- $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers
++ $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir); \
++ echo " $(INSTALL) -m600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers"; \
++ $(INSTALL) -m600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers
+
+ uninstall-local:
+ rm -f $(pkgsysconfdir)/servers
diff --git a/net-dialup/radiusclient/files/radiusclient-0.3.2-BJA-cross.diff b/net-dialup/radiusclient/files/radiusclient-0.3.2-BJA-cross.diff
new file mode 100644
index 00000000..c0ba27bb
--- /dev/null
+++ b/net-dialup/radiusclient/files/radiusclient-0.3.2-BJA-cross.diff
@@ -0,0 +1,67 @@
+--- configure.in 2002-02-03 14:51:40.000000000 +0100
++++ configure.in 2011-06-28 14:27:20.000000000 +0200
+@@ -89,32 +89,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/metadata.xml b/net-dialup/radiusclient/metadata.xml
new file mode 100644
index 00000000..fcd9ee3e
--- /dev/null
+++ b/net-dialup/radiusclient/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-dialup</herd>
+<longdescription>A library for writing RADIUS clients accompanied with several client utilities</longdescription>
+</pkgmetadata>
diff --git a/net-dialup/radiusclient/radiusclient-0.3.2.ebuild b/net-dialup/radiusclient/radiusclient-0.3.2.ebuild
new file mode 100644
index 00000000..236c64cc
--- /dev/null
+++ b/net-dialup/radiusclient/radiusclient-0.3.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/radiusclient/radiusclient-0.3.2.ebuild,v 1.23 2009/03/03 21:04:24 mrness Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="A library for writing RADIUS clients accompanied with several client utilities."
+HOMEPAGE="http://freshmeat.net/projects/radiusclient/"
+SRC_URI="ftp://ftp.cityline.net/pub/radiusclient/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND="!net-dialup/radiusclient-ng
+ !net-dialup/freeradius-client"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/pkgsysconfdir-install.patch"
+ epatch "${FILESDIR}/${P}-BJA-cross.diff"
+ eautoreconf
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README BUGS CHANGES COPYRIGHT
+ dohtml doc/instop.html
+}