Don't use /usr/bin/env in shebang
This commit is contained in:
parent
5fea8c4241
commit
3c4b9a3048
59
0004-don-t-use-usr-bin-env-in-shebang.patch
Normal file
59
0004-don-t-use-usr-bin-env-in-shebang.patch
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
From 6d28b9227823b0a6ee9650a97ea406cf4ef8160e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peter Schiffer <pschiffe@redhat.com>
|
||||||
|
Date: Tue, 23 Jul 2013 14:09:50 +0200
|
||||||
|
Subject: [PATCH] don't use /usr/bin/env in shebang
|
||||||
|
|
||||||
|
There might be an issue that the script is executed with unwanted version of
|
||||||
|
<lang> if that language is provided by enabled dynamic software collection.
|
||||||
|
|
||||||
|
Resolves: #987069
|
||||||
|
---
|
||||||
|
contrib/chem/chem.pl | 2 +-
|
||||||
|
contrib/groffer/perl/groffer.pl | 2 +-
|
||||||
|
contrib/groffer/perl/roff2.pl | 2 +-
|
||||||
|
src/roff/grog/grog.pl | 2 +-
|
||||||
|
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/contrib/chem/chem.pl b/contrib/chem/chem.pl
|
||||||
|
index dacf8b4..932606a 100755
|
||||||
|
--- a/contrib/chem/chem.pl
|
||||||
|
+++ b/contrib/chem/chem.pl
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#! /usr/bin/env perl
|
||||||
|
+#! /usr/bin/perl
|
||||||
|
|
||||||
|
# chem - a groff preprocessor for producing chemical structure diagrams
|
||||||
|
|
||||||
|
diff --git a/contrib/groffer/perl/groffer.pl b/contrib/groffer/perl/groffer.pl
|
||||||
|
index f56fbfc..d0352d0 100755
|
||||||
|
--- a/contrib/groffer/perl/groffer.pl
|
||||||
|
+++ b/contrib/groffer/perl/groffer.pl
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#! /usr/bin/env perl
|
||||||
|
+#! /usr/bin/perl
|
||||||
|
|
||||||
|
# groffer - display groff files
|
||||||
|
|
||||||
|
diff --git a/contrib/groffer/perl/roff2.pl b/contrib/groffer/perl/roff2.pl
|
||||||
|
index cf95f95..9ba6860 100755
|
||||||
|
--- a/contrib/groffer/perl/roff2.pl
|
||||||
|
+++ b/contrib/groffer/perl/roff2.pl
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#! /usr/bin/env perl
|
||||||
|
+#! /usr/bin/perl
|
||||||
|
|
||||||
|
# roff2* - transform roff files into other formats
|
||||||
|
|
||||||
|
diff --git a/src/roff/grog/grog.pl b/src/roff/grog/grog.pl
|
||||||
|
index 3f33d86..77adf78 100644
|
||||||
|
--- a/src/roff/grog/grog.pl
|
||||||
|
+++ b/src/roff/grog/grog.pl
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#! /usr/bin/env perl
|
||||||
|
+#! /usr/bin/perl
|
||||||
|
# grog - guess options for groff command
|
||||||
|
# Inspired by doctype script in Kernighan & Pike, Unix Programming
|
||||||
|
# Environment, pp 306-8.
|
||||||
|
--
|
||||||
|
1.7.11.7
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
Summary: A document formatting system
|
Summary: A document formatting system
|
||||||
Name: groff
|
Name: groff
|
||||||
Version: 1.22.2
|
Version: 1.22.2
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv3+ and GFDL and BSD and MIT
|
License: GPLv3+ and GFDL and BSD and MIT
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
URL: http://www.gnu.org/software/groff/
|
URL: http://www.gnu.org/software/groff/
|
||||||
@ -14,6 +14,8 @@ Patch0: 0001-missing-groff-x11-info-message-when-gxditview-not-fo.patch
|
|||||||
Patch1: 0002-load-site-font-and-site-tmac-from-etc-groff.patch
|
Patch1: 0002-load-site-font-and-site-tmac-from-etc-groff.patch
|
||||||
# resolves: #709413, #720058, #720057
|
# resolves: #709413, #720058, #720057
|
||||||
Patch2: 0003-various-security-fixes.patch
|
Patch2: 0003-various-security-fixes.patch
|
||||||
|
# resolves: #987069
|
||||||
|
Patch3: 0004-don-t-use-usr-bin-env-in-shebang.patch
|
||||||
|
|
||||||
Requires: coreutils, /sbin/install-info, groff-base = %{version}-%{release}
|
Requires: coreutils, /sbin/install-info, groff-base = %{version}-%{release}
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
@ -397,6 +399,9 @@ fi
|
|||||||
%doc %{_docdir}/%{name}-%{version}/pdf/
|
%doc %{_docdir}/%{name}-%{version}/pdf/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 23 2013 Peter Schiffer <pschiffe@redhat.com> 1.22.2-6
|
||||||
|
- don't use /usr/bin/env in shebang
|
||||||
|
|
||||||
* Mon Jul 22 2013 Peter Schiffer <pschiffe@redhat.com> 1.22.2-5
|
* Mon Jul 22 2013 Peter Schiffer <pschiffe@redhat.com> 1.22.2-5
|
||||||
- removed BSD and MIT license files - the text is already included
|
- removed BSD and MIT license files - the text is already included
|
||||||
in the upstream tarball
|
in the upstream tarball
|
||||||
|
Loading…
Reference in New Issue
Block a user