public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/dash/
Date: Sun, 20 May 2018 00:19:27 +0000 (UTC)	[thread overview]
Message-ID: <1526775557.41be65b0a1909090de5df0bf30247d52a9dbb4b4.whissi@gentoo> (raw)

commit:     41be65b0a1909090de5df0bf30247d52a9dbb4b4
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun May 20 00:07:07 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun May 20 00:19:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41be65b0

app-shells/dash: Bump to v0.5.10.2

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 app-shells/dash/Manifest             |  1 +
 app-shells/dash/dash-0.5.10.2.ebuild | 78 ++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/app-shells/dash/Manifest b/app-shells/dash/Manifest
index 28e096423d1..0ee0aee331e 100644
--- a/app-shells/dash/Manifest
+++ b/app-shells/dash/Manifest
@@ -1,2 +1,3 @@
 DIST dash-0.5.10.1.tar.gz 225253 BLAKE2B 55dbdca7f01d19656e002d6e210bcae920619e2e88d4d174a3e08cbbc40bf867ece3f24ce9690ec64f95b1f0995ab35cabc08381ac031a33b55282cec0b09e73 SHA512 7ca3bbcf8bac84d359cde710a9ab393f05cf8522e969a2c110d2e71620e53f349387128045e68738dc621afe0b48f43ae3d32851187f2ae02d49b3e2575ffa6b
+DIST dash-0.5.10.2.tar.gz 225196 BLAKE2B af48879d29aee8041949b51f08eb89c3938e77b2e05553a3e1a9939da7b00fd80f7b9fb35f33e18b0c11850bfb1b8377e9dc9bcfd80754fd29c9d160e0ce5a4d SHA512 0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640
 DIST dash-0.5.9.1.tar.gz 225217 BLAKE2B a80aa00ea5418d00b03c9ded21ef5c3a28d599059d1ac2f20082867b71ece6afac2f0bce9bc09946450c7618ad2c7f95df63b3d519a7f56552a291d09e44a71b SHA512 d56a043b8fab4693d3f70cceb531c37174e7ded4acd5549e53048d7ce29125ff21d7e758f51a4a73e06250d051e246467039989275838c19a2579edea3f72b7d

diff --git a/app-shells/dash/dash-0.5.10.2.ebuild b/app-shells/dash/dash-0.5.10.2.ebuild
new file mode 100644
index 00000000000..d51383e2eb1
--- /dev/null
+++ b/app-shells/dash/dash-0.5.10.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs versionator
+
+#MY_PV="$(get_version_component_range 1-3)"
+DEB_PATCH="" #$(get_version_component_range 4)
+#MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Debian Almquist Shell"
+HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
+SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${P}.tar.gz"
+if [[ -n "${DEB_PATCH}" ]] ; then
+	DEB_PF="${PN}_${MY_PV}-${DEB_PATCH}"
+	SRC_URI+=" mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="libedit static vanilla"
+
+RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.5.9.1-format-security.patch
+)
+
+src_prepare() {
+	if [[ -n "${DEB_PATCH}" ]] ; then
+		eapply "${WORKDIR}"/${DEB_PF}.diff
+		eapply */debian/diff/*
+	fi
+
+	#337329 #527848
+	use vanilla || eapply "${FILESDIR}"/${PN}-0.5.10-dumb-echo.patch
+
+	default
+
+	# Fix the invalid sort
+	sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
+
+	# Use pkg-config for libedit linkage
+	sed -i \
+		-e "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" \
+		configure || die
+}
+
+src_configure() {
+	# don't redefine stat on Solaris
+	if [[ ${CHOST} == *-solaris* ]] ; then
+		export ac_cv_func_stat64=yes
+	fi
+	append-cppflags -DJOBS=$(usex libedit 1 0)
+	use static && append-ldflags -static
+	# Do not pass --enable-glob due to #443552.
+	# Autotools use $LINENO as a proxy for extended debug support
+	# (i.e. they're running bash), so disable that. #527644
+	local myeconfargs=(
+		--bindir="${EPREFIX}"/bin
+		--enable-fnmatch
+		--disable-lineno
+		$(use_with libedit)
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	if [[ -n "${DEB_PATCH}" ]] ; then
+		dodoc */debian/changelog
+	fi
+}


             reply	other threads:[~2018-05-20  0:19 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-20  0:19 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 14:35 [gentoo-commits] repo/gentoo:master commit in: app-shells/dash/ Sam James
2025-01-12 14:10 Sam James
2025-01-12 13:48 Sam James
2025-01-12 13:42 Sam James
2025-01-12 13:16 Sam James
2025-01-12 13:16 Sam James
2025-01-12 13:02 Sam James
2024-08-11 10:41 Sam James
2024-08-11 10:33 Sam James
2023-01-28 20:21 Arthur Zamarin
2023-01-27  6:31 Sam James
2023-01-27  6:27 Sam James
2023-01-27  6:27 Sam James
2023-01-27  6:27 Sam James
2023-01-27  6:27 Sam James
2023-01-27  6:22 Sam James
2022-12-12 18:43 Sam James
2022-12-02 18:44 WANG Xuerui
2022-01-09 10:41 James Le Cuirot
2021-12-09 21:59 Sam James
2021-12-06  1:16 Sam James
2021-12-05 19:30 Arthur Zamarin
2021-12-05 18:39 Sam James
2021-12-05 18:31 Sam James
2021-12-05  3:45 Sam James
2021-11-03 21:09 Sam James
2021-09-10 14:30 Yixun Lan
2021-09-03 21:37 Lars Wendler
2021-06-05 13:54 Lars Wendler
2021-01-11 19:37 Lars Wendler
2021-01-11 19:13 Sam James
2021-01-11 19:13 Sam James
2021-01-10 21:58 Sam James
2021-01-10 12:42 Sam James
2021-01-10 12:42 Sam James
2021-01-10  9:35 Sam James
2021-01-10  9:28 Sam James
2021-01-06 13:26 Fabian Groffen
2020-12-24 23:17 Lars Wendler
2020-12-20 16:45 Fabian Groffen
2020-11-27 12:47 Lars Wendler
2020-11-02  9:47 Sam James
2020-10-20  7:04 Sergei Trofimovich
2020-10-20  7:02 Sergei Trofimovich
2020-10-20  6:57 Sergei Trofimovich
2020-10-20  6:51 Sergei Trofimovich
2020-10-19  0:14 Sam James
2020-10-18 23:55 Sam James
2020-10-18 18:06 Thomas Deutschmann
2020-09-27 19:30 Fabian Groffen
2020-09-03 23:57 Sam James
2020-09-02  6:33 Sergei Trofimovich
2020-09-01  3:54 Sam James
2020-08-29 22:10 Lars Wendler
2020-08-29 22:10 Lars Wendler
2020-08-21 15:36 Agostino Sarubbo
2020-08-21 15:31 Agostino Sarubbo
2020-08-21 15:27 Agostino Sarubbo
2020-08-21 15:25 Agostino Sarubbo
2020-08-21  7:50 Sam James
2020-07-08 13:47 Lars Wendler
2020-06-13 14:58 Mike Gilbert
2020-06-02  8:59 Lars Wendler
2020-05-08  9:36 Sergei Trofimovich
2020-05-08  6:25 Mart Raudsepp
2020-05-06  6:30 Agostino Sarubbo
2020-05-06  6:30 Agostino Sarubbo
2020-05-06  6:28 Agostino Sarubbo
2020-05-06  6:27 Agostino Sarubbo
2020-05-06  6:26 Agostino Sarubbo
2020-05-06  6:26 Agostino Sarubbo
2020-03-15 15:58 Michael Orlitzky
2018-06-17 14:24 Fabian Groffen
2018-04-20 19:01 Sergei Trofimovich
2018-04-14 20:36 Mart Raudsepp
2018-04-11 22:05 Sergei Trofimovich
2017-10-19  5:00 Markus Meier
2017-10-04  8:13 Sergei Trofimovich
2017-10-03  8:25 Sergei Trofimovich
2017-10-02 16:09 Manuel Rüger
2017-10-02 13:24 Sergei Trofimovich
2017-09-30 16:06 Thomas Deutschmann
2017-08-22 12:50 Fabian Groffen
2017-08-22 12:23 Lars Wendler
2017-08-22 12:23 Lars Wendler
2016-12-07 17:27 Mike Frysinger
2016-10-31 14:45 Mike Gilbert
2016-10-31 14:45 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1526775557.41be65b0a1909090de5df0bf30247d52a9dbb4b4.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox