diff options
author | Fabian Groffen <grobian@gentoo.org> | 2012-11-04 19:32:38 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2012-11-04 19:32:38 +0000 |
commit | cd304df23f1fbc4eb817b03bd5c0ecc034d14360 (patch) | |
tree | b451a60a84f40dd437aa83e3c24978ab994cb8e1 /mail-mta | |
parent | latest snapshot, compilefix ffmpeg-0.10.2, thanks to ? on bug 422505 (diff) | |
download | gentoo-2-cd304df23f1fbc4eb817b03bd5c0ecc034d14360.tar.gz gentoo-2-cd304df23f1fbc4eb817b03bd5c0ecc034d14360.tar.bz2 gentoo-2-cd304df23f1fbc4eb817b03bd5c0ecc034d14360.zip |
Deliver as group mail such that we can create new mail by default in /var/spool/mail, bug #438606 by DominikBuerkle
(Portage version: 2.2.01.21313-prefix/cvs/Darwin i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/exim/ChangeLog | 7 | ||||
-rw-r--r-- | mail-mta/exim/exim-4.80.1.ebuild | 8 | ||||
-rw-r--r-- | mail-mta/exim/files/exim-4.80-spool-mail-group.patch | 27 |
3 files changed, 39 insertions, 3 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog index 59f813319596..397f2505e88f 100644 --- a/mail-mta/exim/ChangeLog +++ b/mail-mta/exim/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-mta/exim # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.237 2012/10/30 21:00:04 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.238 2012/11/04 19:32:38 grobian Exp $ + + 04 Nov 2012; Fabian Groffen <grobian@gentoo.org> + +files/exim-4.80-spool-mail-group.patch, exim-4.80.1.ebuild: + Deliver as group mail such that we can create new mail by default in + /var/spool/mail, bug #438606 by DominikBuerkle 30 Oct 2012; <swift@gentoo.org> exim-4.76.ebuild, exim-4.76-r1.ebuild, exim-4.77.ebuild, exim-4.80.ebuild, exim-4.80.1.ebuild: diff --git a/mail-mta/exim/exim-4.80.1.ebuild b/mail-mta/exim/exim-4.80.1.ebuild index 97be05191bf6..71c3c9d3a2fb 100644 --- a/mail-mta/exim/exim-4.80.1.ebuild +++ b/mail-mta/exim/exim-4.80.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.80.1.ebuild,v 1.7 2012/10/30 21:00:04 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.80.1.ebuild,v 1.8 2012/11/04 19:32:38 grobian Exp $ EAPI="3" @@ -83,7 +83,11 @@ src_prepare() { epatch "${FILESDIR}"/exim-4.77-as-needed-ldflags.patch # 352265, 391279 epatch "${FILESDIR}"/exim-4.76-crosscompile.patch # 266591 - use maildir && epatch "${FILESDIR}"/exim-4.20-maildir.patch + if use maildir ; then + epatch "${FILESDIR}"/exim-4.20-maildir.patch + else + epatch "${FILESDIR}"/exim-4.80-spool-mail-group.patch # 438606 + fi if use dsn ; then cp "${DISTDIR}"/exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch . || die diff --git a/mail-mta/exim/files/exim-4.80-spool-mail-group.patch b/mail-mta/exim/files/exim-4.80-spool-mail-group.patch new file mode 100644 index 000000000000..6f88d8533e8b --- /dev/null +++ b/mail-mta/exim/files/exim-4.80-spool-mail-group.patch @@ -0,0 +1,27 @@ +Change default such that we run on a stock Gentoo system. Bug #438606 + +--- src/configure.default ++++ src/configure.default +@@ -674,8 +674,9 @@ + # 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. + # 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. ++# particular group instead of using the sticky bit. This is also the ++# default case on Gentoo, therefore group and mode are set below. ++# Comment them out, to get the default behaviour. + + local_delivery: + driver = appendfile +@@ -683,8 +684,8 @@ + delivery_date_add + envelope_to_add + return_path_add +-# group = mail +-# mode = 0660 ++ group = mail ++ mode = 0660 + + + # This transport is used for handling pipe deliveries generated by alias or |