ChangeLog

# ChangeLog for mail-mta/nullmailer
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.34 2008/07/14 03:52:02 robbat2 Exp $

14 Jul 2008; Robin H. Johnson
-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 nullmailer-1.04.ebuild:
Stabilize on amd64 per bug 229505, tested in my work prod env for months.

26 Jun 2008; nixnut nullmailer-1.04.ebuild:
Stable on ppc wrt bug 229505

26 Jun 2008; Christian Faulhammer
nullmailer-1.04.ebuild:
stable x86, bug 229505

26 Jun 2008; Thilo Bangert -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 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
+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 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 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 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 ChangeLog:
Transition to Manifest2.

27 Apr 2006; Marien Zwart 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 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
-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
+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ò
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ò nullmailer-1.00.ebuild:
Actually change last version, not the one before.

25 Dec 2005; Diego Pettenò
nullmailer-1.00_rc7-r5.ebuild:
Use bindnow-flags function instead of -Wl,-z,now.

29 Nov 2005; Robin H. Johnson nullmailer-1.00.ebuild:
Move 1.00 to stable x86.

29 Nov 2005; Robin H. Johnson nullmailer-1.00.ebuild:
Fix bug #95292 for mailwrapper sandbox violation.

*nullmailer-1.00 (02 Jun 2005)

02 Jun 2005; Robin H. Johnson
+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
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
nullmailer-1.00_rc7-r4.ebuild:
Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts.

03 Mar 2005; Ciaran McCreesh
nullmailer-1.00_rc7-r2.ebuild:
Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts.

03 Mar 2005; Ciaran McCreesh
nullmailer-1.00_rc7-r1.ebuild:
Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts.

03 Mar 2005; Ciaran McCreesh
nullmailer-1.00_rc7-r5.ebuild:
Dependency update: sys-apps/supervise-scripts -> sys-process/supervise-scripts.

03 Mar 2005; Ciaran McCreesh
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
+nullmailer-1.00_rc7-r5.ebuild:
new version, includes debian fixes.

01 Jul 2004; Jeremy Huddleston
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 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
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 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 metadata.xml:
Update metadata.xml.

27 Apr 2004; Aron Griffis
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 nullmailer-1.00_rc7-r2.ebuild:
Added to ~ppc.

*nullmailer-1.00_rc7-r2 (19 Apr 2004)

19 Apr 2004; Robin H. Johnson
nullmailer-1.00_rc7-r2.ebuild, files/mailer.conf:
add in urgent support for mailwrapper

06 Nov 2003; Robin H. Johnson
nullmailer-1.00_rc7-r1.ebuild, nullmailer-1.00_rc7.ebuild:
: instead of . for chown

25 Oct 2003; Robin H. Johnson metadata.xml:
add metadata.xml

*nullmailer-1.00_rc7-r1 (06 Aug 2003)

06 Aug 2003; Robin H. Johnson
nullmailer-1.00_rc7-r1.ebuild:
Fix minor permissions bug and commit to stable.

03 Aug 2003; Robin H. Johnson
nullmailer-1.00_rc7.ebuild:
Fix /usr/lib/sendmail glitch

*nullmailer-1.00_rc7 (01 Aug 2003)

01 Aug 2003; Robin H. Johnson
nullmailer-1.00_rc7.ebuild, files/remotes.sample:
Initial Commit.

Manifest

AUX init.d-nullmailer 1221 RMD160 9e793a57acc9f2123c75e5a27f4b6123ce1d171a SHA1 154b3c92512151d6d4f9dc63125536c44e207f1e SHA256 279dd0519b62b57b4f5f6a7bcbfcd8337dd3d5e6e785de1d443f2005def64d72
AUX remotes.sample-1.04 540 RMD160 41a6f50c7d0cd0423be8d2e485e07148504316f7 SHA1 8aecf00f27f705a28e9c45c2e9807a3a4f4f309a SHA256 d9f756d9a2b21e7f7166c1b29a34c4dda1eb1ab0c57168ded3d0ed225cf692ee
DIST nullmailer-1.04.tar.gz 176867 RMD160 13deaf37a392dfd7b57ac61b50d496dfdb9c362f SHA1 f3815fec726a776be050a6be59b91e696779f5a9 SHA256 364b7888720469d1494c6084a8de7cd39cfc8f841f3be02dfc417e111572fe8b
DIST nullmailer_1.04-1.diff.gz 47284 RMD160 0f6ba5985d6b47678f35b090a635630646dbbd14 SHA1 61525c2b5d9297c2a976c7107e1d16dab43d2259 SHA256 daa2a9388e8fa2a93401b9ee060a7f56f2f8e820af57aeba82a8abde838fcd75
EBUILD nullmailer-1.04.ebuild 3730 RMD160 0e70f372cb69642284bd66e4b0a4dade4e639473 SHA1 277c4c438702e2ea0dd2b81d7737a210037075a1 SHA256 1f32febdf3b9c44abd1a3c3c3dae89080f3d889b510604af1a6555570d5dbe82
MISC ChangeLog 8146 RMD160 1b4e6911795b2520ff8d2eb6528a929de350f0f6 SHA1 8d4e1ee0c543b9922bbcfa44561f28425d8d1e00 SHA256 3e2bfa89f135eb6112487900defac0deac39ef35058907a5b71553f4b5ec4dd5
MISC metadata.xml 392 RMD160 2ab4e8534884a8d887e0e619b5a2685b7a8b1a06 SHA1 e53462014fe3598699f7a86ceef1f28ec1f1c104 SHA256 bd4f44a5482232a527b27507b0d18e88358193360752722a0bd1aedef85a4732

files

metadata.xml




net-mail

robbat2@gentoo.org
Robin H. Johnson


bangert@gentoo.org
Thilo Bangert

nullmailer-1.04.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.04.ebuild,v 1.5 2008/06/26 17:34:55 robbat2 Exp $

inherit eutils flag-o-matic

MY_P="${P/_rc/RC}"
S=${WORKDIR}/${MY_P}
DEBIAN_PV="1"
DEBIAN_SRC="${MY_P/-/_}-${DEBIAN_PV}.diff.gz"
DESCRIPTION="Simple relay-only local mail transport agent"
SRC_URI="http://untroubled.org/${PN}/${MY_P}.tar.gz
mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}"
HOMEPAGE="http://untroubled.org/nullmailer/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc x86"

IUSE=""

DEPEND="virtual/libc
sys-apps/groff"
RDEPEND="virtual/libc
sys-apps/shadow
virtual/logger
!virtual/mta"
PROVIDE="virtual/mta"

src_unpack() {
unpack ${MY_P}.tar.gz
EPATCH_OPTS="-d ${S} -p1" \
epatch "${DISTDIR}"/${DEBIAN_SRC}
EPATCH_OPTS="-d ${S} -p1" \
epatch "${S}"/debian/patches/02_ipv6.diff || die "IPV6 patch failed"
EPATCH_OPTS="-d ${S} -p1" \
epatch "${S}"/debian/patches/03_syslog.diff || die "daemon/syslog patch failed"
# this fixes the debian daemon/syslog to actually compile
sed -i.orig \
-e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \
"${S}"/src/Makefile.am || die "Sed failed"
}

pkg_setup() {
enewgroup nullmail 88
enewuser nullmail 88 -1 /var/nullmailer nullmail
}

src_compile() {
# Note that we pass a different directory below due to bugs in the makefile!
econf --localstatedir=/var || die "econf failed"
emake || die "emake failed"
}

src_install () {
einstall localstatedir="${D}"/var/nullmailer || die "einstall failed"
dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README YEAR2000 TODO
# A small bit of sample config
insinto /etc/nullmailer
newins "${FILESDIR}"/remotes.sample-1.04 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
# usablity
dodir /usr/lib
dosym /usr/sbin/sendmail usr/lib/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
fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger}
fperms 660 /var/nullmailer/trigger
newinitd "${FILESDIR}"/init.d-nullmailer nullmailer
}

pkg_postinst() {
[ ! -e "${ROOT}"/var/nullmailer/trigger ] && mkfifo "${ROOT}"/var/nullmailer/trigger
chown nullmail:nullmail "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger}
chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue}
chmod 660 "${ROOT}"/var/nullmailer/trigger

elog "To create an initial setup, please do:"
elog "emerge --config =${CATEGORY}/${PF}"
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
ewarn "${PF} introduces a new configuration syntax for SMTP AUTH."
ewarn "Please adjust your configuration accordingly."
}

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
}