mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 0 (0%) meta-parsec N/A (0%) meta-hardening 1 (100%) meta-integrity 15 (68%) meta-tpm 27 (61%) meta-security Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
76 lines
2.6 KiB
Diff
76 lines
2.6 KiB
Diff
From 34698c7f561fb575293a1c991a71e1b4ddc5ae73 Mon Sep 17 00:00:00 2001
|
|
From: Andrei Dinu <andrei.adrianx.dinu@intel.com>
|
|
Date: Fri, 5 Jul 2013 11:56:58 +0300
|
|
Subject: [PATCH] Mandir and perl install dir were overwritten with faulty
|
|
information in the Makefile. Now the Mandir and perl
|
|
install dir are sent via paramters from the recipe.
|
|
|
|
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
|
|
---
|
|
Upstream-Status: Pending
|
|
|
|
Makefile.pl | 12 +++++++-----
|
|
1 file changed, 7 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/Makefile.pl b/Makefile.pl
|
|
index 9ca5602..8776e18 100644
|
|
--- a/Makefile.pl
|
|
+++ b/Makefile.pl
|
|
@@ -131,6 +131,8 @@ foreach (keys %MODULES){
|
|
|
|
# adjust DESTDIR, if needed
|
|
$DESTDIR = $ENV{DESTDIR} if(defined $ENV{DESTDIR});
|
|
+$MANDIR = $ENV{MANDIR} if(defined $ENV{MANDIR});
|
|
+$INSTALLDIR = $ENV{INSTALLDIR} if(defined $ENV{INSTALLDIR});
|
|
|
|
# parse command line build options
|
|
while($COMMAND = shift @ARGV){
|
|
@@ -171,7 +173,7 @@ sub command_install_pod {
|
|
command_build() if(!-e $TARGET);
|
|
die("Can not install without Config.pm") if($MODULES{Config}==0);
|
|
$CWD=&cwd if($MODULES{Cwd}>0);
|
|
- my $where=$DESTDIR . $Config{'man3direxp'};
|
|
+ my $where=$DESTDIR . $MANDIR;
|
|
my $t = $TARGET;
|
|
if($LIBRARY){
|
|
$t="$PACKAGE.3pm";
|
|
@@ -219,7 +221,7 @@ sub command_install_pod {
|
|
sub command_uninstall_pod {
|
|
die("Can not uninstall without Config.pm") if($MODULES{Config}==0);
|
|
$CWD=&cwd if($MODULES{Cwd}>0);
|
|
- my $where=$DESTDIR . $Config{'man3direxp'};
|
|
+ my $where=$DESTDIR . $MANDIR;
|
|
my $t = $TARGET;
|
|
if($LIBRARY){
|
|
$t="$PACKAGE.3pm";
|
|
@@ -243,7 +245,7 @@ sub command_install_library {
|
|
command_build() if(!-e $TARGET);
|
|
die("Can not install without Config.pm") if($MODULES{Config}==0);
|
|
$CWD=&cwd if($MODULES{Cwd}>0);
|
|
- my $where=$DESTDIR . $Config{'installsitelib'};
|
|
+ my $where=$DESTDIR . $INSTALLDIR;
|
|
if(!-e $where){
|
|
print STDOUT "WARNING!\n\n",
|
|
"The local perl site directory does not exist:\n",
|
|
@@ -271,7 +273,7 @@ sub command_install_library {
|
|
sub command_uninstall_library {
|
|
die("Can not uninstall without Config.pm") if($MODULES{Config}==0);
|
|
$CWD=&cwd if($MODULES{Cwd}>0);
|
|
- my $where=$DESTDIR . $Config{'installsitelib'};
|
|
+ my $where=$DESTDIR . $INSTALLDIR;
|
|
chdir($where);
|
|
if(-e $TARGET){
|
|
unlink $TARGET;
|
|
@@ -401,7 +403,7 @@ sub command_socket_diag {
|
|
sub command_install_compat {
|
|
die("Can not install without Config.pm") if($MODULES{Config}==0);
|
|
$CWD=&cwd if($MODULES{Cwd}>0);
|
|
- my $where=$DESTDIR . $Config{'installsitelib'};
|
|
+ my $where=$DESTDIR . $INSTALLDIR;
|
|
if(!-e $where){
|
|
print STDOUT "WARNING!\n\n",
|
|
"The local perl site directory does not exist:\n",
|
|
--
|
|
1.7.9.5
|
|
|