mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
net-fs/samba: add dev-python/setproctitle as optfeature
When running samba-tool or samba-gpupdate (available with addc and/or ads USE flags) and specify passwords in command line, these scripts optionally import `dev-python/setproctitle` to hide those password in the process table Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/45393 Closes: https://github.com/gentoo/gentoo/pull/45393 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
555e1c539d
commit
a4233bdcd6
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_REQ_USE="threads(+),xml(+)"
|
||||
inherit python-single-r1 flag-o-matic waf-utils multilib-minimal linux-info systemd pam tmpfiles
|
||||
inherit python-single-r1 flag-o-matic waf-utils multilib-minimal linux-info optfeature systemd pam tmpfiles
|
||||
|
||||
DESCRIPTION="Samba Suite Version 4"
|
||||
HOMEPAGE="https://samba.org/"
|
||||
@@ -390,4 +390,8 @@ multilib_src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process samba.conf
|
||||
|
||||
if use addc || use ads ; then
|
||||
optfeature "Hide passwords from command line when using samba-tool or samba-gpupdate" dev-python/setproctitle
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_REQ_USE="threads(+),xml(+)"
|
||||
inherit python-single-r1 flag-o-matic waf-utils multilib-minimal linux-info systemd pam tmpfiles
|
||||
inherit python-single-r1 flag-o-matic waf-utils multilib-minimal linux-info optfeature systemd pam tmpfiles
|
||||
|
||||
DESCRIPTION="Samba Suite Version 4"
|
||||
HOMEPAGE="https://samba.org/"
|
||||
@@ -390,4 +390,8 @@ multilib_src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process samba.conf
|
||||
|
||||
if use addc || use ads ; then
|
||||
optfeature "Hide passwords from command line when using samba-tool or samba-gpupdate" dev-python/setproctitle
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_REQ_USE="threads(+),xml(+)"
|
||||
inherit python-single-r1 flag-o-matic waf-utils multilib-minimal linux-info systemd pam tmpfiles
|
||||
inherit python-single-r1 flag-o-matic waf-utils multilib-minimal linux-info optfeature systemd pam tmpfiles
|
||||
|
||||
DESCRIPTION="Samba Suite Version 4"
|
||||
HOMEPAGE="https://samba.org/"
|
||||
@@ -393,4 +393,8 @@ multilib_src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process samba.conf
|
||||
|
||||
if use addc || use ads ; then
|
||||
optfeature "Hide passwords from command line when using samba-tool or samba-gpupdate" dev-python/setproctitle
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user