1 |
sdamashek 14/03/22 16:34:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: postfixadmin-2.3.7.ebuild |
5 |
Removed: postfixadmin-2.3.5.ebuild postfixadmin-2.3.2.ebuild |
6 |
Log: |
7 |
Remove 2.3.5, version bump to 2.3.7 wrt bug 502270 |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 3C472B56) |
10 |
|
11 |
Revision Changes Path |
12 |
1.32 www-apps/postfixadmin/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/postfixadmin/ChangeLog?rev=1.32&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/postfixadmin/ChangeLog?rev=1.32&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/postfixadmin/ChangeLog?r1=1.31&r2=1.32 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v |
21 |
retrieving revision 1.31 |
22 |
retrieving revision 1.32 |
23 |
diff -u -r1.31 -r1.32 |
24 |
--- ChangeLog 3 Mar 2014 23:33:05 -0000 1.31 |
25 |
+++ ChangeLog 22 Mar 2014 16:34:14 -0000 1.32 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for www-apps/postfixadmin |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.31 2014/03/03 23:33:05 pacho Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.32 2014/03/22 16:34:14 sdamashek Exp $ |
31 |
+ |
32 |
+*postfixadmin-2.3.7 (22 Mar 2014) |
33 |
+ |
34 |
+ 22 Mar 2014; Samuel Damashek <sdamashek@g.o> |
35 |
+ +postfixadmin-2.3.7.ebuild, -postfixadmin-2.3.2.ebuild, |
36 |
+ -postfixadmin-2.3.5.ebuild, -postfixadmin-2.3.6.ebuild, |
37 |
+ postfixadmin-2.3.6.ebuild: |
38 |
+ Remove 2.3.5, version bump to 2.3.7 wrt bug 502270 |
39 |
|
40 |
03 Mar 2014; Pacho Ramos <pacho@g.o> postfixadmin-2.3.6.ebuild: |
41 |
amd64 stable, bug #482760 |
42 |
|
43 |
|
44 |
|
45 |
1.1 www-apps/postfixadmin/postfixadmin-2.3.7.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.3.7.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.3.7.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: postfixadmin-2.3.7.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.3.7.ebuild,v 1.1 2014/03/22 16:34:14 sdamashek Exp $ |
55 |
|
56 |
EAPI="4" |
57 |
|
58 |
inherit user webapp |
59 |
|
60 |
DESCRIPTION="Web Based Management tool for Postfix style virtual domains and users." |
61 |
HOMEPAGE="http://postfixadmin.sourceforge.net" |
62 |
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${P}/${P}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
IUSE="+mysql postgres +vacation xmlrpc" |
67 |
REQUIRED_USE="|| ( mysql postgres )" |
68 |
|
69 |
DEPEND="vacation? ( dev-perl/DBI |
70 |
virtual/perl-MIME-Base64 |
71 |
dev-perl/MIME-EncWords |
72 |
dev-perl/Email-Valid |
73 |
dev-perl/Mail-Sender |
74 |
dev-perl/log-dispatch |
75 |
dev-perl/Log-Log4perl |
76 |
dev-perl/MIME-Charset |
77 |
mysql? ( dev-perl/DBD-mysql ) |
78 |
postgres? ( dev-perl/DBD-Pg ) ) |
79 |
xmlrpc? ( dev-php/ZendFramework[-minimal] ) |
80 |
dev-lang/php[unicode,imap,postgres?,xmlrpc?]" |
81 |
|
82 |
RDEPEND="${DEPEND} |
83 |
virtual/httpd-php |
84 |
mysql? ( || ( dev-lang/php[mysqli] dev-lang/php[mysql] ) )" |
85 |
|
86 |
need_httpd_cgi |
87 |
|
88 |
pkg_setup() { |
89 |
webapp_pkg_setup |
90 |
|
91 |
if use vacation; then |
92 |
enewgroup vacation |
93 |
enewuser vacation -1 -1 -1 vacation |
94 |
fi |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
webapp_src_preinst |
99 |
|
100 |
if use vacation; then |
101 |
insinto /var/spool/vacation |
102 |
newins VIRTUAL_VACATION/vacation.pl vacation.pl-${SLOT} |
103 |
fowners vacation:vacation /var/spool/vacation/vacation.pl-${SLOT} |
104 |
fperms 770 /var/spool/vacation/vacation.pl-${SLOT} |
105 |
dodoc VIRTUAL_VACATION/FILTER_README |
106 |
newdoc VIRTUAL_VACATION/INSTALL.TXT VIRTUAL_VACATION_INSTALL.TXT |
107 |
rm -r VIRTUAL_VACATION/{vacation.pl,INSTALL.TXT,tests,FILTER_README} |
108 |
fi |
109 |
|
110 |
insinto /usr/share/doc/${PF}/ |
111 |
doins -r ADDITIONS |
112 |
|
113 |
local docs="DOCUMENTS/*.txt INSTALL.TXT CHANGELOG.TXT" |
114 |
dodoc ${docs} |
115 |
|
116 |
rm -rf ${docs} DOCUMENTS/ GPL-LICENSE.TXT LICENSE.TXT debian/ tests/ ADDITIONS/ |
117 |
|
118 |
insinto "${MY_HTDOCSDIR}" |
119 |
doins -r . |
120 |
|
121 |
webapp_configfile "${MY_HTDOCSDIR}"/config.inc.php |
122 |
|
123 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt |
124 |
webapp_src_install |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
webapp_pkg_postinst |
129 |
if use vacation; then |
130 |
# portage does not update owners of directories (feature :) |
131 |
chown vacation:vacation "${ROOT}"/var/spool/vacation/ |
132 |
einfo "/var/spool/vacation/vacation.pl symlink was updated to:" |
133 |
einfo "/var/spool/vacation/vacation.pl-${SLOT}" |
134 |
ln -sf "${ROOT}"/var/spool/vacation/vacation.pl{-${SLOT},} |
135 |
fi |
136 |
} |
137 |
|
138 |
pkg_postrm() { |
139 |
# Make sure we don't leave broken vacation.pl symlink |
140 |
find -L "${ROOT}"/var/spool/vacation/ -type l -delete |
141 |
if [[ ! -e "${ROOT}"/var/spool/vacation/vacation.pl ]] && |
142 |
path_exists "${ROOT}"/var/spool/vacation/vacation.pl-*; then |
143 |
ln -s $(LC_ALL=C ls -1 /var/spool/vacation/vacation.pl-* | tail -n1) \ |
144 |
"${ROOT}"/var/spool/vacation/vacation.pl |
145 |
ewarn "/var/spool/vacation/vacation.pl was updated to point on most" |
146 |
ewarn "recent verion, but please, do your own checks" |
147 |
fi |
148 |
} |