commit: ea531ad6259cdb23c0f0ce639d59255f7c1e0d5f Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> AuthorDate: Wed Sep 9 10:43:57 2015 +0000 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> CommitDate: Wed Sep 9 10:43:57 2015 +0000 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=ea531ad6
mail-mta/nullmailer: add pre-release version supporting allmailfrom mail-mta/nullmailer/ChangeLog | 447 +++++++++++++++++++++ mail-mta/nullmailer/Manifest | 2 + mail-mta/nullmailer/files/init.d-nullmailer-r4 | 51 +++ .../files/nullmailer-1.13-unistd.h.patch | 28 ++ mail-mta/nullmailer/files/nullmailer.service | 17 + mail-mta/nullmailer/files/remotes.sample-1.13 | 29 ++ mail-mta/nullmailer/metadata.xml | 13 + .../nullmailer/nullmailer-1.14_pre20150527.ebuild | 142 +++++++ 8 files changed, 729 insertions(+) diff --git a/mail-mta/nullmailer/ChangeLog b/mail-mta/nullmailer/ChangeLog new file mode 100644 index 0000000..96fe5bf --- /dev/null +++ b/mail-mta/nullmailer/ChangeLog @@ -0,0 +1,447 @@ +# ChangeLog for mail-mta/nullmailer +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.93 2015/04/07 14:24:16 jlec Exp $ + + 02 Feb 2015; Justin Lecher <j...@gentoo.org> nullmailer-1.13-r5.ebuild, + +files/nullmailer-1.13-unistd.h.patch: + Import header in portable way, #538482 + + 05 Jan 2015; Justin Lecher <j...@gentoo.org> -nullmailer-1.13-r4.ebuild: + Drop old, obsoletes #521552 & #532588 + + 31 Dec 2014; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.13-r5.ebuild: + Stable for ppc, wrt bug #532622 + + 28 Dec 2014; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.13-r5.ebuild: + Stable for x86, wrt bug #532622 + + 27 Dec 2014; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.13-r5.ebuild: + Stable for amd64, wrt bug #532622 + +*nullmailer-1.13-r5 (15 Dec 2014) + + 15 Dec 2014; Justin Lecher <j...@gentoo.org> +nullmailer-1.13-r5.ebuild: + Drop einstall in favour of plain emake, #521552; prepend chmod/chown calls in + pkg_* with ROOT, #532588 + + 27 Mar 2014; Justin Lecher <j...@gentoo.org> -nullmailer-1.13-r2.ebuild, + -files/init.d-nullmailer-r3: + Drop old + + 24 Mar 2014; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.13-r4.ebuild: + Stable for ppc, wrt bug #502832 + + 09 Mar 2014; Pawel Hajdan jr <phajdan...@gentoo.org> + nullmailer-1.13-r4.ebuild: + x86 stable wrt bug #502832 + + 07 Mar 2014; Pacho Ramos <pa...@gentoo.org> nullmailer-1.13-r4.ebuild: + amd64 stable, bug #502832 + + 08 Jan 2014; Justin Lecher <j...@gentoo.org> files/nullmailer.service: + Also enable logging for systemd systems + +*nullmailer-1.13-r4 (08 Jan 2014) + + 08 Jan 2014; Justin Lecher <j...@gentoo.org> -nullmailer-1.13-r3.ebuild, + +nullmailer-1.13-r4.ebuild, +files/init.d-nullmailer-r4: + Enable sysloging + +*nullmailer-1.13-r3 (08 Jan 2014) + + 08 Jan 2014; Justin Lecher <j...@gentoo.org> +nullmailer-1.13-r3.ebuild, + -files/remotes.sample-1.04, -files/remotes.sample-1.11, + -files/init.d-nullmailer-r1, -files/init.d-nullmailer-r2: + Port debian patches to 0.13 which enables syslog again, #496960 + + 21 Dec 2013; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.13-r2.ebuild: + Stable for ppc, wrt bug #480060 + + 02 Nov 2013; Justin Lecher <j...@gentoo.org> -nullmailer-1.11-r2.ebuild, + -nullmailer-1.11-r3.ebuild: + Drop old + + 01 Nov 2013; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.13-r2.ebuild: + Stable for x86, wrt bug #480060 + + 20 Oct 2013; Pacho Ramos <pa...@gentoo.org> nullmailer-1.13-r2.ebuild: + amd64 stable, bug #480060 + + 25 Sep 2013; Justin Lecher <j...@gentoo.org> nullmailer-1.11-r2.ebuild, + nullmailer-1.11-r3.ebuild, nullmailer-1.13-r2.ebuild: + Fix incompatibilities with some automake versions, #478312 + +*nullmailer-1.13-r2 (25 Sep 2013) + + 25 Sep 2013; Justin Lecher <j...@gentoo.org> -nullmailer-1.11.ebuild, + -nullmailer-1.11-r1.ebuild, nullmailer-1.11-r2.ebuild, + nullmailer-1.11-r3.ebuild, -nullmailer-1.13.ebuild, + -nullmailer-1.13-r1.ebuild, +nullmailer-1.13-r2.ebuild, + +files/init.d-nullmailer-r3: + Drop old vulnerable versions, #480376; respect AR, #480394; make paludis + happy, #462846 thanks Thomas Witt for the patch; fix broken openrc + initscript, #480354 + + 25 Sep 2013; Justin Lecher <j...@gentoo.org> metadata.xml: + Add myself as maintainer + +*nullmailer-1.11-r3 (08 Sep 2013) + + 08 Sep 2013; Pacho Ramos <pa...@gentoo.org> +nullmailer-1.11-r3.ebuild: + Backport service file to 1.11.x to allow faster stabilization as 1.13 has some + regressions now (#480354) + + 28 Aug 2013; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.11-r2.ebuild: + Stable for x86, wrt bug #480376 + + 10 Aug 2013; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.11-r2.ebuild: + Stable for ppc, wrt bug #480376 + + 10 Aug 2013; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.11-r2.ebuild: + Stable for amd64, wrt bug #480376 + +*nullmailer-1.11-r2 (09 Aug 2013) + + 09 Aug 2013; Robin H. Johnson <robb...@gentoo.org> +nullmailer-1.11-r2.ebuild, + nullmailer-1.13-r1.ebuild: + Bump to fix security bug #480376, /etc/nullmailer/remotes world-readable + (backport to stable) + +*nullmailer-1.13-r1 (09 Aug 2013) + + 09 Aug 2013; Robin H. Johnson <robb...@gentoo.org> +nullmailer-1.13-r1.ebuild: + Bump to fix security bug #480376, /etc/nullmailer/remotes world-readable + +*nullmailer-1.13 (25 Jul 2013) + + 25 Jul 2013; Justin Lecher <j...@gentoo.org> +nullmailer-1.13.ebuild, + +files/remotes.sample-1.13, +files/nullmailer.service, metadata.xml: + Version Bump, #468152; Add support for systemd, #478166; fix wron + documentation, #475908 + + 28 Feb 2013; Jason A. Donenfeld <zx...@gentoo.org> nullmailer-1.11-r1.ebuild, + nullmailer-1.11.ebuild: + Block opensmtpd. + + 26 Jan 2013; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.11-r1.ebuild: + Stable for ppc, wrt bug #450820 + + 22 Jan 2013; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.11-r1.ebuild: + Stable for amd64, wrt bug #450820 + + 22 Jan 2013; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.11-r1.ebuild: + Stable for x86, wrt bug #450820 + + 08 Jan 2013; Eray Aslan <e...@gentoo.org> files/init.d-nullmailer-r2: + Do not provide mta + +*nullmailer-1.11-r1 (08 Jan 2013) + + 08 Jan 2013; Eray Aslan <e...@gentoo.org> +files/init.d-nullmailer-r2, + +files/remotes.sample-1.11, +nullmailer-1.11-r1.ebuild: + Documentation and init script update + + 06 Dec 2012; Eray Aslan <e...@gentoo.org> -files/init.d-nullmailer, + -files/nullmailer-1.10-fix-sendmail.patch, -nullmailer-1.05.ebuild, + -nullmailer-1.06.ebuild, -nullmailer-1.10-r1.ebuild, -nullmailer-1.10.ebuild: + Remove old + + 06 Nov 2012; Eray Aslan <e...@gentoo.org> nullmailer-1.05.ebuild, + nullmailer-1.06.ebuild, nullmailer-1.10-r1.ebuild, nullmailer-1.10.ebuild, + nullmailer-1.11.ebuild: + mail-mta/nbsmtp is no longer in the tree - remove from DEPEND + + 18 Sep 2012; Anthony G. Basile <bluen...@gentoo.org> nullmailer-1.11.ebuild: + stable ppc, bug #433303 + + 17 Sep 2012; Johannes Huber <j...@gentoo.org> nullmailer-1.11.ebuild: + Stable for x86, wrt bug #433303 + + 09 Sep 2012; Rajiv Aaron Manglani <ra...@gentoo.org> nullmailer-1.11.ebuild: + fix automake errors, bug #434500. + + 09 Sep 2012; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.11.ebuild: + Stable for amd64, wrt bug #433303 + + 05 Aug 2012; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.10-r1.ebuild: + Stable for amd64, wrt bug #428408 + + 30 Jul 2012; Anthony G. Basile <bluen...@gentoo.org> + nullmailer-1.10-r1.ebuild: + Stable ppc, bug #428408 + + 29 Jul 2012; Jeff Horelick <jdh...@gentoo.org> nullmailer-1.10-r1.ebuild: + marked x86 per bug 428408 + +*nullmailer-1.11 (28 Jul 2012) + + 28 Jul 2012; Eray Aslan <e...@gentoo.org> +nullmailer-1.11.ebuild: + Version bump + +*nullmailer-1.10-r1 (12 Jun 2012) + + 12 Jun 2012; Eray Aslan <e...@gentoo.org> +nullmailer-1.10-r1.ebuild, + +files/nullmailer-1.10-fix-sendmail.patch: + Fix option parsing - bug #420301 + +*nullmailer-1.10 (05 Jun 2012) + + 05 Jun 2012; Eray Aslan <e...@gentoo.org> +files/init.d-nullmailer-r1, + +nullmailer-1.10.ebuild: + Version bump. Change --chuid to --user in init script. Bugs #415417 #405529 + + 04 Jun 2012; Zac Medico <zmed...@gentoo.org> nullmailer-1.05.ebuild, + nullmailer-1.06.ebuild: + inherit user for enewgroup and enewuser + + 16 Mar 2012; Pawel Hajdan jr <phajdan...@gentoo.org> nullmailer-1.05.ebuild, + nullmailer-1.06.ebuild: + Switch to virtual/shadow. + +*nullmailer-1.06 (09 Mar 2012) + + 09 Mar 2012; Eray Aslan <e...@gentoo.org> -nullmailer-1.04.ebuild, + +nullmailer-1.06.ebuild: + version bump and remove old + + 09 Mar 2012; Pawel Hajdan jr <phajdan...@gentoo.org> nullmailer-1.05.ebuild: + x86 stable wrt bug #400367 + + 27 Feb 2012; Brent Baude <ran...@gentoo.org> nullmailer-1.05.ebuild: + Marking nullmailer-1.05 ppc for bug 400367 + + 24 Feb 2012; Agostino Sarubbo <a...@gentoo.org> nullmailer-1.05.ebuild: + Stable for amd64, wrt bug #400367 + +*nullmailer-1.05 (20 Jul 2011) + + 20 Jul 2011; Robin H. Johnson <robb...@gentoo.org> +nullmailer-1.05.ebuild, + +nullmailer-1.05.ebuild~: + Version bump, bug #321401. + + 20 Jul 2011; Pacho Ramos <pa...@gentoo.org> metadata.xml: + Drop maintainer due retirement, bug #118937 + + 28 Mar 2011; Eray Aslan <e...@gentoo.org> nullmailer-1.04.ebuild: + change to new style virtual/mta - bug 360305 + + 14 Jan 2010; Thilo Bangert <bang...@gentoo.org> nullmailer-1.04.ebuild: + fix SRC_URI to the permanent URL + + 23 Sep 2009; Patrick Lauer <patr...@gentoo.org> nullmailer-1.04.ebuild: + Remove virtual/libc + + 13 Sep 2009; Diego E. Pettenò <flamee...@gentoo.org> + nullmailer-1.04.ebuild: + Properly rebuild autotools, closes bug #255666. + + 14 Jul 2008; Robin H. Johnson <robb...@gentoo.org> + -files/nullmailer-1.00-gcc34-fix.patch, + -files/nullmailer-1.00-smtp-auth.patch, + -files/nullmailer-1.00-syslog.patch, -files/mailer.conf, + -files/remotes.sample, -nullmailer-1.00.ebuild: + Clean up old version and files. + + 26 Jun 2008; Robin H. Johnson <robb...@gentoo.org> nullmailer-1.04.ebuild: + Stabilize on amd64 per bug 229505, tested in my work prod env for months. + + 26 Jun 2008; nixnut <nix...@gentoo.org> nullmailer-1.04.ebuild: + Stable on ppc wrt bug 229505 + + 26 Jun 2008; Christian Faulhammer <op...@gentoo.org> + nullmailer-1.04.ebuild: + stable x86, bug 229505 + + 26 Jun 2008; Thilo Bangert <bang...@gentoo.org> -nullmailer-1.00-r2.ebuild, + -nullmailer-1.02.ebuild, -nullmailer-1.02-r1.ebuild, + -nullmailer-1.02-r2.ebuild, ChangeLog: + remove old and obsolete versions + + 28 Feb 2008; Thilo Bangert <bang...@gentoo.org> ChangeLog, + nullmailer-1.04.ebuild: + fix utf-8 borkage in ChangeLog - dont inherit mailer eclass + +*nullmailer-1.04 (28 Feb 2008) + + 28 Feb 2008; Thilo Bangert <bang...@gentoo.org> + +files/remotes.sample-1.04, +nullmailer-1.04.ebuild, metadata.xml: + version bump - see also bug #186393 + remove mailwrapper support + turn on ipv6 patch unconditionally + fix sample config file to reflect 1.01 syntax changes + dont dep on daemontools -add myself as maintainer + + 28 Oct 2007; Christian Heim <phr...@gentoo.org> nullmailer-1.00.ebuild, + nullmailer-1.00-r2.ebuild, nullmailer-1.02.ebuild, + nullmailer-1.02-r1.ebuild, nullmailer-1.02-r2.ebuild: + Include virtual/logger in RDEPEND, as the initscript already specifies 'need + logger'. + + 01 Oct 2007; Sven Wegener <swege...@gentoo.org> nullmailer-1.00.ebuild, + nullmailer-1.00-r2.ebuild, nullmailer-1.02.ebuild, + nullmailer-1.02-r1.ebuild, nullmailer-1.02-r2.ebuild: + QA: Include ${CATEGORY} in emerge --config call. There's no need to dodir + before *into. + + 18 Mar 2007; Marius Mauch <gen...@gentoo.org> nullmailer-1.00.ebuild, + nullmailer-1.00-r2.ebuild, nullmailer-1.02.ebuild, + nullmailer-1.02-r1.ebuild, nullmailer-1.02-r2.ebuild: + Replacing einfo with elog + + 22 Feb 2007; Piotr Jaroszyński <pe...@gentoo.org> ChangeLog: + Transition to Manifest2. + + 27 Apr 2006; Marien Zwart <mari...@gentoo.org> Manifest: + Fixing SHA256 digest, pass four + +*nullmailer-1.02-r2 (11 Feb 2006) +*nullmailer-1.02-r1 (11 Feb 2006) +*nullmailer-1.00-r2 (11 Feb 2006) + + 11 Feb 2006; Robin H. Johnson <robb...@gentoo.org> files/mailer.conf, + nullmailer-1.00.ebuild, +nullmailer-1.00-r2.ebuild, + nullmailer-1.02.ebuild, +nullmailer-1.02-r1.ebuild, + +nullmailer-1.02-r2.ebuild: + Fix bugs raised by #121587 - Numerous issues, fixed in >=1.02-r1. 1.00-r2 + and 1.02-r2 implement the new mailer-config system, and are in package.mask. + + 30 Jan 2006; Robin H. Johnson <robb...@gentoo.org> + -nullmailer-1.00_rc7.ebuild, -nullmailer-1.00_rc7-r1.ebuild, + -nullmailer-1.00_rc7-r2.ebuild, -nullmailer-1.00_rc7-r4.ebuild, + -nullmailer-1.00_rc7-r5.ebuild: + Remove old versions. + +*nullmailer-1.02 (30 Jan 2006) + + 30 Jan 2006; Robin H. Johnson <robb...@gentoo.org> + +files/init.d-nullmailer, +nullmailer-1.02.ebuild: + Bug #112163 - Version bump. Bug #118043 - init.d script. Bug #118826 - + ~amd64 keyword. + + 31 Dec 2005; Diego Pettenò <flamee...@gentoo.org> + nullmailer-1.00_rc7.ebuild, nullmailer-1.00_rc7-r1.ebuild, + nullmailer-1.00_rc7-r2.ebuild, nullmailer-1.00_rc7-r4.ebuild, + nullmailer-1.00_rc7-r5.ebuild, nullmailer-1.00.ebuild: + Use -1 instead of /bin/false as default shell. + + 25 Dec 2005; Diego Pettenò <flamee...@gentoo.org> nullmailer-1.00.ebuild: + Actually change last version, not the one before. + + 25 Dec 2005; Diego Pettenò <flamee...@gentoo.org> + nullmailer-1.00_rc7-r5.ebuild: + Use bindnow-flags function instead of -Wl,-z,now. + + 29 Nov 2005; Robin H. Johnson <robb...@gentoo.org> nullmailer-1.00.ebuild: + Move 1.00 to stable x86. + + 29 Nov 2005; Robin H. Johnson <robb...@gentoo.org> nullmailer-1.00.ebuild: + Fix bug #95292 for mailwrapper sandbox violation. + +*nullmailer-1.00 (02 Jun 2005) + + 02 Jun 2005; Robin H. Johnson <robb...@gentoo.org> + +files/nullmailer-1.00-gcc34-fix.patch, + +files/nullmailer-1.00-smtp-auth.patch, + +files/nullmailer-1.00-syslog.patch, files/remotes.sample, + +nullmailer-1.00.ebuild: + Bug #74903 and #83574, bump version, and make nullmailer compile with GCC3.4 + (including under FreeBSD). + + 03 Mar 2005; Ciaran McCreesh <ciar...@gentoo.org> + nullmailer-1.00_rc7-r1.ebuild, nullmailer-1.00_rc7-r2.ebuild, + nullmailer-1.00_rc7-r4.ebuild, nullmailer-1.00_rc7-r5.ebuild, + nullmailer-1.00_rc7.ebuild: + Move sys-apps/daemontools -> sys-process/daemontools + + 03 Mar 2005; Ciaran McCreesh <ciar...@gentoo.org> + nullmailer-1.00_rc7-r4.ebuild: + Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts. + + 03 Mar 2005; Ciaran McCreesh <ciar...@gentoo.org> + nullmailer-1.00_rc7-r2.ebuild: + Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts. + + 03 Mar 2005; Ciaran McCreesh <ciar...@gentoo.org> + nullmailer-1.00_rc7-r1.ebuild: + Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts. + + 03 Mar 2005; Ciaran McCreesh <ciar...@gentoo.org> + nullmailer-1.00_rc7-r5.ebuild: + Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts. + + 03 Mar 2005; Ciaran McCreesh <ciar...@gentoo.org> + nullmailer-1.00_rc7.ebuild: + Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts. + +*nullmailer-1.00_rc7-r5 (16 Nov 2004) + + 16 Nov 2004; Robin H. Johnson <robb...@gentoo.org> + +nullmailer-1.00_rc7-r5.ebuild: + new version, includes debian fixes. + + 01 Jul 2004; Jeremy Huddleston <eradica...@gentoo.org> + nullmailer-1.00_rc7-r1.ebuild, nullmailer-1.00_rc7-r2.ebuild, + nullmailer-1.00_rc7-r4.ebuild, nullmailer-1.00_rc7.ebuild: + virtual/glibc -> virtual/libc + +*nullmailer-1.00_rc7-r4 (31 May 2004) + + 31 May 2004; Grant Goodyear <g2boo...@gentoo.org> files/mailer.conf, + -nullmailer-1.00_rc7-r3.ebuild, +nullmailer-1.00_rc7-r4.ebuild: + Fixes to make mailwrapper an optional dep. + + Removed -r3 because the dodir for services/run was broken, and I + incorporated all other changes into -r4. + +*nullmailer-1.00_rc7-r3 (30 May 2004) + + 30 May 2004; Robin H. Johnson <robb...@gentoo.org> + nullmailer-1.00_rc7-r3.ebuild, files/mailer.conf: + make sure the mailwrapper changes are in place. + +*nullmailer-1.00_rc7-r2 (30 May 2004) + + 30 May 2004; Robin H. Johnson <robb...@gentoo.org> metadata.xml, + nullmailer-1.00_rc7-r1.ebuild, nullmailer-1.00_rc7-r2.ebuild, + nullmailer-1.00_rc7.ebuild, files/mailer.conf, files/remotes.sample: + Moved from net-mail/nullmailer to mail-mta/nullmailer. + + 28 May 2004; Robin H. Johnson <robb...@gentoo.org> metadata.xml: + Update metadata.xml. + + 27 Apr 2004; Aron Griffis <agrif...@gentoo.org> + nullmailer-1.00_rc7-r1.ebuild, nullmailer-1.00_rc7-r2.ebuild, + nullmailer-1.00_rc7.ebuild: + Add inherit eutils + + 20 Apr 2004; David Holm <dh...@gentoo.org> nullmailer-1.00_rc7-r2.ebuild: + Added to ~ppc. + +*nullmailer-1.00_rc7-r2 (19 Apr 2004) + + 19 Apr 2004; Robin H. Johnson <robb...@gentoo.org> + nullmailer-1.00_rc7-r2.ebuild, files/mailer.conf: + add in urgent support for mailwrapper + + 06 Nov 2003; Robin H. Johnson <robb...@gentoo.org> + nullmailer-1.00_rc7-r1.ebuild, nullmailer-1.00_rc7.ebuild: + : instead of . for chown + + 25 Oct 2003; Robin H. Johnson <robb...@gentoo.org> metadata.xml: + add metadata.xml + +*nullmailer-1.00_rc7-r1 (06 Aug 2003) + + 06 Aug 2003; Robin H. Johnson <robb...@gentoo.org> + nullmailer-1.00_rc7-r1.ebuild: + Fix minor permissions bug and commit to stable. + + 03 Aug 2003; Robin H. Johnson <robb...@gentoo.org> + nullmailer-1.00_rc7.ebuild: + Fix /usr/lib/sendmail glitch + +*nullmailer-1.00_rc7 (01 Aug 2003) + + 01 Aug 2003; Robin H. Johnson <robb...@gentoo.org> + nullmailer-1.00_rc7.ebuild, files/remotes.sample: + Initial Commit. diff --git a/mail-mta/nullmailer/Manifest b/mail-mta/nullmailer/Manifest new file mode 100644 index 0000000..dab1022 --- /dev/null +++ b/mail-mta/nullmailer/Manifest @@ -0,0 +1,2 @@ +DIST nullmailer-1.13.tar.gz 205431 SHA256 3f8861ebb1b46cea0a1caf1e6236e1e0d2a5a91def19551b7cad12eab676277d SHA512 96dcb3ddecde77a73e5ca1afa5167d35f965d04999f02cc2ef60b54ea7eb7a006e5cf5678fc34a54d4be4f9fd71bd0f784a8671aca40c70dbc307666c548e1d7 WHIRLPOOL b041f7cc33a257fad11c5f4c9bf74f8d849d9c45f0dc19be28268462b9d029c07e1d5802698e647a4208d5f66cac2177a1d12e49a03caac51e0244c3f9a0599c +DIST nullmailer-patches-1.13.tar.xz 8384 SHA256 8685dfbf23e9dc15269b1a0d14f700c4ef990cf49d4e6e830c0217289e8f4733 SHA512 393531e39a92b0978bccbcdf123e05b2cdad1ec8e600825cc24177ba414c1f615995c0344291ebb664f42b384a160c0359fec5ba3308cc14cbc9ceb8577d799c WHIRLPOOL 84f523be7963ceb7fbafd3f5632571e7bc12085b1b4bce5bb5c63871fd6c7ed1367a49ddf5ed66acad7055e28856b23fb1dcb59e60158fed26447128edd0a4fa diff --git a/mail-mta/nullmailer/files/init.d-nullmailer-r4 b/mail-mta/nullmailer/files/init.d-nullmailer-r4 new file mode 100644 index 0000000..4205a26 --- /dev/null +++ b/mail-mta/nullmailer/files/init.d-nullmailer-r4 @@ -0,0 +1,51 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/files/init.d-nullmailer-r4,v 1.1 2014/01/08 15:08:13 jlec Exp $ + +command="/usr/sbin/nullmailer-send" + +start_stop_daemon_args="--chdir /var/nullmailer --user nullmail:nullmail" + +required_dirs="/var/nullmailer" +pidfile="/run/nullmailer.pid" +command_background="true" +command_args="-s" + +depend() { + use net logger +} + +checkconfig() { + local error=0 + local f=/etc/nullmailer/me + if [ ! -s ${f} ]; then + eerror "${f} does not exist" + error=1 + fi + f=/etc/nullmailer/defaultdomain + if [ ! -s ${f} ]; then + eerror "${f} does not exist" + error=1 + fi + if [ ${error} -eq 1 ]; then + einfo "You need to run 'emerge --config nullmailer'!" + fi + if [ -e /service/nullmailer ]; then + eerror "Nullmailer is already running under svscan!" + error=2 + fi + if [ ${error} -ne 0 ]; then + return 1 + else + return 0 + fi +} + +start_pre() { + checkconfig +} + +stop_pre() { + checkconfig # to avoid init.d stopping svscan instance +} diff --git a/mail-mta/nullmailer/files/nullmailer-1.13-unistd.h.patch b/mail-mta/nullmailer/files/nullmailer-1.13-unistd.h.patch new file mode 100644 index 0000000..8199b96 --- /dev/null +++ b/mail-mta/nullmailer/files/nullmailer-1.13-unistd.h.patch @@ -0,0 +1,28 @@ +From 5e9316c669e752fcd9058b28952919bccd967640 Mon Sep 17 00:00:00 2001 +From: "Anthony G. Basile" <bluen...@gentoo.org> +Date: Sat, 31 Jan 2015 23:55:48 +0000 +Subject: [PATCH] lib/fdbuf/fdbuf.h: include <unistd.h> + +class fdobuf in lib/fdbuf/fdobuf.h makes use of uid_t and gid_t, +but these are defined in <unistd.h> according to POSIX. With libc's +that adhere strictly to standards, like musl, this breaks the build. + +We add <unistd.h> to fdbuf.h which is included by fdbuf.h. + +Signed-off-by: Anthony G. Basile <bluen...@gentoo.org> +--- + lib/fdbuf/fdbuf.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/fdbuf/fdbuf.h b/lib/fdbuf/fdbuf.h +index 4b0e9cb..0054b01 100644 +--- a/lib/fdbuf/fdbuf.h ++++ b/lib/fdbuf/fdbuf.h +@@ -20,6 +20,7 @@ + #include "config.h" + #include <string.h> + #include <fcntl.h> ++#include <unistd.h> + + #ifdef _REENTRANT + #include <pthread.h> diff --git a/mail-mta/nullmailer/files/nullmailer.service b/mail-mta/nullmailer/files/nullmailer.service new file mode 100644 index 0000000..8aae6c9 --- /dev/null +++ b/mail-mta/nullmailer/files/nullmailer.service @@ -0,0 +1,17 @@ +[Unit] +Description=Nullmailer relay-only MTA +Requires=network.target +After=local-fs.target syslog.target +ConditionPathExists=/var/nullmailer/queue +ConditionPathExists=/etc/nullmailer/defaultdomain +ConditionPathExists=/etc/nullmailer/me + +[Service] +WorkingDirectory=/var/nullmailer +ExecStart=/usr/sbin/nullmailer-send -s +User=nullmail +Group=nullmail +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/mail-mta/nullmailer/files/remotes.sample-1.13 b/mail-mta/nullmailer/files/remotes.sample-1.13 new file mode 100644 index 0000000..34cc234 --- /dev/null +++ b/mail-mta/nullmailer/files/remotes.sample-1.13 @@ -0,0 +1,29 @@ +# Format is: HOST PROTOCOL [OPTIONS] +# HOST = IP or DNS +# PROTOCOL = smtp | qmtp +# OPTIONS = [--port=NUMBER] [--user] [--pass] [--starttls | --ssl [--insecure] ] +# +# Examples: +# A standard SMTP server: +# somesendmailserver.domain.com smtp +# +# A qmail server with QMQP setup: +# someqmailserver.domain.com qmqp +# +# A nonstandard SMTP server setup: +# someotherserver.domain.com smtp --port=2525 +# +# SMTP server supporting AUTH PLAIN +# mailserver smtp --user=<user> --pass=<pass> +# +# SMTP server supporting AUTH LOGIN +# mailserver smtp --user=<user> --pass=<pass> --auth-login +# +# SMTP server with smtps (legacy - use starttls instead) +# mailserver smtp --user=<user> --pass=<pass> --port=465 --ssl +# +# SMTP server on submission port with starttls +# mailserver smtp --user=<user> --pass=<pass> --port=587 --starttls +# +# SMTP server on submission port with starttls and self-signed certificate +# mailserver smtp --user=<user> --pass=<pass> --port=587 --starttls --insecure diff --git a/mail-mta/nullmailer/metadata.xml b/mail-mta/nullmailer/metadata.xml new file mode 100644 index 0000000..c20ce93 --- /dev/null +++ b/mail-mta/nullmailer/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-mail</herd> + <maintainer> + <email>robb...@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <maintainer> + <email>j...@gentoo.org</email> + <name>Justin Lecher</name> + </maintainer> +</pkgmetadata> diff --git a/mail-mta/nullmailer/nullmailer-1.14_pre20150527.ebuild b/mail-mta/nullmailer/nullmailer-1.14_pre20150527.ebuild new file mode 100644 index 0000000..df2da55 --- /dev/null +++ b/mail-mta/nullmailer/nullmailer-1.14_pre20150527.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools eutils flag-o-matic multilib systemd user git-r3 + +MY_P="${P/_rc/RC}" + +DESCRIPTION="Simple relay-only local mail transport agent" +HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer" +EGIT_REPO_URI="https://github.com/bruceg/nullmailer.git" +EGIT_COMMIT="be8a42054b7ce0f39fd2d077ca62b9e899762a15" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="ssl" + +DEPEND=" + sys-apps/groff + ssl? ( net-libs/gnutls )" +RDEPEND=" + virtual/logger + virtual/shadow + ssl? ( net-libs/gnutls ) + !mail-mta/courier + !mail-mta/esmtp + !mail-mta/exim + !mail-mta/mini-qmail + !mail-mta/msmtp + !mail-mta/netqmail + !mail-mta/postfix + !mail-mta/qmail-ldap + !mail-mta/sendmail + !mail-mta/opensmtpd + !mail-mta/ssmtp" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + enewgroup nullmail 88 + enewuser nullmail 88 -1 /var/nullmailer nullmail +} + +src_prepare() { + sed -i \ + -e '/\$(localstatedir)\/trigger/d' \ + "${S}"/Makefile.am || die + sed -i \ + -e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \ + -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ + configure.in || die + eautoreconf +} + +src_configure() { + # Note that we pass a different directory below due to bugs in the makefile! + econf \ + --localstatedir=/var \ + $(use_enable ssl tls) +} + +src_install () { + emake DESTDIR="${D}" localstatedir=/var/nullmailer install + + dodoc AUTHORS BUGS HOWTO NEWS README TODO + + # A small bit of sample config + insinto /etc/nullmailer + newins "${FILESDIR}"/remotes.sample-1.13 remotes + + # This contains passwords, so should be secure + fperms 0640 /etc/nullmailer/remotes + fowners root:nullmail /etc/nullmailer/remotes + + # daemontools stuff + dodir /var/nullmailer/service{,/log} + + insinto /var/nullmailer/service + newins scripts/nullmailer.run run + fperms 700 /var/nullmailer/service/run + + insinto /var/nullmailer/service/log + newins scripts/nullmailer-log.run run + fperms 700 /var/nullmailer/service/log/run + + # usability + dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail + + # permissions stuff + keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue} + fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} + fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq + fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq + + newinitd "${FILESDIR}"/init.d-nullmailer-r4 nullmailer + systemd_dounit "${FILESDIR}"/${PN}.service +} + +pkg_postinst() { + if [ ! -e "${ROOT}"/var/nullmailer/trigger ]; then + mkfifo "${ROOT}"/var/nullmailer/trigger + fi + chown nullmail:nullmail \ + "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger} || die + chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue} || die + chmod 660 "${ROOT}"/var/nullmailer/trigger || die + + # This contains passwords, so should be secure + chmod 0640 "${ROOT}"/etc/nullmailer/remotes || die + chown root:nullmail "${ROOT}"/etc/nullmailer/remotes || die + + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To create an initial setup, please do:" + elog "emerge --config =${CATEGORY}/${PF}" + fi + #echo + #elog "To start nullmailer at boot you may use either the nullmailer init.d" + #elog "script, or emerge sys-process/supervise-scripts, enable the" + #elog "svscan init.d script and create the following link:" + #elog "ln -fs /var/nullmailer/service /service/nullmailer" + #echo +} + +pkg_postrm() { + if [[ -e "${ROOT}"/var/nullmailer/trigger ]]; then + rm "${ROOT}"/var/nullmailer/trigger || die + fi +} + +pkg_config() { + if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then + einfo "Setting /etc/nullmailer/me" + /bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me + fi + if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then + einfo "Setting /etc/nullmailer/defaultdomain" + /bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain + fi +}