summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-09-27 10:47:17 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-09-27 10:47:17 +0000
commita832b5aa216f394d933d2157a9124310131da3b1 (patch)
tree955061b2490061a5762415735994df933eaf319c /net-dialup
parentChange HOMEPAGE to sf.net project page wrt #357863 (diff)
downloadhistorical-a832b5aa216f394d933d2157a9124310131da3b1.tar.gz
historical-a832b5aa216f394d933d2157a9124310131da3b1.tar.bz2
historical-a832b5aa216f394d933d2157a9124310131da3b1.zip
Non-maintainer version bump. Thanks to Bjarke Istrup Pedersen <gurligebis@gentoo.org>. Bug #384027
Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/ChangeLog8
-rw-r--r--net-dialup/freeradius/Manifest32
-rw-r--r--net-dialup/freeradius/freeradius-2.1.11.ebuild143
3 files changed, 167 insertions, 16 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index b61697e09fc9..e9f20381404a 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/freeradius
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.94 2011/05/26 15:31:47 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.95 2011/09/27 10:47:17 hwoarang Exp $
+
+*freeradius-2.1.11 (26 Sep 2011)
+
+ 26 Sep 2011; Markos Chandras <hwoarang@gentoo.org> +freeradius-2.1.11.ebuild:
+ Non-maintainer version bump. Thanks to Bjarke Istrup Pedersen
+ <gurligebis@gentoo.org>. Bug #384027
*freeradius-2.1.10 (26 May 2011)
diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 0ce0d88bbf94..8179fdc6ed29 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -31,31 +31,33 @@ AUX radius.init-r1 1575 RMD160 68e08912962c74ed2bdbe43bb27ae5e0c449254f SHA1 75b
DIST freeradius-server-2.0.5.tar.gz 3519755 RMD160 15080883413fee615387df0e6c1daaebc8a0f17c SHA1 8f0476f21bdcab9d0f5178039c1993a56f22d448 SHA256 dacb53042d04266d48c67d20b5822266809561d2bcfff2a6fe33c71e22db7ab6
DIST freeradius-server-2.1.1.tar.gz 3648766 RMD160 34993de091b759a7d0bf9929f72180bf56d818ec SHA1 9c36457f1b9364e413d066f804e850fa2166e3b9 SHA256 48139053bd4498e6ef0535178059286fafd5ad6642b0348936060fd373194147
DIST freeradius-server-2.1.10.tar.gz 4036100 RMD160 38c1f1a69594a101de6ae71391d6b6d849144402 SHA1 f0f9dfec6dde6eab48b53fe840257e3be498e972 SHA256 b72d00d8d9c237b6bc3bfe89e6ccd99a7be63e699b305325ea60e04d5ddda4fe
+DIST freeradius-server-2.1.11.tar.gz 4219356 RMD160 0c47ef980b9442b7673d065be899e1cbd1438a74 SHA1 0e2c8b67e8147c7c74acba7416841d65773dcfa6 SHA256 274ef96aa528d8b759f2fa06f2ba49ecbe1612e99fdedbb7016b557804b16b85
DIST freeradius-server-2.1.3.tar.gz 3687388 RMD160 c528f20e70c577242c5fe5ec0191b8493a3b7853 SHA1 d361abc8d5ef193653915150ad7b9cc8e14fb21c SHA256 815d50aafd776b8e34a2af47fc62c898763eb04477f8f3ffcf9bb1a5664a574d
DIST freeradius-server-2.1.6.tar.gz 3845088 RMD160 4335851a1a7800059f76e4860532a4d8ce0e6486 SHA1 de4f65f4c38864996a594f016cde798605aca370 SHA256 abeb0837c8c15c2261edc1029b32b4beff2879a50838589d73c1481bd0ae90a9
DIST freeradius-server-2.1.7.tar.gz 3894247 RMD160 52225b612af87bdf74844ea361de3701b6a9f3dd SHA1 5fc6b5ddf100aea8abf0ab73f1b13460189fd4f5 SHA256 43504dc7fd2780e576361f9101ed7935d8c34782bb8954336a4196efab59b587
EBUILD freeradius-2.0.5.ebuild 3899 RMD160 5f9a0b84652318dfa25cf22ba5e2a4e7b2f6067f SHA1 194c4b1bd0122c7498b8ae3c2e67b951e0addd79 SHA256 5732a5a8fd50151c937c352524bd142640881d12e8e76a658af776c13a1855dc
EBUILD freeradius-2.1.1.ebuild 3901 RMD160 1d8aeeb5cbdc5f8acc494a65c6644a5f3f45d2f4 SHA1 df5b1b763551248420201a2e80a8a45f996e9e41 SHA256 902942ea0f5ecc1552ce1bad82498bdee27b4c30d1ef955594aad0ddb5f55e7f
EBUILD freeradius-2.1.10.ebuild 4149 RMD160 a06b5ba72c46392f4ea90f940eee1456de54da64 SHA1 06535622b688eb16debb807f8bf65636d3cde681 SHA256 e3b0dbdd7ff5a187ee1a59ac03aaab8618f8b5b6bc654d3320b7e170dc676702
+EBUILD freeradius-2.1.11.ebuild 4165 RMD160 6fce4d8015deb3ec4b1b733e533a05b3fe2022de SHA1 20b191b2dc3b88de2314d1bd8e96f98604659e8c SHA256 3155f28773e1d74fc5b48d4d80c6e9c5408e7b480f7f8e10275484077f17dcc1
EBUILD freeradius-2.1.3-r1.ebuild 4136 RMD160 74fe2732df62c70304a5effd24bdd0b350b9f4e3 SHA1 656cfcbc64baa153270474a87341f6c90db91b2c SHA256 600a46f320d164cdf95cfebab7a87ac1f666c8ea956754200b28decede8b51b5
EBUILD freeradius-2.1.6.ebuild 4152 RMD160 89e3c9e6dae2f053b5d2fce3566ec5f1e817f7a3 SHA1 4410d13106048e8b0c591d4a6c0eb9db03d1a6c5 SHA256 ca21b544f3f8782eca5d1230c2a62ff00d1746fd844110331f15b40d6a52114a
EBUILD freeradius-2.1.7.ebuild 4152 RMD160 9a5fba8cf99e437fe7e1035fc77f794ef844c13d SHA1 f1e1c947ddbb68bfb0bb021eee186ba79734e08f SHA256 000df7fa3c166f4f620b0e55bfe19489f5b20204d8da3604cb4c8d96293d6fd8
-MISC ChangeLog 19359 RMD160 3247ae68a822e599f3ae479082839e0b96c4cf3b SHA1 25865c1424a4cd3a99603f679524c50076647927 SHA256 b3d6b92fd6d03960f51ddbabb38ee677d88e252e4808d42fb0f5fb49e13cc1e1
+MISC ChangeLog 19577 RMD160 ac77f7ffb51707db2c6c9089490a6d439725c712 SHA1 0d9fc3a318e35d37173dda294222efac1d9510fb SHA256 91d7e0a3c61c18f1db96a5439b0a9ec85f9fc74991dd4b1a5b191e9fd27ca8c4
MISC metadata.xml 662 RMD160 012a8de3e3f92245daab2e990c0e7c4f7869d52d SHA1 458d2af2523e5271e868bf90e203906ba01db0c3 SHA256 5c2f186c265e36fe36ea663e04d0a1604af89b3be4e7af52c0fdca7e0db84db8
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCgAGBQJN3nJ2AAoJEPqDWhW0r/LCmRsP/0RuKBXuAJscpT9kRd2+HjUc
-SbrE1Tjg/M/KIXlgZ8eKDqpSa6Zbzn6pKYDN8CugGaMws4VOKgxJqmIBky36aAnO
-nPehB7ZN9OjAnJq4nxcedUoyq/mbPiW+QOhdNOKw1XsuYLhNVCGff8+Fr+qf0QKR
-RzxnA1lBzWoVxNf+NtnRRG0+7d+qWcl3KxFT2TkkCMyuSMlnhMB62CWmhrwqzAL/
-VtR0f8efAuIG9UXWjKQHNWw3PQAVfYrmvbolZFmK4n+bLLR3JPqpHP7bH68PIBsv
-UuXnwiMJtuTcnQLMfMpRMtGnBf9AQwU46Mq3fdWmOJOJLNVHsh0nuOVNOd5ST2tk
-oZf7CVXhXznqf6bPzmtnr9gqiKxAqlZhdRUIr8Rva8bKMBfgnOTzlnjxOqizI7DX
-eeHCMqOkNdaZLhXCSZo6qiY7aS67Tlou7UAS7RguYddHfGpGtkD9tv6+fB74RqWU
-I+fmg0TsWHJFk1au6L+gus17eG5yVD97wgGS9GvFc6Pt90rghAx4zvIVYeHoELVJ
-T3RYik1J+wAGERXm6GcbWWl4uHUNg3TghOG8UWK5TbbVvxv4YwS+oFtDOdiwecf6
-xdhJt5IikzxXeoOuZaHT7Nm0p8zUTd00QFCk+afWGu0Ixab+VY/rJgNwFro+lUWe
-1p1jb70s0G+Ke29Kpdkr
-=xfDU
+iQIcBAEBCgAGBQJOgamIAAoJEPqDWhW0r/LCkmkP/0da0MbrdqgJKo9WRAa500Op
+h8+ZP0vISuKhgIfJwHvYrnI6iD+vvc8iaPHAwgJJBX1Cs5GeIAO3+rEw7LJn9kEg
+bO3UBkEpZm7I/rb2lX3+mBTV7t69wZOnNLUHHRNKbeD7tGagrvYwqHeMuwUDh5WM
+CX5mTD5V8A4mcGMC1r0uorGZJ0qP2QKeftFpaKkvZAFKdThU+OFyG2MFuMFN5PvH
+uc1IIGJQ8w2pVlTxNtUZFHcNiY3rSPKEPD9X2N8bjrbfeoNOkokKxgD1CxYTe5hU
+aFYrDExDXZR1APZ7bWfwKyC1ekOlsn5rAJckRqfPBOYEaiv3+b4VxwqYrff6Pk3S
+3p31hKBs1S2bq5g5hWYsw8snGGBSzH+CaFdNI5CgOz4Dt2iFOhl1K5vm1m/9hv9f
+uYb/TNMZCYkSHfJ9vO8/G5LBYjXLENoU2TxxR4IozP0n3WcgOUzHItNY7ejEUIDx
+JUpmyMk2L9aDet0EXEEjqDw6WZqOMHgVj8nHTrBIFfwLatvoDlhLZKNxuqv139h6
+QQDADbauww6xmHiPLRON6vrxUZEcXuPy42PK4N8DAlKxjGZbRq2xuA1dJxGNeOog
+zjL2vQ5H2s7vq6gNvyGLxuzDqRTHVnbC+TBB0iIl+ko9FrXJKt5GxcM3kZeTT7cX
+NU7TXMb2cmhFqt6Gj+tD
+=qKUW
-----END PGP SIGNATURE-----
diff --git a/net-dialup/freeradius/freeradius-2.1.11.ebuild b/net-dialup/freeradius/freeradius-2.1.11.ebuild
new file mode 100644
index 000000000000..9e8d95723248
--- /dev/null
+++ b/net-dialup/freeradius/freeradius-2.1.11.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-2.1.11.ebuild,v 1.1 2011/09/27 10:47:17 hwoarang Exp $
+
+EAPI="2"
+
+inherit eutils multilib pam autotools libtool
+
+DESCRIPTION="Highly configurable free RADIUS server"
+SRC_URI="ftp://ftp.freeradius.org/pub/radius/${PN}-server-${PV}.tar.gz"
+HOMEPAGE="http://www.freeradius.org/"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="bindist debug edirectory firebird frascend frxp kerberos ldap mysql pam postgres snmp ssl threads +udpfromto"
+
+RDEPEND="!net-dialup/cistronradius
+ !net-dialup/gnuradius
+ >=sys-libs/db-3.2
+ sys-libs/gdbm
+ sys-libs/readline
+ net-libs/libpcap
+ dev-lang/perl
+ snmp? ( net-analyzer/net-snmp )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-server )
+ !bindist? ( firebird? ( dev-db/firebird ) )
+ pam? ( sys-libs/pam )
+ ssl? ( dev-libs/openssl )
+ ldap? ( net-nds/openldap )
+ kerberos? ( virtual/krb5 )
+ frxp? ( dev-lang/python )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-server-${PV}"
+
+pkg_setup() {
+ if use edirectory && ! use ldap ; then
+ eerror "Cannot add integration with Novell's eDirectory without having LDAP support!"
+ eerror "Either you select ldap USE flag or remove edirectory"
+ die "edirectory needs ldap"
+ fi
+ enewgroup radiusd
+ enewuser radiusd -1 -1 /var/log/radius radiusd
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.1.10-versionless-la-files.patch"
+ epatch "${FILESDIR}/${PN}-2.1.10-ssl.patch"
+ epatch "${FILESDIR}/${PN}-2.1.10-qafixes.patch"
+ epatch "${FILESDIR}/${PN}-2.1.10-pkglibdir.patch"
+
+ # kill modules we don't use
+ if ! use ssl; then
+ einfo "removing rlm_eap_{tls,ttls,ikev2,peap} modules (no use ssl)"
+ rm -rf src/modules/rlm_eap/types/rlm_eap_{tls,ttls,ikev2,peap}
+ fi
+ if ! use ldap; then
+ einfo "removing rlm_ldap (no use ldap)"
+ rm -rf src/modules/rlm_ldap
+ fi
+ if ! use kerberos; then
+ einfo "removing rlm_krb5 (no use kerberos)"
+ rm -rf src/modules/rlm_krb5
+ fi
+ if ! use pam; then
+ einfo "removing rlm_pam (no use pam)"
+ rm -rf src/modules/rlm_pam
+ fi
+ if ! use mysql; then
+ einfo "removing rlm_sql_mysql (no use mysql)"
+ rm -rf src/modules/rlm_sql/drivers/rlm_sql_mysql
+ sed -i -e '/rlm_sql_mysql/d' src/modules/rlm_sql/stable
+ fi
+ if ! use postgres; then
+ einfo "removing rlm_sql_postgresql (no use postgres)"
+ rm -rf src/modules/rlm_sql/drivers/rlm_sql_postgresql
+ sed -i -e '/rlm_sql_postgresql/d' src/modules/rlm_sql/stable
+ fi
+ if use bindist || ! use firebird; then
+ einfo "removing rlm_sql_firebird (use bindist or no use firebird)"
+ rm -rf src/modules/rlm_sql/drivers/rlm_sql_firebird
+ sed -i -e '/rlm_sql_firebird/d' src/modules/rlm_sql/stable
+ fi
+
+ # These are needed for fixing libtool-2 related issues (#261189)
+ # Keep these lines even if you don't patch *.{in,am} files!
+ eautoreconf
+ elibtoolize
+}
+
+src_configure() {
+ local myconf="\
+ $(use_enable debug developer) \
+ $(use_with snmp) \
+ $(use_with frascend ascend-binary) \
+ $(use_with frxp experimental-modules) \
+ $(use_with udpfromto) \
+ $(use_with edirectory edir) \
+ $(use_with threads)"
+
+ # fix bug #77613
+ if has_version app-crypt/heimdal; then
+ myconf="${myconf} --enable-heimdal-krb5"
+ fi
+
+ econf --disable-static --disable-ltdl-install --with-system-libtool \
+ --localstatedir=/var ${myconf} || die "econf failed"
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ dodir /etc
+ dodir /var/log
+ dodir /var/run
+ diropts -m0750 -o root -g radiusd
+ dodir /etc/raddb
+ diropts -m0750 -o radiusd -g radiusd
+ dodir /var/log/radius
+ keepdir /var/log/radius/radacct
+ dodir /var/run/radiusd
+ diropts
+
+ make R="${D}" install || die "make install failed"
+ dosed 's:^#user *= *nobody:user = radiusd:;s:^#group *= *nobody:group = radiusd:' \
+ /etc/raddb/radiusd.conf
+ chown -R root:radiusd "${D}"/etc/raddb/*
+
+ pamd_mimic_system radiusd auth account password session
+
+ mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
+ prepalldocs
+ dodoc CREDITS
+
+ rm "${D}/usr/sbin/rc.radiusd"
+
+ newinitd "${FILESDIR}/radius.init-r1" radiusd
+ newconfd "${FILESDIR}/radius.conf" radiusd
+}