Skip to contentSkip to conversation

package/linux-pam: remove flex dependency

PATCH Applied Damien Thébault 3 participants 3 messages Oct 5, 2024 – Oct 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linux-pam: remove flex dependency

linux-pam 1.2.0 removed the use of yywrap, so the flex dependency is not needed now (host-flex is still needed).

---
 package/linux-pam/Config.in    | 1 -
 package/linux-pam/linux-pam.mk | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
package/linux-pam/Config.in +0 -1
index 1aa9045333..6b08a9c4c2 100644
@@ -5,7 +5,6 @@ config BR2_PACKAGE_LINUX_PAM
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
-	select BR2_PACKAGE_FLEX
 	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
 	help
 	  A Security Framework that Provides Authentication for
package/linux-pam/linux-pam.mk +1 -1
index 1433eb00b3..a5b8c9151f 100644
@@ -16,7 +16,7 @@ LINUX_PAM_CONF_OPTS = \
 	--disable-regenerate-docu \
 	--enable-securedir=/lib/security \
 	--libdir=/lib
-LINUX_PAM_DEPENDENCIES = flex host-flex host-pkgconf \
+LINUX_PAM_DEPENDENCIES = host-flex host-pkgconf \
 	$(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) \
 	$(TARGET_NLS_DEPENDENCIES)
 LINUX_PAM_LICENSE = BSD-3-Clause
Signature · 6 lines
2.46.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · Damien Thébault

linux-pam 1.2.0 removed the use of yywrap, so the flex dependency is not needed now (host-flex is still needed).

Applied to master, thanks.

I've also a Fixes: #47 tag to make sure the ticket you opened earlier gets closed.

Regards,
Arnout

Quoted 22 lines
---
  package/linux-pam/Config.in    | 1 -
  package/linux-pam/linux-pam.mk | 2 +-
  2 files changed, 1 insertion(+), 2 deletions(-)
package/linux-pam/Config.in +0 -1
index 1aa9045333..6b08a9c4c2 100644
@@ -5,7 +5,6 @@ config BR2_PACKAGE_LINUX_PAM
  	depends on !BR2_STATIC_LIBS
  	depends on BR2_USE_MMU # fork()
  	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
-	select BR2_PACKAGE_FLEX
  	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
  	help
  	  A Security Framework that Provides Authentication for
package/linux-pam/linux-pam.mk +0 -0
index 1433eb00b3..a5b8c9151f 100644

package/linux-pam/linux-pam.mk LINUX_PAM_CONF_OPTS = \ · line 22

Quoted 8 lines
package/linux-pam/linux-pam.mk +1 -1
@@ -16,7 +16,7 @@ LINUX_PAM_CONF_OPTS = \
  	--disable-regenerate-docu \
  	--enable-securedir=/lib/security \
  	--libdir=/lib
-LINUX_PAM_DEPENDENCIES = flex host-flex host-pkgconf \
+LINUX_PAM_DEPENDENCIES = host-flex host-pkgconf \
  	$(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) \
  	$(TARGET_NLS_DEPENDENCIES)
  LINUX_PAM_LICENSE = BSD-3-Clause

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Damien Thébault
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Damien" == Damien Thébault <[email protected]> writes:

linux-pam 1.2.0 removed the use of yywrap, so the flex dependency is not needed now (host-flex is still needed).

Committed to 2024.02.x and 2024.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot