dev-util/checkbashisms: Removed old.

Package-Manager: portage-2.2.26
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2016-01-02 11:27:48 +01:00
parent b49782e265
commit f2571ee970
6 changed files with 0 additions and 112 deletions
-1
View File
@@ -1,3 +1,2 @@
DIST checkbashisms-2.0.0.2 21258 SHA256 4da61b7f08b55609e80c648d215f0201aa9b5f1df53aab6252129537a7f7a0ee SHA512 cd9376f4c34773aba79f81b8bb129d912844102e91e363480b9983092efd36c4827e0447242aecfcdb3cfd4cc50e19e105cc645368e8c9735f49c8e381964dd4 WHIRLPOOL 94adf80badc7b484119df3723968965057ddfc365b59e52a7444e4476396f3c82d72aa43f049a397f5e762948dad0f4e3b679a547682401a469c7b8b587a9db5
DIST devscripts_2.15.10.tar.xz 679536 SHA256 8659779f03563aea6187f744b083cea2dfe637da2bb12ff52e38dd2e6f3762f9 SHA512 700e7734876325af6d8ae1d9b833b3f5cd8fee00cd1de63cab8da5eb643357c204e9a5f626cc1923d80a376850adbc931f51c46aebd1a2ad95ce4a13c7323657 WHIRLPOOL 0f62462308b7741ad7459eff12867988667b7a43e9a35b8845c5e8d0c741c623c2a6ff0c22509b7319399cb7d91bb3c4023c143678e0f7cb11d7c4380f9cf59c
DIST devscripts_2.15.9.tar.xz 627784 SHA256 409c7527ea91dda844688707b365485a9f5cc2e733e93f996fb597c64c78589d SHA512 24ed788730a1df4250706261fe89b836dac63b955060943797f29c02b3a3833b346b4524dbe1fd0a9a0999382577cd4e6f85b0710a91f75755a770fa03c62538 WHIRLPOOL 6feab0f3c6db74fe6b54f02033a0f4d1b33f0774cfeb0cb28f7fa8ce4e9d4867e4d33fa22b1cf34f0e8e4dce7eeaa01809521d5a2a31d84dc8cd7bf85dc8b702
@@ -1,37 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
DESCRIPTION="Perl script to check for commonly used bash features not defined by POSIX"
# "checkbaskisms" is not a typo, it's the actual upstream SF project name.
HOMEPAGE="http://sourceforge.net/projects/checkbaskisms/"
SRC_URI="mirror://sourceforge/checkbaskisms/${PV}/${PN} -> ${P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-lang/perl
virtual/perl-Getopt-Long
!<dev-util/rpmdevtools-8.3-r1"
S=${WORKDIR}
src_unpack() {
cp "${DISTDIR}"/${P} ${PN}
}
src_prepare() {
epatch "${FILESDIR}"/${P}-export.patch #458392
epatch "${FILESDIR}"/${P}-kill.patch #458392
epatch "${FILESDIR}"/${P}-version.patch
}
src_install() {
dobin ${PN}
}
@@ -1,25 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
DESCRIPTION="Perl script to check for commonly used bash features not defined by POSIX"
# "checkbaskisms" is not a typo, it's the actual upstream SF project name.
HOMEPAGE="http://sourceforge.net/projects/checkbaskisms/"
SRC_URI="mirror://sourceforge/checkbaskisms/${PV}/${PN} -> ${P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-lang/perl
virtual/perl-Getopt-Long
!<dev-util/rpmdevtools-8.3-r1"
S=${WORKDIR}
src_install() {
newbin "${DISTDIR}"/${P} ${PN}
}
@@ -1,16 +0,0 @@
`export foor=bar` is valid in POSIX
https://sourceforge.net/p/checkbaskisms/checkbashisms/9/
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#export
https://bugs.gentoo.org/458392
--- a/checkbashisms
+++ b/checkbashisms
@@ -512,7 +512,6 @@
$LEADIN . qr'disown\s' => q<disown>,
$LEADIN . qr'enable\s' => q<enable>,
$LEADIN . qr'export\s+-[^p]' => q<export only takes -p as an option>,
- $LEADIN . qr'export\s+.+=' => q<export foo=bar should be foo=bar; export foo>,
$LEADIN . qr'mapfile\s' => q<mapfile>,
$LEADIN . qr'readarray\s' => q<readarray>,
$LEADIN . qr'readonly\s+-[af]' => q<readonly -[af]>,
@@ -1,20 +0,0 @@
`kill -HUP` is valid in POSIX
we could extend the check to look for valid signal names, but that seems like
it's not worth the effort (when the # of signals is >30). if the code uses a
wrong signal name, then it'll hit a runtime error regardless of shell.
https://sourceforge.net/p/checkbaskisms/checkbashisms/5/
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/kill.html
https://bugs.gentoo.org/458392
--- a/checkbashisms
+++ b/checkbashisms
@@ -496,7 +496,6 @@
qr'\&>' => q<should be \>word 2\>&1>,
qr'(<\&|>\&)\s*((-|\d+)[^\s;|)}`&\\\\]|[^-\d\s]+(?<!\$)(?!\d))' =>
q<should be \>word 2\>&1>,
- $LEADIN . qr'kill\s+-[^sl]\w*' => q<kill -[0-9] or -[A-Z]>,
$LEADIN . qr'trap\s+["\']?.*["\']?\s+.*[1-9]' => q<trap with signal numbers>,
$LEADIN . qr'trap\s+["\']?.*["\']?\s+.*ERR' => q<trap ERR>,
qr'\[\[(?!:)' => q<alternative test command ([[ foo ]] should be [ foo ])>,
@@ -1,13 +0,0 @@
https://sourceforge.net/p/checkbaskisms/checkbashisms/1/
--- a/checkbashisms
+++ b/checkbashisms
@@ -30,7 +30,7 @@
EOF
my $version = <<"EOF";
-This is $progname version 2.0.0.1
+This is $progname version 2.0.0.2
(C) Copyright 1998-2003 Richard Braakman, Josip Rodin and Julian Gilbey
Additional programming by Mark Hobley
EOF