public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/tar/
Date: Sun, 17 Dec 2017 17:42:35 +0000 (UTC)	[thread overview]
Message-ID: <1513532551.aa0bdd852f784390de857766892b2b26d1bca206.polynomial-c@gentoo> (raw)

commit:     aa0bdd852f784390de857766892b2b26d1bca206
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 17:40:28 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 17:42:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa0bdd85

app-arch/tar: Bump to version 1.30

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-arch/tar/Manifest        |  1 +
 app-arch/tar/tar-1.30.ebuild | 76 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/app-arch/tar/Manifest b/app-arch/tar/Manifest
index c69c867c718..c087d7a3260 100644
--- a/app-arch/tar/Manifest
+++ b/app-arch/tar/Manifest
@@ -1 +1,2 @@
 DIST tar-1.29.tar.bz2 2715993 BLAKE2B 656b77a49c463ec7ade87a97b71469dadbf01551131bdf0cfa895b7b2a7d073a4cd51e9bec4169b134d83155aca18af1a89ddb5d14cb1dc0d9968184870d69f3 SHA512 d2cea9892892dfa0c8efd390303b75dccc085c4895e07ced684074592d69729916d6ea12475aa6aff873d076a729bb7dc2499c233edcfb9c7e8e8995481eef3b
+DIST tar-1.30.tar.bz2 2858639 BLAKE2B 82a8b1fbf1eb5c0347b2f8cf35854498e2955eb85eaf041ec44a38bbd9bc82cc7184d5cb858f9905f503c9178ec6d0ed50be2dc27be9933b29e0a18b8e6c0b8f SHA512 07a1157430898fee1a2c6fd3853d59d4ae13998db685669c8c702f73d2466eeb9892f84a5f0495bfe088c8190a643a99ac9f2cb16b85c9fe3ae0d83cc0f338e8

diff --git a/app-arch/tar/tar-1.30.ebuild b/app-arch/tar/tar-1.30.ebuild
new file mode 100644
index 00000000000..7a541404f34
--- /dev/null
+++ b/app-arch/tar/tar-1.30.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="Use this to make tarballs :)"
+HOMEPAGE="https://www.gnu.org/software/tar/"
+SRC_URI="mirror://gnu/tar/${P}.tar.bz2
+	mirror://gnu-alpha/tar/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="acl elibc_glibc minimal nls selinux static userland_GNU xattr"
+
+RDEPEND="acl? ( virtual/acl )
+	selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}
+	nls? ( >=sys-devel/gettext-0.10.35 )
+	xattr? ( elibc_glibc? ( sys-apps/attr ) )"
+
+src_prepare() {
+	default
+
+	if ! use userland_GNU ; then
+		sed -i \
+			-e 's:/backup\.sh:/gbackup.sh:' \
+			scripts/{backup,dump-remind,restore}.in \
+			|| die "sed non-GNU"
+	fi
+}
+
+src_configure() {
+	use static && append-ldflags -static
+	local myeconfargs=(
+		--bindir="${EPREFIX}"/bin
+		--enable-backup-scripts
+		--libexecdir="${EPREFIX}"/usr/sbin
+		$(usex userland_GNU "" "--program-prefix=g")
+		$(use_with acl posix-acls)
+		$(use_enable nls)
+		$(use_with selinux)
+		$(use_with xattr xattrs)
+	)
+	FORCE_UNSAFE_CONFIGURE=1 econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	local p=$(usex userland_GNU "" "g")
+	if [[ -z ${p} ]] ; then
+		# a nasty yet required piece of baggage
+		exeinto /etc
+		doexe "${FILESDIR}"/rmt
+	fi
+
+	# autoconf looks for gtar before tar (in configure scripts), hence
+	# in Prefix it is important that it is there, otherwise, a gtar from
+	# the host system (FreeBSD, Solaris, Darwin) will be found instead
+	# of the Prefix provided (GNU) tar
+	if use prefix ; then
+		dosym tar /bin/gtar
+	fi
+
+	mv "${ED%/}"/usr/sbin/${p}backup{,-tar} || die
+	mv "${ED%/}"/usr/sbin/${p}restore{,-tar} || die
+
+	if use minimal ; then
+		find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
+			-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
+			-delete || die
+	fi
+}


             reply	other threads:[~2017-12-17 17:42 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-17 17:42 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-18  7:24 [gentoo-commits] repo/gentoo:master commit in: app-arch/tar/ Hans de Graaff
2024-01-18  3:22 Sam James
2023-09-24 14:22 Sam James
2023-08-20  8:11 Sam James
2023-08-19 11:38 Sam James
2023-08-19  7:23 Sam James
2023-08-19  6:35 Sam James
2023-07-18 21:08 Sam James
2023-07-18 21:07 Sam James
2023-05-15 18:49 Ulrich Müller
2023-05-02 19:10 Arthur Zamarin
2023-05-01  6:27 Sam James
2023-05-01  2:28 Sam James
2023-05-01  2:26 Sam James
2023-05-01  0:34 Sam James
2023-05-01  0:19 Sam James
2023-05-01  0:12 Sam James
2023-05-01  0:12 Sam James
2023-04-23 19:16 Sam James
2023-03-25  3:32 Sam James
2023-02-24 18:36 Sam James
2022-12-28  0:33 Sam James
2022-12-27 19:53 Sam James
2022-12-27 19:45 Sam James
2022-12-27 13:40 Sam James
2022-12-27 11:31 Sam James
2022-11-28 14:31 Michał Górny
2022-10-30 15:51 Sam James
2022-10-30  9:55 Sam James
2022-04-06 23:58 Sam James
2021-03-28 13:23 Sam James
2021-03-26 18:45 Sam James
2021-03-26 11:34 Sam James
2021-03-26 11:34 Sam James
2021-03-26  7:45 Agostino Sarubbo
2021-03-25 17:52 Sergei Trofimovich
2021-03-25 16:27 Agostino Sarubbo
2021-02-13 14:18 Lars Wendler
2021-01-07 17:37 Lars Wendler
2021-01-06 12:52 Fabian Groffen
2021-01-04 22:40 Mike Gilbert
2020-12-27 13:34 Fabian Groffen
2020-09-07 20:44 Mike Gilbert
2019-12-02  9:59 Lars Wendler
2019-05-03 23:17 Andreas K. Hüttel
2019-04-08  6:55 Mikle Kolyada
2019-04-08  6:55 Mikle Kolyada
2019-04-08  6:55 Mikle Kolyada
2019-04-08  4:32 Aaron Bauman
2019-04-07 21:00 Sergei Trofimovich
2019-04-02  9:51 Mikle Kolyada
2019-03-30 19:05 Mikle Kolyada
2019-03-29  4:41 Matt Turner
2019-03-29  4:41 Matt Turner
2019-03-27 23:44 Thomas Deutschmann
2019-03-26 21:09 Sergei Trofimovich
2019-03-25 21:33 Sergei Trofimovich
2019-03-25 21:13 Mikle Kolyada
2019-03-10 16:13 Mikle Kolyada
2019-02-23 19:15 Lars Wendler
2019-02-12  9:16 Mikle Kolyada
2019-02-12  9:16 Mikle Kolyada
2019-02-12  9:16 Mikle Kolyada
2019-01-30 18:51 Markus Meier
2019-01-22  7:16 Matt Turner
2019-01-06 22:18 Mart Raudsepp
2019-01-05 22:40 Sergei Trofimovich
2019-01-05 22:39 Sergei Trofimovich
2019-01-05 22:36 Sergei Trofimovich
2019-01-04 16:50 Thomas Deutschmann
2019-01-04 10:37 Mikle Kolyada
2019-01-04  0:02 Thomas Deutschmann
2019-01-03  0:20 Lars Wendler
2018-07-15 21:54 Mikle Kolyada
2018-07-09 19:06 Mikle Kolyada
2018-06-27  7:25 Tobias Klausmann
2018-06-25  6:21 Sergei Trofimovich
2018-06-24 20:25 Sergei Trofimovich
2018-06-23 14:59 Mart Raudsepp
2018-06-21 19:30 Sergei Trofimovich
2018-06-19 12:55 Thomas Deutschmann
2018-06-18 21:17 Mikle Kolyada
2018-06-18 18:31 Sergei Trofimovich
2018-05-06 13:20 Mart Raudsepp
2018-03-11  6:08 Matt Turner
2018-01-29 15:51 Tobias Klausmann
2018-01-10  6:19 Markus Meier
2017-12-21 10:33 Sergei Trofimovich
2017-12-21  8:48 Sergei Trofimovich
2017-12-19 22:20 Sergei Trofimovich
2017-12-19 15:46 Thomas Deutschmann
2017-12-19  4:41 Jason Zaman
2017-12-17 17:42 Lars Wendler
2016-11-10 20:26 Mike Frysinger
2016-11-10 17:50 Markus Meier
2016-11-04 13:27 Jeroen Roovers
2016-11-04  8:24 Agostino Sarubbo
2016-11-04  8:21 Agostino Sarubbo
2016-11-01 11:05 Jeroen Roovers
2016-07-01  4:41 Jeroen Roovers
2016-06-04  4:58 Markus Meier
2016-06-01 13:32 Tobias Klausmann
2016-06-01  6:48 Jeroen Roovers
2016-05-27 12:46 Lars Wendler
2016-05-26 20:05 Lars Wendler
2016-05-16 21:08 Lars Wendler
2016-01-22 16:49 Fabian Groffen

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=1513532551.aa0bdd852f784390de857766892b2b26d1bca206.polynomial-c@gentoo \
    --to=polynomial-c@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