Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/qmailadmin: qmailadmin-1.2.16.ebuild qmailadmin-1.2.15-r1.ebuild ChangeLog
Date: Fri, 31 May 2013 00:47:10
Message-Id: 20130531004707.B10C52171D@flycatcher.gentoo.org
1 robbat2 13/05/31 00:47:07
2
3 Modified: qmailadmin-1.2.15-r1.ebuild ChangeLog
4 Added: qmailadmin-1.2.16.ebuild
5 Log:
6 Version bump per bug #401249. Also bug #353073: drop flags for hppa compile.
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.2 net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild?r1=1.1&r2=1.2
16
17 Index: qmailadmin-1.2.15-r1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -p -w -b -B -u -u -r1.1 -r1.2
23 --- qmailadmin-1.2.15-r1.ebuild 30 May 2013 23:59:11 -0000 1.1
24 +++ qmailadmin-1.2.15-r1.ebuild 31 May 2013 00:47:07 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild,v 1.1 2013/05/30 23:59:11 robbat2 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild,v 1.2 2013/05/31 00:47:07 robbat2 Exp $
30
31 inherit qmail eutils webapp autotools
32
33 @@ -44,9 +44,6 @@ src_compile() {
34 else
35 set --
36 fi
37 - # If vpopmail is built with mysql, we need to pick that up.
38 - CFLAGS="${CFLAGS} $(</var/vpopmail/etc/inc_deps)"
39 - LDFLAGS="${LDFLAGS} $(</var/vpopmail/etc/lib_deps)"
40
41 econf \
42 --enable-valias \
43 @@ -70,8 +67,6 @@ src_compile() {
44 --enable-maxaliasesperpage=50 \
45 --enable-vpopuser=vpopmail \
46 --enable-vpopgroup=vpopmail \
47 - LDFLAGS="${LDFLAGS}" \
48 - CFLAGS="${CFLAGS}" \
49 "$@" \
50 || die "econf failed"
51
52
53
54
55 1.31 net-mail/qmailadmin/ChangeLog
56
57 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/ChangeLog?rev=1.31&view=markup
58 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/ChangeLog?rev=1.31&content-type=text/plain
59 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/ChangeLog?r1=1.30&r2=1.31
60
61 Index: ChangeLog
62 ===================================================================
63 RCS file: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v
64 retrieving revision 1.30
65 retrieving revision 1.31
66 diff -p -w -b -B -u -u -r1.30 -r1.31
67 --- ChangeLog 30 May 2013 23:59:11 -0000 1.30
68 +++ ChangeLog 31 May 2013 00:47:07 -0000 1.31
69 @@ -1,6 +1,12 @@
70 # ChangeLog for net-mail/qmailadmin
71 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
72 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.30 2013/05/30 23:59:11 robbat2 Exp $
73 +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.31 2013/05/31 00:47:07 robbat2 Exp $
74 +
75 +*qmailadmin-1.2.16 (31 May 2013)
76 +
77 + 31 May 2013; Robin H. Johnson <robbat2@g.o> +qmailadmin-1.2.16.ebuild,
78 + qmailadmin-1.2.15-r1.ebuild:
79 + Version bump per bug #401249. Also bug #353073: drop flags for hppa compile.
80
81 *qmailadmin-1.2.15-r1 (30 May 2013)
82
83
84
85
86 1.1 net-mail/qmailadmin/qmailadmin-1.2.16.ebuild
87
88 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.16.ebuild?rev=1.1&view=markup
89 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.16.ebuild?rev=1.1&content-type=text/plain
90
91 Index: qmailadmin-1.2.16.ebuild
92 ===================================================================
93 # Copyright 1999-2013 Gentoo Foundation
94 # Distributed under the terms of the GNU General Public License v2
95 # $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.16.ebuild,v 1.1 2013/05/31 00:47:07 robbat2 Exp $
96
97 inherit qmail eutils webapp autotools
98
99 # the RESTRICT is because the vpopmail lib directory is locked down
100 # and non-root can't access them.
101 RESTRICT="userpriv"
102
103 MY_P=${P/_rc/-rc}
104
105 DESCRIPTION="A web interface for managing a qmail system with virtual domains"
106 HOMEPAGE="http://www.inter7.com/qmailadmin.html"
107 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
108
109 LICENSE="GPL-2"
110 SLOT="0"
111 WEBAPP_MANUAL_SLOT="yes"
112 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86"
113 IUSE="maildrop"
114
115 DEPEND="virtual/qmail
116 >=net-mail/vpopmail-5.4.33
117 net-mail/autorespond
118 maildrop? ( >=mail-filter/maildrop-2.0.1 )"
119
120 S="${WORKDIR}"/${MY_P}
121
122 src_unpack() {
123 unpack ${A}
124 cd "${S}"
125 epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch
126 eautoreconf
127 }
128
129 src_compile() {
130 # Pass spam stuff through $@ so we get the quoting right
131 if use maildrop ; then
132 set -- --enable-modify-spam \
133 --enable-spam-command='|preline maildrop /etc/maildroprc'
134 else
135 set --
136 fi
137
138 econf \
139 --enable-valias \
140 --enable-vpopmaildir=/var/vpopmail \
141 --enable-htmldir="${MY_HTDOCSDIR}" \
142 --enable-imagedir="${MY_HTDOCSDIR}"/images \
143 --enable-imageurl=/${PN}/images \
144 --enable-htmllibdir=/usr/share/${PN}/htmllib \
145 --enable-cgibindir="${MY_CGIBINDIR}" \
146 --enable-cgipath=/cgi-bin/${PN} \
147 --enable-qmaildir="${QMAIL_HOME}" \
148 --enable-autoresponder-path="${QMAIL_HOME}"/bin \
149 --enable-true-path=/bin \
150 --enable-ezmlmdir=/usr/bin \
151 --enable-domain-autofill \
152 --enable-modify-quota \
153 --enable-no-cache \
154 --enable-trivial-password \
155 --enable-catchall \
156 --enable-maxusersperpage=50 \
157 --enable-maxaliasesperpage=50 \
158 --enable-vpopuser=vpopmail \
159 --enable-vpopgroup=vpopmail \
160 "$@" \
161 || die "econf failed"
162
163 emake || die "make failed"
164 }
165
166 src_install() {
167 webapp_src_preinst
168
169 make DESTDIR="${D}" install || die "make install failed"
170
171 dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog \
172 TRANSLATORS NEWS FAQ README contrib/*
173
174 webapp_src_install
175
176 # CGI needs to be able to read /etc/vpopmail.conf
177 # Which is 0640 root:vpopmail, as it contains passwords
178 cgi=/usr/share/webapps/${PN}/${PV}/hostroot/cgi-bin/qmailadmin
179 fowners root:vpopmail $cgi
180 fperms g+s $cgi
181 }
182
183 pkg_postinst() {
184 einfo "If you would like support for ezmlm mailing lists inside qmailadmin,"
185 einfo "please emerge some variant of ezmlm-idx."
186 webapp_pkg_postinst
187 einfo "For complete webapp-config support:"
188 einfo "1. Add this for the Apache cgi-bin dir: Options +ExecCGI -MultiViews +FollowSymLinks"
189 einfo "2. Run: webapp-config -I -h localhost -d qmailadmin $PN $PV"
190 einfo "3. Symlink: ln -s {/usr/share/webapps/${PN}/${PV}/hostroot,/var/www/localhost}/cgi-bin/${PN}"
191 }