openbsd-file: create system account for dropping privileges
This commit is contained in:
parent
f920b95d2c
commit
e3861f0ba9
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openbsd-file'
|
# Template file for 'openbsd-file'
|
||||||
pkgname=openbsd-file
|
pkgname=openbsd-file
|
||||||
version=6.2
|
version=6.2
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="file-${version}"
|
wrksrc="file-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--program-prefix=openbsd-"
|
configure_args="--program-prefix=openbsd-"
|
||||||
|
@ -13,6 +13,8 @@ homepage="https://github.com/brynet/file/"
|
||||||
distfiles="https://github.com/brynet/file/archive/v${version}.tar.gz"
|
distfiles="https://github.com/brynet/file/archive/v${version}.tar.gz"
|
||||||
checksum=f6bf601f513bd83038e343bbd93b7982f373669a2ffa76dc52d48fa7251515b2
|
checksum=f6bf601f513bd83038e343bbd93b7982f373669a2ffa76dc52d48fa7251515b2
|
||||||
|
|
||||||
|
system_accounts="_file"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
CFLAGS="-DREG_STARTEND=0"
|
CFLAGS="-DREG_STARTEND=0"
|
||||||
makedepends+=" musl-legacy-compat"
|
makedepends+=" musl-legacy-compat"
|
||||||
|
|
Loading…
Reference in New Issue