From a553ee1a50bbef1b23c6baaeaa6c7855eb761c52 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 8 Mar 2015 19:59:48 +0100 Subject: [PATCH] srcpkgs: no need to set /var/empty in system_accounts, it's the default. --- srcpkgs/nethack/template | 3 +-- srcpkgs/nix/template | 3 +-- srcpkgs/openntpd/template | 3 +-- srcpkgs/opensmtpd/template | 4 +--- srcpkgs/polkit/template | 3 +-- 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/srcpkgs/nethack/template b/srcpkgs/nethack/template index 9964b375283..7edc1936381 100644 --- a/srcpkgs/nethack/template +++ b/srcpkgs/nethack/template @@ -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" diff --git a/srcpkgs/nix/template b/srcpkgs/nix/template index 2a439bf6204..4d81ab81db4 100644 --- a/srcpkgs/nix/template +++ b/srcpkgs/nix/template @@ -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. diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template index 5afd3d49f28..36178028919 100644 --- a/srcpkgs/openntpd/template +++ b/srcpkgs/openntpd/template @@ -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 diff --git a/srcpkgs/opensmtpd/template b/srcpkgs/opensmtpd/template index 9b07880cf8d..d52ba5c5b35 100644 --- a/srcpkgs/opensmtpd/template +++ b/srcpkgs/opensmtpd/template @@ -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 diff --git a/srcpkgs/polkit/template b/srcpkgs/polkit/template index dc7a61189ab..37692b8bc0d 100644 --- a/srcpkgs/polkit/template +++ b/srcpkgs/polkit/template @@ -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"