Skip to contentSkip to conversation

package/xscreensaver: add linux-pam optional dependency

PATCH In review Fabrice Fontaine 2 participants 3 messages Feb 24, 2023 – Feb 25, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/xscreensaver: add linux-pam optional dependency

Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=15316

---
 package/xscreensaver/xscreensaver.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/xscreensaver/xscreensaver.mk +7 -0
index 6cc7e8febe..dc5f8b7e1e 100644
@@ -42,6 +42,13 @@ else
 XSCREENSAVER_CONF_OPTS += --with-png=no
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+XSCREENSAVER_CONF_OPTS += --with-pam=yes
+XSCREENSAVER_DEPENDENCIES += linux-pam
+else
+XSCREENSAVER_CONF_OPTS += --with-pam=no
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD),y)
 XSCREENSAVER_CONF_OPTS += --with-systemd=yes
 XSCREENSAVER_DEPENDENCIES += systemd
Signature · 6 lines
2.39.1

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

package/xscreensaver/xscreensaver.mk else · line 50

Quoted 6 lines · On Fri, 24 Feb 2023 11:17:20 +0100 Fabrice Fontaine…
package/xscreensaver/xscreensaver.mk +6 -0
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+XSCREENSAVER_CONF_OPTS += --with-pam=yes
+XSCREENSAVER_DEPENDENCIES += linux-pam
+else
+XSCREENSAVER_CONF_OPTS += --with-pam=no
+endif

Any reason not to use --with-pam/--without-pam like we do in Buildroot, rather than --with-pam=yes/--with-pam=no?

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 13 lines · Thomas Petazzoni

package/xscreensaver/xscreensaver.mk else · line 50

Quoted 6 lines · On Fri, 24 Feb 2023 11:17:20 +0100 Fabrice Fontaine…
package/xscreensaver/xscreensaver.mk +6 -0
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+XSCREENSAVER_CONF_OPTS += --with-pam=yes
+XSCREENSAVER_DEPENDENCIES += linux-pam
+else
+XSCREENSAVER_CONF_OPTS += --with-pam=no
+endif

Any reason not to use --with-pam/--without-pam like we do in Buildroot, rather than --with-pam=yes/--with-pam=no?

The only reason is for consistency with the other options in xscreensaver.mk .

Quoted 9 lines

Thanks!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

Best Regards,

Fabrice

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