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'.
|
||||
pkgname=NetworkManager-openvpn
|
||||
version=1.2.10
|
||||
revision=2
|
||||
revision=3
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
|
@ -14,5 +14,10 @@ distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|||
license="GPL-2"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
checksum=ac86a7a539d78df90095676e9183f2d422fb93dbfe4b3afef22f81825d303d61
|
||||
system_accounts="nm-openvpn"
|
||||
nm-openvpn_homedir="/var/empty"
|
||||
system_accounts="_nm_openvpn"
|
||||
_nm_openvpn_homedir="/var/empty"
|
||||
|
||||
post_extract() {
|
||||
sed -i 's/\(#define NM_OPENVPN_\(USER\|GROUP\)\).*/\1 "_nm_openvpn"/' \
|
||||
shared/nm-service-defines.h
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue