summaryrefslogtreecommitdiff
path: root/app-arch/star
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /app-arch/star
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'app-arch/star')
-rw-r--r--app-arch/star/Manifest2
-rw-r--r--app-arch/star/star-1.5.3-r1.ebuild (renamed from app-arch/star/star-1.5.3.ebuild)22
2 files changed, 17 insertions, 7 deletions
diff --git a/app-arch/star/Manifest b/app-arch/star/Manifest
index af735dcccc39..bcd182c35211 100644
--- a/app-arch/star/Manifest
+++ b/app-arch/star/Manifest
@@ -1,3 +1,3 @@
DIST star-1.5.3.tar.bz2 889881 BLAKE2B d5d21a99d78c877d422bb6326ec0833d11c35dbe591ba1b892b267f811ae7f6108d9e34c14925b873a53b0f12c703f7c646012010d79d841e0e7be04a5c9dfed SHA512 622032a0e87f3df06ab1091af0af99d0362f478f70351cfe3d47195eec0fcc96f458fb6e50cae3531183984b1d390b598176ce008bcc5f29764795f66436efef
-EBUILD star-1.5.3.ebuild 2699 BLAKE2B 5b5bec4befa27d2a87e13c4d1a4d61681281736695cd9e5af3ecbee194de6b50f1ad5d59bd5219c76a50137aa9d00d2a990f0f8c142cf3e3e5a8c0c8ab3d1ab0 SHA512 457ea7ff0caba696702e0d754598d9e368e374db959a264a50742fa483b6325c3eb250a6044736df0ccd3adf0f15f6a46f75ba8fdb40404ebed3386f7ae73e4f
+EBUILD star-1.5.3-r1.ebuild 2861 BLAKE2B 7d7965e7e3a668b5a430ea677c982f15be66e051061073bf06f0bf4efb4bc56425a1341ccf91c4bceedb928b3a2210b3b8241fa31251c71c52bb3dcaf0022f9b SHA512 968eaa9d7c840faf23ccd93b1449fb1388937ba9164db7c10a19d716fc8460e9bc8a46fe98070a152371b74a4323e433acde5b081d7357accb88bbf3dad25f53
MISC metadata.xml 350 BLAKE2B 9ca6ab6c8bcb830e9635e148dfc550ae71d785bd4e7f3620bc4a81e27dce3f9a7cb3ad5b2321ca0bdb7dae5082725ea75dfb73ed36e2507129c6937c7f3ef06f SHA512 2e9d3fb7c591893162b2518657d39d6c0a53e80b666b5aa4b307cc80bdb47a5c2f9f300abb42e99b8216be8f09ee407571ca39d2b5ea2dbdf427ba350db457bf
diff --git a/app-arch/star/star-1.5.3.ebuild b/app-arch/star/star-1.5.3-r1.ebuild
index f841e026ddc1..480ce97a4327 100644
--- a/app-arch/star/star-1.5.3.ebuild
+++ b/app-arch/star/star-1.5.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="An enhanced (world's fastest) tar, as well as enhanced mt/rmt"
HOMEPAGE="http://s-tar.sourceforge.net/"
@@ -15,13 +15,16 @@ KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linu
IUSE="acl xattr"
DEPEND="
+ sys-libs/libcap
acl? ( sys-apps/acl )
xattr? ( sys-apps/attr )"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/${P/_alpha[0-9][0-9]}
+S="${WORKDIR}/${P/_alpha[0-9][0-9]}"
src_prepare() {
+ default
+
find -type f -exec chmod -c u+w '{}' + || die
sed \
-e "s:/opt/schily:${EPREFIX}/usr:g" \
@@ -33,15 +36,21 @@ src_prepare() {
if use acl; then
sed \
-e 's:[$]ac_cv_header_sys_acl_h:disable acl:' \
- -i "${S}/autoconf/configure" || die
+ -i autoconf/configure || die
fi
if use xattr; then
sed \
-e 's:[$]ac_cv_header_attr_xattr_h:disable xattr:' \
- -i "${S}/autoconf/configure" || die
+ -i autoconf/configure || die
fi
+ # "echo -n" is not POSIX compliant
+ sed \
+ -e 's@echo $ac_n@printf@' \
+ -e '/printf/s@$ac_c@@g' \
+ -i autoconf/configure || die
+
# Create additional symlinks needed for some archs.
pushd "${S}/RULES" > /dev/null
local t
@@ -56,6 +65,7 @@ src_configure() { :; } #avoid ./configure run
src_compile() {
emake \
+ GMAKE_NOWARN="true" \
CC="$(tc-getCC)" \
COPTX="${CFLAGS}" \
CPPOPTX="${CPPFLAGS}" \