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: Mon,  2 Dec 2019 09:59:44 +0000 (UTC)	[thread overview]
Message-ID: <1575280780.de068bce8d2e05fed3747f3b66ae18576a85d4e9.polynomial-c@gentoo> (raw)

commit:     de068bce8d2e05fed3747f3b66ae18576a85d4e9
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  2 09:59:27 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Dec  2 09:59:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de068bce

app-arch/tar: Bump to version 1.32.90

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-arch/tar/Manifest           |  1 +
 app-arch/tar/tar-1.32.90.ebuild | 80 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/app-arch/tar/Manifest b/app-arch/tar/Manifest
index 64c7c860dbf..dc57e45b125 100644
--- a/app-arch/tar/Manifest
+++ b/app-arch/tar/Manifest
@@ -1 +1,2 @@
+DIST tar-1.32.90.tar.xz 2145976 BLAKE2B 95f1442da87bcbd58e0a6aad303b8c9da9179cc32a6e835d3fbe2e090ad4316e96265a54f573906b262034b92d8d3e56f3ff2609145249bd16dd4ea2a79bb601 SHA512 a42703b73ec3c1f462849469f00dd190a0164972fd2e97f128c3b559a6e9c79e87d5bbf47fca17ca9f8b6810221fbc727b6c15e38693256d9e43a2c2a2d7b593
 DIST tar-1.32.tar.bz2 2947264 BLAKE2B 4e380a9a2f84a2af5130464e1b298ae6acf02ee459cbca20dd0991c2859785e5aac789d57b87b32e8b45d89985b6414af9dd37161385da9568d6030c5aa42c0e SHA512 3139e87112123269ee0600243b3ea081687cc93667bef5832bfe3c785c1be622f520f00fcfbdf44ad1d3247866d0ecfe347a85bbfec38eb38fa1014baef566f6

diff --git a/app-arch/tar/tar-1.32.90.ebuild b/app-arch/tar/tar-1.32.90.ebuild
new file mode 100644
index 00000000000..64746b70278
--- /dev/null
+++ b/app-arch/tar/tar-1.32.90.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Use this to make tarballs :)"
+HOMEPAGE="https://www.gnu.org/software/tar/"
+SRC_URI="mirror://gnu/tar/${P}.tar.xz
+	mirror://gnu-alpha/tar/${P}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+[[ -n "$(ver_cut 3)" ]] && [[ "$(ver_cut 3)" -ge 90 ]] || \
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-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"
+
+LIB_DEPEND="acl? ( virtual/acl[static-libs(+)] )"
+
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+	selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}
+	nls? ( >=sys-devel/gettext-0.10.35 )
+	static? ( ${LIB_DEPEND} )
+	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:[~2019-12-02  9:59 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-02  9:59 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-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
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=1575280780.de068bce8d2e05fed3747f3b66ae18576a85d4e9.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