From: | "Harald van Dijk (truedfx)" <truedfx@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-shells/dash: dash-0.5.6.1-r1.ebuild ChangeLog dash-0.5.6.1.ebuild |
Date: | Sun, 22 Aug 2010 20:24:53 |
Message-Id: | 20100822202445.38B042004E@flycatcher.gentoo.org |
1 | truedfx 10/08/22 20:24:45 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dash-0.5.6.1-r1.ebuild |
5 | Removed: dash-0.5.6.1.ebuild |
6 | Log: |
7 | Fix IFS handling with read command (#331535) |
8 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.76 app-shells/dash/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?rev=1.76&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?rev=1.76&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?r1=1.75&r2=1.76 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-shells/dash/ChangeLog,v |
20 | retrieving revision 1.75 |
21 | retrieving revision 1.76 |
22 | diff -u -r1.75 -r1.76 |
23 | --- ChangeLog 31 Jul 2010 22:09:47 -0000 1.75 |
24 | +++ ChangeLog 22 Aug 2010 20:24:45 -0000 1.76 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for app-shells/dash |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | |
29 | +*dash-0.5.6.1-r1 (22 Aug 2010) |
30 | + |
31 | + 22 Aug 2010; Harald van Dijk <truedfx@g.o> -dash-0.5.6.1.ebuild, |
32 | + +dash-0.5.6.1-r1.ebuild, +files/dash-0.5.6.1-read-ifs.patch: |
33 | + Fix IFS handling with read command (#331535) |
34 | + |
35 | 31 Jul 2010; Lars Wendler <polynomial-c@g.o> dash-0.5.6.1.ebuild: |
36 | non-maintainer commit: Readded keywords. Ebuild now removes offending |
37 | patch which lead to bug #328929. Commit done with kind permission from |
38 | |
39 | |
40 | |
41 | 1.1 app-shells/dash/dash-0.5.6.1-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/dash-0.5.6.1-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/dash-0.5.6.1-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: dash-0.5.6.1-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-shells/dash/dash-0.5.6.1-r1.ebuild,v 1.1 2010/08/22 20:24:45 truedfx Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit autotools eutils flag-o-matic |
55 | |
56 | DEB_PV=${PV%.*} |
57 | DEB_PATCH=${PV##*.} |
58 | DEB_PF="${PN}_${DEB_PV}.${DEB_PATCH}-1~exp0" |
59 | MY_P="${PN}-${DEB_PV}" |
60 | |
61 | DESCRIPTION="DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell) and is POSIX compliant" |
62 | HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/" |
63 | SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${PN}-${DEB_PV}.tar.gz |
64 | mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz" |
65 | |
66 | LICENSE="BSD" |
67 | SLOT="0" |
68 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
69 | IUSE="libedit static" |
70 | |
71 | DEPEND="libedit? ( dev-libs/libedit )" |
72 | |
73 | S=${WORKDIR}/${MY_P} |
74 | |
75 | src_prepare() { |
76 | epatch "${WORKDIR}"/${DEB_PF}.diff |
77 | rm */debian/diff/0006--INPUT-exit-127-if-command_file-is-given-but-doesn-t.diff \ |
78 | || die #328929 |
79 | epatch */debian/diff/* |
80 | epatch "${FILESDIR}"/${P}-read-ifs.patch #331535 |
81 | |
82 | # Fix the invalid sort |
83 | sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins |
84 | |
85 | # Always statically link libedit in to ensure we always boot if it changes |
86 | # which it has done in the past. |
87 | local s="s/-ledit/-Wl,-Bstatic -ledit -Wl,-Bdynamic -lcurses/g" |
88 | use static && s="s/-ledit/-ledit -lcurses/g" |
89 | sed -i -e "${s}" configure.ac || die "Failed to sed configure.ac" |
90 | |
91 | # May as well, as the debian patches force this anyway |
92 | eautoreconf |
93 | } |
94 | |
95 | src_configure() { |
96 | use static && append-ldflags -static |
97 | econf \ |
98 | --bindir=/bin \ |
99 | $(use_with libedit) |
100 | } |
101 | |
102 | src_install() { |
103 | emake install DESTDIR="${D}" || die |
104 | dodoc ChangeLog */debian/changelog |
105 | } |