Hi all, checking this platform was not possible here, sorry for that and thanks Michael for the fix.
Best,
Erik
On Di, 2019-04-02 at 10:02 +0100, Michael Tremer wrote:
Hi,
interesting… we had the same issue with haproxy before.
Fixed in here:
https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=4038d70b768910c5dc5b...
-Michael
On 2 Apr 2019, at 06:41, Arne Fitzenreiter < Arne.Fitzenreiter@ipfire.org> wrote:
This patch doesn't work on armv5tel:
freeradius (3.0.18) [ 1:22 ][ FAIL ]
LINK build/lib/rlm_files.la LINK build/lib/rlm_ldap.la LINK build/lib/rlm_unix.la LINK build/lib/rlm_cram.la LINK build/lib/rlm_otp.la LINK build/lib/rlm_wimax.la LINK build/lib/rlm_yubikey.la LINK build/lib/rlm_sql.la LINK build/lib/rlm_sql_null.la LINK build/lib/rlm_ippool.la LINK build/bin/rlm_ippool_tool LINK build/lib/rlm_counter.la LINK build/lib/rlm_test.la LINK build/lib/rlm_unpack.la LINK build/lib/rlm_date.la LINK build/lib/rlm_pam.la LINK build/lib/rlm_cache.la build/lib/local/.libs/libfreeradius-radius.so: undefined reference to `__atomic_compare_exchange_8' build/lib/local/.libs/libfreeradius-radius.so: undefined reference to `__atomic_load_8' build/lib/local/.libs/libfreeradius-radius.so: undefined reference to `__atomic_store_8' collect2: error: ld returned 1 exit status make[1]: *** [scripts/boiler.mk:629: build/bin/local/rlm_ippool_tool] Error 1 make[1]: *** Waiting for unfinished jobs.... build/lib/.libs/libfreeradius-radius.so: undefined reference to `__atomic_compare_exchange_8' build/lib/.libs/libfreeradius-radius.so: undefined reference to `__atomic_load_8' build/lib/.libs/libfreeradius-radius.so: undefined reference to `__atomic_store_8' collect2: error: ld returned 1 exit status make[1]: *** [scripts/boiler.mk:630: build/bin/rlm_ippool_tool] Error 1 make[1]: Leaving directory '/usr/src/freeradius-server-3.0.18' make: *** [freeradius:82: /usr/src/log/freeradius-server-3.0.18] Error 2
ERROR: Building freeradius [ FAIL ] Check /build/nightly/ipfire-2.x/next/log/_build.ipfire.log for errors if applicable[ FAIL ]
Arne
On 2019-03-29 10:44, Erik Kapfer wrote:
Signed-off-by: Erik Kapfer ummeegge@ipfire.org
config/rootfiles/packages/freeradius | 22 ++++++++++++++++++++-- lfs/freeradius | 12 ++++++------ 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/config/rootfiles/packages/freeradius b/config/rootfiles/packages/freeradius index a5b8414b4..aacb08b02 100644 --- a/config/rootfiles/packages/freeradius +++ b/config/rootfiles/packages/freeradius @@ -6,6 +6,7 @@ etc/raddb #etc/raddb/certs/bootstrap #etc/raddb/certs/ca.cnf #etc/raddb/certs/client.cnf +#etc/raddb/certs/inner-server.cnf #etc/raddb/certs/passwords.mk #etc/raddb/certs/server.cnf #etc/raddb/certs/xpextensions @@ -156,7 +157,6 @@ etc/raddb #etc/raddb/mods-config/sql/main/postgresql #etc/raddb/mods-config/sql/main/postgresql/extras #etc/raddb/mods- config/sql/main/postgresql/extras/cisco_h323_db_schema.sql -#etc/raddb/mods- config/sql/main/postgresql/extras/update_radacct_group.sql #etc/raddb/mods-config/sql/main/postgresql/extras/voip- postpaid.conf #etc/raddb/mods-config/sql/main/postgresql/queries.conf #etc/raddb/mods-config/sql/main/postgresql/schema.sql @@ -183,7 +183,6 @@ etc/raddb #etc/raddb/mods-enabled/date #etc/raddb/mods-enabled/detail #etc/raddb/mods-enabled/detail.log -#etc/raddb/mods-enabled/dhcp #etc/raddb/mods-enabled/digest #etc/raddb/mods-enabled/dynamic_clients #etc/raddb/mods-enabled/eap @@ -219,6 +218,7 @@ etc/raddb #etc/raddb/policy.d/filter #etc/raddb/policy.d/moonshot-targeted-ids #etc/raddb/policy.d/operator-name +#etc/raddb/policy.d/rfc7542 #etc/raddb/proxy.conf #etc/raddb/radiusd.conf #etc/raddb/sites-available @@ -269,6 +269,7 @@ usr/bin/rlm_ippool_tool usr/bin/smbencrypt #usr/include/freeradius #usr/include/freeradius/attributes.h +#usr/include/freeradius/autoconf.h #usr/include/freeradius/base64.h #usr/include/freeradius/build.h #usr/include/freeradius/conf.h @@ -293,6 +294,7 @@ usr/bin/smbencrypt #usr/include/freeradius/radpaths.h #usr/include/freeradius/radutmp.h #usr/include/freeradius/realms.h +#usr/include/freeradius/regex.h #usr/include/freeradius/rfc2865.h #usr/include/freeradius/rfc2866.h #usr/include/freeradius/rfc2867.h @@ -325,9 +327,12 @@ usr/bin/smbencrypt #usr/include/freeradius/rfc7268.h #usr/include/freeradius/rfc7499.h #usr/include/freeradius/rfc7930.h +#usr/include/freeradius/rfc8045.h #usr/include/freeradius/sha1.h #usr/include/freeradius/stats.h #usr/include/freeradius/sysutmp.h +#usr/include/freeradius/tcp.h +#usr/include/freeradius/threads.h #usr/include/freeradius/tls.h #usr/include/freeradius/token.h #usr/include/freeradius/udpfromto.h @@ -659,6 +664,13 @@ usr/sbin/radmin #usr/share/doc/freeradius/schemas/ldap/openldap/freeradius- clients.schema #usr/share/doc/freeradius/schemas/ldap/openldap/freeradius.ldif #usr/share/doc/freeradius/schemas/ldap/openldap/freeradius.schema +#usr/share/doc/freeradius/schemas/ldap/samba +#usr/share/doc/freeradius/schemas/ldap/samba/README.txt +#usr/share/doc/freeradius/schemas/ldap/samba/freeradius- attrs.ldif +#usr/share/doc/freeradius/schemas/ldap/samba/freeradius- classes.ldif +#usr/share/doc/freeradius/schemas/ldap/samba/freeradius-clients- attrs.ldif +#usr/share/doc/freeradius/schemas/ldap/samba/freeradius-clients- classes.ldif +#usr/share/doc/freeradius/schemas/ldap/samba/freeradius- user.ldif #usr/share/doc/freeradius/schemas/logstash #usr/share/doc/freeradius/schemas/logstash/README #usr/share/doc/freeradius/schemas/logstash/kibana4-dashboard.json @@ -703,6 +715,7 @@ usr/share/freeradius #usr/share/freeradius/dictionary.avaya #usr/share/freeradius/dictionary.azaire #usr/share/freeradius/dictionary.bay +#usr/share/freeradius/dictionary.bigswitch #usr/share/freeradius/dictionary.bintec #usr/share/freeradius/dictionary.bluecoat #usr/share/freeradius/dictionary.boingo @@ -761,6 +774,7 @@ usr/share/freeradius #usr/share/freeradius/dictionary.huawei #usr/share/freeradius/dictionary.iana #usr/share/freeradius/dictionary.iea +#usr/share/freeradius/dictionary.infinera #usr/share/freeradius/dictionary.infoblox #usr/share/freeradius/dictionary.infonet #usr/share/freeradius/dictionary.ipunplugged @@ -782,6 +796,7 @@ usr/share/freeradius #usr/share/freeradius/dictionary.microsemi #usr/share/freeradius/dictionary.microsoft #usr/share/freeradius/dictionary.mikrotik +#usr/share/freeradius/dictionary.mimosa #usr/share/freeradius/dictionary.motorola #usr/share/freeradius/dictionary.motorola.illegal #usr/share/freeradius/dictionary.motorola.wimax @@ -838,6 +853,7 @@ usr/share/freeradius #usr/share/freeradius/dictionary.rfc7268 #usr/share/freeradius/dictionary.rfc7499 #usr/share/freeradius/dictionary.rfc7930 +#usr/share/freeradius/dictionary.rfc8045 #usr/share/freeradius/dictionary.riverbed #usr/share/freeradius/dictionary.riverstone #usr/share/freeradius/dictionary.roaringpenguin @@ -850,6 +866,7 @@ usr/share/freeradius #usr/share/freeradius/dictionary.siemens #usr/share/freeradius/dictionary.slipstream #usr/share/freeradius/dictionary.sofaware +#usr/share/freeradius/dictionary.softbank #usr/share/freeradius/dictionary.sonicwall #usr/share/freeradius/dictionary.springtide #usr/share/freeradius/dictionary.starent @@ -869,6 +886,7 @@ usr/share/freeradius #usr/share/freeradius/dictionary.usr.illegal #usr/share/freeradius/dictionary.utstarcom #usr/share/freeradius/dictionary.valemount +#usr/share/freeradius/dictionary.verizon #usr/share/freeradius/dictionary.versanet #usr/share/freeradius/dictionary.vqp #usr/share/freeradius/dictionary.walabi diff --git a/lfs/freeradius b/lfs/freeradius index 498059a09..96669c7d5 100644 --- a/lfs/freeradius +++ b/lfs/freeradius @@ -1,7 +1,7 @@ ################################################################# ############## # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2019 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,15 +24,15 @@ include Config -VER = 3.0.14 +VER = 3.0.18 THISAPP = freeradius-server-$(VER) -DL_FILE = $(THISAPP).tar.gz +DL_FILE = $(THISAPP).tar.bz2 DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = freeradius -PAK_VER = 4 +PAK_VER = 5 DEPS = "samba" @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 71f0593f68e6d4dd2efc47a61219643d +$(DL_FILE)_MD5 = 05f0c8c7ac79659f808ff31751daa857 install : $(TARGET) @@ -76,7 +76,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf
$(DIR_DL)/$(DL_FILE)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf
$(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) cd $(DIR_APP) && \ ./configure \