From: | "Alin Nastac (mrness)" <mrness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-apps/dspam-web: dspam-web-3.8.0.ebuild |
Date: | Tue, 25 Sep 2007 04:50:13 |
Message-Id: | E1Ia2F6-0004Pf-V7@stork.gentoo.org |
1 | mrness 07/09/25 04:41:52 |
2 | |
3 | Modified: dspam-web-3.8.0.ebuild |
4 | Log: |
5 | cosmetic changes |
6 | (Portage version: 2.1.3.9) |
7 | |
8 | Revision Changes Path |
9 | 1.9 www-apps/dspam-web/dspam-web-3.8.0.ebuild |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/dspam-web/dspam-web-3.8.0.ebuild?rev=1.9&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/dspam-web/dspam-web-3.8.0.ebuild?rev=1.9&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/dspam-web/dspam-web-3.8.0.ebuild?r1=1.8&r2=1.9 |
14 | |
15 | Index: dspam-web-3.8.0.ebuild |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.8.0.ebuild,v |
18 | retrieving revision 1.8 |
19 | retrieving revision 1.9 |
20 | diff -u -r1.8 -r1.9 |
21 | --- dspam-web-3.8.0.ebuild 24 Sep 2007 20:40:54 -0000 1.8 |
22 | +++ dspam-web-3.8.0.ebuild 25 Sep 2007 04:41:52 -0000 1.9 |
23 | @@ -1,13 +1,15 @@ |
24 | # Copyright 1999-2007 Gentoo Foundation |
25 | # Distributed under the terms of the GNU General Public License v2 |
26 | -# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.8.0.ebuild,v 1.8 2007/09/24 20:40:54 mrness Exp $ |
27 | +# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.8.0.ebuild,v 1.9 2007/09/25 04:41:52 mrness Exp $ |
28 | |
29 | inherit webapp eutils autotools |
30 | |
31 | +PATCHES_RELEASE_DATE="20070909" |
32 | + |
33 | DESCRIPTION="Web based administration and user controls for dspam" |
34 | HOMEPAGE="http://dspam.nuclearelephant.com/" |
35 | SRC_URI="http://dspam.nuclearelephant.com/sources/dspam-${PV}.tar.gz |
36 | - mirror://gentoo/dspam-${PV}-patches-20070909.tar.gz" |
37 | + mirror://gentoo/dspam-${PV}-patches-${PATCHES_RELEASE_DATE}.tar.gz" |
38 | |
39 | LICENSE="GPL-2" |
40 | KEYWORDS="~amd64 ~ppc sparc x86" |
41 | @@ -30,20 +32,20 @@ |
42 | S="${WORKDIR}/dspam-${PV}" |
43 | |
44 | pkg_setup() { |
45 | - local use_errors=0 |
46 | + local use_tests_failed=false |
47 | if built_with_use "mail-filter/dspam" user-homedirs; then |
48 | echo |
49 | eerror "The DSPAM web interface requires that mail-filter/dspam be installed without user-homedirs USE flag." |
50 | eerror "Please disable this flag and re-emerge dspam." |
51 | - use_errors=$[${use_errors} + 1] |
52 | + use_tests_failed=true |
53 | fi |
54 | if ! built_with_use "dev-perl/GD" png; then |
55 | echo |
56 | eerror "The DSPAM web interface requires that dev-perl/GD be installed with png USE flag." |
57 | eerror "Please enable this flag and re-emerge GD." |
58 | - use_errors=$[${use_errors} + 1] |
59 | + use_tests_failed=true |
60 | fi |
61 | - [ ${use_errors} -gt 0 ] && die "Dependency installed with incompatible USE flags" |
62 | + ${use_tests_failed} && die "Dependency installed with incompatible USE flags" |
63 | |
64 | webapp_pkg_setup |
65 | } |
66 | |
67 | |
68 | |
69 | -- |
70 | gentoo-commits@g.o mailing list |