Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:cpanel:EA4
ea-openssl
0001-Allow-enginesdir-to-be-configurable-in-Con...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Allow-enginesdir-to-be-configurable-in-Configure-pha.patch of Package ea-openssl
From f4bf1fc8fba59b25eb4ea09474943fb6839cb6db Mon Sep 17 00:00:00 2001 From: Rishwanth Yeddula <rish@cpanel.net> Date: Mon, 16 Apr 2018 12:19:17 -0500 Subject: [PATCH 1/2] Allow 'enginesdir' to be configurable in Configure phase --- Configure | 9 +++++++-- engines/Makefile | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Configure b/Configure index 494e0b3..07f19e2 100755 --- a/Configure +++ b/Configure @@ -730,6 +730,7 @@ my $idx_multilib = $idx++; my $prefix=""; my $libdir=""; my $openssldir=""; +my $enginesdir=""; my $exe_ext=""; my $install_prefix= "$ENV{'INSTALL_PREFIX'}"; my $cross_compile_prefix=""; @@ -959,6 +960,10 @@ PROCESS_ARGS: { $openssldir=$1; } + elsif (/^--enginesdir=(.*)$/) + { + $enginesdir=$1; + } elsif (/^--install.prefix=(.*)$/) { $install_prefix=$1; @@ -1211,7 +1216,7 @@ chop $prefix if $prefix =~ /.\/$/; $openssldir=$prefix . "/ssl" if $openssldir eq ""; $openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/; - +$enginesdir="$prefix/lib/engines" if $enginesdir eq ""; print "IsMK1MF=$IsMK1MF\n"; @@ -1940,7 +1945,7 @@ while (<IN>) } elsif (/^#define\s+ENGINESDIR/) { - my $foo = "$prefix/$libdir/engines"; + my $foo = "$enginesdir"; $foo =~ s/\\/\\\\/g; print OUT "#define ENGINESDIR \"$foo\"\n"; } diff --git a/engines/Makefile b/engines/Makefile index 2058ff4..a2c407b 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -124,7 +124,7 @@ install: esac; \ cp $$pfx$$l$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ fi; \ - chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ + chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx ); \ done; \ fi -- 2.24.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor