From: Michael Tremer Date: Mon, 14 Sep 2009 10:39:59 +0000 (+0200) Subject: Fix freeradius server. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328034dae4467d0635de01a6d3634ae9763513e2;p=ipfire-3.x.git Fix freeradius server. --- diff --git a/lfs/freeradius-server b/lfs/freeradius-server index 26b265893..2b4c58b7b 100644 --- a/lfs/freeradius-server +++ b/lfs/freeradius-server @@ -54,6 +54,11 @@ define LONG_DESC Network Access Servers to perform authentication for dial-up users. endef +define QUALITY_AGENT_WHITELIST_RPATH + /usr/bin/ra* \ + /usr/lib/freeradius/* +endef + ############################################################################### # Top-level Rules ############################################################################### @@ -84,19 +89,27 @@ $(OBJECT): $(objects) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && \ ./configure \ - $(CONFIGURE_ARCH) \ - --with-gnu-ld \ - --with-system-libtool \ - --libdir=/usr/lib/freeradius \ + $(CONFIGURE_ARCH) \ --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=/usr/lib/freeradius \ + --localstatedir=/var \ + --with-system-libtool \ --with-threads \ - --with-thread-pool \ - --disable-ltdl-install - cd $(DIR_APP) && make LIBTOOL="libtool --tag=CC" + --with-thread-pool \ + --disable-ltdl-install \ + --with-gnu-ld \ + --without-rlm_eap_ikev2 \ + --without-rlm_sql_iodbc \ + --without-rlm_sql_firebird \ + --without-rlm_sql_db2 \ + --without-rlm_sql_oracle + + cd $(DIR_APP) && make LIBTOOL="libtool --tag=CC" #$(PARALLELISMFLAGS) cd $(DIR_APP) && make install - # Removing all static libraries - rm -rf /usr/lib/freeradius/*.la + # Removing all static libraries and unneeded/broken stuff + rm -rf /usr/lib/freeradius/*.la /usr/lib/freeradius/rlm_perl-$(PKG_VER).so # PAM cp -vf $(DIR_CONFIG)/pam.d/$(PKG_NAME) /etc/pam.d/