3 Commits 98ae79f2b3 ... 57feccafd3

Auteur SHA1 Message Date
  Waldemar Brodkorb 57feccafd3 freeradius-server: update to 3.2.6 il y a 2 mois
  Waldemar Brodkorb 9e3c9c5ca1 cyrus-sasl: use openssl instead of libressl il y a 2 mois
  Waldemar Brodkorb dfb69d06be openldap: use openssl instead of libressl il y a 2 mois

+ 2 - 2
package/cyrus-sasl/Makefile

@@ -9,8 +9,8 @@ PKG_RELEASE:=		2
 PKG_HASH:=		8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3
 PKG_DESCR:=		general purpose authentication library
 PKG_SECTION:=		libs/crypto
-PKG_DEPENDS:=		libressl
-PKG_BUILDDEP:=		libressl
+PKG_DEPENDS:=		libopenssl
+PKG_BUILDDEP:=		openssl
 PKG_URL:=		http://cyrusimap.org/
 PKG_SITES:=		ftp://ftp.cyrusimap.org/cyrus-sasl/
 PKG_LIBNAME:=		libsasl2

+ 5 - 5
package/freeradius-server/Makefile

@@ -4,16 +4,16 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		freeradius-server
-PKG_VERSION:=		3.2.3
+PKG_VERSION:=		3.2.6
 PKG_RELEASE:=		1
-PKG_HASH:=		4bde047122e588c63fe2d599a73f7ab9a863806f9e716e88a3d77080b482c577
+PKG_HASH:=		dfed5a53596470e8c977fa2d4d154622ad673a0717d56dd085fb5000eda32f0d
 PKG_DESCR:=		flexible radius server
 PKG_SECTION:=		net/radius
-PKG_DEPENDS:=		libltdl libpcre libtalloc libressl libatomic
-PKG_BUILDDEP:=		libtool pcre talloc libressl
+PKG_DEPENDS:=		libltdl libpcre libtalloc libopenssl libatomic libreadline
+PKG_BUILDDEP:=		libtool pcre talloc openssl readline
 PKG_NEEDS:=		threads
 PKG_URL:=		http://www.freeradius.org/
-PKG_SITES:=		https://github.com/FreeRADIUS/freeradius-server/releases/download/release_3_2_3/
+PKG_SITES:=		https://github.com/FreeRADIUS/freeradius-server/releases/download/release_3_2_6/
 
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
 

+ 23 - 0
package/freeradius-server/patches/patch-raddb_all_mk

@@ -0,0 +1,23 @@
+--- freeradius-server-3.2.6.orig/raddb/all.mk	2024-08-24 15:06:25.000000000 +0200
++++ freeradius-server-3.2.6/raddb/all.mk	2024-08-26 16:30:35.470666078 +0200
+@@ -125,20 +125,6 @@ $(R)$(raddbdir)/users: $(R)$(modconfdir)
+ 	@[ -e $@ ] || echo LN-S $(patsubst $(R)$(raddbdir)/%,raddb/%,$@)
+ 	@[ -e $@ ] || ln -s $(patsubst $(R)$(raddbdir)/%,./%,$<) $@
+ 
+-ifneq "$(LOCAL_CERT_PRODUCTS)" ""
+-$(LOCAL_CERT_PRODUCTS):
+-	@echo BOOTSTRAP raddb/certs/
+-	@$(MAKE) -C $(R)$(raddbdir)/certs/
+-
+-# Bootstrap is special
+-$(R)$(raddbdir)/certs/bootstrap: | raddb/certs/bootstrap $(LOCAL_CERT_PRODUCTS)
+-	@echo INSTALL $(patsubst $(R)$(raddbdir)/%,raddb/%,$@)
+-	@$(INSTALL) -m 750 $(patsubst $(R)$(raddbdir)/%,raddb/%,$@) $@
+-else
+-$(R)$(raddbdir)/certs/bootstrap:
+-	@echo INSTALL $(patsubst $(R)$(raddbdir)/%,raddb/%,$@)
+-	@$(INSTALL) -m 750 $(patsubst $(R)$(raddbdir)/%,raddb/%,$@) $@
+-endif
+ 
+ #  List directories before the file targets.
+ #  It's not clear why GNU Make doesn't deal well with this.

+ 6 - 6
package/freeradius-server/patches/patch-scripts_libtool_mk

@@ -1,13 +1,13 @@
---- freeradius-server-3.2.3.orig/scripts/libtool.mk	2023-05-26 15:56:52.000000000 +0200
-+++ freeradius-server-3.2.3/scripts/libtool.mk	2024-02-27 03:44:17.243010645 +0100
-@@ -48,8 +48,8 @@ ifeq "${LIBTOOL}" "JLIBTOOL"
-     # binary!
-     ${JLIBTOOL}: ${top_makedir}/jlibtool.c
+--- freeradius-server-3.2.6.orig/scripts/libtool.mk	2024-08-24 15:06:25.000000000 +0200
++++ freeradius-server-3.2.6/scripts/libtool.mk	2024-08-26 15:15:40.489814433 +0200
+@@ -40,8 +40,8 @@ all install: ${JLIBTOOL}
+ # binary!
+ ${JLIBTOOL}: ${top_makedir}/jlibtool.c
  	$(Q)mkdir -p $(dir $@)
 -	$(Q)echo CC jlibtool.c
 -	$(Q)${CC} $< -o $@ ${JLIBTOOL_DEFS}
 +	$(Q)echo CC_FOR_BUILD jlibtool.c
 +	${CC_FOR_BUILD} $< -o $@ ${JLIBTOOL_DEFS}
  
-     clean: jlibtool_clean
+ clean: jlibtool_clean
  

+ 2 - 2
package/openldap/Makefile

@@ -9,8 +9,8 @@ PKG_RELEASE:=		1
 PKG_HASH:=		48969323e94e3be3b03c6a132942dcba7ef8d545f2ad35401709019f696c3c4e
 PKG_DESCR:=		ldap client libraries
 PKG_SECTION:=		libs/misc
-PKG_DEPENDS:=		libsasl2 libuuid libncurses libressl
-PKG_BUILDDEP:=		cyrus-sasl util-linux libressl
+PKG_DEPENDS:=		libsasl2 libuuid libncurses libopenssl
+PKG_BUILDDEP:=		cyrus-sasl util-linux openssl
 PKG_NEEDS:=		threads c++
 PKG_URL:=		http://www.openldap.org/
 PKG_SITES:=		https://openldap.org/software/download/OpenLDAP/openldap-release/