1 |
abcd 10/09/29 02:59:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wiggle-0.8-r1.ebuild |
5 |
Log: |
6 |
Revbump; patch to fix buffer overflows (bug 339073) |
7 |
|
8 |
(Portage version: 2.2_rc86_p7/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.21 dev-util/wiggle/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/wiggle/ChangeLog?rev=1.21&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/wiggle/ChangeLog?rev=1.21&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/wiggle/ChangeLog?r1=1.20&r2=1.21 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/wiggle/ChangeLog,v |
20 |
retrieving revision 1.20 |
21 |
retrieving revision 1.21 |
22 |
diff -u -r1.20 -r1.21 |
23 |
--- ChangeLog 24 Mar 2010 18:15:28 -0000 1.20 |
24 |
+++ ChangeLog 29 Sep 2010 02:59:50 -0000 1.21 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-util/wiggle |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/wiggle/ChangeLog,v 1.20 2010/03/24 18:15:28 robbat2 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/wiggle/ChangeLog,v 1.21 2010/09/29 02:59:50 abcd Exp $ |
30 |
+ |
31 |
+*wiggle-0.8-r1 (29 Sep 2010) |
32 |
+ |
33 |
+ 29 Sep 2010; Jonathan Callen <abcd@g.o> +wiggle-0.8-r1.ebuild, |
34 |
+ +files/wiggle-0.8-buffer-overflow.patch: |
35 |
+ Revbump; patch to fix buffer overflows (bug 339073) |
36 |
|
37 |
*wiggle-0.8 (24 Mar 2010) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/wiggle/wiggle-0.8-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/wiggle/wiggle-0.8-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/wiggle/wiggle-0.8-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: wiggle-0.8-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/wiggle/wiggle-0.8-r1.ebuild,v 1.1 2010/09/29 02:59:50 abcd Exp $ |
52 |
|
53 |
EAPI=3 |
54 |
|
55 |
inherit eutils fixheadtails toolchain-funcs |
56 |
|
57 |
DESCRIPTION="program for applying patches that patch cannot apply because of conflicting changes" |
58 |
HOMEPAGE="http://neil.brown.name/wiggle http://neil.brown.name/git?p=wiggle" |
59 |
SRC_URI="http://neil.brown.name/${PN}/${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
64 |
IUSE="test" |
65 |
|
66 |
# The 'p' tool does support bitkeeper, but I'm against just dumping it in here |
67 |
# due to it's size. I've explictly listed every other dependancy here due to |
68 |
# the nature of the shell program 'p' |
69 |
RDEPEND="dev-util/diffstat |
70 |
dev-util/patchutils |
71 |
sys-apps/diffutils |
72 |
sys-apps/findutils |
73 |
sys-apps/gawk |
74 |
sys-apps/grep |
75 |
sys-apps/less |
76 |
sys-apps/sed |
77 |
sys-apps/coreutils |
78 |
sys-devel/patch" |
79 |
DEPEND="${RDEPEND} |
80 |
sys-apps/groff |
81 |
test? ( sys-process/time )" |
82 |
|
83 |
src_prepare() { |
84 |
epatch "${FILESDIR}/${P}-buffer-overflow.patch" |
85 |
|
86 |
# Fix the reference to the help file so `p help' works |
87 |
sed -i "s:\$0.help:${EPREFIX}/usr/share/wiggle/p.help:" p || die "sed failed on p" |
88 |
|
89 |
# Don't add Neil Brown's default sign off line to every patch |
90 |
sed -i '/$CERT/,+4s,^,#,' p || die "sed failed on p" |
91 |
|
92 |
# Use prefixed time binary |
93 |
sed -i "s:/usr/bin/time:${EPREFIX}/usr/bin/time:" dotest || die "sed failed on dotest" |
94 |
|
95 |
ht_fix_file p |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" \ |
100 |
wiggle || die "emake wiggle failed." |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
dobin wiggle p || die "failed to install binaries" |
105 |
doman wiggle.1 || die "failed to install man page" |
106 |
dodoc ANNOUNCE INSTALL TODO DOC/diff.ps notes || die "failed to install docs" |
107 |
insinto /usr/share/wiggle |
108 |
doins p.help || die "failed to install help file" |
109 |
} |