Gentoo Archives: gentoo-commits

From: "Gunnar Wrobel (wrobel)" <wrobel@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/postfixadmin: postfixadmin-2.1.0-r1.ebuild ChangeLog postfixadmin-2.2.0.ebuild postfixadmin-2.1.0.ebuild
Date: Sun, 01 Jun 2008 15:08:35
Message-Id: E1K2pAa-0000GT-TP@stork.gentoo.org
1 wrobel 08/06/01 15:08:28
2
3 Modified: postfixadmin-2.1.0-r1.ebuild ChangeLog
4 Added: postfixadmin-2.2.0.ebuild
5 Removed: postfixadmin-2.1.0.ebuild
6 Log:
7 Added postfixadmin-2.2.0 (#220141) and fixed #223387.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.3 www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild?r1=1.2&r2=1.3
16
17 Index: postfixadmin-2.1.0-r1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- postfixadmin-2.1.0-r1.ebuild 22 Feb 2008 15:56:28 -0000 1.2
24 +++ postfixadmin-2.1.0-r1.ebuild 1 Jun 2008 15:08:28 -0000 1.3
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2008 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild,v 1.2 2008/02/22 15:56:28 hollow Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild,v 1.3 2008/06/01 15:08:28 wrobel Exp $
30
31 inherit eutils webapp depend.php confutils
32
33 @@ -60,6 +60,9 @@
34 insinto /var/spool/vacation
35 insopts -m770 -o vacation -g vacation
36 doins "${S}"/VIRTUAL_VACATION/vacation.pl
37 +
38 + diropts -m775 -o root -g root
39 + insopts -m644 -o root -g root
40 fi
41
42 local docs="BACKUP_MX.TXT CHANGELOG.TXT INSTALL.TXT LANGUAGE.TXT
43
44
45
46 1.12 www-apps/postfixadmin/ChangeLog
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/ChangeLog?rev=1.12&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/ChangeLog?rev=1.12&content-type=text/plain
50 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/ChangeLog?r1=1.11&r2=1.12
51
52 Index: ChangeLog
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v
55 retrieving revision 1.11
56 retrieving revision 1.12
57 diff -u -r1.11 -r1.12
58 --- ChangeLog 22 Feb 2008 15:56:28 -0000 1.11
59 +++ ChangeLog 1 Jun 2008 15:08:28 -0000 1.12
60 @@ -1,6 +1,13 @@
61 # ChangeLog for www-apps/postfixadmin
62 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
63 -# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.11 2008/02/22 15:56:28 hollow Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.12 2008/06/01 15:08:28 wrobel Exp $
65 +
66 +*postfixadmin-2.2.0 (01 Jun 2008)
67 +
68 + 01 Jun 2008; wrobel@g.o +files/postinstall-en-2.2.0.txt,
69 + -postfixadmin-2.1.0.ebuild, postfixadmin-2.1.0-r1.ebuild,
70 + +postfixadmin-2.2.0.ebuild:
71 + Added postfixadmin-2.2.0 (#220141) and fixed #223387.
72
73 22 Feb 2008; Benedikt Böhm <hollow@g.o>
74 postfixadmin-2.1.0-r1.ebuild:
75
76
77
78 1.1 www-apps/postfixadmin/postfixadmin-2.2.0.ebuild
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.2.0.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.2.0.ebuild?rev=1.1&content-type=text/plain
82
83 Index: postfixadmin-2.2.0.ebuild
84 ===================================================================
85 # Copyright 1999-2008 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.2.0.ebuild,v 1.1 2008/06/01 15:08:28 wrobel Exp $
88
89 inherit eutils webapp depend.php confutils
90
91 DESCRIPTION="Web Based Management tool for Postfix style virtual domains and users."
92 HOMEPAGE="http://high5.net/postfixadmin/"
93 SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
94 RESTRICT="mirror"
95
96 LICENSE="GPL-2"
97 KEYWORDS="~amd64 ~x86"
98 IUSE="mysql postgres"
99
100 DEPEND=">=mail-mta/postfix-2.0.0
101 >=dev-lang/perl-5.0
102 dev-perl/DBI
103 mysql? ( dev-perl/DBD-mysql )
104 postgres? ( dev-perl/DBD-Pg )"
105 RDEPEND="${DEPEND}"
106
107 need_httpd_cgi
108 need_php_httpd
109
110 pkg_setup() {
111 webapp_pkg_setup
112
113 confutils_require_any mysql postgres
114 confutils_use_depend_built_with_all mysql mail-mta/postfix mysql
115 confutils_use_depend_built_with_all postgres mail-mta/postfix postgres
116
117 if use mysql; then
118 enewgroup vacation
119 enewuser vacation -1 -1 -1 vacation
120 fi
121 }
122
123 src_unpack() {
124 unpack ${A}
125 cd "${S}"
126 ecvs_clean
127
128 mv VIRTUAL_VACATION/INSTALL.TXT VIRTUAL_VACATION_INSTALL.TXT
129 }
130
131 src_install() {
132 webapp_src_preinst
133
134 # virtual vacation only works with MySQL
135 if use mysql; then
136 diropts -m0770 -o vacation -g vacation
137 dodir /var/spool/vacation
138 keepdir /var/spool/vacation
139 insinto /var/spool/vacation
140 insopts -m770 -o vacation -g vacation
141 doins "${S}"/VIRTUAL_VACATION/vacation.pl
142
143 diropts -m775 -o root -g root
144 insopts -m644 -o root -g root
145 fi
146
147 local docs="DOCUMENTS/BACKUP_MX.txt CHANGELOG.TXT INSTALL.TXT
148 DOCUMENTS/LANGUAGE.txt DOCUMENTS/UPGRADE.txt
149 VIRTUAL_VACATION_INSTALL.TXT"
150 dodoc ${docs}
151
152 insinto "${MY_HTDOCSDIR}"
153 doins -r .
154
155 for FILE in ${docs} GPL-LICENSE.TXT LICENSE.TXT ADDITIONS/ debian/
156 do
157 rm -rf ${FILE}
158 done
159
160 webapp_configfile "${MY_HTDOCSDIR}"/config.inc.php
161
162 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.2.0.txt
163 webapp_src_install
164 }
165
166
167
168 --
169 gentoo-commits@l.g.o mailing list