Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/dash: dash-0.5.8.1.ebuild ChangeLog dash-0.5.7.1.ebuild
Date: Thu, 02 Oct 2014 09:15:38
Message-Id: 20141002091535.886406C0E@oystercatcher.gentoo.org
1 polynomial-c 14/10/02 09:15:35
2
3 Modified: ChangeLog
4 Added: dash-0.5.8.1.ebuild
5 Removed: dash-0.5.7.1.ebuild
6 Log:
7 Version bump. Removed old
8
9 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.116 app-shells/dash/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?rev=1.116&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?rev=1.116&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/ChangeLog?r1=1.115&r2=1.116
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-shells/dash/ChangeLog,v
21 retrieving revision 1.115
22 retrieving revision 1.116
23 diff -u -r1.115 -r1.116
24 --- ChangeLog 17 Apr 2014 20:59:40 -0000 1.115
25 +++ ChangeLog 2 Oct 2014 09:15:35 -0000 1.116
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-shells/dash
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-shells/dash/ChangeLog,v 1.115 2014/04/17 20:59:40 ottxor Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-shells/dash/ChangeLog,v 1.116 2014/10/02 09:15:35 polynomial-c Exp $
31 +
32 +*dash-0.5.8.1 (02 Oct 2014)
33 +
34 + 02 Oct 2014; Lars Wendler <polynomial-c@g.o> -dash-0.5.7.1.ebuild,
35 + +dash-0.5.8.1.ebuild:
36 + Version bump. Removed old.
37
38 17 Apr 2014; Christoph Junghans <ottxor@g.o> dash-0.5.7.4.ebuild:
39 added prefix support (no solaris)
40
41
42
43 1.1 app-shells/dash/dash-0.5.8.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/dash-0.5.8.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/dash/dash-0.5.8.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: dash-0.5.8.1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-shells/dash/dash-0.5.8.1.ebuild,v 1.1 2014/10/02 09:15:35 polynomial-c Exp $
53
54 EAPI="4"
55
56 inherit autotools eutils flag-o-matic toolchain-funcs
57
58 DEB_PV=${PV%.*}
59 DEB_PATCH=${PV##*.}
60 DEB_PF="${PN}_${DEB_PV}-${DEB_PATCH}"
61 MY_P="${PN}-${DEB_PV}"
62
63 DESCRIPTION="DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell) and is POSIX compliant"
64 HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
65 SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${PN}-${DEB_PV}.tar.gz
66 mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
67
68 LICENSE="BSD"
69 SLOT="0"
70 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
71 IUSE="libedit static"
72
73 RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
74 DEPEND="${RDEPEND}
75 virtual/pkgconfig
76 libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
77
78 S=${WORKDIR}/${MY_P}
79
80 src_prepare() {
81 epatch "${WORKDIR}"/${DEB_PF}.diff
82 epatch */debian/diff/*
83 epatch "${FILESDIR}"/${PN}-0.5.5.1-octal.patch #337329
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 econf \
99 --bindir="${EPREFIX}"/bin \
100 --enable-fnmatch \
101 $(use_with libedit)
102 }
103
104 src_install() {
105 default
106 dodoc */debian/changelog
107 }