Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877645 - app-arch/cpio, app-arch/tar: install as gcpio, gtar with symlinks
Summary: app-arch/cpio, app-arch/tar: install as gcpio, gtar with symlinks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-19 12:05 UTC by Michał Górny
Modified: 2022-10-30 09:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-19 12:05:11 UTC
Long story short, I'd like to try experimenting with bsdcpio/bsdtar as the primary cpio/tar implementation.  I would find it helpful if GNU cpio/tar were installed as gcpio and gtar respectively, with cpio and tar being symlinks.
Comment 1 Larry the Git Cow gentoo-dev 2022-10-30 09:55:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cddeeeb867340fae38dda81d3cb2fd794c1a3c60

commit cddeeeb867340fae38dda81d3cb2fd794c1a3c60
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-10-19 12:15:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-30 09:54:24 +0000

    app-arch/cpio: Install as gcpio, make cpio a symlink
    
    Closes: https://bugs.gentoo.org/877645
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/27846
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/cpio/cpio-2.13-r3.ebuild | 50 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab103bbf57bbbe62466583af03b900f1c3d5f2ee

commit ab103bbf57bbbe62466583af03b900f1c3d5f2ee
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-10-19 12:10:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-30 09:54:24 +0000

    app-arch/tar: Always install as gtar, make tar a symlink to it
    
    For better compatibility with systems that do not use GNU userland,
    install GNU tar as `gtar` rather than `tar`, and make `tar` a symlink
    to the former.  This replaces the prior inconsistent logic that
    installed `gtar` symlink on Prefix only.
    
    Closes: https://bugs.gentoo.org/877645
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/tar/tar-1.34-r1.ebuild | 84 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)