1 |
robbat2 13/05/30 23:59:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qmailadmin-1.2.15-r1.ebuild |
5 |
Log: |
6 |
Add fix for security issue from bug #269129, and fix compile with vpopmail-5.4.33. |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, RepoMan options: --force, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.30 net-mail/qmailadmin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/ChangeLog?rev=1.30&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/ChangeLog?rev=1.30&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/ChangeLog?r1=1.29&r2=1.30 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v |
20 |
retrieving revision 1.29 |
21 |
retrieving revision 1.30 |
22 |
diff -p -w -b -B -u -u -r1.29 -r1.30 |
23 |
--- ChangeLog 18 Jun 2012 23:25:29 -0000 1.29 |
24 |
+++ ChangeLog 30 May 2013 23:59:11 -0000 1.30 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-mail/qmailadmin |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.29 2012/06/18 23:25:29 jer Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.30 2013/05/30 23:59:11 robbat2 Exp $ |
31 |
+ |
32 |
+*qmailadmin-1.2.15-r1 (30 May 2013) |
33 |
+ |
34 |
+ 30 May 2013; Robin H. Johnson <robbat2@g.o> |
35 |
+ +files/qmailadmin-1.2.15-quota-security.patch, +qmailadmin-1.2.15-r1.ebuild: |
36 |
+ Add fix for security issue from bug #269129, and fix compile with |
37 |
+ vpopmail-5.4.33. |
38 |
|
39 |
18 Jun 2012; Jeroen Roovers <jer@g.o> qmailadmin-1.2.10.ebuild: |
40 |
Marked ~hppa (bug #269123). |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: qmailadmin-1.2.15-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $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 $ |
54 |
|
55 |
inherit qmail eutils webapp autotools |
56 |
|
57 |
# the RESTRICT is because the vpopmail lib directory is locked down |
58 |
# and non-root can't access them. |
59 |
RESTRICT="userpriv" |
60 |
|
61 |
MY_P=${P/_rc/-rc} |
62 |
|
63 |
DESCRIPTION="A web interface for managing a qmail system with virtual domains" |
64 |
HOMEPAGE="http://www.inter7.com/qmailadmin.html" |
65 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
WEBAPP_MANUAL_SLOT="yes" |
70 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86" |
71 |
IUSE="maildrop" |
72 |
|
73 |
DEPEND="virtual/qmail |
74 |
>=net-mail/vpopmail-5.4.33 |
75 |
net-mail/autorespond |
76 |
maildrop? ( >=mail-filter/maildrop-2.0.1 )" |
77 |
|
78 |
S="${WORKDIR}"/${MY_P} |
79 |
|
80 |
src_unpack() { |
81 |
unpack ${A} |
82 |
cd "${S}" |
83 |
epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch |
84 |
epatch "${FILESDIR}"/${PN}-1.2.12-quota-overflow.patch |
85 |
epatch "${FILESDIR}"/${PN}-1.2.15-quota-security.patch |
86 |
eautoreconf |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
# Pass spam stuff through $@ so we get the quoting right |
91 |
if use maildrop ; then |
92 |
set -- --enable-modify-spam \ |
93 |
--enable-spam-command='|preline maildrop /etc/maildroprc' |
94 |
else |
95 |
set -- |
96 |
fi |
97 |
# If vpopmail is built with mysql, we need to pick that up. |
98 |
CFLAGS="${CFLAGS} $(</var/vpopmail/etc/inc_deps)" |
99 |
LDFLAGS="${LDFLAGS} $(</var/vpopmail/etc/lib_deps)" |
100 |
|
101 |
econf \ |
102 |
--enable-valias \ |
103 |
--enable-vpopmaildir=/var/vpopmail \ |
104 |
--enable-htmldir="${MY_HTDOCSDIR}" \ |
105 |
--enable-imagedir="${MY_HTDOCSDIR}"/images \ |
106 |
--enable-imageurl=/${PN}/images \ |
107 |
--enable-htmllibdir=/usr/share/${PN}/htmllib \ |
108 |
--enable-cgibindir="${MY_CGIBINDIR}" \ |
109 |
--enable-cgipath=/cgi-bin/${PN} \ |
110 |
--enable-qmaildir="${QMAIL_HOME}" \ |
111 |
--enable-autoresponder-path="${QMAIL_HOME}"/bin \ |
112 |
--enable-true-path=/bin \ |
113 |
--enable-ezmlmdir=/usr/bin \ |
114 |
--enable-domain-autofill \ |
115 |
--enable-modify-quota \ |
116 |
--enable-no-cache \ |
117 |
--enable-trivial-password \ |
118 |
--enable-catchall \ |
119 |
--enable-maxusersperpage=50 \ |
120 |
--enable-maxaliasesperpage=50 \ |
121 |
--enable-vpopuser=vpopmail \ |
122 |
--enable-vpopgroup=vpopmail \ |
123 |
LDFLAGS="${LDFLAGS}" \ |
124 |
CFLAGS="${CFLAGS}" \ |
125 |
"$@" \ |
126 |
|| die "econf failed" |
127 |
|
128 |
emake || die "make failed" |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
webapp_src_preinst |
133 |
|
134 |
make DESTDIR="${D}" install || die "make install failed" |
135 |
|
136 |
dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog \ |
137 |
TRANSLATORS NEWS FAQ README contrib/* |
138 |
|
139 |
webapp_src_install |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
einfo "If you would like support for ezmlm mailing lists inside qmailadmin," |
144 |
einfo "please emerge some variant of ezmlm-idx." |
145 |
webapp_pkg_postinst |
146 |
} |