Gentoo Archives: gentoo-commits

From: "Thilo Bangert (bangert)" <bangert@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-mta/nullmailer: ChangeLog metadata.xml nullmailer-1.04.ebuild
Date: Thu, 28 Feb 2008 07:50:13
Message-Id: E1JUdWs-00018g-4l@stork.gentoo.org
1 bangert 08/02/28 07:50:10
2
3 Modified: ChangeLog metadata.xml
4 Added: nullmailer-1.04.ebuild
5 Log:
6 version bump - see bug# 186393
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.28 mail-mta/nullmailer/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -u -r1.27 -r1.28
22 --- ChangeLog 28 Oct 2007 14:05:21 -0000 1.27
23 +++ ChangeLog 28 Feb 2008 07:50:09 -0000 1.28
24 @@ -1,6 +1,16 @@
25 # ChangeLog for mail-mta/nullmailer
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.27 2007/10/28 14:05:21 phreak Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.28 2008/02/28 07:50:09 bangert Exp $
30 +
31 +*nullmailer-1.04 (28 Feb 2008)
32 +
33 + 28 Feb 2008; Thilo Bangert <bangert@g.o>
34 + +files/remotes.sample-1.04, +nullmailer-1.04.ebuild, metadata.xml:
35 + version bump - see also bug #186393
36 + remove mailwrapper support
37 + turn on ipv6 patch unconditionally
38 + fix sample config file to reflect 1.01 syntax changes
39 + dont dep on daemontools -add myself as maintainer
40
41 28 Oct 2007; Christian Heim <phreak@g.o> nullmailer-1.00.ebuild,
42 nullmailer-1.00-r2.ebuild, nullmailer-1.02.ebuild,
43 @@ -19,7 +29,7 @@
44 nullmailer-1.02-r1.ebuild, nullmailer-1.02-r2.ebuild:
45 Replacing einfo with elog
46
47 - 22 Feb 2007; Piotr Jaroszyński <peper@g.o> ChangeLog:
48 + 22 Feb 2007; Piotr Jaroszyński <peper@g.o> ChangeLog:
49 Transition to Manifest2.
50
51 27 Apr 2006; Marien Zwart <marienz@g.o> Manifest:
52 @@ -49,16 +59,16 @@
53 Bug #112163 - Version bump. Bug #118043 - init.d script. Bug #118826 -
54 ~amd64 keyword.
55
56 - 31 Dec 2005; Diego Pettenò <flameeyes@g.o>
57 + 31 Dec 2005; Diego Pettenò <flameeyes@g.o>
58 nullmailer-1.00_rc7.ebuild, nullmailer-1.00_rc7-r1.ebuild,
59 nullmailer-1.00_rc7-r2.ebuild, nullmailer-1.00_rc7-r4.ebuild,
60 nullmailer-1.00_rc7-r5.ebuild, nullmailer-1.00.ebuild:
61 Use -1 instead of /bin/false as default shell.
62
63 - 25 Dec 2005; Diego Pettenò <flameeyes@g.o> nullmailer-1.00.ebuild:
64 + 25 Dec 2005; Diego Pettenò <flameeyes@g.o> nullmailer-1.00.ebuild:
65 Actually change last version, not the one before.
66
67 - 25 Dec 2005; Diego Pettenò <flameeyes@g.o>
68 + 25 Dec 2005; Diego Pettenò <flameeyes@g.o>
69 nullmailer-1.00_rc7-r5.ebuild:
70 Use bindnow-flags function instead of -Wl,-z,now.
71
72
73
74
75 1.2 mail-mta/nullmailer/metadata.xml
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/metadata.xml?rev=1.2&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/metadata.xml?rev=1.2&content-type=text/plain
79 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/metadata.xml?r1=1.1&r2=1.2
80
81 Index: metadata.xml
82 ===================================================================
83 RCS file: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/metadata.xml,v
84 retrieving revision 1.1
85 retrieving revision 1.2
86 diff -u -r1.1 -r1.2
87 --- metadata.xml 30 May 2004 09:49:43 -0000 1.1
88 +++ metadata.xml 28 Feb 2008 07:50:09 -0000 1.2
89 @@ -6,4 +6,8 @@
90 <email>robbat2@g.o</email>
91 <name>Robin H. Johnson</name>
92 </maintainer>
93 + <maintainer>
94 + <email>bangert@g.o</email>
95 + <name>Thilo Bangert</name>
96 + </maintainer>
97 </pkgmetadata>
98
99
100
101 1.1 mail-mta/nullmailer/nullmailer-1.04.ebuild
102
103 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/nullmailer-1.04.ebuild?rev=1.1&view=markup
104 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/nullmailer/nullmailer-1.04.ebuild?rev=1.1&content-type=text/plain
105
106 Index: nullmailer-1.04.ebuild
107 ===================================================================
108 # Copyright 1999-2008 Gentoo Foundation
109 # Distributed under the terms of the GNU General Public License v2
110 # $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.04.ebuild,v 1.1 2008/02/28 07:50:09 bangert Exp $
111
112 inherit eutils flag-o-matic mailer
113
114 MY_P="${P/_rc/RC}"
115 S=${WORKDIR}/${MY_P}
116 DEBIAN_PV="1"
117 DEBIAN_SRC="${MY_P/-/_}-${DEBIAN_PV}.diff.gz"
118 DESCRIPTION="Simple relay-only local mail transport agent"
119 SRC_URI="http://untroubled.org/${PN}/${MY_P}.tar.gz
120 mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}"
121 HOMEPAGE="http://untroubled.org/nullmailer/"
122
123 SLOT="0"
124 LICENSE="GPL-2"
125 KEYWORDS="~x86 ~ppc ~amd64"
126
127 IUSE=""
128
129 DEPEND="virtual/libc
130 sys-apps/groff"
131 RDEPEND="virtual/libc
132 sys-apps/shadow
133 virtual/logger
134 !virtual/mta"
135 PROVIDE="virtual/mta"
136
137 src_unpack() {
138 unpack ${MY_P}.tar.gz
139 EPATCH_OPTS="-d ${S} -p1" \
140 epatch "${DISTDIR}"/${DEBIAN_SRC}
141 EPATCH_OPTS="-d ${S} -p1" \
142 epatch "${S}"/debian/patches/02_ipv6.diff || die "IPV6 patch failed"
143 EPATCH_OPTS="-d ${S} -p1" \
144 epatch "${S}"/debian/patches/03_syslog.diff || die "daemon/syslog patch failed"
145 # this fixes the debian daemon/syslog to actually compile
146 sed -i.orig \
147 -e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \
148 "${S}"/src/Makefile.am || die "Sed failed"
149 }
150
151 pkg_setup() {
152 enewgroup nullmail 88
153 enewuser nullmail 88 -1 /var/nullmailer nullmail
154 }
155
156 src_compile() {
157 # Note that we pass a different directory below due to bugs in the makefile!
158 econf --localstatedir=/var || die "econf failed"
159 emake || die "emake failed"
160 }
161
162 src_install () {
163 einstall localstatedir="${D}"/var/nullmailer || die "einstall failed"
164 dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README YEAR2000 TODO
165 # A small bit of sample config
166 insinto /etc/nullmailer
167 newins "${FILESDIR}"/remotes.sample-1.04 remotes
168 # daemontools stuff
169 dodir /var/nullmailer/service{,/log}
170 insinto /var/nullmailer/service
171 newins scripts/nullmailer.run run
172 fperms 700 /var/nullmailer/service/run
173 insinto /var/nullmailer/service/log
174 newins scripts/nullmailer-log.run run
175 fperms 700 /var/nullmailer/service/log/run
176 # usablity
177 dodir /usr/lib
178 dosym /usr/sbin/sendmail usr/lib/sendmail
179 # permissions stuff
180 keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue}
181 fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue}
182 fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
183 fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
184 fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger}
185 fperms 660 /var/nullmailer/trigger
186 newinitd "${FILESDIR}"/init.d-nullmailer nullmailer
187 }
188
189 pkg_postinst() {
190 [ ! -e "${ROOT}"/var/nullmailer/trigger ] && mkfifo "${ROOT}"/var/nullmailer/trigger
191 chown nullmail:nullmail "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger}
192 chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue}
193 chmod 660 "${ROOT}"/var/nullmailer/trigger
194
195 elog "To create an initial setup, please do:"
196 elog "emerge --config =${CATEGORY}/${PF}"
197 echo
198 elog "To start nullmailer at boot you may use either the nullmailer init.d"
199 elog "script, or emerge sys-process/supervise-scripts, enable the"
200 elog "svscan init.d script and create the following link:"
201 elog "ln -fs /var/nullmailer/service /service/nullmailer"
202 echo
203 ewarn "${PF} introduces a new configuration syntax for SMTP AUTH."
204 ewarn "Please adjust your configuration accordingly."
205 }
206
207 pkg_config() {
208 if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
209 einfo "Setting /etc/nullmailer/me"
210 /bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
211 fi
212 if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
213 einfo "Setting /etc/nullmailer/defaultdomain"
214 /bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
215 fi
216 }
217
218
219
220 --
221 gentoo-commits@l.g.o mailing list