]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fix freeradius server.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Sep 2009 10:39:59 +0000 (12:39 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Sep 2009 10:39:59 +0000 (12:39 +0200)
lfs/freeradius-server

index 26b265893003a8136a81378955d70a54f138fd8b..2b4c58b7bf5fdd301c2a5ac75444a45021933ec7 100644 (file)
@@ -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/