srcpkgs: no need to set /var/empty in system_accounts, it's the default.

This commit is contained in:
Juan RP 2015-03-08 19:59:48 +01:00
parent 3e097f3449
commit a553ee1a50
5 changed files with 5 additions and 11 deletions

View file

@ -1,10 +1,9 @@
# Template file for 'nethack'
pkgname=nethack
version=3.4.3
revision=2
revision=3
make_dirs="/var/games/nethack/save 0775 nethack nethack"
system_accounts="$pkgname"
nethack_homedir="/var/empty"
hostmakedepends="ncurses-devel flex groff"
depends="gzip"
short_desc="Exploring The Mazes of Menace"

View file

@ -1,7 +1,7 @@
# Template file for 'nix'
pkgname=nix
version=1.8
revision=3
revision=4
build_style=gnu-configure
# Use /nix/var as suggested by the official Manual.
configure_args="--localstatedir=/nix/var"
@ -15,7 +15,6 @@ conf_files="/etc/nix/nix.conf"
system_groups="nixbld"
for f in $(seq 10); do
system_accounts+=" nixbld${f}"
eval export nixbld\${f}_homedir="/var/empty"
eval export nixbld\${f}_groups="nixbld"
done
# Create required run-time directories.

View file

@ -1,7 +1,7 @@
# Template file for 'openntpd'
pkgname=openntpd
version=5.7p3
revision=5
revision=6
build_pie=yes
build_style=gnu-configure
configure_args="--with-privsep-user=$pkgname"
@ -17,7 +17,6 @@ conf_files="/etc/ntpd.conf"
provides="ntp-daemon-0_1"
replaces="ntp-daemon>=0"
system_accounts="$pkgname"
openntpd_homedir="/var/empty"
post_install() {
vsv $pkgname

View file

@ -1,7 +1,7 @@
# Template file for 'opensmtpd'
pkgname=opensmtpd
version=5.4.4p1
revision=6
revision=7
build_style=gnu-configure
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/sbin
--with-maildir=/var/spool/mail --with-privsep-path=/var/db
@ -24,9 +24,7 @@ checksum=1118330aa54e9a8a30914a1f2e129a83f2954a5956300eade522a1396f6d8ebd
system_accounts="smtpd smtpq"
smtpd_descr="SMTPD daemon"
smtpd_homedir="/var/empty"
smtpq_descr="SMTPD queue"
smtpq_homedir="/var/empty"
pre_configure() {
touch README AUTHORS NEWS ChangeLog

View file

@ -1,7 +1,7 @@
# Template file for 'polkit'
pkgname=polkit
version=0.112
revision=7
revision=8
build_style=gnu-configure
configure_args="--disable-static --with-authfw=pam --with-os-type=void --with-mozjs=mozjs-17.0"
short_desc="Authorization Toolkit"
@ -14,7 +14,6 @@ checksum=d695f43cba4748a822fbe864dd32c4887c5da1c71694a47693ace5e88fcf6af6
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel"
makedepends="libglib-devel expat-devel pam-devel mozjs17-devel"
system_accounts="polkitd"
polkitd_homedir="/var/empty"
make_dirs="
/etc/polkit-1/rules.d 0700 polkitd polkitd
/usr/share/polkit-1/rules.d 0700 polkitd polkitd"