commit: 3c1c8ec6b2f451be52ea81071796aac97dbebace Author: layman <layman <AT> localhost> AuthorDate: Sun Dec 20 21:52:01 2015 +0000 Commit: Mike Auty <ikelos <AT> gentoo <DOT> org> CommitDate: Sun Dec 20 21:52:01 2015 +0000 URL: https://gitweb.gentoo.org/dev/ikelos.git/commit/?id=3c1c8ec6
Add in more recent freeradius. net-dialup/freeradius/ChangeLog | 60 ++ net-dialup/freeradius/ChangeLog-2015 | 710 +++++++++++++++++++++ net-dialup/freeradius/Manifest | 12 + .../freeradius/files/freeradius-2.2.5-gentoo.patch | 104 +++ net-dialup/freeradius/files/radius.conf-r3 | 16 + net-dialup/freeradius/files/radius.init-r3 | 31 + net-dialup/freeradius/freeradius-3.0.10.ebuild | 215 +++++++ net-dialup/freeradius/freeradius-3.0.4.ebuild | 215 +++++++ net-dialup/freeradius/freeradius-3.0.8.ebuild | 215 +++++++ net-dialup/freeradius/metadata.xml | 10 + 10 files changed, 1588 insertions(+) diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog new file mode 100644 index 0000000..014a786 --- /dev/null +++ b/net-dialup/freeradius/ChangeLog @@ -0,0 +1,60 @@ +# ChangeLog for net-dialup/freeradius +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# (auto-generated from git log) + +*freeradius-3.0.3 (09 Aug 2015) +*freeradius-2.2.5 (09 Aug 2015) + + 09 Aug 2015; Robin H. Johnson <robb...@gentoo.org> + +files/freeradius-2.2.5-gentoo.patch, +files/radius.conf-r3, + +files/radius.init-r3, +freeradius-2.2.5.ebuild, +freeradius-3.0.3.ebuild, + +metadata.xml: + 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 <robb...@gentoo.org> + X-Thanks: Alec Warner <anta...@gentoo.org> - did the GSoC 2006 migration + tests + X-Thanks: Robin H. Johnson <robb...@gentoo.org> - infra guy, herding this + project + X-Thanks: Nguyen Thai Ngoc Duy <pclo...@gentoo.org> - Former Gentoo + developer, wrote Git features for the migration + X-Thanks: Brian Harring <ferri...@gentoo.org> - wrote much python to improve + cvs2svn + X-Thanks: Rich Freeman <ri...@gentoo.org> - validation scripts + X-Thanks: Patrick Lauer <patr...@gentoo.org> - Gentoo dev, running new 2014 + work in migration + X-Thanks: Michał Górny <mgo...@gentoo.org> - scripts, QA, nagging + X-Thanks: All of other Gentoo developers - many ideas and lots of paint on + the bikeshed + + 24 Aug 2015; Justin Lecher <j...@gentoo.org> freeradius-2.2.5.ebuild, + metadata.xml: + Use https by default + + Convert all URLs for sites supporting encrypted connections from http to + https + + Signed-off-by: Justin Lecher <j...@gentoo.org> + + 24 Aug 2015; Mike Gilbert <flop...@gentoo.org> metadata.xml: + Revert DOCTYPE SYSTEM https changes in metadata.xml + + repoman does not yet accept the https version. + This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. + + Bug: https://bugs.gentoo.org/552720 + diff --git a/net-dialup/freeradius/ChangeLog-2015 b/net-dialup/freeradius/ChangeLog-2015 new file mode 100644 index 0000000..b6c779b --- /dev/null +++ b/net-dialup/freeradius/ChangeLog-2015 @@ -0,0 +1,710 @@ +# ChangeLog for net-dialup/freeradius +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.132 2015/03/22 07:24:15 ulm Exp $ + + 22 Mar 2015; Ulrich Müller <u...@gentoo.org> freeradius-3.0.3.ebuild: + Fix previous commit. + + 15 Mar 2015; Ulrich Müller <u...@gentoo.org> freeradius-2.2.5.ebuild, + freeradius-3.0.3.ebuild, metadata.xml: + Add conditional bindist restriction and remove bindist USE flag, bug 541452. + + 28 Dec 2014; Aaron W. Swenson <titanof...@gentoo.org> + freeradius-2.2.5.ebuild, freeradius-3.0.3.ebuild: + Rename virtual/postgresql to dev-db/postgresql + + 03 Nov 2014; Aaron W. Swenson <titanof...@gentoo.org> + freeradius-2.2.5.ebuild, freeradius-3.0.3.ebuild: + Update PostgreSQL dependencies and/or checks to virtual/postgresql. + +*freeradius-3.0.3 (07 Jun 2014) + + 07 Jun 2014; Jeroen Roovers <j...@gentoo.org> -freeradius-3.0.2.ebuild, + -freeradius-3.0.2-r1.ebuild, +freeradius-3.0.3.ebuild, files/radius.init-r3: + Version bump. Remove CVS header from script. + + 19 May 2014; Jeroen Roovers <j...@gentoo.org> files/radius.init-r3: + Fix /run subdir to match init.d script. + + 18 May 2014; Jeroen Roovers <j...@gentoo.org> -freeradius-2.2.0.ebuild: + Old. + + 18 May 2014; Agostino Sarubbo <a...@gentoo.org> freeradius-2.2.5.ebuild: + Stable for x86, wrt bug #501754 + + 06 May 2014; Jeroen Roovers <j...@gentoo.org> freeradius-2.2.5.ebuild: + Force LIBTOOL=libtool so that make does not try to run it with /bin/sh (bug + #509472). + + 04 May 2014; Jeroen Roovers <j...@gentoo.org> freeradius-3.0.2-r1.ebuild: + Fix run_dir sed script. + +*freeradius-3.0.2-r1 (04 May 2014) + + 04 May 2014; Jeroen Roovers <j...@gentoo.org> +freeradius-3.0.2-r1.ebuild: + Do not build or install static libraries. + + 04 May 2014; Agostino Sarubbo <a...@gentoo.org> freeradius-2.2.5.ebuild: + Stable for amd64, wrt bug #501754 + + 03 May 2014; Jeroen Roovers <j...@gentoo.org> freeradius-3.0.2.ebuild: + Do not generate and install certificates. Disable parallel make install (bug + #509498). Drop KEYWORDS for now. + + 03 May 2014; Jeroen Roovers <j...@gentoo.org> freeradius-2.2.5.ebuild, + freeradius-3.0.2.ebuild: + Remove configuration hints (bug #455690), move emerge --config suggestion to + preinst, ewarn to elog. + +*freeradius-3.0.2 (03 May 2014) +*freeradius-2.2.5 (03 May 2014) + + 03 May 2014; Jeroen Roovers <j...@gentoo.org> +freeradius-2.2.5.ebuild, + +freeradius-3.0.2.ebuild, +files/freeradius-2.2.5-gentoo.patch, + files/radius.init-r3: + Version bump (bug #489958). Use /run not /var/run. Migrate away from + python.eclass. + + 03 Jan 2014; Naohiro Aota <na...@gentoo.org> freeradius-2.2.0.ebuild: + Add ~x86-fbsd. #354151 + + 26 Nov 2013; Sergey Popov <pinkb...@gentoo.org> freeradius-2.2.0.ebuild: + Remove ruby rlm module support - depends on deprecated Ruby 1.8, not + recommended by upstream for daily usage, bug #483108 + + 10 Mar 2013; Sergey Popov <pinkb...@gentoo.org> freeradius-2.2.0.ebuild: + Change optional postgresql dependency to dev-db/postgresql-base wrt bug + #456900. Thanks to Oleg Gawriloff for discovering this issue + + 11 Feb 2013; Sergey Popov <pinkb...@gentoo.org> freeradius-2.2.0.ebuild: + Fix buidling with app-crypt/heimdal as a kerberos implementation by readding + ${myconf} to configure arguments, wrt bug #454198. Thanks to Georgy Kovtunov + for discovering this issue + + 30 Dec 2012; Diego E. Pettenò <flamee...@gentoo.org> metadata.xml: + Add a local description for the bindist USE flag (bug #448940). + + 28 Dec 2012; Diego E. Pettenò <flamee...@gentoo.org> files/radius.conf-r3, + files/radius.init-r3: + Minimal improvement on the init script. + + 22 Oct 2012; Diego E. Pettenò <flamee...@gentoo.org> files/radius.init-r3: + Remove need net line. + + 04 Oct 2012; Diego E. Pettenò <flamee...@gentoo.org> + -files/freeradius-2.1.10-pkglibdir.patch, + -files/freeradius-2.1.10-qafixes.patch, -files/freeradius-2.1.10-ssl.patch, + -files/freeradius-2.1.10-versionless-la-files.patch, + -files/freeradius-2.1.12-pkglibdir.patch, + -files/freeradius-2.1.12-qafixes.patch, -files/freeradius-2.1.12-ssl.patch, + -files/freeradius-2.1.12-versionless-la-files.patch, -files/radius.conf, + -files/radius.init-r1, -files/radius.init-r2, -freeradius-2.1.11-r1.ebuild, + -freeradius-2.1.12.ebuild, metadata.xml: + Remove old, vulnerable versions. + + 03 Oct 2012; Agostino Sarubbo <a...@gentoo.org> freeradius-2.2.0.ebuild: + Stable for amd64, wrt bug #434802 + + 02 Oct 2012; Andreas Schuerch <native...@gentoo.org> freeradius-2.2.0.ebuild: + x86 stable, see bug 434802 + + 30 Sep 2012; Diego E. Pettenò <flamee...@gentoo.org> + -files/freeradius-2.1.10-ipv6.patch: + Remove one extra file. + + 30 Sep 2012; Diego E. Pettenò <flamee...@gentoo.org> freeradius-2.2.0.ebuild: + Fix configuration file sed; fix Python handling (solves bug #315091). + +*freeradius-2.2.0 (30 Sep 2012) + + 30 Sep 2012; Diego E. Pettenò <flamee...@gentoo.org> +files/radius.conf-r3, + +files/radius.init-r3, +freeradius-2.2.0.ebuild, + -files/freeradius-2.0.5-ssl.patch, -files/freeradius-2.0.5-threads.patch, + -files/freeradius-2.0.5-versionless-la-files.patch, + -files/freeradius-2.1.1-qafixes.patch, -files/freeradius-2.1.1-ssl.patch, + -files/freeradius-2.1.1-versionless-la-files.patch, + -files/freeradius-2.1.3-pkglibdir.patch, + -files/freeradius-2.1.3-qafixes.patch, -files/freeradius-2.1.3-ssl.patch, + -files/freeradius-2.1.3-versionless-la-files.patch, + -files/freeradius-2.1.6-nothreads.patch, + -files/freeradius-2.1.6-pkglibdir.patch, + -files/freeradius-2.1.6-qafixes.patch, -files/freeradius-2.1.6-ssl.patch, + -files/freeradius-2.1.6-versionless-la-files.patch, + -files/freeradius-2.1.7-nothreads.patch, + -files/freeradius-2.1.7-pkglibdir.patch, + -files/freeradius-2.1.7-qafixes.patch, -files/freeradius-2.1.7-ssl.patch, + -files/freeradius-2.1.7-versionless-la-files.patch, metadata.xml: + Remove stale patches. Version bump, ebuild and init script rewrite: patches + are now hosted on dev.gentoo.org instead than in $FILESDIR; remove threads USE + flag (solves bug #296907); enable DHCP support unconditionally, as it's not an + extra dependency (solves bug #376721); add "old" directory to SRC_URI (solves + bug #398771); adds sqlite support (solves bug #401569) as well as oracle + (untested), iodbc and unixodbc; make readline, python and pcap optional; use + REQUIRED_USE to disallow firebird support for bindist packages; support + USE=-ssl properly; always turn on optional features that add no extra + dependencies, including experimental modules (drops frascend, frxp and + udpfromto USE flags); enable edirectory support when ldap is enabled (drops + edirectory USE flag); add pkg_config function to generate required TLS + certificates; new init script uses the latest runscript syntax support, which + allows for detecting crashed radiusd instances. + +*freeradius-2.1.11-r1 (09 Jul 2012) + + 09 Jul 2012; Lars Wendler <polynomia...@gentoo.org> + -freeradius-2.1.11.ebuild, +freeradius-2.1.11-r1.ebuild: + non-maintainer commit: Fix user/group bug for stable radius as well (bug + #397609). Revision bump committed straight to stable. + + 14 Jun 2012; Lars Wendler <polynomia...@gentoo.org> -freeradius-2.0.5.ebuild, + -freeradius-2.1.1.ebuild, -freeradius-2.1.3-r1.ebuild, + -freeradius-2.1.6.ebuild, -freeradius-2.1.7.ebuild, + -freeradius-2.1.10.ebuild, freeradius-2.1.11.ebuild, + freeradius-2.1.12.ebuild: + non-maintainer commit: Fixed bug #397609. Removed old versions. + + 14 Jun 2012; Zac Medico <zmed...@gentoo.org> freeradius-2.0.5.ebuild, + freeradius-2.1.1.ebuild, freeradius-2.1.10.ebuild, freeradius-2.1.11.ebuild, + freeradius-2.1.12.ebuild, freeradius-2.1.3-r1.ebuild, freeradius-2.1.6.ebuild, + freeradius-2.1.7.ebuild: + inherit user for enewgroup and enewuser, and flag-o-matic for append-flags + + 06 Apr 2012; Pacho Ramos <pa...@gentoo.org> metadata.xml: + Drop maintainer due retirement, bug #63588 + + 26 Nov 2011; Markos Chandras <hwoar...@gentoo.org> freeradius-2.1.11.ebuild: + Stable on amd64 wrt bug #339389 + +*freeradius-2.1.12 (20 Nov 2011) + + 20 Nov 2011; Alin Năstac <mrn...@gentoo.org> + files/freeradius-2.1.10-qafixes.patch, +freeradius-2.1.12.ebuild, + +files/freeradius-2.1.12-pkglibdir.patch, + +files/freeradius-2.1.12-qafixes.patch, +files/freeradius-2.1.12-ssl.patch, + +files/freeradius-2.1.12-versionless-la-files.patch, +files/radius.init-r2: + Allow radius service to start even if /var/log/radius directory is missing + (#385443). Adapt init script to openrc requirements (#386111). Version bump + with a changed daemon user/group (radius iso radiusd). + + 13 Oct 2011; Andreas Schuerch <native...@gentoo.org> + freeradius-2.1.11.ebuild: + x86 stable, security bug 339389. + + 06 Oct 2011; Markos Chandras <hwoar...@gentoo.org> freeradius-2.1.11.ebuild: + Port ebuild to EAPI4 so we can use REQUIRED_USE for frxp and threads. Bug + #385575 + +*freeradius-2.1.11 (26 Sep 2011) + + 26 Sep 2011; Markos Chandras <hwoar...@gentoo.org> +freeradius-2.1.11.ebuild: + Non-maintainer version bump. Thanks to Bjarke Istrup Pedersen + <gurlige...@gentoo.org>. Bug #384027 + +*freeradius-2.1.10 (26 May 2011) + + 26 May 2011; Markos Chandras <hwoar...@gentoo.org> +freeradius-2.1.10.ebuild, + +files/freeradius-2.1.10-ipv6.patch, + +files/freeradius-2.1.10-pkglibdir.patch, + +files/freeradius-2.1.10-qafixes.patch, +files/freeradius-2.1.10-ssl.patch, + +files/freeradius-2.1.10-versionless-la-files.patch: + Version bump. Thanks to Christian Franke <nobody-gen...@nowhere.ws>. Bug + 308449 + + 17 Jun 2010; Patrick Lauer <patr...@gentoo.org> freeradius-2.0.5.ebuild, + freeradius-2.1.1.ebuild, freeradius-2.1.3-r1.ebuild, + freeradius-2.1.6.ebuild, freeradius-2.1.7.ebuild: + Migrating away from deprecated postgres virtuals + +*freeradius-2.1.7 (05 Dec 2009) + + 05 Dec 2009; Alin Năstac <mrn...@gentoo.org> +freeradius-2.1.7.ebuild, + +files/freeradius-2.1.7-nothreads.patch, + +files/freeradius-2.1.7-pkglibdir.patch, + +files/freeradius-2.1.7-qafixes.patch, +files/freeradius-2.1.7-ssl.patch, + +files/freeradius-2.1.7-versionless-la-files.patch: + Version bump (#295438). + + 12 Sep 2009; Alin Năstac <mrn...@gentoo.org> + -files/freeradius-1.1.7-qa-fixes.patch, -files/freeradius-1.1.7-ssl.patch, + -files/freeradius-1.1.7-versionless-la-files.patch, -files/radius.init, + -freeradius-1.1.7.ebuild: + Remove version 1.1.7 wrt security bug 284454. + + 05 Sep 2009; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-2.1.6-nothreads.patch, freeradius-2.1.6.ebuild: + Fix compile error when built without threads support (#283475). + +*freeradius-2.1.6 (23 Aug 2009) + + 23 Aug 2009; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-2.1.6-pkglibdir.patch, + +files/freeradius-2.1.6-qafixes.patch, +files/freeradius-2.1.6-ssl.patch, + +files/freeradius-2.1.6-versionless-la-files.patch, + +freeradius-2.1.6.ebuild: + Version bump. + + 31 Jul 2009; Samuli Suominen <ssuomi...@gentoo.org> + freeradius-1.1.7.ebuild, freeradius-2.0.5.ebuild, freeradius-2.1.1.ebuild, + freeradius-2.1.3-r1.ebuild: + Move USE default udpfromto from profiles/base/package.use to here. + +*freeradius-2.1.3-r1 (05 Mar 2009) + + 05 Mar 2009; Alin Năstac <mrn...@gentoo.org> + files/freeradius-2.1.3-qafixes.patch, -freeradius-2.1.3.ebuild, + +freeradius-2.1.3-r1.ebuild: + Fix compile errors on systems with libtool-2 (#261189). Add readline and + libpcap dependency atoms. + +*freeradius-2.1.3 (01 Mar 2009) + + 01 Mar 2009; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-2.1.3-pkglibdir.patch, + +files/freeradius-2.1.3-qafixes.patch, +files/freeradius-2.1.3-ssl.patch, + +files/freeradius-2.1.3-versionless-la-files.patch, + +freeradius-2.1.3.ebuild: + Version bump. Remove static libraries and install rlm modules in pkglibdir + (#253136). + +*freeradius-2.1.1 (12 Oct 2008) + + 12 Oct 2008; Alin Năstac <mrn...@gentoo.org> + -files/freeradius-2.0.3-check-radiusd.patch, + -files/freeradius-2.0.3-ssl.patch, + -files/freeradius-2.0.3-versionless-la-files.patch, + -files/freeradius-2.0.4-gnu-source.patch, + -files/freeradius-2.0.4-ssl.patch, + -files/freeradius-2.0.4-versionless-la-files.patch, + +files/freeradius-2.1.1-qafixes.patch, +files/freeradius-2.1.1-ssl.patch, + +files/freeradius-2.1.1-versionless-la-files.patch, + -freeradius-2.0.3.ebuild, -freeradius-2.0.4-r1.ebuild, + +freeradius-2.1.1.ebuild: + Version bump. + + 31 Aug 2008; Alin Năstac <mrn...@gentoo.org> metadata.xml: + Update udpfromto USE flag description (#235688). + + 23 Aug 2008; Doug Goldstein <car...@gentoo.org> metadata.xml: + add GLEP 56 USE flag desc from use.local.desc + + 15 Aug 2008; Markus Meier <mae...@gentoo.org> freeradius-2.0.5.ebuild: + amd64/x86 stable, bug #234303 + + 04 Jul 2008; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-2.0.5-threads.patch, freeradius-2.0.5.ebuild: + Fix broken build when threads USE flag is disabled (#230639). + +*freeradius-2.0.5 (01 Jul 2008) + + 01 Jul 2008; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-2.0.5-ssl.patch, + +files/freeradius-2.0.5-versionless-la-files.patch, + +freeradius-2.0.5.ebuild: + Version bump - fixes randomization of the listening port when compiled with + gcc-4.3 -O2 (#228887). + +*freeradius-2.0.4-r1 (14 Jun 2008) + + 14 Jun 2008; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-2.0.4-gnu-source.patch, -freeradius-2.0.4.ebuild, + +freeradius-2.0.4-r1.ebuild: + Fix bugs #225725 and #225937, thanks to Mathieu Segaud + <mathieu.seg...@regala.cx>. + + 21 May 2008; Tiziano Müller <dev-z...@gentoo.org> + freeradius-1.1.7.ebuild, freeradius-2.0.3.ebuild, freeradius-2.0.4.ebuild: + Changed dependency for postgresql from dev-db/postgresql to + virtual/postgresql-server + +*freeradius-2.0.4 (14 May 2008) + + 14 May 2008; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-2.0.4-ssl.patch, + +files/freeradius-2.0.4-versionless-la-files.patch, +files/radius.init-r1, + +freeradius-2.0.4.ebuild: + Version bump which fixes bug #218843. + + 14 Apr 2008; Alin Năstac <mrn...@gentoo.org> freeradius-1.1.7.ebuild, + freeradius-2.0.3.ebuild: + Install pam file (#210822). + +*freeradius-2.0.3 (13 Apr 2008) + + 13 Apr 2008; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-2.0.3-check-radiusd.patch, + +files/freeradius-2.0.3-ssl.patch, + +files/freeradius-2.0.3-versionless-la-files.patch, + +freeradius-2.0.3.ebuild: + Version bump. + + 30 Nov 2007; Alin Năstac <mrn...@gentoo.org> freeradius-1.1.7.ebuild: + Disable firebird support when bindist USE flag is enabled (#200284). + + 05 Nov 2007; Alin Năstac <mrn...@gentoo.org> + -files/freeradius-1.1.6-qa-fixes.patch, -files/freeradius-1.1.6-ssl.patch, + -files/freeradius-1.1.6-versionless-la-files.patch, + -freeradius-1.1.6.ebuild, freeradius-1.1.7.ebuild: + Remove old version. Remove useless pkg_preinst function. + + 24 Sep 2007; Christian Faulhammer <op...@gentoo.org> + freeradius-1.1.7.ebuild: + stable x86, bug #193482 + + 23 Sep 2007; Alin Năstac <mrn...@gentoo.org> files/radius.init, + freeradius-1.1.7.ebuild: + Don't stop radiusd service in prerm anymore since /var/run/radius is no + longer removed by portage during update. Stable on amd64. + +*freeradius-1.1.7 (25 Aug 2007) + + 25 Aug 2007; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-1.1.7-qa-fixes.patch, +files/freeradius-1.1.7-ssl.patch, + +files/freeradius-1.1.7-versionless-la-files.patch, + +freeradius-1.1.7.ebuild: + Version bump. + + 11 Jul 2007; Alin Năstac <mrn...@gentoo.org> + -files/freeradius-1.1.3-nostrip.patch, -files/freeradius-1.1.3-ssl.patch, + -files/freeradius-1.1.3-versionless-la-files.patch, + -files/freeradius-1.1.4-nostrip.patch, -files/freeradius-1.1.4-ssl.patch, + -files/freeradius-1.1.4-versionless-la-files.patch, + -files/freeradius-1.1.5-nostrip.patch, + -files/freeradius-1.1.5-qa-fixes.patch, -files/freeradius-1.1.5-ssl.patch, + -files/freeradius-1.1.5-versionless-la-files.patch, + -freeradius-1.1.3-r2.ebuild, -freeradius-1.1.4.ebuild, + -freeradius-1.1.5-r1.ebuild: + Remove obsolete versions. + + 06 Jul 2007; Markus Rothe <cors...@gentoo.org> freeradius-1.1.5-r1.ebuild, + freeradius-1.1.6.ebuild: + Added ~ppc64; bug #184389 + + 12 Apr 2007; Christian Faulhammer <op...@gentoo.org> + freeradius-1.1.6.ebuild: + stable x86, security bug 174292 + + 12 Apr 2007; <w...@gentoo.org> freeradius-1.1.6.ebuild: + Stable on amd64 wrt bug 174292 + +*freeradius-1.1.6 (12 Apr 2007) + + 12 Apr 2007; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-1.1.6-qa-fixes.patch, +files/freeradius-1.1.6-ssl.patch, + +files/freeradius-1.1.6-versionless-la-files.patch, metadata.xml, + +freeradius-1.1.6.ebuild: + Version bump wrt security bug #174292. + +*freeradius-1.1.5-r1 (22 Mar 2007) + + 22 Mar 2007; Alin Năstac <mrn...@gentoo.org> + files/freeradius-1.1.5-qa-fixes.patch, -freeradius-1.1.5.ebuild, + +freeradius-1.1.5-r1.ebuild: + Remove disabled database drivers from the stable rlm_sql drivers (#171723). + Autotools cleanup. More QA fixes. + +*freeradius-1.1.5 (17 Mar 2007) + + 17 Mar 2007; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-1.1.5-nostrip.patch, + +files/freeradius-1.1.5-qa-fixes.patch, +files/freeradius-1.1.5-ssl.patch, + +files/freeradius-1.1.5-versionless-la-files.patch, + +freeradius-1.1.5.ebuild: + Version bump (#171050). Add firebird USE flag. + + 20 Jan 2007; Alin Năstac <mrn...@gentoo.org> freeradius-1.1.4.ebuild: + Remove firebird support (#162860). + +*freeradius-1.1.4 (18 Jan 2007) + + 18 Jan 2007; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-1.1.4-nostrip.patch, +files/freeradius-1.1.4-ssl.patch, + +files/freeradius-1.1.4-versionless-la-files.patch, + -freeradius-1.1.3-r1.ebuild, freeradius-1.1.3-r2.ebuild, + +freeradius-1.1.4.ebuild: + Stable on amd64 and x86. Version bump. + +*freeradius-1.1.3-r2 (14 Dec 2006) + + 14 Dec 2006; Alin Năstac <mrn...@gentoo.org> + +files/freeradius-1.1.3-ssl.patch, +freeradius-1.1.3-r2.ebuild: + Link libeap with -lssl (#158062). + + 23 Nov 2006; Francesco Riosa <v...@gentoo.org> freeradius-1.1.3-r1.ebuild: + dev-db/mysql => virtual/mysql + + 18 Nov 2006; Alin Nastac <mrn...@gentoo.org> + -files/freeradius-1.1.1-libradius_install.patch, + -files/freeradius-1.1.1-versionless-la-files.patch, + -files/freeradius-1.1.1-whole-archive-gentoo.patch, -files/radwatch.init, + -freeradius-1.1.1-r1.ebuild: + Remove obsolete version. + +*freeradius-1.1.3-r1 (21 Oct 2006) + + 21 Oct 2006; Alin Nastac <mrn...@gentoo.org> files/radius.init, + -freeradius-1.1.3.ebuild, +freeradius-1.1.3-r1.ebuild: + Fix typo in init script (#152191). Stable on x86 and amd64. + +*freeradius-1.1.3 (09 Sep 2006) + + 09 Sep 2006; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.1.3-nostrip.patch, + +files/freeradius-1.1.3-versionless-la-files.patch, files/radius.init, + +files/radwatch.init, freeradius-1.1.1-r1.ebuild, + +freeradius-1.1.3.ebuild: + Version bump (#145587). Improve init script - the new version don't use + radwatch (#142289). + + 16 Aug 2006; Jon Hood <squink...@gentoo.org> freeradius-1.1.1-r1.ebuild: + Work with multilib-strict, bug #143870. + + 14 May 2006; Alin Nastac <mrn...@gentoo.org> + -files/freeradius-1.1.0-dict-attr-sizeof.patch, + -files/freeradius-1.1.0-libeap-fPIC.patch, + -files/freeradius-1.1.0-whole-archive-gentoo.patch, + -freeradius-1.1.0-r1.ebuild: + Remove old version. + + 21 Apr 2006; Alin Nastac <mrn...@gentoo.org> freeradius-1.1.0-r1.ebuild, + freeradius-1.1.1-r1.ebuild: + Remove pkg_preinst() call from src_install(). See bug #130732. + + 17 Apr 2006; Alin Nastac <mrn...@gentoo.org> freeradius-1.1.1-r1.ebuild: + Remove old versioned .la symlinks in pkg_setup instead pkg_postinst (bug + 129228 comment 4). + +*freeradius-1.1.1-r1 (09 Apr 2006) + + 09 Apr 2006; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.1.1-versionless-la-files.patch, + -freeradius-1.1.1.ebuild, +freeradius-1.1.1-r1.ebuild: + Remove versioned .la symlinks left on filesystem by previous versions and + modify makefiles to install .la files without the versioned symlinks + (#129228). + +*freeradius-1.1.1 (31 Mar 2006) + + 31 Mar 2006; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.1.1-libradius_install.patch, + +files/freeradius-1.1.1-whole-archive-gentoo.patch, + +freeradius-1.1.1.ebuild: + Version bump wrt security bug #127229. + + 12 Mar 2006; Alin Nastac <mrn...@gentoo.org> + -files/freeradius-1.0.5-user-password-ha1.patch, + -files/freeradius-1.0.5-whole-archive-gentoo.patch, + -freeradius-1.0.5-r3.ebuild, freeradius-1.1.0-r1.ebuild: + Remove obsolete version. Quote strings containing env vars. + + 28 Feb 2006; Alin Nastac <mrn...@gentoo.org> freeradius-1.1.0-r1.ebuild: + Add debug USE flag (#124367). Mark as stable on amd64 and x86. + +*freeradius-1.1.0-r1 (28 Jan 2006) + + 28 Jan 2006; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.1.0-dict-attr-sizeof.patch, -freeradius-1.1.0.ebuild, + +freeradius-1.1.0-r1.ebuild: + Fix dictionary reading error on amd64 (#119367). + +*freeradius-1.1.0 (26 Jan 2006) + + 26 Jan 2006; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.1.0-libeap-fPIC.patch, + +files/freeradius-1.1.0-whole-archive-gentoo.patch, + -freeradius-1.0.5.ebuild, -freeradius-1.0.5-r2.ebuild, + +freeradius-1.1.0.ebuild: + Remove obsolete versions. Version bump, with -amd64 keyword (#119367). + + 12 Jan 2006; Alin Nastac <mrn...@gentoo.org> files/radius.init: + Use kill -HUP to reload configuration instead start-stop-daemon --stop + --signal HUP. + + 20 Dec 2005; Alin Nastac <mrn...@gentoo.org> freeradius-1.0.5-r3.ebuild: + Stable on x86 and amd64. + +*freeradius-1.0.5-r3 (13 Nov 2005) + + 13 Nov 2005; Alin Nastac <mrn...@gentoo.org> +freeradius-1.0.5-r3.ebuild: + Fix amd64 compilation error of rlm_eap module by adding -fPIC to CFLAGS (#111909). + +*freeradius-1.0.5-r2 (01 Nov 2005) + + 01 Nov 2005; Alin Nastac <mrn...@gentoo.org> files/radius.init, + -freeradius-1.0.5-r1.ebuild, +freeradius-1.0.5-r2.ebuild: + Create directory /var/run/radiusd at service startup (#111023). + +*freeradius-1.0.5-r1 (16 Oct 2005) + + 16 Oct 2005; Alin Nastac <mrn...@gentoo.org> + -files/freeradius-1.0.4-whole-archive-gentoo.patch, + +files/freeradius-1.0.5-user-password-ha1.patch, files/radius.init, + -freeradius-1.0.4.ebuild, +freeradius-1.0.5-r1.ebuild: + Remove old test version. Change init script for working with user-defined + user/group (#108866). Add support for hashed User-Password under control of + the frxp useflag (#109003). + + 04 Oct 2005; Alin Nastac <mrn...@gentoo.org> + -files/freeradius-1.0.2-sql-escape.patch, + -files/freeradius-1.0.2-whole-archive-gentoo.patch, + -freeradius-1.0.2-r5.ebuild, freeradius-1.0.4.ebuild, + freeradius-1.0.5.ebuild: + Remove obsolete version. Remove COPYRIGHT, INSTALL and LICENSE files from docs. + +*freeradius-1.0.5 (24 Sep 2005) + + 24 Sep 2005; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.0.5-whole-archive-gentoo.patch, + +freeradius-1.0.5.ebuild: + Version bump (#106994). + +*freeradius-1.0.4 (23 Jun 2005) + + 23 Jun 2005; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.0.4-whole-archive-gentoo.patch, files/radius.init, + +freeradius-1.0.4.ebuild: + Version bump. Add reload command to init script. + + 22 May 2005; Alin Nastac <mrn...@gentoo.org> + -files/freeradius-1.0.1-gcc34.patch, files/radius.init, + -freeradius-1.0.1.ebuild, freeradius-1.0.2-r5.ebuild: + Stop radius daemon on upgrade/removal (#93152). Remove obsolete version. + +*freeradius-1.0.2-r5 (19 May 2005) + + 19 May 2005; Alin Nastac <mrn...@gentoo.org> files/radius.init, + -freeradius-1.0.2-r2.ebuild, -freeradius-1.0.2-r4.ebuild, + +freeradius-1.0.2-r5.ebuild: + Use radwatch in init script for preventing potential DoS (#91736). + +*freeradius-1.0.2-r4 (19 May 2005) + + 19 May 2005; Alin Nastac <mrn...@gentoo.org> + files/freeradius-1.0.2-sql-escape.patch, -freeradius-1.0.2-r3.ebuild, + +freeradius-1.0.2-r4.ebuild: + Use the upstream patch for bug #91736. + + 10 May 2005; Alin Nastac <mrn...@gentoo.org> freeradius-1.0.2-r3.ebuild: + Stable on x86 wrt bug #91736. + +*freeradius-1.0.2-r3 (07 May 2005) + + 07 May 2005; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.0.2-sql-escape.patch, +freeradius-1.0.2-r3.ebuild: + Fixed SQL injection & buffer overflow vulnerabilities(#91736). Add support + for Novell eDirectory through edirectory USE flag (#90171). Add udpfromto USE flag. + + 14 Apr 2005; Alin Nastac <mrn...@gentoo.org> freeradius-1.0.1.ebuild, + -freeradius-1.0.2-r1.ebuild, freeradius-1.0.2-r2.ebuild: + Remove old test version and inter-block with cistronradius and gnuradius packages. + + 12 Apr 2005; Jason Wever <we...@gentoo.org> freeradius-1.0.2-r2.ebuild: + Added ~sparc keyword. + +*freeradius-1.0.2-r2 (15 Mar 2005) + + 15 Mar 2005; Alin Nastac <mrn...@gentoo.org> +freeradius-1.0.2-r2.ebuild: + Install SQL schemas into doc dir(#85345). + +*freeradius-1.0.2-r1 (14 Mar 2005) + + 14 Mar 2005; Alin Nastac <mrn...@gentoo.org> files/radius.init, + +freeradius-1.0.2-r1.ebuild, -freeradius-1.0.2.ebuild: + Fix owner of log file (#84341). + + 02 Mar 2005; Alin Nastac <mrn...@gentoo.org> + +files/freeradius-1.0.2-whole-archive-gentoo.patch, + freeradius-1.0.2.ebuild: + Fix broken build when /usr/lib/libshadow.la exists (#82212). + +*freeradius-1.0.2 (28 Feb 2005) + + 28 Feb 2005; Alin Nastac <mrn...@gentoo.org> +files/radius.conf, + +files/radius.init, -files/0.9/radius.conf, -files/0.9/radius.init, + freeradius-1.0.1.ebuild, +freeradius-1.0.2.ebuild: + Bump version. Fix kerberos module when compiled against app-crypt/heimdal + (#77613). + + 17 Oct 2004; David Holm <dh...@gentoo.org> freeradius-1.0.1.ebuild: + Added to ~ppc. + + 29 Sep 2004; Daniel Black <dragonhe...@gentoo.org> + -freeradius-0.9.3-r1.ebuild, -freeradius-0.9.3.ebuild: + removed due to being vulnerable to DoS attacks and or tagged + attribute handling problems. Thanks solar (via email) + + 23 Sep 2004; Karol Wojtaszek <sekret...@gentoo.org> + +files/freeradius-1.0.1-gcc34.patch, freeradius-1.0.1.ebuild: + Fixed gcc-3.4 compile issues. Bug #64836 + + 20 Sep 2004; Heinrich Wendel <lan...@gentoo.org> freeradius-1.0.1.ebuild: + mark stable on x86 + +*freeradius-1.0.1 (20 Sep 2004) + + 20 Sep 2004; Heinrich Wendel <lan...@gentoo.org> +freeradius-1.0.1.ebuild: + security update, bug #60587 + + 20 Sep 2004; Heinrich Wendel <lan...@gentoo.org> freeradius-0.9.3-r1.ebuild, + freeradius-0.9.3.ebuild: + change to virtual/krb5 + + 01 Jul 2004; Jeremy Huddleston <eradica...@gentoo.org> + freeradius-0.9.3-r1.ebuild, freeradius-0.9.3.ebuild: + virtual/glibc -> virtual/libc + + 18 Jun 2004; Bart Lauwers <blauw...@gentoo.org> freeradius-0.9.3-r1.ebuild, + freeradius-0.9.3.ebuild: + Fix use for snmp to use virual/snmp as it should + + 09 Jun 2004; Aron Griffis <agrif...@gentoo.org> freeradius-0.9.3-r1.ebuild, + freeradius-0.9.3.ebuild: + Fix use invocation + + 27 Apr 2004; Aron Griffis <agrif...@gentoo.org> freeradius-0.9.3-r1.ebuild: + Add inherit eutils + +*freeradius-0.9.3-r1 (03 Apr 2004) + + 03 Apr 2004; Heinrich Wendel <lan...@gentoo.org> freeradius-0.9.3-r1.ebuild, + files/freeradius-0.9.3-rlm_smb.patch: + bug #34424, security patch + + 06 Mar 2004; Heinrich Wendel <lan...@gentoo.org> freeradius-0.8.1.ebuild, + freeradius-0.9.0.ebuild, freeradius-0.9.3.ebuild: + fix bug #43318 (needs automake 2.1); remove old versions + + 08 Dec 2003; Heinrich Wendel <lan...@gentoo.org> freeradius-0.9.0.ebuild, + freeradius-0.9.3.ebuild: + fixed touch .keep -> keepdir + + 24 Nov 2003; <rphill...@gentoo.org> freeradius-0.9.3.ebuild: + changed ebuild to copy over the init files correctly + +*freeradius-0.9.3 (21 Nov 2003) + + 21 Nov 2003; <rphill...@gentoo.org> freeradius-0.9.3.ebuild: + Version bump. Fixes #33989 + + 19 Nov 2003; Heinrich Wendel <lan...@gentoo.org> metadata.xml: + metadata + +*freeradius-0.9.0 (20 Aug 2003) + + 15 Sep 2003; Ryan Phillips <rphill...@gentoo.org> freeradius-0.9.0.ebuild : + Repoman fixes + + 20 Aug 2003; Ryan Phillips <rphill...@gentoo.org> freeradius-0.9.0.ebuild : + Added Oliver Graf's version bump, and tweaked init.d and conf.d scripts + +*freeradius-0.8.1 (22 May 2003) + 22 May 2003; Chuck Brewer <kill...@gentoo.org>: + Added manifest. + +*freeradius-0.8.1 (11 Dec 2002) + + 11 Dec 2002; Ryan Phillips <rphill...@gentoo.org> freeradius-0.8.1.ebuild : + Added David Mallwitz's suggestions. #8940 + +*freeradius-0.8.1 (11 Dec 2002) + + 11 Dec 2002; Ryan Phillips <rphill...@gentoo.org> ChangeLog : + Initial import. Ebuild submitted by Ernesto. Fixes #8940 diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest new file mode 100644 index 0000000..c51f175 --- /dev/null +++ b/net-dialup/freeradius/Manifest @@ -0,0 +1,12 @@ +AUX freeradius-2.2.5-gentoo.patch 3459 SHA256 73dc67b4a59f93b70750c6dff3c92ffca6dd737e151c632dbee50badf2810b11 SHA512 eb51c40828b1f423755f0cf69dbb0df920ee01321ba90b0c02ad1b73a40e0dd56a47ee3bb7b9644fe2488df6384668d2f0e284fc450cc3f84e3b4db262b53d12 WHIRLPOOL ab077890ad747083a9d5cf3de303aab48fd6f2384750f1c5ba977a15c6a9ae7fa5f6ccb40534f766fc2541cc836b6aef02afec6260231f9da8b25935ff3d06f5 +AUX radius.conf-r3 467 SHA256 f76dd3c55117611d636f7fb645e98c58ae733f33cd9ba54a54075368625ddaae SHA512 b28bf4c22e72a3074aba79f7edeb48b69cc0e7671f7023e8888846dec6db4a428c6d1a0803b714fd9b9b3f45bbc1bad93cfa7911d716a856505da043c1f9c6d5 WHIRLPOOL d6e6847fa3aa45e8cb9ba370eaa8f1df33e3b29e121392369e251a71543c21413940fae2bca5d75553d0d91bc06541f00df301171ad9b3a6dc20f481d87e9e99 +AUX radius.init-r3 733 SHA256 fd4435217237f828a89315d5a184ee0f4b0b19b4166a42097ccffc62a48baf6b SHA512 11c4faa8875b9a8a9e6c41f3c11aa8b5bb1e7b26ea5bc2d126eeb5e341a4fe7ba859244267ae3ae2cfc15d98c925141e2cb7d61f526a3d67ebe318918f73d173 WHIRLPOOL eafce68bb11522d294ae13cb90896dc061e17988f8043c91d230fad9348933f3d27ea03f3f2d05a9a079c4d33671276274f6692c46850e9807e3a05c231e6bb0 +DIST freeradius-server-3.0.10.tar.gz 4789660 SHA256 e8825518bde1d9787f7f9ea1e9fec7ae5282af9c3362d2fa360f60c4db6f77ec SHA512 7546d54ca9ae1189f17fa97a8c6f6e15486d61dda8819b15f883ba48fbd6629f4728ba41490b51cb08eb1399090c16eca1b559c22ee19f3a770f1ce7ce23a8d5 WHIRLPOOL 6edcb31094f91a2f7c4eed9e6d8b295f59f3f9190f1e4384bc818d3d8e3e7f73315fd0c66967ecd08657e292c43c4bd238a0247709522afd1e44b0d9e44e4478 +DIST freeradius-server-3.0.4.tar.gz 4376773 SHA256 56919b25d5b2ff301cb37278494498f35d8c58986c33d693d6c0cd757a4a1fe9 SHA512 556b9f8b1fb8850a943e40a66ae0491794297ac77ec958f7c863f68fb6365b0390fb369ce77875d90f5151a61e29c3443d0159f3c32111c6fc112af7e5b9e116 WHIRLPOOL 0bb1b35d1d479ecb8301ce3908e462610547763b987ebfe69116ba46284cf76281b389fd91b81d9882708631e263b6eac238002586239b4e23f4c2466f2d955c +DIST freeradius-server-3.0.8.tar.gz 4656262 SHA256 c27252d7a86ba252904612d9b1f90e846f3ef1f4afee6a748f5287b730e87e3a SHA512 89aabc474e95226eeb5003feef40fbe240f28aa65c40e0566a9bec08991d95fab83826f3b14f416cf4d7d832a814912521cb3c83097c1a2ce5d3e3537ee3a732 WHIRLPOOL 62e799a7f62e6bae027d33bbfec30e4aa70e1613e83edd8e5ff1b28c9f00560655a3c6d8a3e00e5f078e07de70cfa750428cd55d0760a2a9f81eab2689e312cf +EBUILD freeradius-3.0.10.ebuild 5384 SHA256 dfdf2da2b054f7108e40b9cc04b5e44e39dcfb2020276637d11fcbd1c819c492 SHA512 fb2de61b919894795b099d3f1ba9184f48bb13d2d6e0ba28e689c99502a5617bba627b25d44110b7342b35dc6dd439f3a4cbe411337be833fff4c3765d63e1f7 WHIRLPOOL bd2edbecd107c1dabeaffa022e61d42b249f005160456f7830d24fd8c3921f4cc5f9a5d1f4e6d9e96a6b9c1170af41f72c6563fd79a45194697ad1cd17793141 +EBUILD freeradius-3.0.4.ebuild 5384 SHA256 dfdf2da2b054f7108e40b9cc04b5e44e39dcfb2020276637d11fcbd1c819c492 SHA512 fb2de61b919894795b099d3f1ba9184f48bb13d2d6e0ba28e689c99502a5617bba627b25d44110b7342b35dc6dd439f3a4cbe411337be833fff4c3765d63e1f7 WHIRLPOOL bd2edbecd107c1dabeaffa022e61d42b249f005160456f7830d24fd8c3921f4cc5f9a5d1f4e6d9e96a6b9c1170af41f72c6563fd79a45194697ad1cd17793141 +EBUILD freeradius-3.0.8.ebuild 5384 SHA256 dfdf2da2b054f7108e40b9cc04b5e44e39dcfb2020276637d11fcbd1c819c492 SHA512 fb2de61b919894795b099d3f1ba9184f48bb13d2d6e0ba28e689c99502a5617bba627b25d44110b7342b35dc6dd439f3a4cbe411337be833fff4c3765d63e1f7 WHIRLPOOL bd2edbecd107c1dabeaffa022e61d42b249f005160456f7830d24fd8c3921f4cc5f9a5d1f4e6d9e96a6b9c1170af41f72c6563fd79a45194697ad1cd17793141 +MISC ChangeLog 2234 SHA256 359c8792abaa333784c6afe0123831f0c8b6ede474e238929a7901ad76193406 SHA512 dc950552602660fd02624f843b1a4aec90bc357cc41e7c26b97c7ab266cd25a6c88bb2b501ab3ef22d7648533d01763be2abcd5eda08d102df2d4d4d8e91a6ed WHIRLPOOL 37dab7fe68ed736bd6e5293b8636c57156c6aa87b9ffed29bd9e76b036b92023dae656432436396f3d8f76d096dec27f3e2c2ba25dc59f9e8c69f5712bba4ebf +MISC ChangeLog-2015 28265 SHA256 bebaacc4b68b52c055ba6d19030606cac47a0aae7328b83acc574fa1250e7223 SHA512 4303e8aa36161e358c4fc4f6c6e4d4e44c33a1ede0810928591319e570f4b95d0190f7c36122f4e28a124bc40802c9c4d88ce03913bba6b4572de0e47ba32812 WHIRLPOOL 6ffa9d991348ca09a98ff5b429e90a6591682624cd74e357965d1bed030290a90725b13ee91e0ac0a7ddab512294eb39462a7ee4edeaac0e7b7609427042ef42 +MISC metadata.xml 292 SHA256 2dd425124762370883ff4bda38aea3916b488da4757278911e891c20db752a00 SHA512 e94382e544441b4ed022138fd2d37d7ad7b79c8a3d4c8cf1422f4c8e66d7504346db60d3719fd93059dcf4604e16eb9b9c376d210317ddd45ed2375949a3dc30 WHIRLPOOL 998d68c8a161f31811850f25080bd05ca1ca934e43ce2fc9291ded75f0031521ddaeef7fd81d5a444399bfb935165d9c7853cd590d5fdfd38df23f2f071255ad diff --git a/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch b/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch new file mode 100644 index 0000000..c51597c --- /dev/null +++ b/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch @@ -0,0 +1,104 @@ +--- a/raddb/radiusd.conf.in ++++ b/raddb/radiusd.conf.in +@@ -103,7 +103,7 @@ + # make + # make install + # +-libdir = @libdir@ ++libdir = @libdir@/freeradius + + # pidfile: Where to place the PID of the RADIUS server. + # +--- a/src/modules/Makefile ++++ b/src/modules/Makefile +@@ -12,7 +12,7 @@ + @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common + + install: +- $(INSTALL) -d -m 755 $(R)$(libdir) ++ $(INSTALL) -d -m 755 $(R)$(pkglibdir) + @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common + + clean: +--- a/src/modules/rules.mak ++++ b/src/modules/rules.mak +@@ -122,7 +122,7 @@ + $(TARGET).la: $(RLM_SUBDIRS) $(LT_OBJS) + $(LIBTOOL) --mode=link --tag=CC $(CC) -release $(RADIUSD_VERSION_STRING) \ + -module $(LINK_MODE) $(LDFLAGS) $(RLM_LDFLAGS) -o $@ \ +- -rpath $(libdir) $^ $(LIBRADIUS) $(RLM_LIBS) $(LIBS) ++ -rpath $(pkglibdir) $^ $(LIBRADIUS) $(RLM_LIBS) $(LIBS) + + ####################################################################### + # +@@ -163,13 +163,11 @@ + # Do any module-specific installation. + # + # If there isn't a TARGET defined, then don't do anything. +-# Otherwise, install the libraries into $(libdir) ++# Otherwise, install the libraries into $(pkglibdir) + # + install: + @[ "x$(RLM_INSTALL)" = "x" ] || $(MAKE) $(MFLAGS) $(RLM_INSTALL) + if [ "x$(TARGET)" != "x" ]; then \ + $(LIBTOOL) --mode=install $(INSTALL) -c \ +- $(TARGET).la $(R)$(libdir)/$(TARGET).la || exit $$?; \ +- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la; \ +- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la || exit $$?; \ ++ $(TARGET).la $(R)$(pkglibdir)/$(TARGET).la || exit $$?; \ + fi +--- a/src/modules/rlm_sql/drivers/rules.mak ++++ b/src/modules/rlm_sql/drivers/rules.mak +@@ -103,7 +103,7 @@ + $(TARGET).la: $(LT_OBJS) + $(LIBTOOL) --mode=link --tag=CC $(CC) -release $(RADIUSD_VERSION_STRING) \ + -module $(LINK_MODE) $(LDFLAGS) $(RLM_SQL_LDFLAGS) -o $@ \ +- -rpath $(libdir) $^ $(RLM_SQL_LIBS) ++ -rpath $(pkglibdir) $^ $(RLM_SQL_LIBS) + + ####################################################################### + # +@@ -141,12 +141,10 @@ + # Do any module-specific installation. + # + # If there isn't a TARGET defined, then don't do anything. +-# Otherwise, install the libraries into $(libdir) ++# Otherwise, install the libraries into $(pkglibdir) + # + install: + if [ "x$(TARGET)" != "x" ]; then \ + $(LIBTOOL) --mode=install $(INSTALL) -c \ +- $(TARGET).la $(R)$(libdir)/$(TARGET).la || exit $$?; \ +- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la; \ +- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la || exit $$?; \ ++ $(TARGET).la $(R)$(pkglibdir)/$(TARGET).la || exit $$?; \ + fi +--- a/src/lib/Makefile ++++ b/src/lib/Makefile +@@ -42,7 +42,7 @@ + + $(TARGET).la: $(LT_OBJS) + $(LIBTOOL) --mode=link --tag=CC $(CC) -release $(RADIUSD_VERSION) \ +- $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ ++ $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ $(LIBS) + + $(LT_OBJS): $(INCLUDES) + +@@ -54,7 +54,5 @@ + $(INSTALL) -d -m 755 $(R)$(libdir) + $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la \ + $(R)$(libdir)/$(TARGET).la +- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la; +- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la + + reconfig: +--- a/Make.inc.in ++++ b/Make.inc.in +@@ -10,6 +10,7 @@ + sysconfdir = @sysconfdir@ + localstatedir = @localstatedir@ + libdir = @libdir@ ++pkglibdir = @libdir@/freeradius + bindir = @bindir@ + sbindir = @sbindir@ + docdir = @docdir@ diff --git a/net-dialup/freeradius/files/radius.conf-r3 b/net-dialup/freeradius/files/radius.conf-r3 new file mode 100644 index 0000000..3c1bf32 --- /dev/null +++ b/net-dialup/freeradius/files/radius.conf-r3 @@ -0,0 +1,16 @@ +# Config file for /etc/init.d/radiusd + +# see man pages for radiusd run `radiusd -h` +# for valid cmdline options +#RADIUSD_OPTS="" + +# Change this value if you change it in /etc/raddb/radiusd.conf +pidfile=/var/run/radiusd/radiusd.pid + +# Change these values if you change them in /etc/raddb/radiusd.conf +#RADIUSD_USER=radius +#RADIUSD_GROUP=radius + +# If you set up logging to syslog in /etc/raddb/radiusd.conf, you want +# to uncomment the following line. +#rc_use="logger" diff --git a/net-dialup/freeradius/files/radius.init-r3 b/net-dialup/freeradius/files/radius.init-r3 new file mode 100644 index 0000000..e5e607c --- /dev/null +++ b/net-dialup/freeradius/files/radius.init-r3 @@ -0,0 +1,31 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/sbin/radiusd +command_args="${RADIUSD_OPTS}" +pidfile="${pidfile:-/run/radiusd/radiusd.pid}" +extra_started_commands="reload" + +depend() { + need localmount + use dns +} + +start_pre() { + if [ ! -f /etc/raddb/radiusd.conf ] ; then + eerror "No /etc/raddb/radiusd.conf file exists!" + return 1 + fi + + checkpath -m0750 -o "${RADIUSD_USER:-root}:${RADIUSD_GROUP:-root}" -d \ + $(dirname ${pidfile}) /var/log/radius + checkpath -m0750 -o "${RADIUSD_USER:-root}:${RADIUSD_GROUP:-root}" -d \ + $(dirname ${pidfile}) /run/radiusd +} + +reload() { + ebegin "Reloading radiusd" + kill -HUP $(cat ${pidfile}) + eend $? +} diff --git a/net-dialup/freeradius/freeradius-3.0.10.ebuild b/net-dialup/freeradius/freeradius-3.0.10.ebuild new file mode 100644 index 0000000..15ecb9d --- /dev/null +++ b/net-dialup/freeradius/freeradius-3.0.10.ebuild @@ -0,0 +1,215 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit autotools eutils pam python-any-r1 user + +PATCHSET=4 + +MY_P="${PN}-server-${PV}" + +DESCRIPTION="Highly configurable free RADIUS server" +SRC_URI=" + ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz + ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz +" +HOMEPAGE="http://www.freeradius.org/" + +KEYWORDS="~x86 ~amd64" +LICENSE="GPL-2" +SLOT="0" + +IUSE=" + debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap + postgres python readline sqlite ssl +" +RESTRICT="test firebird? ( bindist )" + +RDEPEND="!net-dialup/cistronradius + !net-dialup/gnuradius + sys-devel/libtool + dev-lang/perl + sys-libs/gdbm + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline ) + pcap? ( net-libs/libpcap ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + firebird? ( dev-db/firebird ) + pam? ( virtual/pam ) + ssl? ( dev-libs/openssl ) + ldap? ( net-nds/openldap ) + kerberos? ( virtual/krb5 ) + sqlite? ( dev-db/sqlite:3 ) + odbc? ( dev-db/unixODBC ) + iodbc? ( dev-db/libiodbc ) + oracle? ( dev-db/oracle-instantclient-basic )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup radius + enewuser radius -1 -1 /var/log/radius radius + + python-any-r1_pkg_setup + export PYTHONBIN="${EPYTHON}" +} + +src_prepare() { + # most of the configuration options do not appear as ./configure + # switches. Instead it identifies the directories that are available + # and run through them. These might check for the presence of + # various libraries, in which case they are not built. To avoid + # automagic dependencies, we just remove all the modules that we're + # not interested in using. + + use ssl || rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} + use ldap || rm -r src/modules/rlm_ldap + use kerberos || rm -r src/modules/rlm_krb5 + use pam || rm -r src/modules/rlm_pam + use python || rm -r src/modules/rlm_python + # Do not install ruby rlm module, bug #483108 + rm -r src/modules/rlm_ruby + + # these are all things we don't have in portage/I don't want to deal + # with myself + rm -r src/modules/rlm_eap/types/rlm_eap_tnc # requires TNCS library + rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 # requires libeap-ikev2 + rm -r src/modules/rlm_opendirectory # requires some membership.h + rm -r src/modules/rlm_redis{,who} # requires redis + rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} + + # sql drivers that are not part of experimental are loaded from a + # file, so we have to remove them from the file itself when we + # remove them. + usesqldriver() { + local flag=$1 + local driver=rlm_sql_${2:-${flag}} + + if ! use ${flag}; then + rm -r src/modules/rlm_sql/drivers/${driver} || die + sed -i -e /${driver}/d src/modules/rlm_sql/stable || die + fi + } + + sed -i \ + -e 's:/var/run/radiusd:/run/radiusd:g' \ + -e '/^run_dir/s:${localstatedir}::g' \ + raddb/radiusd.conf.in || die + + # verbosity + # build shared libraries using jlibtool --shared + sed -i \ + -e '/$(LIBTOOL)/s|--quiet ||g' \ + -e 's:--mode=\(compile\|link\):& --shared:g' \ + Make.inc.in || die + + sed -i \ + -e 's|--silent ||g' \ + -e 's:--mode=\(compile\|link\):& --shared:g' \ + scripts/libtool.mk || die + + # crude measure to stop jlibtool from running ranlib and ar + sed -i \ + -e '/LIBRARIAN/s|".*"|"true"|g' \ + -e '/RANLIB/s|".*"|"true"|g' \ + scripts/jlibtool.c || die + + usesqldriver mysql + usesqldriver postgres postgresql + usesqldriver firebird + usesqldriver iodbc + usesqldriver odbc unixodbc + usesqldriver oracle + usesqldriver sqlite + + epatch_user + + eautoreconf +} + +src_configure() { + # fix bug #77613 + if has_version app-crypt/heimdal; then + myconf="${myconf} --enable-heimdal-krb5" + fi + + use readline || export ac_cv_lib_readline=no + use pcap || export ac_cv_lib_pcap_pcap_open_live=no + + # do not try to enable static with static-libs; upstream is a + # massacre of libtool best practices so you also have to make sure + # to --enable-shared explicitly. + econf \ + --enable-shared \ + --disable-static \ + --disable-ltdl-install \ + --with-system-libtool \ + --with-system-libltdl \ + --with-ascend-binary \ + --with-udpfromto \ + --with-dhcp \ + --with-iodbc-include-dir=/usr/include/iodbc \ + --with-experimental-modules \ + --with-docdir=/usr/share/doc/${PF} \ + --with-logdir=/var/log/radius \ + $(use_enable debug developer) \ + $(use_with ldap edir) \ + $(use_with ssl openssl) \ + ${myconf} +} + +src_compile() { + # verbose, do not generate certificates + emake \ + Q='' ECHO=true \ + LOCAL_CERT_PRODUCTS='' +} + +src_install() { + dodir /etc + diropts -m0750 -o root -g radius + dodir /etc/raddb + diropts -m0750 -o radius -g radius + dodir /var/log/radius + keepdir /var/log/radius/radacct + diropts + + # verbose, do not install certificates + emake -j1 \ + Q='' ECHO=true \ + LOCAL_CERT_PRODUCTS='' \ + R="${D}" \ + install + + fowners -R root:radius /etc/raddb + + pamd_mimic_system radiusd auth account password session + + dodoc CREDITS + + rm "${D}/usr/sbin/rc.radiusd" + + newinitd "${FILESDIR}/radius.init-r3" radiusd + newconfd "${FILESDIR}/radius.conf-r3" radiusd + + prune_libtool_files +} + +pkg_config() { + if use ssl; then + cd "${ROOT}"/etc/raddb/certs + ./bootstrap + fi +} + +pkg_preinst() { + if ! has_version ${CATEGORY}/${PN} && use ssl; then + elog "You have to run \`emerge --config =${CATEGORY}/${PF}\` to be able" + elog "to start the radiusd service." + fi +} diff --git a/net-dialup/freeradius/freeradius-3.0.4.ebuild b/net-dialup/freeradius/freeradius-3.0.4.ebuild new file mode 100644 index 0000000..15ecb9d --- /dev/null +++ b/net-dialup/freeradius/freeradius-3.0.4.ebuild @@ -0,0 +1,215 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit autotools eutils pam python-any-r1 user + +PATCHSET=4 + +MY_P="${PN}-server-${PV}" + +DESCRIPTION="Highly configurable free RADIUS server" +SRC_URI=" + ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz + ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz +" +HOMEPAGE="http://www.freeradius.org/" + +KEYWORDS="~x86 ~amd64" +LICENSE="GPL-2" +SLOT="0" + +IUSE=" + debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap + postgres python readline sqlite ssl +" +RESTRICT="test firebird? ( bindist )" + +RDEPEND="!net-dialup/cistronradius + !net-dialup/gnuradius + sys-devel/libtool + dev-lang/perl + sys-libs/gdbm + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline ) + pcap? ( net-libs/libpcap ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + firebird? ( dev-db/firebird ) + pam? ( virtual/pam ) + ssl? ( dev-libs/openssl ) + ldap? ( net-nds/openldap ) + kerberos? ( virtual/krb5 ) + sqlite? ( dev-db/sqlite:3 ) + odbc? ( dev-db/unixODBC ) + iodbc? ( dev-db/libiodbc ) + oracle? ( dev-db/oracle-instantclient-basic )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup radius + enewuser radius -1 -1 /var/log/radius radius + + python-any-r1_pkg_setup + export PYTHONBIN="${EPYTHON}" +} + +src_prepare() { + # most of the configuration options do not appear as ./configure + # switches. Instead it identifies the directories that are available + # and run through them. These might check for the presence of + # various libraries, in which case they are not built. To avoid + # automagic dependencies, we just remove all the modules that we're + # not interested in using. + + use ssl || rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} + use ldap || rm -r src/modules/rlm_ldap + use kerberos || rm -r src/modules/rlm_krb5 + use pam || rm -r src/modules/rlm_pam + use python || rm -r src/modules/rlm_python + # Do not install ruby rlm module, bug #483108 + rm -r src/modules/rlm_ruby + + # these are all things we don't have in portage/I don't want to deal + # with myself + rm -r src/modules/rlm_eap/types/rlm_eap_tnc # requires TNCS library + rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 # requires libeap-ikev2 + rm -r src/modules/rlm_opendirectory # requires some membership.h + rm -r src/modules/rlm_redis{,who} # requires redis + rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} + + # sql drivers that are not part of experimental are loaded from a + # file, so we have to remove them from the file itself when we + # remove them. + usesqldriver() { + local flag=$1 + local driver=rlm_sql_${2:-${flag}} + + if ! use ${flag}; then + rm -r src/modules/rlm_sql/drivers/${driver} || die + sed -i -e /${driver}/d src/modules/rlm_sql/stable || die + fi + } + + sed -i \ + -e 's:/var/run/radiusd:/run/radiusd:g' \ + -e '/^run_dir/s:${localstatedir}::g' \ + raddb/radiusd.conf.in || die + + # verbosity + # build shared libraries using jlibtool --shared + sed -i \ + -e '/$(LIBTOOL)/s|--quiet ||g' \ + -e 's:--mode=\(compile\|link\):& --shared:g' \ + Make.inc.in || die + + sed -i \ + -e 's|--silent ||g' \ + -e 's:--mode=\(compile\|link\):& --shared:g' \ + scripts/libtool.mk || die + + # crude measure to stop jlibtool from running ranlib and ar + sed -i \ + -e '/LIBRARIAN/s|".*"|"true"|g' \ + -e '/RANLIB/s|".*"|"true"|g' \ + scripts/jlibtool.c || die + + usesqldriver mysql + usesqldriver postgres postgresql + usesqldriver firebird + usesqldriver iodbc + usesqldriver odbc unixodbc + usesqldriver oracle + usesqldriver sqlite + + epatch_user + + eautoreconf +} + +src_configure() { + # fix bug #77613 + if has_version app-crypt/heimdal; then + myconf="${myconf} --enable-heimdal-krb5" + fi + + use readline || export ac_cv_lib_readline=no + use pcap || export ac_cv_lib_pcap_pcap_open_live=no + + # do not try to enable static with static-libs; upstream is a + # massacre of libtool best practices so you also have to make sure + # to --enable-shared explicitly. + econf \ + --enable-shared \ + --disable-static \ + --disable-ltdl-install \ + --with-system-libtool \ + --with-system-libltdl \ + --with-ascend-binary \ + --with-udpfromto \ + --with-dhcp \ + --with-iodbc-include-dir=/usr/include/iodbc \ + --with-experimental-modules \ + --with-docdir=/usr/share/doc/${PF} \ + --with-logdir=/var/log/radius \ + $(use_enable debug developer) \ + $(use_with ldap edir) \ + $(use_with ssl openssl) \ + ${myconf} +} + +src_compile() { + # verbose, do not generate certificates + emake \ + Q='' ECHO=true \ + LOCAL_CERT_PRODUCTS='' +} + +src_install() { + dodir /etc + diropts -m0750 -o root -g radius + dodir /etc/raddb + diropts -m0750 -o radius -g radius + dodir /var/log/radius + keepdir /var/log/radius/radacct + diropts + + # verbose, do not install certificates + emake -j1 \ + Q='' ECHO=true \ + LOCAL_CERT_PRODUCTS='' \ + R="${D}" \ + install + + fowners -R root:radius /etc/raddb + + pamd_mimic_system radiusd auth account password session + + dodoc CREDITS + + rm "${D}/usr/sbin/rc.radiusd" + + newinitd "${FILESDIR}/radius.init-r3" radiusd + newconfd "${FILESDIR}/radius.conf-r3" radiusd + + prune_libtool_files +} + +pkg_config() { + if use ssl; then + cd "${ROOT}"/etc/raddb/certs + ./bootstrap + fi +} + +pkg_preinst() { + if ! has_version ${CATEGORY}/${PN} && use ssl; then + elog "You have to run \`emerge --config =${CATEGORY}/${PF}\` to be able" + elog "to start the radiusd service." + fi +} diff --git a/net-dialup/freeradius/freeradius-3.0.8.ebuild b/net-dialup/freeradius/freeradius-3.0.8.ebuild new file mode 100644 index 0000000..15ecb9d --- /dev/null +++ b/net-dialup/freeradius/freeradius-3.0.8.ebuild @@ -0,0 +1,215 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit autotools eutils pam python-any-r1 user + +PATCHSET=4 + +MY_P="${PN}-server-${PV}" + +DESCRIPTION="Highly configurable free RADIUS server" +SRC_URI=" + ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz + ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz +" +HOMEPAGE="http://www.freeradius.org/" + +KEYWORDS="~x86 ~amd64" +LICENSE="GPL-2" +SLOT="0" + +IUSE=" + debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap + postgres python readline sqlite ssl +" +RESTRICT="test firebird? ( bindist )" + +RDEPEND="!net-dialup/cistronradius + !net-dialup/gnuradius + sys-devel/libtool + dev-lang/perl + sys-libs/gdbm + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline ) + pcap? ( net-libs/libpcap ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + firebird? ( dev-db/firebird ) + pam? ( virtual/pam ) + ssl? ( dev-libs/openssl ) + ldap? ( net-nds/openldap ) + kerberos? ( virtual/krb5 ) + sqlite? ( dev-db/sqlite:3 ) + odbc? ( dev-db/unixODBC ) + iodbc? ( dev-db/libiodbc ) + oracle? ( dev-db/oracle-instantclient-basic )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup radius + enewuser radius -1 -1 /var/log/radius radius + + python-any-r1_pkg_setup + export PYTHONBIN="${EPYTHON}" +} + +src_prepare() { + # most of the configuration options do not appear as ./configure + # switches. Instead it identifies the directories that are available + # and run through them. These might check for the presence of + # various libraries, in which case they are not built. To avoid + # automagic dependencies, we just remove all the modules that we're + # not interested in using. + + use ssl || rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} + use ldap || rm -r src/modules/rlm_ldap + use kerberos || rm -r src/modules/rlm_krb5 + use pam || rm -r src/modules/rlm_pam + use python || rm -r src/modules/rlm_python + # Do not install ruby rlm module, bug #483108 + rm -r src/modules/rlm_ruby + + # these are all things we don't have in portage/I don't want to deal + # with myself + rm -r src/modules/rlm_eap/types/rlm_eap_tnc # requires TNCS library + rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 # requires libeap-ikev2 + rm -r src/modules/rlm_opendirectory # requires some membership.h + rm -r src/modules/rlm_redis{,who} # requires redis + rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} + + # sql drivers that are not part of experimental are loaded from a + # file, so we have to remove them from the file itself when we + # remove them. + usesqldriver() { + local flag=$1 + local driver=rlm_sql_${2:-${flag}} + + if ! use ${flag}; then + rm -r src/modules/rlm_sql/drivers/${driver} || die + sed -i -e /${driver}/d src/modules/rlm_sql/stable || die + fi + } + + sed -i \ + -e 's:/var/run/radiusd:/run/radiusd:g' \ + -e '/^run_dir/s:${localstatedir}::g' \ + raddb/radiusd.conf.in || die + + # verbosity + # build shared libraries using jlibtool --shared + sed -i \ + -e '/$(LIBTOOL)/s|--quiet ||g' \ + -e 's:--mode=\(compile\|link\):& --shared:g' \ + Make.inc.in || die + + sed -i \ + -e 's|--silent ||g' \ + -e 's:--mode=\(compile\|link\):& --shared:g' \ + scripts/libtool.mk || die + + # crude measure to stop jlibtool from running ranlib and ar + sed -i \ + -e '/LIBRARIAN/s|".*"|"true"|g' \ + -e '/RANLIB/s|".*"|"true"|g' \ + scripts/jlibtool.c || die + + usesqldriver mysql + usesqldriver postgres postgresql + usesqldriver firebird + usesqldriver iodbc + usesqldriver odbc unixodbc + usesqldriver oracle + usesqldriver sqlite + + epatch_user + + eautoreconf +} + +src_configure() { + # fix bug #77613 + if has_version app-crypt/heimdal; then + myconf="${myconf} --enable-heimdal-krb5" + fi + + use readline || export ac_cv_lib_readline=no + use pcap || export ac_cv_lib_pcap_pcap_open_live=no + + # do not try to enable static with static-libs; upstream is a + # massacre of libtool best practices so you also have to make sure + # to --enable-shared explicitly. + econf \ + --enable-shared \ + --disable-static \ + --disable-ltdl-install \ + --with-system-libtool \ + --with-system-libltdl \ + --with-ascend-binary \ + --with-udpfromto \ + --with-dhcp \ + --with-iodbc-include-dir=/usr/include/iodbc \ + --with-experimental-modules \ + --with-docdir=/usr/share/doc/${PF} \ + --with-logdir=/var/log/radius \ + $(use_enable debug developer) \ + $(use_with ldap edir) \ + $(use_with ssl openssl) \ + ${myconf} +} + +src_compile() { + # verbose, do not generate certificates + emake \ + Q='' ECHO=true \ + LOCAL_CERT_PRODUCTS='' +} + +src_install() { + dodir /etc + diropts -m0750 -o root -g radius + dodir /etc/raddb + diropts -m0750 -o radius -g radius + dodir /var/log/radius + keepdir /var/log/radius/radacct + diropts + + # verbose, do not install certificates + emake -j1 \ + Q='' ECHO=true \ + LOCAL_CERT_PRODUCTS='' \ + R="${D}" \ + install + + fowners -R root:radius /etc/raddb + + pamd_mimic_system radiusd auth account password session + + dodoc CREDITS + + rm "${D}/usr/sbin/rc.radiusd" + + newinitd "${FILESDIR}/radius.init-r3" radiusd + newconfd "${FILESDIR}/radius.conf-r3" radiusd + + prune_libtool_files +} + +pkg_config() { + if use ssl; then + cd "${ROOT}"/etc/raddb/certs + ./bootstrap + fi +} + +pkg_preinst() { + if ! has_version ${CATEGORY}/${PN} && use ssl; then + elog "You have to run \`emerge --config =${CATEGORY}/${PF}\` to be able" + elog "to start the radiusd service." + fi +} diff --git a/net-dialup/freeradius/metadata.xml b/net-dialup/freeradius/metadata.xml new file mode 100644 index 0000000..381ec90 --- /dev/null +++ b/net-dialup/freeradius/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-dialup</herd> + <use> + <flag name='pcap'> + Build the RADIUS sniffer which requires <pkg>net-libs/libpcap</pkg>. + </flag> + </use> +</pkgmetadata>