1 |
halcy0n 09/01/22 22:29:45 |
2 |
|
3 |
Modified: ChangeLog mapson-3.0.ebuild |
4 |
Log: |
5 |
Patch to fix compilation with gcc-4.3 by Yaroslav Gorbunov <yagorbunov AT mail DOT ru>; bug #251151 |
6 |
(Portage version: 2.2_rc22/cvs/Linux 2.6.28 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.6 mail-filter/mapson/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/mapson/ChangeLog?rev=1.6&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/mapson/ChangeLog?rev=1.6&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/mapson/ChangeLog?r1=1.5&r2=1.6 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/mapson/ChangeLog,v |
18 |
retrieving revision 1.5 |
19 |
retrieving revision 1.6 |
20 |
diff -u -r1.5 -r1.6 |
21 |
--- ChangeLog 8 Feb 2007 13:19:33 -0000 1.5 |
22 |
+++ ChangeLog 22 Jan 2009 22:29:45 -0000 1.6 |
23 |
@@ -1,6 +1,11 @@ |
24 |
# ChangeLog for mail-filter/mapson |
25 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/mapson/ChangeLog,v 1.5 2007/02/08 13:19:33 flameeyes Exp $ |
27 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mapson/ChangeLog,v 1.6 2009/01/22 22:29:45 halcy0n Exp $ |
29 |
+ |
30 |
+ 22 Jan 2009; Mark Loeser <halcy0n@g.o> |
31 |
+ +files/mapson-3.0-gcc43.patch, mapson-3.0.ebuild: |
32 |
+ Patch to fix compilation with gcc-4.3 by Yaroslav Gorbunov <yagorbunov AT |
33 |
+ mail DOT ru>; bug #251151 |
34 |
|
35 |
08 Feb 2007; Diego Pettenò <flameeyes@g.o> ChangeLog: |
36 |
Regenerate digest in Manifest2 format. |
37 |
|
38 |
|
39 |
|
40 |
1.6 mail-filter/mapson/mapson-3.0.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/mapson/mapson-3.0.ebuild?rev=1.6&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/mapson/mapson-3.0.ebuild?rev=1.6&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/mapson/mapson-3.0.ebuild?r1=1.5&r2=1.6 |
45 |
|
46 |
Index: mapson-3.0.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/mapson/mapson-3.0.ebuild,v |
49 |
retrieving revision 1.5 |
50 |
retrieving revision 1.6 |
51 |
diff -u -r1.5 -r1.6 |
52 |
--- mapson-3.0.ebuild 5 Jun 2005 11:59:08 -0000 1.5 |
53 |
+++ mapson-3.0.ebuild 22 Jan 2009 22:29:45 -0000 1.6 |
54 |
@@ -1,6 +1,8 @@ |
55 |
-# Copyright 1999-2005 Gentoo Foundation |
56 |
+# Copyright 1999-2009 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/mapson/mapson-3.0.ebuild,v 1.5 2005/06/05 11:59:08 hansmi Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mapson/mapson-3.0.ebuild,v 1.6 2009/01/22 22:29:45 halcy0n Exp $ |
60 |
+ |
61 |
+inherit eutils |
62 |
|
63 |
DESCRIPTION="A challenge/response-based white-list spam filter" |
64 |
HOMEPAGE="http://mapson.sourceforge.net/" |
65 |
@@ -13,6 +15,13 @@ |
66 |
DEPEND="virtual/libc |
67 |
virtual/mta" |
68 |
|
69 |
+src_unpack() { |
70 |
+ unpack ${A} |
71 |
+ cd "${S}" |
72 |
+ |
73 |
+ epatch "${FILESDIR}"/${P}-gcc43.patch |
74 |
+} |
75 |
+ |
76 |
src_compile() { |
77 |
./configure \ |
78 |
--build=${CHOST} \ |
79 |
@@ -26,13 +35,13 @@ |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
- make DESTDIR=${D} install || die |
84 |
+ make DESTDIR="${D}" install || die |
85 |
|
86 |
- cd ${D}/etc/mapson |
87 |
+ cd "${D}"/etc/mapson |
88 |
dodoc sample-config |
89 |
mv sample-config mapson.config |
90 |
|
91 |
- cd ${D}/usr/share/mapson |
92 |
+ cd "${D}"/usr/share/mapson |
93 |
dodoc sample-challenge-template |
94 |
mv sample-challenge-template challenge-template |
95 |
dohtml mapson.html |