From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-arch/star/Manifest | 5 +++ app-arch/star/metadata.xml | 11 +++++ app-arch/star/star-1.5.3.ebuild | 99 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 app-arch/star/Manifest create mode 100644 app-arch/star/metadata.xml create mode 100644 app-arch/star/star-1.5.3.ebuild (limited to 'app-arch/star') diff --git a/app-arch/star/Manifest b/app-arch/star/Manifest new file mode 100644 index 000000000000..2045220a1bd9 --- /dev/null +++ b/app-arch/star/Manifest @@ -0,0 +1,5 @@ +DIST star-1.5.3.tar.bz2 889881 SHA256 070342833ea83104169bf956aa880bcd088e7af7f5b1f8e3d29853b49b1a4f5b SHA512 622032a0e87f3df06ab1091af0af99d0362f478f70351cfe3d47195eec0fcc96f458fb6e50cae3531183984b1d390b598176ce008bcc5f29764795f66436efef WHIRLPOOL fd786e38666392813311d04350680bb9e1f4cf892412697652f8531eec95b9954c8e0ec3d1538dc1a7cc469e28dbbc38a0a21f8e210fdf929a65de3b73ab55d6 +EBUILD star-1.5.3.ebuild 2699 SHA256 7d7ace8cf3221dcc9329c39438e587d54c49aeb1ef2733eace8ec827c529dc24 SHA512 457ea7ff0caba696702e0d754598d9e368e374db959a264a50742fa483b6325c3eb250a6044736df0ccd3adf0f15f6a46f75ba8fdb40404ebed3386f7ae73e4f WHIRLPOOL 5d365196f9e6617619d774c8debcfc273fe9e01b82a0780bb88202e0d67c11e4c3feb5bdce54c089af41a30a4fe838ba03350387465b3b12b6ebaa5b92512029 +MISC ChangeLog 3458 SHA256 112dfaa462b403448f6ae4b1fdb08cd6d6b879658f14f5145dd19d42dbb777d9 SHA512 a5624c6ab93f9d7c46411b46a0664b5914e14878a12981754d34c3fc934d36132559470b76820e34e488cfc34ebbe3cbf08bd9dcba09450a54b0df2cc82d381f WHIRLPOOL 1a876049d62d7ac6794116a75c7bce50b4f4955c294eb3c83df88daba302b4d7cf942c84350fcecaf44678012c476c0c35835a290744a53a46b9e53bde90f9d9 +MISC ChangeLog-2015 16970 SHA256 959a2e7fab7f5d44618e2dd9cc0415303b0de15caeba7c88aaec5b6424334eed SHA512 cc05ba5d335a1821b5e95432dca741c2279fc24e83928e7d2153fa145cfdd8d9bd4596228af6dba87692c96686333d5e14919f7a51f3fff1908373d9a19785aa WHIRLPOOL b6c04928851d18c516bf006bfbc7c701f2eed077676f3cfd5d4e2348f622bc5e6cd20e5bc714b93476eb721225dec173089a82d4149a7850cd2b1a0fe5c2e505 +MISC metadata.xml 350 SHA256 1ec25faa3f5258ac6242cd85dd34d6dd37ba41fccb4e564022de28b9787fa0fa SHA512 2e9d3fb7c591893162b2518657d39d6c0a53e80b666b5aa4b307cc80bdb47a5c2f9f300abb42e99b8216be8f09ee407571ca39d2b5ea2dbdf427ba350db457bf WHIRLPOOL cd0d993959c413e89621a0d958275d12db9867df267cdfa1dd81c7194fcbc4e2bd190ba8a0911154b6e15632267a276b9971572699b8587049cf58c87afda173 diff --git a/app-arch/star/metadata.xml b/app-arch/star/metadata.xml new file mode 100644 index 000000000000..5e16a72b054f --- /dev/null +++ b/app-arch/star/metadata.xml @@ -0,0 +1,11 @@ + + + + + shell-tools@gentoo.org + Gentoo Shell Tools Project + + + s-tar + + diff --git a/app-arch/star/star-1.5.3.ebuild b/app-arch/star/star-1.5.3.ebuild new file mode 100644 index 000000000000..f841e026ddc1 --- /dev/null +++ b/app-arch/star/star-1.5.3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="An enhanced (world's fastest) tar, as well as enhanced mt/rmt" +HOMEPAGE="http://s-tar.sourceforge.net/" +SRC_URI="mirror://sourceforge/s-tar/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1 CDDL-Schily" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="acl xattr" + +DEPEND=" + acl? ( sys-apps/acl ) + xattr? ( sys-apps/attr )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P/_alpha[0-9][0-9]} + +src_prepare() { + find -type f -exec chmod -c u+w '{}' + || die + sed \ + -e "s:/opt/schily:${EPREFIX}/usr:g" \ + -e 's:bin:root:g' \ + -e "s:/usr/src/linux/include:${EPREFIX}/usr/include:" \ + -i DEFAULTS/Defaults.linux || die + + # Disable libacl autodependency (hacky build system, hacky fix...) + if use acl; then + sed \ + -e 's:[$]ac_cv_header_sys_acl_h:disable acl:' \ + -i "${S}/autoconf/configure" || die + fi + + if use xattr; then + sed \ + -e 's:[$]ac_cv_header_attr_xattr_h:disable xattr:' \ + -i "${S}/autoconf/configure" || die + fi + + # Create additional symlinks needed for some archs. + pushd "${S}/RULES" > /dev/null + local t + for t in ppc64 s390x ; do + ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die + ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die + done + popd > /dev/null +} + +src_configure() { :; } #avoid ./configure run + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + COPTX="${CFLAGS}" \ + CPPOPTX="${CPPFLAGS}" \ + COPTGPROF= \ + COPTOPT= \ + LDOPTX="${LDFLAGS}" +} + +src_install() { + # Joerg Schilling suggested to integrate star into the main OS using call: + # make INS_BASE=/usr DESTDIR="${D}" install + + dobin \ + star/OBJ/*-*-cc/star \ + tartest/OBJ/*-*-cc/tartest \ + star_sym/OBJ/*-*-cc/star_sym \ + mt/OBJ/*-*-cc/smt + + newsbin rmt/OBJ/*-*-cc/rmt rmt.star + newman rmt/rmt.1 rmt.star.1 + + # Note that we should never install gnutar, tar or rmt in this package. + # tar and rmt are provided by app-arch/tar. gnutar is not compatible with + # GNU tar and breakes compilation, or init scripts. bug #33119 + dosym {star,/usr/bin/ustar} + dosym {star,/usr/bin/spax} + dosym {star,/usr/bin/scpio} + dosym {star,/usr/bin/suntar} + + # match is needed to understand the pattern matcher, if you wondered why ;) + doman man/man1/match.1 tartest/tartest.1 \ + star/{star.4,star.1,spax.1,scpio.1,suntar.1} + + insinto /etc/default + newins star/star.dfl star + newins rmt/rmt.dfl rmt + + dodoc star/{README.ACL,README.crash,README.largefiles,README.otherbugs} \ + star/{README.pattern,README.pax,README.posix-2001,README,STARvsGNUTAR} \ + rmt/default-rmt.sample TODO AN-* Changelog CONTRIBUTING +} -- cgit v1.2.3