summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-05-03 21:30:30 +0000
committerJeroen Roovers <jer@gentoo.org>2014-05-03 21:30:30 +0000
commit2b6c2db7a7913d59264b0f792ab0b212a3168c64 (patch)
tree5972b2ad38e884697d8ea8e53de2ffcddb21ce49 /net-dialup
parentVersion bump. (diff)
downloadgentoo-2-2b6c2db7a7913d59264b0f792ab0b212a3168c64.tar.gz
gentoo-2-2b6c2db7a7913d59264b0f792ab0b212a3168c64.tar.bz2
gentoo-2-2b6c2db7a7913d59264b0f792ab0b212a3168c64.zip
Do not generate and install certificates. Disable parallel make install (bug #509498). Drop KEYWORDS for now.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/ChangeLog6
-rw-r--r--net-dialup/freeradius/freeradius-3.0.2.ebuild38
2 files changed, 29 insertions, 15 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index 8abccc68ecc6..62d2023f228c 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/freeradius
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.119 2014/05/03 15:56:28 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.120 2014/05/03 21:30:30 jer Exp $
+
+ 03 May 2014; Jeroen Roovers <jer@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 <jer@gentoo.org> freeradius-2.2.5.ebuild,
freeradius-3.0.2.ebuild:
diff --git a/net-dialup/freeradius/freeradius-3.0.2.ebuild b/net-dialup/freeradius/freeradius-3.0.2.ebuild
index 3387d6fc0162..d56c4557df51 100644
--- a/net-dialup/freeradius/freeradius-3.0.2.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-3.0.2.ebuild,v 1.2 2014/05/03 15:56:28 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-3.0.2.ebuild,v 1.3 2014/05/03 21:30:30 jer Exp $
EAPI=5
@@ -18,7 +18,7 @@ SRC_URI="
"
HOMEPAGE="http://www.freeradius.org/"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS=""
LICENSE="GPL-2"
SLOT="0"
@@ -27,6 +27,8 @@ IUSE="
postgres python readline sqlite ssl
"
+REQUIRED_USE="bindist? ( !firebird )"
+
RDEPEND="!net-dialup/cistronradius
!net-dialup/gnuradius
sys-devel/libtool
@@ -48,10 +50,10 @@ RDEPEND="!net-dialup/cistronradius
oracle? ( dev-db/oracle-instantclient-basic )"
DEPEND="${RDEPEND}"
-REQUIRED_USE="bindist? ( !firebird )"
-
S="${WORKDIR}/${MY_P}"
+RESTRICT="test"
+
pkg_setup() {
enewgroup radius
enewuser radius -1 -1 /var/log/radius radius
@@ -82,7 +84,7 @@ src_prepare() {
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,sybase}
+ 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
@@ -97,6 +99,10 @@ src_prepare() {
fi
}
+ sed -i \
+ -e 's:/var/run/radiusd:/run/radiusd:' \
+ raddb/radiusd.conf || die
+
usesqldriver mysql
usesqldriver postgres postgresql
usesqldriver firebird
@@ -105,9 +111,6 @@ src_prepare() {
usesqldriver oracle
usesqldriver sqlite
- # remove bundled ltdl to avoid conflicts
- rm -r libltdl
-
epatch_user
eautoreconf
@@ -126,7 +129,8 @@ src_configure() {
# massacre of libtool best practices so you also have to make sure
# to --enable-shared explicitly.
econf \
- --enable-shared --disable-static \
+ --enable-shared \
+ --disable-static \
--disable-ltdl-install \
--with-system-libtool \
--with-system-libltdl \
@@ -143,6 +147,13 @@ src_configure() {
${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
@@ -152,14 +163,11 @@ src_install() {
keepdir /var/log/radius/radacct
diropts
- emake R="${D}" install
+ # verbose, do not install certificates
+ emake -j1 Q='' LOCAL_CERT_PRODUCTS='' R="${D}" install
fowners -R root:radius /etc/raddb
- sed -i \
- -e 's:/var/run/radiusd:/run/radiusd:' \
- "${D}"/etc/raddb/radiusd.conf || die
-
pamd_mimic_system radiusd auth account password session
dodoc CREDITS
@@ -168,6 +176,8 @@ src_install() {
newinitd "${FILESDIR}/radius.init-r3" radiusd
newconfd "${FILESDIR}/radius.conf-r3" radiusd
+
+ prune_libtool_files
}
pkg_config() {