Subject: | [Patch] Remove 'use lib' from installed bin script |
This is just asking to be a problem one day like '.' in @INC kinda is.
( requires other patch mentioned in previous bug to apply cleanly as-is )
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
( requires other patch mentioned in previous bug to apply cleanly as-is )
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
Subject: | 0002-Remove-use-lib-lib.patch |
From c57d1b87b19b5ceab3d3cb3f47eb51904277e37a Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Tue, 10 Oct 2017 08:17:01 +1300
Subject: Remove 'use lib lib'
There's no sense in blindly adding lib based on wherever you currently
are to an installed program, its just a security problem asking to be
invented.
---
bin/hexdump.pl | 1 -
1 file changed, 1 deletion(-)
diff --git a/bin/hexdump.pl b/bin/hexdump.pl
index 9f86cd8..1ce8962 100755
--- a/bin/hexdump.pl
+++ b/bin/hexdump.pl
@@ -1,6 +1,5 @@
#!/usr/bin/perl -w
-use lib "lib";
use strict;
use Data::HexDump;
use FileHandle;
--
2.14.1