diff options
| author | Ankur Tyagi <ankur.tyagi85@gmail.com> | 2025-11-11 22:37:33 +1300 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2025-11-12 11:14:57 +0530 |
| commit | 102c073c3539c1b3052a7ea1a8d99f6739d509ff (patch) | |
| tree | 4be6bc80d246606b89fdc2ab3d287af0643f0af9 | |
| parent | 1d9c04fea8b94014754103d505baa80f93cb39a7 (diff) | |
| download | meta-openembedded-102c073c3539c1b3052a7ea1a8d99f6739d509ff.tar.gz | |
freeradius: upgrade 3.2.5 -> 3.2.6
Release Notes:
https://github.com/FreeRADIUS/freeradius-server/releases/tag/release_3_2_6
Refresh patch 0008-libtool-do-not-use-jlibtool.patch due to upstream commit:
https://github.com/FreeRADIUS/freeradius-server/commit/315f09e4ebde14f171f107020f05473dbc9ac8f6
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
| -rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch | 105 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/freeradius/freeradius_3.2.6.bb (renamed from meta-networking/recipes-connectivity/freeradius/freeradius_3.2.5.bb) | 2 |
2 files changed, 80 insertions, 27 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch b/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch index 559b857b63..b85f26c70d 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch +++ b/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From d0fa5b259c2dc942d0a43a9cf1bfc32f40c184f9 Mon Sep 17 00:00:00 2001 | 1 | From fa211ce85ff385d670562ec7332fb350d8c02e2b Mon Sep 17 00:00:00 2001 |
| 2 | From: Jackie Huang <jackie.huang@windriver.com> | 2 | From: Jackie Huang <jackie.huang@windriver.com> |
| 3 | Date: Thu, 7 Jan 2016 22:37:30 -0800 | 3 | Date: Thu, 7 Jan 2016 22:37:30 -0800 |
| 4 | Subject: [PATCH] libtool: do not use jlibtool | 4 | Subject: [PATCH] libtool: do not use jlibtool |
| @@ -11,27 +11,27 @@ Upstream-Status: Inappropriate [embedded specific] | |||
| 11 | 11 | ||
| 12 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | 12 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
| 13 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | 13 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
| 14 | Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> | ||
| 14 | --- | 15 | --- |
| 15 | Make.inc.in | 4 ++-- | 16 | Make.inc.in | 3 +- |
| 16 | scripts/boiler.mk | 2 ++ | 17 | scripts/boiler.mk | 4 ++- |
| 17 | scripts/install.mk | 14 +++++++------- | 18 | scripts/install.mk | 14 +++++----- |
| 18 | scripts/libtool.mk | 22 ++++++++++++++++------ | 19 | scripts/libtool.mk | 69 +++++++++++++++++++++++++++------------------- |
| 19 | 4 files changed, 27 insertions(+), 15 deletions(-) | 20 | 4 files changed, 52 insertions(+), 38 deletions(-) |
| 20 | 21 | ||
| 21 | diff --git a/Make.inc.in b/Make.inc.in | 22 | diff --git a/Make.inc.in b/Make.inc.in |
| 22 | index 05f82776ff..e78f3fe9dc 100644 | 23 | index fefb022a26..e78f3fe9dc 100644 |
| 23 | --- a/Make.inc.in | 24 | --- a/Make.inc.in |
| 24 | +++ b/Make.inc.in | 25 | +++ b/Make.inc.in |
| 25 | @@ -57,7 +57,7 @@ CPPFLAGS = @CPPFLAGS@ | 26 | @@ -57,6 +57,7 @@ CPPFLAGS = @CPPFLAGS@ |
| 26 | LIBPREFIX = @LIBPREFIX@ | 27 | LIBPREFIX = @LIBPREFIX@ |
| 27 | EXEEXT = @EXEEXT@ | 28 | EXEEXT = @EXEEXT@ |
| 28 | 29 | ||
| 29 | -LIBTOOL = JLIBTOOL | ||
| 30 | +LIBTOOL = @LIBTOOL@ | 30 | +LIBTOOL = @LIBTOOL@ |
| 31 | ACLOCAL = @ACLOCAL@ | 31 | ACLOCAL = @ACLOCAL@ |
| 32 | AUTOCONF = @AUTOCONF@ | 32 | AUTOCONF = @AUTOCONF@ |
| 33 | AUTOHEADER = @AUTOHEADER@ | 33 | AUTOHEADER = @AUTOHEADER@ |
| 34 | @@ -168,7 +168,7 @@ ANALYZE.c := @clang_path@ | 34 | @@ -167,7 +168,7 @@ ANALYZE.c := @clang_path@ |
| 35 | # | 35 | # |
| 36 | ifeq "$(USE_SHARED_LIBS)" "yes" | 36 | ifeq "$(USE_SHARED_LIBS)" "yes" |
| 37 | TESTBINDIR = ./$(BUILD_DIR)/bin/local | 37 | TESTBINDIR = ./$(BUILD_DIR)/bin/local |
| @@ -41,25 +41,34 @@ index 05f82776ff..e78f3fe9dc 100644 | |||
| 41 | TESTBINDIR = ./$(BUILD_DIR)/bin | 41 | TESTBINDIR = ./$(BUILD_DIR)/bin |
| 42 | TESTBIN = ./$(BUILD_DIR)/bin | 42 | TESTBIN = ./$(BUILD_DIR)/bin |
| 43 | diff --git a/scripts/boiler.mk b/scripts/boiler.mk | 43 | diff --git a/scripts/boiler.mk b/scripts/boiler.mk |
| 44 | index 2ce0c18f34..567cc0f22f 100644 | 44 | index 9d70104747..f436163583 100644 |
| 45 | --- a/scripts/boiler.mk | 45 | --- a/scripts/boiler.mk |
| 46 | +++ b/scripts/boiler.mk | 46 | +++ b/scripts/boiler.mk |
| 47 | @@ -272,6 +272,7 @@ define COMPILE_C_CMDS | 47 | @@ -271,6 +271,7 @@ define COMPILE_C_CMDS |
| 48 | $(Q)$(ECHO) CC $< | 48 | $(Q)$(ECHO) CC $< |
| 49 | $(Q)$(strip ${COMPILE.c} -o $@ -c -MD ${CPPFLAGS} ${CFLAGS} ${SRC_CFLAGS} ${INCDIRS} \ | 49 | $(Q)$(strip ${COMPILE.c} -o $@ -c -MD ${CPPFLAGS} ${CFLAGS} ${SRC_CFLAGS} ${INCDIRS} \ |
| 50 | $(addprefix -I, ${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} $<) | 50 | $(addprefix -I, ${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} $<) |
| 51 | + ${Q}mv $(dir $@)/.libs/$(notdir $*.d) ${BUILD_DIR}/objs/$*.d | 51 | + ${Q}mv $(dir $@)/.libs/$(notdir $*.d) ${BUILD_DIR}/objs/$*.d |
| 52 | endef | 52 | endef |
| 53 | else | 53 | else |
| 54 | # | 54 | # |
| 55 | @@ -287,6 +288,7 @@ define COMPILE_C_CMDS | 55 | @@ -286,6 +287,7 @@ define COMPILE_C_CMDS |
| 56 | $(Q)cppcheck --enable=style -q ${CHECKFLAGS} $(filter -isystem%,${SRC_CFLAGS}) \ | 56 | $(Q)cppcheck --enable=style -q ${CHECKFLAGS} $(filter -isystem%,${SRC_CFLAGS}) \ |
| 57 | $(filter -I%,${SRC_CFLAGS}) $(filter -D%,${SRC_CFLAGS}) ${INCDIRS} \ | 57 | $(filter -I%,${SRC_CFLAGS}) $(filter -D%,${SRC_CFLAGS}) ${INCDIRS} \ |
| 58 | $(addprefix -I,${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} --suppress=variableScope --suppress=invalidscanf $< | 58 | $(addprefix -I,${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} --suppress=variableScope --suppress=invalidscanf $< |
| 59 | + ${Q}mv $(dir $@)/.libs/$(notdir $*.d) ${BUILD_DIR}/objs/$*.d | 59 | + ${Q}mv $(dir $@)/.libs/$(notdir $*.d) ${BUILD_DIR}/objs/$*.d |
| 60 | endef | 60 | endef |
| 61 | endif | 61 | endif |
| 62 | 62 | ||
| 63 | @@ -603,7 +605,7 @@ $(BUILD_DIR): | ||
| 64 | |||
| 65 | # Define compilers and linkers | ||
| 66 | # | ||
| 67 | -BOOTSTRAP_BUILD = | ||
| 68 | +BOOTSTRAP_BUILD = | ||
| 69 | COMPILE.c = ${CC} | ||
| 70 | COMPILE.cxx = ${CXX} | ||
| 71 | CPP = cc -E | ||
| 63 | diff --git a/scripts/install.mk b/scripts/install.mk | 72 | diff --git a/scripts/install.mk b/scripts/install.mk |
| 64 | index 916411563b..e38c1ed697 100644 | 73 | index 916411563b..e38c1ed697 100644 |
| 65 | --- a/scripts/install.mk | 74 | --- a/scripts/install.mk |
| @@ -116,21 +125,67 @@ index 916411563b..e38c1ed697 100644 | |||
| 116 | 125 | ||
| 117 | 126 | ||
| 118 | diff --git a/scripts/libtool.mk b/scripts/libtool.mk | 127 | diff --git a/scripts/libtool.mk b/scripts/libtool.mk |
| 119 | index 381127ec2d..e83d7e6ad7 100644 | 128 | index 64c2fe0804..5ee5f321b9 100644 |
| 120 | --- a/scripts/libtool.mk | 129 | --- a/scripts/libtool.mk |
| 121 | +++ b/scripts/libtool.mk | 130 | +++ b/scripts/libtool.mk |
| 122 | @@ -60,7 +60,9 @@ ifeq "${LIBTOOL}" "JLIBTOOL" | 131 | @@ -29,29 +29,33 @@ ifeq "$(findstring darwin,$(HOSTINFO))" "darwin" |
| 123 | # Tell GNU Make to use this value, rather than anything specified | 132 | JLIBTOOL_DEFS += -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib |
| 124 | # on the command line. | 133 | endif |
| 125 | override LIBTOOL := ${JLIBTOOL} | 134 | |
| 126 | -endif # else we're not using jlibtool | 135 | -JLIBTOOL := ${BUILD_DIR}/make/jlibtool |
| 136 | - | ||
| 137 | -# Add a rule to build jlibtool BEFORE any other targets. This | ||
| 138 | -# means that we can use it to build the later targets. | ||
| 139 | -all install: ${JLIBTOOL} | ||
| 140 | - | ||
| 141 | -# Note that we need to use a compilation rule that does NOT | ||
| 142 | -# include referencing ${LIBTOOL}, as we don't have a jlibtool | ||
| 143 | -# binary! | ||
| 144 | -${JLIBTOOL}: ${top_makedir}/jlibtool.c | ||
| 145 | - $(Q)mkdir -p $(dir $@) | ||
| 146 | - $(Q)echo CC jlibtool.c | ||
| 147 | - $(Q)${CC} $< -o $@ ${JLIBTOOL_DEFS} | ||
| 148 | - | ||
| 149 | -clean: jlibtool_clean | ||
| 150 | - | ||
| 151 | -.PHONY: jlibtool_clean | ||
| 152 | -jlibtool_clean: | ||
| 153 | - $(Q)rm -f ${JLIBTOOL} | ||
| 154 | - | ||
| 155 | -# Tell GNU Make to use this value, rather than anything specified | ||
| 156 | -# on the command line. | ||
| 157 | -override LIBTOOL := ${JLIBTOOL} | ||
| 158 | +ifeq "${LIBTOOL}" "JLIBTOOL" | ||
| 159 | + JLIBTOOL := ${BUILD_DIR}/make/jlibtool | ||
| 160 | + | ||
| 161 | + # Add a rule to build jlibtool BEFORE any other targets. This | ||
| 162 | + # means that we can use it to build the later targets. | ||
| 163 | + all install: ${JLIBTOOL} | ||
| 164 | + | ||
| 165 | + # Note that we need to use a compilation rule that does NOT | ||
| 166 | + # include referencing ${LIBTOOL}, as we don't have a jlibtool | ||
| 167 | + # binary! | ||
| 168 | + ${JLIBTOOL}: ${top_makedir}/jlibtool.c | ||
| 169 | + $(Q)mkdir -p $(dir $@) | ||
| 170 | + $(Q)echo CC jlibtool.c | ||
| 171 | + $(Q)${CC} $< -o $@ ${JLIBTOOL_DEFS} | ||
| 172 | + | ||
| 173 | + clean: jlibtool_clean | ||
| 174 | + | ||
| 175 | + .PHONY: jlibtool_clean | ||
| 176 | + jlibtool_clean: | ||
| 177 | + $(Q)rm -f ${JLIBTOOL} | ||
| 178 | + | ||
| 179 | + # Tell GNU Make to use this value, rather than anything specified | ||
| 180 | + # on the command line. | ||
| 181 | + override LIBTOOL := ${JLIBTOOL} | ||
| 127 | +else # else we're not using jlibtool | 182 | +else # else we're not using jlibtool |
| 128 | + all install: ${LIBTOOL} | 183 | + all install: ${LIBTOOL} |
| 129 | +endif | 184 | +endif |
| 130 | 185 | ||
| 131 | # When using libtool, it produces a '.libs' directory. Ensure that it | 186 | # When using libtool, it produces a '.libs' directory. Ensure that it |
| 132 | # is removed on "make clean", too. | 187 | # is removed on "make clean", too. |
| 133 | @@ -74,11 +76,19 @@ clean: .libs_clean | 188 | @@ -65,12 +69,19 @@ clean: .libs_clean |
| 134 | # Re-define compilers and linkers | 189 | # Re-define compilers and linkers |
| 135 | # | 190 | # |
| 136 | OBJ_EXT = lo | 191 | OBJ_EXT = lo |
| @@ -139,6 +194,7 @@ index 381127ec2d..e83d7e6ad7 100644 | |||
| 139 | -LINK.c = ${LIBTOOL} --silent --mode=link ${CC} | 194 | -LINK.c = ${LIBTOOL} --silent --mode=link ${CC} |
| 140 | -LINK.cxx = ${LIBTOOL} --mode=link ${CXX} | 195 | -LINK.cxx = ${LIBTOOL} --mode=link ${CXX} |
| 141 | -PROGRAM_INSTALL = ${LIBTOOL} --silent --mode=install ${INSTALL} | 196 | -PROGRAM_INSTALL = ${LIBTOOL} --silent --mode=install ${INSTALL} |
| 197 | - | ||
| 142 | +ifeq "${LIBTOOL}" "JLIBTOOL" | 198 | +ifeq "${LIBTOOL}" "JLIBTOOL" |
| 143 | + COMPILE.c = ${LIBTOOL} --silent --mode=compile ${CC} | 199 | + COMPILE.c = ${LIBTOOL} --silent --mode=compile ${CC} |
| 144 | + COMPILE.cxx = ${LIBTOOL} --mode=compile ${CXX} | 200 | + COMPILE.cxx = ${LIBTOOL} --mode=compile ${CXX} |
| @@ -153,8 +209,5 @@ index 381127ec2d..e83d7e6ad7 100644 | |||
| 153 | + PROGRAM_INSTALL = ${LIBTOOL} --mode=install ${INSTALL} | 209 | + PROGRAM_INSTALL = ${LIBTOOL} --mode=install ${INSTALL} |
| 154 | +endif | 210 | +endif |
| 155 | 211 | ||
| 156 | |||
| 157 | # LIBTOOL_ENDINGS - Given a library ending in ".a" or ".so", replace that | 212 | # LIBTOOL_ENDINGS - Given a library ending in ".a" or ".so", replace that |
| 158 | -- | 213 | # extension with ".la". |
| 159 | 2.25.1 | ||
| 160 | |||
diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.5.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.6.bb index 70f2496170..9c75bc0d3d 100644 --- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.5.bb +++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.6.bb | |||
| @@ -39,7 +39,7 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;lfs=0 | |||
| 39 | 39 | ||
| 40 | raddbdir = "${sysconfdir}/${MLPREFIX}raddb" | 40 | raddbdir = "${sysconfdir}/${MLPREFIX}raddb" |
| 41 | 41 | ||
| 42 | SRCREV = "a7acce80f5ba2271d9aeb737a4a91a5bf8317f31" | 42 | SRCREV = "a696279897f9e87c2fb2b1b8388da5a4aa09835f" |
| 43 | 43 | ||
| 44 | UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)" | 44 | UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)" |
| 45 | 45 | ||
