From 6d351afef7bd4857adc2379cf4a47ae82dd4f5f1 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 13 Dec 2018 15:50:57 -0200 Subject: [PATCH] shadow: make our login.defs set MAIL_DIR to /var/mail --- srcpkgs/shadow/files/login.defs | 2 +- srcpkgs/shadow/template | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/shadow/files/login.defs b/srcpkgs/shadow/files/login.defs index a2bc8b51b7c..1daa67b4dd0 100644 --- a/srcpkgs/shadow/files/login.defs +++ b/srcpkgs/shadow/files/login.defs @@ -4,7 +4,7 @@ # Directory where mailboxes reside, _or_ name of file, relative to the # home directory. If you do define both, MAIL_DIR takes precedence. # -MAIL_DIR /var/spool/mail +MAIL_DIR /var/mail #MAIL_FILE .mail # Password aging controls: diff --git a/srcpkgs/shadow/template b/srcpkgs/shadow/template index bc4175daca8..11df83de5ae 100644 --- a/srcpkgs/shadow/template +++ b/srcpkgs/shadow/template @@ -1,10 +1,9 @@ # Template file for 'shadow' pkgname=shadow version=4.6 -revision=1 +revision=2 build_style=gnu-configure -configure_args="--bindir=/usr/bin --sbindir=/usr/bin - --libdir=/usr/lib --enable-shared --disable-static +configure_args="--enable-shared --disable-static --with-libpam --without-selinux --with-acl --with-attr --disable-nls --enable-subordinate-ids" hostmakedepends="automake gettext-devel libtool"