From: Mike Frysinger Date: Sat, 30 Dec 2006 01:12:48 +0000 (+0000) Subject: Take a page from Debian and make /etc/rmt a shell script so people know why this... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e54a72e856ab51bcc7bdd65f7ed64d76218bc87;p=gentoo.git Take a page from Debian and make /etc/rmt a shell script so people know why this cruft exists #159429 by Rafal Rzepecki. Package-Manager: portage-2.1.2_rc4-r2 --- diff --git a/app-arch/tar/ChangeLog b/app-arch/tar/ChangeLog index 14d430b458ac..acc0b0385499 100644 --- a/app-arch/tar/ChangeLog +++ b/app-arch/tar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-arch/tar # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.82 2006/12/10 01:42:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.83 2006/12/30 01:12:48 vapier Exp $ + + 30 Dec 2006; Mike Frysinger +files/rmt, + tar-1.16.1.ebuild: + Take a page from Debian and make /etc/rmt a shell script so people know why + this cruft exists #159429 by Rafal Rzepecki. *tar-1.16.1 (10 Dec 2006) diff --git a/app-arch/tar/Manifest b/app-arch/tar/Manifest index 0a53785a8e7f..7927025d2683 100644 --- a/app-arch/tar/Manifest +++ b/app-arch/tar/Manifest @@ -9,6 +9,10 @@ AUX append.at 1065 RMD160 2c4875d13e7fe7f324fceaa5de8f7f9778cb7e07 SHA1 1dfba78c MD5 9873b609521d574ae1f98d1c092c80e4 files/append.at 1065 RMD160 2c4875d13e7fe7f324fceaa5de8f7f9778cb7e07 files/append.at 1065 SHA256 4cfab61e61427e091b4409d39cfc41cd24db7b1948134a9fe49916711ab45d6f files/append.at 1065 +AUX rmt 272 RMD160 28efef6531cded0004cd6645d5219a8bfb2d356e SHA1 e061b8ecbcf9b6f827805517914fc7be19c642b2 SHA256 5bae1233979c9398979121685b177a63fdceac045a3c8d28545d290826c743e2 +MD5 ba69f695dca3f01d027cfec5a9405de6 files/rmt 272 +RMD160 28efef6531cded0004cd6645d5219a8bfb2d356e files/rmt 272 +SHA256 5bae1233979c9398979121685b177a63fdceac045a3c8d28545d290826c743e2 files/rmt 272 AUX tar-1.15.1-dont-abort-long-names.patch 1586 RMD160 3c13978030c20830996fd56ddeb3f95024c23530 SHA1 d7ab5b32a957621d1ca358f6ea9931be907e2dc1 SHA256 049132675793b924a581fcf025c449bff03b29b754f1eda85cbf30a0b962daa7 MD5 6c645ac1da5d382a9f7ca85729b7e9e9 files/tar-1.15.1-dont-abort-long-names.patch 1586 RMD160 3c13978030c20830996fd56ddeb3f95024c23530 files/tar-1.15.1-dont-abort-long-names.patch 1586 @@ -56,14 +60,14 @@ EBUILD tar-1.16-r2.ebuild 1721 RMD160 c1b00fa9b498042975f7acc5c9892f91a2e83290 S MD5 15a93ddd7088f592f9f510d9077c02e5 tar-1.16-r2.ebuild 1721 RMD160 c1b00fa9b498042975f7acc5c9892f91a2e83290 tar-1.16-r2.ebuild 1721 SHA256 c37a7b8501ca762453ce7eb0dec25431b31b33021345e00b107c2b89afe30b27 tar-1.16-r2.ebuild 1721 -EBUILD tar-1.16.1.ebuild 1632 RMD160 68783505d84f46c62fd81822999910cf580cb811 SHA1 85e762892fca6131b6b40b63a520e53defbf8659 SHA256 4f87a611830c498e42ee615d11b10c0875f56a50464d11246d661372464ff16c -MD5 593158c993408f211c7ec9f5046d13a5 tar-1.16.1.ebuild 1632 -RMD160 68783505d84f46c62fd81822999910cf580cb811 tar-1.16.1.ebuild 1632 -SHA256 4f87a611830c498e42ee615d11b10c0875f56a50464d11246d661372464ff16c tar-1.16.1.ebuild 1632 -MISC ChangeLog 14143 RMD160 69de1f0df0309bf36f2601902e7e7bfac3f2159a SHA1 22de07b26e64b733a8636ae2897f6aa176006b84 SHA256 385fecbc21a711f6b992fb78e945ec9a1f8425e4327b2d70967d99839f59222d -MD5 906ff6cd6c7496ffe5437a6825641a81 ChangeLog 14143 -RMD160 69de1f0df0309bf36f2601902e7e7bfac3f2159a ChangeLog 14143 -SHA256 385fecbc21a711f6b992fb78e945ec9a1f8425e4327b2d70967d99839f59222d ChangeLog 14143 +EBUILD tar-1.16.1.ebuild 1669 RMD160 3df2474764b5e3c0e5a7d7a9f89cfffb06f36e5c SHA1 3b4fefa510b574c6400a66b0525f67c0cff58ccb SHA256 8e940ad7b1689d75c379fedf386dd67946e7872ceddca690c14bc3fb49a59649 +MD5 542e3d42ee96beea3c6e6e063c19d384 tar-1.16.1.ebuild 1669 +RMD160 3df2474764b5e3c0e5a7d7a9f89cfffb06f36e5c tar-1.16.1.ebuild 1669 +SHA256 8e940ad7b1689d75c379fedf386dd67946e7872ceddca690c14bc3fb49a59649 tar-1.16.1.ebuild 1669 +MISC ChangeLog 14352 RMD160 b53464c79b9693006b0ec9677646a317806e5f25 SHA1 29c50e2b1c65195abbc91b911dec3b0ade05d933 SHA256 58ff5fb1d4ea9fd4518b22a03cc2db2b8ecdd765f6415497b140069754b63f3c +MD5 45f106fcf3093785eaabf1c9778459d6 ChangeLog 14352 +RMD160 b53464c79b9693006b0ec9677646a317806e5f25 ChangeLog 14352 +SHA256 58ff5fb1d4ea9fd4518b22a03cc2db2b8ecdd765f6415497b140069754b63f3c ChangeLog 14352 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 @@ -81,9 +85,9 @@ MD5 c6e123198e8cc6c55278679b14f4a97e files/digest-tar-1.16.1 238 RMD160 9e3b491266e8500023ee14b7d9aabb4a597b0f12 files/digest-tar-1.16.1 238 SHA256 779d91a741a2e1e16f26de90c2c25b1c38aeb9132ca71b2a7ab974a436163bc2 files/digest-tar-1.16.1 238 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFe2YsamhnQswr0vIRAkYxAJ9NCXBwVoGsSOw7sUgBPuE60VzKOQCcDJdn -gk79VDSs348yMxuNnkjf+Jg= -=UzMj +iD8DBQFFlb1P8bi6rjpTunYRAtfrAKCz8y0da/D5wjpTTFm6wENVju3rBwCgnNEc +FKqF0hu+J9BE/cdwkw5JzBI= +=S9Bd -----END PGP SIGNATURE----- diff --git a/app-arch/tar/files/rmt b/app-arch/tar/files/rmt new file mode 100644 index 000000000000..8fbca89fe52f --- /dev/null +++ b/app-arch/tar/files/rmt @@ -0,0 +1,8 @@ +#!/bin/sh +# +# This is not a mistake. This shell script (/etc/rmt) has been provided +# for compatibility with other Unix-like systems, some of which have +# utilities that expect to find (and execute) rmt in the /etc directory +# on remote systems. +# +exec /usr/bin/rmt "$@" diff --git a/app-arch/tar/tar-1.16.1.ebuild b/app-arch/tar/tar-1.16.1.ebuild index 10f01bdd2db2..c40e4c0a6891 100644 --- a/app-arch/tar/tar-1.16.1.ebuild +++ b/app-arch/tar/tar-1.16.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.16.1.ebuild,v 1.1 2006/12/10 01:42:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.16.1.ebuild,v 1.2 2006/12/30 01:12:48 vapier Exp $ inherit flag-o-matic eutils @@ -52,9 +52,11 @@ src_install() { emake DESTDIR="${D}" install || die "make install failed" - # a nasty yet required symlink - dodir /etc - dosym /usr/sbin/${p}rmt /etc/${p}rmt + if [[ -z ${p} ]] ; then + # a nasty yet required piece of baggage + exeinto /etc + doexe "${FILESDIR}"/rmt || die + fi dodoc AUTHORS ChangeLog* NEWS README* PORTS THANKS newman "${FILESDIR}"/tar.1 ${p}tar.1