Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/qmailadmin: ChangeLog qmailadmin-1.2.12.ebuild
Date: Sun, 03 Feb 2008 11:27:49
Message-Id: E1JLcze-0002kU-To@stork.gentoo.org
1 hollow 08/02/03 11:26:38
2
3 Modified: ChangeLog
4 Added: qmailadmin-1.2.12.ebuild
5 Log:
6 version bump; convert to webapp
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.20 net-mail/qmailadmin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/qmailadmin/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/qmailadmin/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/qmailadmin/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 19 Oct 2007 11:27:02 -0000 1.19
23 +++ ChangeLog 3 Feb 2008 11:26:38 -0000 1.20
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-mail/qmailadmin
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.19 2007/10/19 11:27:02 hollow Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.20 2008/02/03 11:26:38 hollow Exp $
30 +
31 +*qmailadmin-1.2.12 (03 Feb 2008)
32 +
33 + 03 Feb 2008; Benedikt Böhm <hollow@g.o> +qmailadmin-1.2.12.ebuild:
34 + version bump; convert to webapp
35
36 19 Oct 2007; Benedikt Böhm <hollow@g.o> -qmailadmin-1.2.1.ebuild,
37 -qmailadmin-1.2.1-r1.ebuild, -qmailadmin-1.2.9.ebuild:
38
39
40
41 1.1 net-mail/qmailadmin/qmailadmin-1.2.12.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.12.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.12.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qmailadmin-1.2.12.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.12.ebuild,v 1.1 2008/02/03 11:26:38 hollow Exp $
51
52 inherit eutils webapp
53
54 # the RESTRICT is because the vpopmail lib directory is locked down
55 # and non-root can't access them.
56 RESTRICT="userpriv"
57
58 MY_P=${P/_rc/-rc}
59
60 DESCRIPTION="A web interface for managing a qmail system with virtual domains"
61 HOMEPAGE="http://www.inter7.com/qmailadmin.html"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 WEBAPP_MANUAL_SLOT="yes"
67 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86"
68 IUSE="maildrop"
69
70 DEPEND="virtual/qmail
71 >=net-mail/vpopmail-5.3
72 net-mail/autorespond
73 maildrop? ( >=mail-filter/maildrop-2.0.1 )"
74
75 S="${WORKDIR}"/${MY_P}
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80 epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch
81 }
82
83 src_compile() {
84 # Pass spam stuff through $@ so we get the quoting right
85 if use maildrop ; then
86 set -- --enable-modify-spam \
87 --enable-spam-command='|preline maildrop /etc/maildroprc'
88 else
89 set --
90 fi
91
92 econf \
93 --enable-valias \
94 --enable-vpopmaildir=/var/vpopmail \
95 --enable-htmldir="${MY_HTDOCSDIR}" \
96 --enable-imagedir="${MY_HTDOCSDIR}"/images \
97 --enable-imageurl=/${PN}/images \
98 --enable-htmllibdir=/usr/share/${PN}/htmllib \
99 --enable-cgibindir="${MY_CGIBINDIR}" \
100 --enable-cgipath=/cgi-bin/${PN} \
101 --enable-qmaildir=/var/qmail \
102 --enable-autoresponder-path=/var/qmail/bin \
103 --enable-true-path=/bin \
104 --enable-ezmlmdir=/usr/bin \
105 --enable-domain-autofill \
106 --enable-modify-quota \
107 --enable-no-cache \
108 --enable-maxusersperpage=50 \
109 --enable-maxaliasesperpage=50 \
110 --enable-vpopuser=vpopmail \
111 --enable-vpopgroup=vpopmail \
112 "$@" \
113 || die "econf failed"
114
115 emake || die "make failed"
116 }
117
118 src_install() {
119 webapp_src_preinst
120
121 make DESTDIR="${D}" install || die "make install failed"
122
123 dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog \
124 TRANSLATORS NEWS FAQ README contrib/*
125
126 webapp_src_install
127 }
128
129 pkg_postinst() {
130 einfo "If you would like support for ezmlm mailing lists inside qmailadmin,"
131 einfo "please emerge some variant of ezmlm-idx."
132 webapp_pkg_postinst
133 }
134
135
136
137 --
138 gentoo-commits@l.g.o mailing list