package/opendoas: add SUID bit to installed binary

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Yann E. MORIN <yann.morin@orange.com>
[Marcus: slightly reword commit title to mention SUID bit]
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
Francois Perrad
2026-05-12 20:48:26 +02:00
committed by Marcus Hoffmann
parent 6add6e3cd8
commit f773bb8bc0

View File

@@ -50,10 +50,14 @@ define OPENDOAS_BUILD_CMDS
endef
define OPENDOAS_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/doas $(TARGET_DIR)/usr/bin/doas
$(INSTALL) -D $(@D)/doas $(TARGET_DIR)/usr/bin/doas
$(OPENDOAS_INSTALL_PAM_CONF)
endef
define OPENDOAS_PERMISSIONS
/usr/bin/doas f 4755 0 0 - - - - -
endef
# NOTE: Even though this package has a "configure" script, it is not
# generated using autotools, so we have to use the generic package
# infrastructure.