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
###############################################################################
@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/