public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in mail-mta/nullmailer: ChangeLog metadata.xml nullmailer-1.04.ebuild
@ 2008-02-28  7:50 Thilo Bangert (bangert)
  0 siblings, 0 replies; only message in thread
From: Thilo Bangert (bangert) @ 2008-02-28  7:50 UTC (permalink / raw
  To: gentoo-commits

bangert     08/02/28 07:50:10

  Modified:             ChangeLog metadata.xml
  Added:                nullmailer-1.04.ebuild
  Log:
  version bump - see bug# 186393
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.28                 mail-mta/nullmailer/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/ChangeLog?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/ChangeLog?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/ChangeLog?r1=1.27&r2=1.28

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ChangeLog	28 Oct 2007 14:05:21 -0000	1.27
+++ ChangeLog	28 Feb 2008 07:50:09 -0000	1.28
@@ -1,6 +1,16 @@
 # ChangeLog for mail-mta/nullmailer
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.27 2007/10/28 14:05:21 phreak Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.28 2008/02/28 07:50:09 bangert Exp $
+
+*nullmailer-1.04 (28 Feb 2008)
+
+  28 Feb 2008; Thilo Bangert <bangert@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 <phreak@gentoo.org> nullmailer-1.00.ebuild,
   nullmailer-1.00-r2.ebuild, nullmailer-1.02.ebuild,
@@ -19,7 +29,7 @@
   nullmailer-1.02-r1.ebuild, nullmailer-1.02-r2.ebuild:
   Replacing einfo with elog
 
-  22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
+  22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
 
   27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
@@ -49,16 +59,16 @@
   Bug #112163 - Version bump. Bug #118043 - init.d script. Bug #118826 -
   ~amd64 keyword.
 
-  31 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
+  31 Dec 2005; Diego Pettenò <flameeyes@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ò <flameeyes@gentoo.org> nullmailer-1.00.ebuild:
+  25 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> nullmailer-1.00.ebuild:
   Actually change last version, not the one before.
 
-  25 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
+  25 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
   nullmailer-1.00_rc7-r5.ebuild:
   Use bindnow-flags function instead of -Wl,-z,now.
 



1.2                  mail-mta/nullmailer/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	30 May 2004 09:49:43 -0000	1.1
+++ metadata.xml	28 Feb 2008 07:50:09 -0000	1.2
@@ -6,4 +6,8 @@
         <email>robbat2@gentoo.org</email>
         <name>Robin H. Johnson</name>
     </maintainer>
+    <maintainer>
+        <email>bangert@gentoo.org</email>
+        <name>Thilo Bangert</name>
+    </maintainer>
 </pkgmetadata>



1.1                  mail-mta/nullmailer/nullmailer-1.04.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/nullmailer-1.04.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/nullmailer-1.04.ebuild?rev=1.1&content-type=text/plain

Index: 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.1 2008/02/28 07:50:09 bangert Exp $

inherit eutils flag-o-matic mailer

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="~x86 ~ppc ~amd64"

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
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-28  7:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28  7:50 [gentoo-commits] gentoo-x86 commit in mail-mta/nullmailer: ChangeLog metadata.xml nullmailer-1.04.ebuild Thilo Bangert (bangert)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox