Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0f8bfccc6cf2c63aefd04aa0712546084a5ab480

commit 0f8bfccc6cf2c63aefd04aa0712546084a5ab480
Author: Krisztian VASAS <i...@frugalware.org>
Date:   Mon Mar 21 11:50:56 2011 +0100

exim-4.74-2-x86_64
- rebuilt with newer mysql
- changed /var/mail to /var/spool/mail in default config

diff --git a/source/network-extra/exim/FrugalBuild 
b/source/network-extra/exim/FrugalBuild
index d726867..a551b26 100644
--- a/source/network-extra/exim/FrugalBuild
+++ b/source/network-extra/exim/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=exim
pkgver=4.74
eximver=${pkgver%%.*}
-pkgrel=1
+pkgrel=2
pkgdesc="MTA developed at the University of Cambridge for use on Unix systems."
url="http://www.exim.org";
depends=('openldap>=2.4.23-2' 'cyrus-sasl' 'libmysqlclient' 'libpq')
@@ -21,8 +21,9 @@ 
source=("${mirror}/${pkgname}${eximver}/${pkgname}-${pkgver}.tar.bz2" \
"${pkgname}${eximver}.sysconfig" \
"add_localmakefile.patch" \
"ignore-exim_install-versioncheck.patch" \
-       "add-missing-destdir-to-install.patch")
-signatures=("${source[0]}.asc" '' '' '' '' '' '')
+       "add-missing-destdir-to-install.patch" \
+       "fix-default_config-mail_spool_path.patch")
+signatures=("${source[0]}.asc" '' '' '' '' '' '' '')
install="$pkgname.install"

build()
diff --git a/source/network-extra/exim/fix-default_config-mail_spool_path.patch 
b/source/network-extra/exim/fix-default_config-mail_spool_path.patch
new file mode 100644
index 0000000..eec8364
--- /dev/null
+++ b/source/network-extra/exim/fix-default_config-mail_spool_path.patch
@@ -0,0 +1,20 @@
+diff -Naur exim-4.74.orig/src/configure.default exim-4.74/src/configure.default
+--- exim-4.74.orig/src/configure.default       2011-01-24 22:40:38.000000000 
+0100
++++ exim-4.74/src/configure.default    2011-03-21 11:40:10.000000000 +0100
+@@ -649,14 +649,14 @@
+
+ # This transport is used for local delivery to user mailboxes in traditional
+ # BSD mailbox format. By default it will be run under the uid and gid of the
+-# local user, and requires the sticky bit to be set on the /var/mail 
directory.
++# local user, and requires the sticky bit to be set on the /var/spool/mail 
directory.
+ # Some systems use the alternative approach of running mail deliveries under a
+ # particular group instead of using the sticky bit. The commented options 
below
+ # show how this can be done.
+
+ local_delivery:
+   driver = appendfile
+-  file = /var/mail/$local_part
++  file = /var/spool/mail/$local_part
+   delivery_date_add
+   envelope_to_add
+   return_path_add
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to