mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
portage-stable: Drop unused perl packages
This commit is contained in:
parent
5ac607cb95
commit
a972510ba7
@ -274,7 +274,6 @@ dev-libs/userspace-rcu
|
||||
dev-libs/xmlsec
|
||||
dev-libs/yajl
|
||||
|
||||
dev-perl/File-Slurp
|
||||
dev-perl/Parse-Yapp
|
||||
|
||||
dev-python/autocommand
|
||||
@ -539,7 +538,6 @@ net-nds/rpcbind
|
||||
|
||||
net-vpn/wireguard-tools
|
||||
|
||||
perl-core/File-Temp
|
||||
perl-core/Getopt-Long
|
||||
|
||||
profiles
|
||||
@ -702,15 +700,10 @@ virtual/openssh
|
||||
virtual/os-headers
|
||||
virtual/package-manager
|
||||
virtual/pager
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-Encode
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-IO
|
||||
virtual/perl-Unicode-Collate
|
||||
virtual/pkgconfig
|
||||
virtual/resolvconf
|
||||
|
||||
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=CAPOEIRAB
|
||||
DIST_VERSION=9999.32
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Simple and Efficient Reading/Writing/Modifying of Complete Files"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
>=virtual/perl-Exporter-5.570.0
|
||||
>=virtual/perl-File-Spec-3.10.0
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-IO
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
>=virtual/perl-Scalar-List-Utils-1.0.0
|
||||
virtual/perl-Socket
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
|
||||
mydoc="extras/slurp_article.pod"
|
||||
@ -1 +0,0 @@
|
||||
DIST File-Slurp-9999.32.tar.gz 34574 BLAKE2B d75d7253945908328124ef46f53d86fba7ba0751e87ae493f071b03844d17b969371d1b26fddbc94f4b788475b09b5ee76c3d2c0b6f1c0c64959da0be95dd0f0 SHA512 413337e0257e95e8e8d2aabf684bec81e746000a741809935b058490b8c42b494064f724e618b250330d8bb67a0a7a2a5adad17e3e6c96d4b193531a192a4d56
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpan">File-Slurp</remote-id>
|
||||
<remote-id type="cpan-module">File::Slurp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=ETHER
|
||||
DIST_VERSION=0.2311
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="File::Temp can be used to create and open temporary files in a safe way"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=(
|
||||
# bug #390719
|
||||
"${FILESDIR}/${PN}-0.230.0-symlink-safety.patch"
|
||||
# bug #930949
|
||||
"${FILESDIR}/${PN}-0.231.100-pathconf-_PC_CHOWN_RESTRICTED.patch"
|
||||
)
|
||||
@ -1 +0,0 @@
|
||||
DIST File-Temp-0.2311.tar.gz 76988 BLAKE2B d867a5c391fb8bdf1534469ad67f3e122666fd857c3cabda67fcc216896159cb95b31a4885ee47c803e147fa246defc12608780e7814ede8e5662c8f8ffd3d0e SHA512 2db3f03f4d25013c60585cd3e6aa7e68fe9bb26f1957adf6674e9cae9e963a41c559d36862943703f567d116c82747b4fae0612253a784addeb53d7867a232d1
|
||||
@ -1,37 +0,0 @@
|
||||
From: John Lightsey <jd@cpanel.net>
|
||||
Date: Mon, 27 Jun 2011 13:07:44 -0500
|
||||
Subject: [PATCH] symlink safety
|
||||
|
||||
Add check for unsafe symbolic links to _is_safe() directory check.
|
||||
|
||||
|
||||
diff -ruN File-Temp-0.23.orig/lib/File/Temp.pm File-Temp-0.23/lib/File/Temp.pm
|
||||
--- File-Temp-0.23.orig/lib/File/Temp.pm 2013-03-14 22:56:59.000000000 +0100
|
||||
+++ File-Temp-0.23/lib/File/Temp.pm 2014-10-15 23:46:29.894611586 +0200
|
||||
@@ -672,7 +672,25 @@
|
||||
my $err_ref = shift;
|
||||
|
||||
# Stat path
|
||||
- my @info = stat($path);
|
||||
+ my @info = lstat($path);
|
||||
+ my $symlink_test_path = $path;
|
||||
+ my $symlink_loop_count = 0;
|
||||
+ while (-l _) {
|
||||
+ if (++$symlink_loop_count >= 50) {
|
||||
+ $$err_ref = "50 levels of symlinks encountered at $path";
|
||||
+ return 0;
|
||||
+ }
|
||||
+ if ( $info[4] <= File::Temp->top_system_uid() || $info[4] == $>) {
|
||||
+ # safe to traverse
|
||||
+ $symlink_test_path = readlink($symlink_test_path);
|
||||
+ @info = lstat($symlink_test_path);
|
||||
+ }
|
||||
+ else {
|
||||
+ $$err_ref = "Unsafe symlink at $path";
|
||||
+ return 0;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
unless (scalar(@info)) {
|
||||
$$err_ref = "stat(path) returned no values";
|
||||
return 0;
|
||||
@ -1,68 +0,0 @@
|
||||
https://bugs.gentoo.org/930949
|
||||
https://github.com/Perl-Toolchain-Gang/File-Temp/issues/36
|
||||
https://github.com/Perl-Toolchain-Gang/File-Temp/pull/41
|
||||
https://github.com/Perl/perl5/pull/22156
|
||||
https://github.com/Perl/perl5/pull/22161
|
||||
|
||||
From 2de518ab67bf3c5be2525ea0a5d78f39de50074f Mon Sep 17 00:00:00 2001
|
||||
From: Lukas Mai <lukasmai.403@gmail.com>
|
||||
Date: Thu, 18 Apr 2024 20:12:06 +0200
|
||||
Subject: [PATCH] use pathconf() to get _PC_CHOWN_RESTRICTED flag
|
||||
|
||||
The _PC_* constants are only meaningful in pathconf(); conversely,
|
||||
sysconf() only understands _SC_* constants.
|
||||
|
||||
Previously, this code didn't do anything meaningful. For example, on x64
|
||||
Linux _PC_CHOWN_RESTRICTED is 6, which sysconf() would have interpreted
|
||||
as _SC_TZNAME_MAX (also 6).
|
||||
---
|
||||
lib/File/Temp.pm | 16 +++++++---------
|
||||
2 files changed, 8 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/lib/File/Temp.pm b/lib/File/Temp.pm
|
||||
index ef34f6c..563efeb 100644
|
||||
--- a/lib/File/Temp.pm
|
||||
+++ b/lib/File/Temp.pm
|
||||
@@ -718,7 +718,7 @@ sub _is_safe {
|
||||
|
||||
# Internal routine to check whether a directory is safe
|
||||
# for temp files. Safer than _is_safe since it checks for
|
||||
-# the possibility of chown giveaway and if that is a possibility
|
||||
+# the possibility of chown giveaway and if that is a possibility,
|
||||
# checks each directory in the path to see if it is safe (with _is_safe)
|
||||
|
||||
# If _PC_CHOWN_RESTRICTED is not set, does the full test of each
|
||||
@@ -737,18 +737,16 @@ sub _is_verysafe {
|
||||
|
||||
my $err_ref = shift;
|
||||
|
||||
- # Should Get the value of _PC_CHOWN_RESTRICTED if it is defined
|
||||
- # and If it is not there do the extensive test
|
||||
+ # Should get the value of _PC_CHOWN_RESTRICTED if it is defined
|
||||
+ # and if it is not there, do the extensive test
|
||||
local($@);
|
||||
- my $chown_restricted;
|
||||
- $chown_restricted = &POSIX::_PC_CHOWN_RESTRICTED()
|
||||
- if eval { &POSIX::_PC_CHOWN_RESTRICTED(); 1};
|
||||
+ my $chown_restricted = eval { POSIX::_PC_CHOWN_RESTRICTED() };
|
||||
|
||||
- # If chown_resticted is set to some value we should test it
|
||||
+ # If chown_restricted is set to some value, we should test it
|
||||
if (defined $chown_restricted) {
|
||||
|
||||
# Return if the current directory is safe
|
||||
- return _is_safe($path,$err_ref) if POSIX::sysconf( $chown_restricted );
|
||||
+ return _is_safe($path, $err_ref) if POSIX::pathconf( $path, $chown_restricted );
|
||||
|
||||
}
|
||||
|
||||
@@ -2367,7 +2365,7 @@ for sticky bit.
|
||||
|
||||
In addition to the MEDIUM security checks, also check for the
|
||||
possibility of ``chown() giveaway'' using the L<POSIX|POSIX>
|
||||
-sysconf() function. If this is a possibility, each directory in the
|
||||
+pathconf() function. If this is a possibility, each directory in the
|
||||
path is checked in turn for safeness, recursively walking back to the
|
||||
root directory.
|
||||
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpan">File-Temp</remote-id>
|
||||
<remote-id type="cpan-module">File::Temp</remote-id>
|
||||
<remote-id type="cpan-module">File::Temp::Dir</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual for ${PN#perl-}"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
|| ( =dev-lang/perl-5.40* =dev-lang/perl-5.38* ~perl-core/${PN#perl-}-${PV} )
|
||||
dev-lang/perl:=
|
||||
!<perl-core/${PN#perl-}-${PV}
|
||||
!>perl-core/${PN#perl-}-${PV}-r999
|
||||
"
|
||||
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual for ${PN#perl-}"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
|| ( =dev-lang/perl-5.40* ~perl-core/${PN#perl-}-${PV} )
|
||||
dev-lang/perl:=
|
||||
!<perl-core/${PN#perl-}-${PV}
|
||||
!>perl-core/${PN#perl-}-${PV}-r999
|
||||
"
|
||||
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual for ${PN#perl-}"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
|| ( =dev-lang/perl-5.40.0* ~perl-core/${PN#perl-}-${PV} )
|
||||
dev-lang/perl:=
|
||||
!<perl-core/${PN#perl-}-${PV}
|
||||
!>perl-core/${PN#perl-}-${PV}-r999
|
||||
"
|
||||
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual for ${PN#perl-}"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
|| ( =dev-lang/perl-5.40.1* ~perl-core/${PN#perl-}-${PV} )
|
||||
dev-lang/perl:=
|
||||
!<perl-core/${PN#perl-}-${PV}
|
||||
!>perl-core/${PN#perl-}-${PV}-r999
|
||||
"
|
||||
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual for ${PN#perl-}"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
~perl-core/${PN#perl-}-${PV}
|
||||
dev-lang/perl:=
|
||||
"
|
||||
|
||||
# this is the dev-lang/perl-5.34 and dev-lang/perl-5.36 and dev-lang/perl-5.38 and dev-lang/perl-5.40 version but we want the security patch
|
||||
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual for ${PN#perl-}"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
|| ( =dev-lang/perl-5.40* ~perl-core/${PN#perl-}-${PV} )
|
||||
dev-lang/perl:=
|
||||
!<perl-core/${PN#perl-}-${PV}
|
||||
!>perl-core/${PN#perl-}-${PV}-r999
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user