mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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:
committed by
Marcus Hoffmann
parent
6add6e3cd8
commit
f773bb8bc0
@@ -50,10 +50,14 @@ define OPENDOAS_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define OPENDOAS_INSTALL_TARGET_CMDS
|
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)
|
$(OPENDOAS_INSTALL_PAM_CONF)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define OPENDOAS_PERMISSIONS
|
||||||
|
/usr/bin/doas f 4755 0 0 - - - - -
|
||||||
|
endef
|
||||||
|
|
||||||
# NOTE: Even though this package has a "configure" script, it is not
|
# NOTE: Even though this package has a "configure" script, it is not
|
||||||
# generated using autotools, so we have to use the generic package
|
# generated using autotools, so we have to use the generic package
|
||||||
# infrastructure.
|
# infrastructure.
|
||||||
|
|||||||
Reference in New Issue
Block a user