summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-dialup/radiusclient
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-dialup/radiusclient')
-rw-r--r--net-dialup/radiusclient/Manifest1
-rw-r--r--net-dialup/radiusclient/files/pkgsysconfdir-install.patch16
-rw-r--r--net-dialup/radiusclient/files/radiusclient-0.3.2-64bit-compat.patch19
-rw-r--r--net-dialup/radiusclient/metadata.xml9
-rw-r--r--net-dialup/radiusclient/radiusclient-0.3.2-r1.ebuild28
-rw-r--r--net-dialup/radiusclient/radiusclient-0.3.2.ebuild32
6 files changed, 105 insertions, 0 deletions
diff --git a/net-dialup/radiusclient/Manifest b/net-dialup/radiusclient/Manifest
new file mode 100644
index 000000000000..bfb0913133ab
--- /dev/null
+++ b/net-dialup/radiusclient/Manifest
@@ -0,0 +1 @@
+DIST radiusclient-0.3.2.tar.gz 147004 SHA256 ebf5efdd6efe385faba39f48b39ebc4ee6857ccf59adf5174a5865ac7c05b6fe SHA512 42a796eb099fdea3df3601fa23ead32b75434ff1c6fa4bd09a1af6ca3fb73cd3957537b22cede5d1b03c9189d230dda0612252466865c251829cea510642e7aa WHIRLPOOL 9c5e609232e8a89c3b0b30b98da4c83e4ac1845dd95eb5e5ab4234fe761c98192d69f79cb17989153d9adf9860610e313504a89c67ee38624bb5cfd9385d8299
diff --git a/net-dialup/radiusclient/files/pkgsysconfdir-install.patch b/net-dialup/radiusclient/files/pkgsysconfdir-install.patch
new file mode 100644
index 000000000000..3c9544a460e9
--- /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-64bit-compat.patch b/net-dialup/radiusclient/files/radiusclient-0.3.2-64bit-compat.patch
new file mode 100644
index 000000000000..49f6afc96245
--- /dev/null
+++ b/net-dialup/radiusclient/files/radiusclient-0.3.2-64bit-compat.patch
@@ -0,0 +1,19 @@
+Gentoo bug report - https://bugs.gentoo.org/show_bug.cgi?id=399433
+Patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321229
+
+--- include/radiusclient.h.orig 2005-08-04 10:50:19.636354682 +0200
++++ include/radiusclient.h 2005-08-04 10:48:47.955569910 +0200
+@@ -38,8 +38,13 @@
+ # define __P(protos) ()
+ #endif
+
++#if !(defined(__x86_64__))
+ typedef unsigned long UINT4;
+ typedef long INT4;
++#else
++typedef unsigned int UINT4;
++typedef int INT4;
++#endif
+
+ #define AUTH_VECTOR_LEN 16
+ #define AUTH_PASS_LEN (3 * 16) /* multiple of 16 */
diff --git a/net-dialup/radiusclient/metadata.xml b/net-dialup/radiusclient/metadata.xml
new file mode 100644
index 000000000000..3f6ad1322e7d
--- /dev/null
+++ b/net-dialup/radiusclient/metadata.xml
@@ -0,0 +1,9 @@
+<?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>
+ <upstream>
+ <remote-id type="freshmeat">radiusclient</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-dialup/radiusclient/radiusclient-0.3.2-r1.ebuild b/net-dialup/radiusclient/radiusclient-0.3.2-r1.ebuild
new file mode 100644
index 000000000000..669b90e70e64
--- /dev/null
+++ b/net-dialup/radiusclient/radiusclient-0.3.2-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils
+
+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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="static-libs"
+
+DEPEND="!net-dialup/radiusclient-ng
+ !net-dialup/freeradius-client"
+RDEPEND="${DEPEND}"
+
+DOCS=( BUGS CHANGES README )
+HTML_DOCS=( doc/instop.html )
+PATCHES=(
+ "${FILESDIR}/pkgsysconfdir-install.patch"
+ "${FILESDIR}/${P}-64bit-compat.patch" # bug #399433
+)
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 000000000000..827557304a92
--- /dev/null
+++ b/net-dialup/radiusclient/radiusclient-0.3.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="!net-dialup/radiusclient-ng
+ !net-dialup/freeradius-client"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/pkgsysconfdir-install.patch"
+ eautoreconf
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README BUGS CHANGES COPYRIGHT
+ dohtml doc/instop.html
+}