Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/dash: dash-0.5.8.1-r1.ebuild ChangeLog
Date: Fri, 31 Oct 2014 19:25:43
Message-Id: 20141031192538.A74309291@oystercatcher.gentoo.org
1 vapier 14/10/31 19:25:38
2
3 Modified: ChangeLog
4 Added: dash-0.5.8.1-r1.ebuild
5 Log:
6 Disable LINENO support via the new configure flag #527644 by Alexander Tsoy.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.125 app-shells/dash/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?rev=1.125&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?rev=1.125&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?r1=1.124&r2=1.125
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-shells/dash/ChangeLog,v
20 retrieving revision 1.124
21 retrieving revision 1.125
22 diff -u -r1.124 -r1.125
23 --- ChangeLog 29 Oct 2014 09:24:39 -0000 1.124
24 +++ ChangeLog 31 Oct 2014 19:25:38 -0000 1.125
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-shells/dash
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-shells/dash/ChangeLog,v 1.124 2014/10/29 09:24:39 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-shells/dash/ChangeLog,v 1.125 2014/10/31 19:25:38 vapier Exp $
30 +
31 +*dash-0.5.8.1-r1 (31 Oct 2014)
32 +
33 + 31 Oct 2014; Mike Frysinger <vapier@g.o> +dash-0.5.8.1-r1.ebuild,
34 + +files/dash-0.5.8.1-eval-warnx.patch:
35 + Disable LINENO support via the new configure flag #527644 by Alexander Tsoy.
36
37 29 Oct 2014; Agostino Sarubbo <ago@g.o> dash-0.5.7.4.ebuild:
38 Stable for sparc, wrt bug #524262
39
40
41
42 1.1 app-shells/dash/dash-0.5.8.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/dash-0.5.8.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/dash-0.5.8.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dash-0.5.8.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-shells/dash/dash-0.5.8.1-r1.ebuild,v 1.1 2014/10/31 19:25:38 vapier Exp $
52
53 EAPI="4"
54
55 inherit autotools eutils flag-o-matic toolchain-funcs
56
57 DEB_PV=${PV%.*}
58 DEB_PATCH=${PV##*.}
59 DEB_PF="${PN}_${DEB_PV}-${DEB_PATCH}"
60 MY_P="${PN}-${DEB_PV}"
61
62 DESCRIPTION="DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell) and is POSIX compliant"
63 HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
64 SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${PN}-${DEB_PV}.tar.gz
65 mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
66
67 LICENSE="BSD"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
70 IUSE="libedit static"
71
72 RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
73 DEPEND="${RDEPEND}
74 virtual/pkgconfig
75 libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
76
77 S=${WORKDIR}/${MY_P}
78
79 src_prepare() {
80 epatch "${WORKDIR}"/${DEB_PF}.diff
81 epatch */debian/diff/*
82 epatch "${FILESDIR}"/${PN}-0.5.5.1-octal.patch #337329
83 epatch "${FILESDIR}"/${PN}-0.5.8.1-eval-warnx.patch
84
85 # Fix the invalid sort
86 sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
87
88 # Use pkg-config for libedit linkage
89 sed -i "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" 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 # Do not pass --enable-glob due to #443552.
98 # Autotools use $LINENO as a proxy for extended debug support
99 # (i.e. they're running bash), so disable that. #527644
100 econf \
101 --bindir="${EPREFIX}"/bin \
102 --enable-fnmatch \
103 --disable-lineno \
104 $(use_with libedit)
105 }
106
107 src_install() {
108 default
109 dodoc */debian/changelog
110 }