Skip to contentSkip to conversation

package/shadow: drop BR2_PACKAGE_SHADOW_UTMPX

PATCH Applied Fabrice Fontaine 2 participants 2 messages Feb 11, 2024 – Mar 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/shadow: drop BR2_PACKAGE_SHADOW_UTMPX

utmpx is not available since bump to version 4.14.3 in commit 8a01774d9897310c00a0945865f5a6d5167dfca3 and
https://github.com/shadow-maint/shadow/commit/3be7b9d75a6b73fe24394d7ac1e315d60d45b5ee:

configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-utmpx

Fixes 8a01774d9897310c00a0945865f5a6d5167dfca3
---
 Config.in.legacy         | 6 ++++++
 package/shadow/Config.in | 5 -----
 package/shadow/shadow.mk | 6 ------
 3 files changed, 6 insertions(+), 11 deletions(-)
Config.in.legacy +6 -0
index a869279af7..576148c4af 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2024.02"
 
+config BR2_PACKAGE_SHADOW_UTMPX
+	bool "shadow utmpx removed"
+	select BR2_LEGACY
+	help
+	  UTMPX has been dropped by upstream.
+
 config BR2_PACKAGE_TINYMEMBENCH
 	bool "tinymembench removed"
 	select BR2_LEGACY
package/shadow/Config.in +0 -5
index e85e5884d2..230271af7d 100644
@@ -31,11 +31,6 @@ comment "account-tools-setuid needs a toolchain w/ dynamic library, wchar, local
 	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
 		!BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
-config BR2_PACKAGE_SHADOW_UTMPX
-	bool "utmpx"
-	help
-	  Enable loggin in utmpx / wtmpx.
-
 config BR2_PACKAGE_SHADOW_SUBORDINATE_IDS
 	bool "subordinate-ids"
 	help
package/shadow/shadow.mk +0 -6
index 03eb16a3f4..1e7ada6148 100644
@@ -43,12 +43,6 @@ else
 SHADOW_CONF_OPTS += --disable-account-tools-setuid
 endif
 
-ifeq ($(BR2_PACKAGE_SHADOW_UTMPX),y)
-SHADOW_CONF_OPTS += --enable-utmpx
-else
-SHADOW_CONF_OPTS += --disable-utmpx
-endif
-
 ifeq ($(BR2_PACKAGE_SHADOW_SUBORDINATE_IDS),y)
 SHADOW_CONF_OPTS += --enable-subordinate-ids
 define SHADOW_SUBORDINATE_IDS_PERMISSIONS
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · Fabrice Fontaine

utmpx is not available since bump to version 4.14.3 in commit 8a01774d9897310c00a0945865f5a6d5167dfca3 and
https://github.com/shadow-maint/shadow/commit/3be7b9d75a6b73fe24394d7ac1e315d60d45b5ee:

configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-utmpx

Fixes 8a01774d9897310c00a0945865f5a6d5167dfca3

Applied to master, thanks.

Regards,
Arnout

Quoted 46 lines
---
  Config.in.legacy         | 6 ++++++
  package/shadow/Config.in | 5 -----
  package/shadow/shadow.mk | 6 ------
  3 files changed, 6 insertions(+), 11 deletions(-)
Config.in.legacy +6 -0
index a869279af7..576148c4af 100644
@@ -146,6 +146,12 @@ endif
 
  comment "Legacy options removed in 2024.02"
 
+config BR2_PACKAGE_SHADOW_UTMPX
+	bool "shadow utmpx removed"
+	select BR2_LEGACY
+	help
+	  UTMPX has been dropped by upstream.
+
  config BR2_PACKAGE_TINYMEMBENCH
  	bool "tinymembench removed"
  	select BR2_LEGACY
package/shadow/Config.in +0 -5
index e85e5884d2..230271af7d 100644
@@ -31,11 +31,6 @@ comment "account-tools-setuid needs a toolchain w/ dynamic library, wchar, local
  	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
  		!BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
-config BR2_PACKAGE_SHADOW_UTMPX
-	bool "utmpx"
-	help
-	  Enable loggin in utmpx / wtmpx.
-
  config BR2_PACKAGE_SHADOW_SUBORDINATE_IDS
  	bool "subordinate-ids"
  	help
package/shadow/shadow.mk +0 -0
index 03eb16a3f4..1e7ada6148 100644
@@ -43,12 +43,6 @@ else
  SHADOW_CONF_OPTS += --disable-account-tools-setuid
  endif

package/shadow/shadow.mk else · line 48

Quoted 10 lines
package/shadow/shadow.mk +0 -6
 
-ifeq ($(BR2_PACKAGE_SHADOW_UTMPX),y)
-SHADOW_CONF_OPTS += --enable-utmpx
-else
-SHADOW_CONF_OPTS += --disable-utmpx
-endif
-
  ifeq ($(BR2_PACKAGE_SHADOW_SUBORDINATE_IDS),y)
  SHADOW_CONF_OPTS += --enable-subordinate-ids
  define SHADOW_SUBORDINATE_IDS_PERMISSIONS

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