Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Request for OpenBSD Patch - to fix LibreSSL Support in FreeRADIUS 3.0.x/4.0.x #2012
FreeRADIUS 3.0.14 does not currently build with LibreSSL 2.5.4. The build fails to compile on Gentoo x86_64 - however I don't think this is a Gentoo specific problem.
Executing: /bin/sh -c x86_64-pc-linux-gnu-gcc -c -MD -I. -Isrc -include src/freeradius-devel/autoconf.h -include src/freeradius-devel/build.h -include src/freeradius-devel/features.h -include src/freeradius-devel/radpaths.h -fno-strict-aliasing -O2 -pipe -march=native -mtune=native -Wall -std=c99 -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -DNDEBUG -DIS_MODULE=1 -DBUILT_WITH_CPPFLAGS="" -DBUILT_WITH_CFLAGS="-I.\ -Isrc\ -include\ src/freeradius-devel/autoconf.h\ -include\ src/freeradius-devel/build.h\ -include\ src/freeradius-devel/features.h\ -include\ src/freeradius-devel/radpaths.h\ -fno-strict-aliasing\ -O2\ -pipe\ -march=native\ -mtune=native\ -Wall\ -std=c99\ -D_GNU_SOURCE\ -D_REENTRANT\ -D_POSIX_PTHREAD_SEMANTICS\ -DOPENSSL_NO_KRB5\ -DNDEBUG\ -DIS_MODULE=1" -DBUILT_WITH_LDFLAGS="\ -Wl,-O1\ -Wl,--as-needed" -DBUILT_WITH_LIBS="-lcrypto\ -lssl\ -ltalloc\ -lpcre\ -lcap\ -lnsl\ -lresolv\ -ldl\ -lpthread\ -lreadline" src/main/conffile.c -fPIC -o build/objs/src/main/conffile.o
The OpenBSD ports tree contains a patch to fix this problem on OpenBSD but it applies and resolves the problem on Linux too. The URL for this patch is:
The FreeRADIUS 4.0.x tree fails to compile in the same way so the patch should be applied there as well.
Can the OpenBSD LibreSSL patch please be pulled in by upstream so that LibreSSL can once again be used to build FreeRADIUS?
I have tested this patch myself and it resolves the problem - and I now have a working and stable FreeRADIUS service up and running.