From: | "Benedikt Boehm (hollow)" <hollow@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-mail/ezmlm-idx: ChangeLog ezmlm-idx-6.0.0.ebuild |
Date: | Sun, 16 Sep 2007 09:13:58 |
Message-Id: | E1IWq5A-0002sp-W7@stork.gentoo.org |
1 | hollow 07/09/16 09:06:24 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ezmlm-idx-6.0.0.ebuild |
5 | Log: |
6 | version bump; fixes #47668, #83606 and #152503 |
7 | (Portage version: 2.1.3.9) |
8 | |
9 | Revision Changes Path |
10 | 1.17 net-mail/ezmlm-idx/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ChangeLog?rev=1.17&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ChangeLog?rev=1.17&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ChangeLog?r1=1.16&r2=1.17 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v |
19 | retrieving revision 1.16 |
20 | retrieving revision 1.17 |
21 | diff -u -r1.16 -r1.17 |
22 | --- ChangeLog 23 Nov 2006 16:04:43 -0000 1.16 |
23 | +++ ChangeLog 16 Sep 2007 09:06:24 -0000 1.17 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for net-mail/ezmlm-idx |
26 | -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v 1.16 2006/11/23 16:04:43 vivo Exp $ |
28 | +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v 1.17 2007/09/16 09:06:24 hollow Exp $ |
30 | + |
31 | +*ezmlm-idx-6.0.0 (16 Sep 2007) |
32 | + |
33 | + 16 Sep 2007; Benedikt Böhm <hollow@g.o> +ezmlm-idx-6.0.0.ebuild: |
34 | + version bump; fixes #47668, #83606 and #152503 |
35 | |
36 | 23 Nov 2006; Francesco Riosa <vivo@g.o> ezmlm-idx-0.40-r2.ebuild: |
37 | dev-db/mysql => virtual/mysql |
38 | |
39 | |
40 | |
41 | 1.1 net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ezmlm-idx-6.0.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2007 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild,v 1.1 2007/09/16 09:06:24 hollow Exp $ |
51 | |
52 | EZMLM_P=ezmlm-0.53 |
53 | |
54 | inherit eutils fixheadtails |
55 | |
56 | DESCRIPTION="Simple yet powerful mailing list manager for qmail" |
57 | HOMEPAGE="http://www.ezmlm.org" |
58 | SRC_URI="http://cr.yp.to/software/${EZMLM_P}.tar.gz |
59 | http://www.ezmlm.org/archive/${PV}/${P}.tar.gz" |
60 | |
61 | LICENSE="as-is" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" |
64 | IUSE="mysql postgres" |
65 | |
66 | DEPEND=" |
67 | mysql? ( virtual/mysql ) |
68 | postgres? ( dev-db/libpq ) |
69 | " |
70 | RDEPEND="${DEPEND} |
71 | virtual/qmail" |
72 | |
73 | S="${WORKDIR}"/${EZMLM_P} |
74 | |
75 | pkg_setup() { |
76 | if use mysql && use postgres; then |
77 | die "cannot build mysql and pgsql support at the same time" |
78 | fi |
79 | } |
80 | |
81 | src_unpack() { |
82 | unpack ${A} |
83 | mv "${WORKDIR}"/${P}/* "${S}" || die |
84 | cd "${S}" |
85 | |
86 | epatch "${S}"/idx.patch |
87 | |
88 | ht_fix_file Makefile |
89 | |
90 | echo /usr/bin > conf-bin |
91 | echo /usr/lib/ezmlm > conf-lib |
92 | echo /etc/ezmlm > conf-etc |
93 | echo /usr/share/man > conf-man |
94 | echo /var/qmail > conf-qmail |
95 | |
96 | echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc |
97 | echo $(tc-getCC) ${CFLAGS} > conf-ld |
98 | |
99 | # fix DESTDIR and skip cat man-pages |
100 | sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \ |
101 | -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \ |
102 | -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \ |
103 | -i Makefile |
104 | |
105 | # ezmlm-mktab-{my|pg}sql may or may not be made |
106 | sed -i -e "s/\(^.*mktab\)/?\1/" BIN |
107 | } |
108 | |
109 | src_compile() { |
110 | emake it man || die "make failed" |
111 | |
112 | if use mysql; then |
113 | emake mysql || die "make mysql failed" |
114 | elif use postgres; then |
115 | emake pgsql || die "make pgsql failed" |
116 | fi |
117 | } |
118 | |
119 | src_install () { |
120 | dodir /usr/bin /usr/lib/ezmlm /etc/ezmlm /usr/share/man |
121 | dobin ezmlm-cgi |
122 | |
123 | make DESTDIR="${D}" setup || die "make setup failed" |
124 | } |
125 | |
126 | |
127 | |
128 | -- |
129 | gentoo-commits@g.o mailing list |