1 |
commit: 1efa8543a21a1cd27cd7c6ca67b8b294215b3ab7 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 3 21:36:44 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 3 21:37:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efa8543 |
7 |
|
8 |
app-shells/dash: Bump to version 0.5.11.5 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
app-shells/dash/Manifest | 1 + |
13 |
app-shells/dash/dash-0.5.11.5.ebuild | 61 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/app-shells/dash/Manifest b/app-shells/dash/Manifest |
17 |
index 0c7dc2fad1d..4ecb52d1a98 100644 |
18 |
--- a/app-shells/dash/Manifest |
19 |
+++ b/app-shells/dash/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST dash-0.5.11.3.tar.gz 244507 BLAKE2B 06d4bd9f4c93e76ddf895f5a0ebca0c18d9554f5d4fd30a948eafc862db0f4cd523f623dad75969ddb5f510ac85d174f3b3aac3726f9d3ca8fbdb4377715b244 SHA512 ffe69b8de3586aba298d936168c329524e385252e12979aa1db28761e882048eb5a80673e93a2a2227f61b52fd8b56546b78c5db9c21a022072f536267f8bc20 |
22 |
DIST dash-0.5.11.4.tar.gz 240652 BLAKE2B 67c8c148448b8d95d09e5229953a88d52338d71c8e647977b92c12c56f19ffc62f24c775409231409bde9f7e5cf05f97f131a4967dd93fbdc16f539846467e61 SHA512 2344782b80f69b74d00eb153a918c2293eec2316825bf83c1eb4ff787eddf78f67ca3026cfce39b1db8d5ede69c7268951eec1e5711903f2306714b665f84160 |
23 |
+DIST dash-0.5.11.5.tar.gz 240681 BLAKE2B 71c5e0acc127a01c75233b6d0a563979e5d856f16e3d108a68eb54d0b4b00f527f382e3e6aa963f9cff71bfaea2f524ba204ed04b7d006bd781784b2351e38c4 SHA512 5387e213820eeb44d812bb4697543023fd4662b51a9ffd52a702810fed8b28d23fbe35a7f371e6686107de9f81902eff109458964b4622f4c5412d60190a66bf |
24 |
|
25 |
diff --git a/app-shells/dash/dash-0.5.11.5.ebuild b/app-shells/dash/dash-0.5.11.5.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1c194ba1661 |
28 |
--- /dev/null |
29 |
+++ b/app-shells/dash/dash-0.5.11.5.ebuild |
30 |
@@ -0,0 +1,61 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit flag-o-matic toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="Debian Almquist Shell" |
39 |
+HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/" |
40 |
+SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
+IUSE="libedit static" |
46 |
+ |
47 |
+BDEPEND="virtual/pkgconfig" |
48 |
+RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ libedit? ( static? ( dev-libs/libedit[static-libs] ) )" |
51 |
+ |
52 |
+PATCHES=( |
53 |
+ "${FILESDIR}/${PN}-0.5.11.3-check_nflag_in_evaltree.patch" #754267 |
54 |
+) |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ |
59 |
+ # Fix the invalid sort |
60 |
+ sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins |
61 |
+ |
62 |
+ # Use pkg-config for libedit linkage |
63 |
+ sed -i \ |
64 |
+ -e "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" \ |
65 |
+ configure || die |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ if [[ ${CHOST} == *-solaris* ]] ; then |
70 |
+ # don't redefine stat, open, dirent, etc. on Solaris |
71 |
+ export ac_cv_func_stat64=yes |
72 |
+ export ac_cv_func_open64=yes |
73 |
+ |
74 |
+ # if your headers strictly adhere to POSIX, you'll need this too |
75 |
+ [[ ${CHOST##*solaris2.} -le 10 ]] && append-cppflags -DNAME_MAX=255 |
76 |
+ fi |
77 |
+ if [[ ${CHOST} == powerpc-*-darwin* ]] ; then |
78 |
+ sed -i -e 's/= stpncpy(s, \([^,]\+\), \([0-9]\+\))/+= snprintf(s, \2, "%s", \1)/' \ |
79 |
+ src/jobs.c || die |
80 |
+ fi |
81 |
+ append-cppflags -DJOBS=$(usex libedit 1 0) |
82 |
+ use static && append-ldflags -static |
83 |
+ # Do not pass --enable-glob due to #443552. |
84 |
+ local myeconfargs=( |
85 |
+ CC_FOR_BUILD="$(tc-getBUILD_CC)" |
86 |
+ --bindir="${EPREFIX}"/bin |
87 |
+ --enable-fnmatch |
88 |
+ $(use_with libedit) |
89 |
+ ) |
90 |
+ econf "${myeconfargs[@]}" |
91 |
+} |