NetworkManager-openvpn: Fix system user creation. fixes #7276
This commit is contained in:
parent
354e9e0530
commit
2e59bf8816
1 changed files with 8 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'NetworkManager-openvpn'.
|
# Template build file for 'NetworkManager-openvpn'.
|
||||||
pkgname=NetworkManager-openvpn
|
pkgname=NetworkManager-openvpn
|
||||||
version=1.2.10
|
version=1.2.10
|
||||||
revision=2
|
revision=3
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
|
@ -14,5 +14,10 @@ distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
checksum=ac86a7a539d78df90095676e9183f2d422fb93dbfe4b3afef22f81825d303d61
|
checksum=ac86a7a539d78df90095676e9183f2d422fb93dbfe4b3afef22f81825d303d61
|
||||||
system_accounts="nm-openvpn"
|
system_accounts="_nm_openvpn"
|
||||||
nm-openvpn_homedir="/var/empty"
|
_nm_openvpn_homedir="/var/empty"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's/\(#define NM_OPENVPN_\(USER\|GROUP\)\).*/\1 "_nm_openvpn"/' \
|
||||||
|
shared/nm-service-defines.h
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue