Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
76e299a1
Commit
76e299a1
authored
Jun 25, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version up : OpenSSL 1.0.2c.
parent
785f156d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
91 deletions
+41
-91
component/openssl/buildout.cfg
component/openssl/buildout.cfg
+4
-4
component/openssl/openssl-1.0.2a-parallel-build.patch
component/openssl/openssl-1.0.2a-parallel-build.patch
+33
-84
component/openssl/openssl-nodoc.patch
component/openssl/openssl-nodoc.patch
+4
-3
No files found.
component/openssl/buildout.cfg
View file @
76e299a1
...
@@ -16,13 +16,13 @@ parts =
...
@@ -16,13 +16,13 @@ parts =
[openssl]
[openssl]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
url = https://www.openssl.org/source/openssl-1.0.
1n
.tar.gz
url = https://www.openssl.org/source/openssl-1.0.
2c
.tar.gz
md5sum =
139568bd5a56fa49b72a290d37113f30
md5sum =
8c8d81a9ae7005276e486702edbcd4b6
patch-binary = ${patch:location}/bin/patch
patch-binary = ${patch:location}/bin/patch
patches =
patches =
${:_profile_base_location_}/openssl-nodoc.patch#
dd1345ae7ed18ccf176bc6b77c516f98
${:_profile_base_location_}/openssl-nodoc.patch#
a78c14908fe9ec624b1fb9fa97e01bb9
${:_profile_base_location_}/openssl-exlibs.patch#fba5c873cf974ba80a973be41da3c738
${:_profile_base_location_}/openssl-exlibs.patch#fba5c873cf974ba80a973be41da3c738
${:_profile_base_location_}/openssl-1.0.
1m-parallel-build.patch#a1ddd93b5b296473c7446131deb31f93
${:_profile_base_location_}/openssl-1.0.
2a-parallel-build.patch#2a79dd064f610860857b50a41eace64d
patch-options = -p1
patch-options = -p1
configure-command = ./config
configure-command = ./config
configure-options =
configure-options =
...
...
component/openssl/openssl-1.0.
1m
-parallel-build.patch
→
component/openssl/openssl-1.0.
2a
-parallel-build.patch
View file @
76e299a1
https://
sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/openssl/files/
https://
rt.openssl.org/Ticket/Display.html?id=2084&user=guest&pass=guest
http
://rt.openssl.org/Ticket/Display.html?id=2084
http
s://rt.openssl.org/Ticket/Display.html?id=3738&user=guest&pass=guest
--- openssl-1.0.
1m
/crypto/Makefile
--- openssl-1.0.
2a
/crypto/Makefile
+++ openssl-1.0.
1m
/crypto/Makefile
+++ openssl-1.0.
2a
/crypto/Makefile
@@ -85,11 +85,11 @@
@@ -85,11 +85,11 @@
@if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
@if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
...
@@ -11,7 +11,7 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -11,7 +11,7 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
+ +@target=all; $(RECURSIVE_MAKE)
+ +@target=all; $(RECURSIVE_MAKE)
files:
files:
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
$(PERL) $(TOP)/util/files.pl
"CPUID_OBJ=$(CPUID_OBJ)"
Makefile >> $(TOP)/MINFO
- @target=files; $(RECURSIVE_MAKE)
- @target=files; $(RECURSIVE_MAKE)
+ +@target=files; $(RECURSIVE_MAKE)
+ +@target=files; $(RECURSIVE_MAKE)
...
@@ -24,7 +24,7 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -24,7 +24,7 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
-$(LIB): $(LIBOBJ)
-$(LIB): $(LIBOBJ)
+$(LIB): $(LIBOBJ) | subdirs
+$(LIB): $(LIBOBJ) | subdirs
$(AR) $(LIB) $(LIBOBJ)
$(AR) $(LIB) $(LIBOBJ)
[ -z "$(FIPSLIBDIR)" ]
|| $(AR) $(LIB) $(FIPSLIBDIR)fipscanister.o
test -z "$(FIPSLIBDIR)"
|| $(AR) $(LIB) $(FIPSLIBDIR)fipscanister.o
$(RANLIB) $(LIB) || echo Never mind.
$(RANLIB) $(LIB) || echo Never mind.
@@ -111,7 +111,7 @@
@@ -111,7 +111,7 @@
fi
fi
...
@@ -44,25 +44,8 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -44,25 +44,8 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
lint:
lint:
@target=lint; $(RECURSIVE_MAKE)
@target=lint; $(RECURSIVE_MAKE)
--- openssl-1.0.1m/crypto/objects/Makefile
--- openssl-1.0.2a/engines/Makefile
+++ openssl-1.0.1m/crypto/objects/Makefile
+++ openssl-1.0.2a/engines/Makefile
@@ -44,11 +44,11 @@
# objects.pl both reads and writes obj_mac.num
obj_mac.h: objects.pl objects.txt obj_mac.num
$(PERL) objects.pl objects.txt obj_mac.num obj_mac.h
- @sleep 1; touch obj_mac.h; sleep 1
-obj_xref.h: objxref.pl obj_xref.txt obj_mac.num
+# This doesn't really need obj_mac.h, but since that rule reads & writes
+# obj_mac.num, we can't run in parallel with it.
+obj_xref.h: objxref.pl obj_xref.txt obj_mac.num obj_mac.h
$(PERL) objxref.pl obj_mac.num obj_xref.txt > obj_xref.h
- @sleep 1; touch obj_xref.h; sleep 1
files:
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
--- openssl-1.0.1m/engines/Makefile
+++ openssl-1.0.1m/engines/Makefile
@@ -72,7 +72,7 @@
@@ -72,7 +72,7 @@
all: lib subdirs
all: lib subdirs
...
@@ -90,62 +73,38 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -90,62 +73,38 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
tags:
tags:
ctags $(SRC)
ctags $(SRC)
--- openssl-1.0.
1m
/Makefile.org
--- openssl-1.0.
2a
/Makefile.org
+++ openssl-1.0.
1m
/Makefile.org
+++ openssl-1.0.
2a
/Makefile.org
@@ -27
3,17 +273
,17 @@
@@ -27
4,17 +274
,17 @@
build_libs: build_crypto build_ssl build_engines
build_libs: build_crypto build_ssl build_engines
build_crypto:
build_crypto:
- @dir=crypto; target=all; $(BUILD_ONE_CMD)
- @dir=crypto; target=all; $(BUILD_ONE_CMD)
-build_ssl:
- @dir=ssl; target=all; $(BUILD_ONE_CMD)
-build_engines:
- @dir=engines; target=all; $(BUILD_ONE_CMD)
-build_apps:
- @dir=apps; target=all; $(BUILD_ONE_CMD)
-build_tests:
- @dir=test; target=all; $(BUILD_ONE_CMD)
-build_tools:
- @dir=tools; target=all; $(BUILD_ONE_CMD)
+ +@dir=crypto; target=all; $(BUILD_ONE_CMD)
+ +@dir=crypto; target=all; $(BUILD_ONE_CMD)
-build_ssl:
+build_ssl: build_crypto
+build_ssl: build_crypto
- @dir=ssl; target=all; $(BUILD_ONE_CMD)
+ +@dir=ssl; target=all; $(BUILD_ONE_CMD)
+ +@dir=ssl; target=all; $(BUILD_ONE_CMD)
-build_engines:
+build_engines: build_crypto
+build_engines: build_crypto
- @dir=engines; target=all; $(BUILD_ONE_CMD)
+ +@dir=engines; target=all; $(BUILD_ONE_CMD)
+ +@dir=engines; target=all; $(BUILD_ONE_CMD)
-build_apps:
+build_apps: build_libs
+build_apps: build_libs
- @dir=apps; target=all; $(BUILD_ONE_CMD)
+ +@dir=apps; target=all; $(BUILD_ONE_CMD)
+ +@dir=apps; target=all; $(BUILD_ONE_CMD)
-build_tests:
+build_tests: build_libs
+build_tests: build_libs
- @dir=test; target=all; $(BUILD_ONE_CMD)
+ +@dir=test; target=all; $(BUILD_ONE_CMD)
+ +@dir=test; target=all; $(BUILD_ONE_CMD)
-build_tools:
+build_tools: build_libs
+build_tools: build_libs
- @dir=tools; target=all; $(BUILD_ONE_CMD)
+ +@dir=tools; target=all; $(BUILD_ONE_CMD)
+ +@dir=tools; target=all; $(BUILD_ONE_CMD)
all_testapps: build_libs build_testapps
all_testapps: build_libs build_testapps
build_testapps:
build_testapps:
@@ -538,9 +538,9 @@
@@ -555,7 +555,7 @@
dist_pem_h:
(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
-install: all install_docs install_sw
+install: install_docs install_sw
-install_sw:
+install_dirs:
@$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR) \
$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines \
@@ -549,12 +549,19 @@
$(INSTALL_PREFIX)$(OPENSSLDIR)/misc \
$(INSTALL_PREFIX)$(OPENSSLDIR)/certs \
$(INSTALL_PREFIX)$(OPENSSLDIR)/private
+ @$(PERL) $(TOP)/util/mkdir-p.pl \
+ $(INSTALL_PREFIX)$(MANDIR)/man1 \
+ $(INSTALL_PREFIX)$(MANDIR)/man3 \
+ $(INSTALL_PREFIX)$(MANDIR)/man5 \
+ $(INSTALL_PREFIX)$(MANDIR)/man7
+
+install_sw: install_dirs
@set -e; headerlist="$(EXHEADER)"; for i in $$headerlist;\
do \
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
done;
done;
...
@@ -154,22 +113,8 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -154,22 +113,8 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
@set -e; liblist="$(LIBS)"; for i in $$liblist ;\
@set -e; liblist="$(LIBS)"; for i in $$liblist ;\
do \
do \
if [ -f "$$i" ]; then \
if [ -f "$$i" ]; then \
@@ -634,12 +641,7 @@
--- openssl-1.0.2a/Makefile.shared
done; \
+++ openssl-1.0.2a/Makefile.shared
done
-install_docs:
- @$(PERL) $(TOP)/util/mkdir-p.pl \
- $(INSTALL_PREFIX)$(MANDIR)/man1 \
- $(INSTALL_PREFIX)$(MANDIR)/man3 \
- $(INSTALL_PREFIX)$(MANDIR)/man5 \
- $(INSTALL_PREFIX)$(MANDIR)/man7
+install_docs: install_dirs
@pod2man="`cd ./util; ./pod2mantest $(PERL)`"; \
here="`pwd`"; \
filecase=; \
--- openssl-1.0.1m/Makefile.shared
+++ openssl-1.0.1m/Makefile.shared
@@ -105,6 +105,7 @@
@@ -105,6 +105,7 @@
SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | uniq`; \
LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | uniq`; \
...
@@ -186,9 +131,9 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -186,9 +131,9 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
( $(SET_X); rm -f $$SHLIB$$SHLIB_SUFFIX; \
( $(SET_X); rm -f $$SHLIB$$SHLIB_SUFFIX; \
ln -s $$prev $$SHLIB$$SHLIB_SUFFIX ); \
ln -s $$prev $$SHLIB$$SHLIB_SUFFIX ); \
fi; \
fi; \
--- openssl-1.0.
1m
/test/Makefile
--- openssl-1.0.
2a
/test/Makefile
+++ openssl-1.0.
1m
/test/Makefile
+++ openssl-1.0.
2a
/test/Makefile
@@ -13
0,7 +130
,7 @@
@@ -13
3,7 +133
,7 @@
tags:
tags:
ctags $(SRC)
ctags $(SRC)
...
@@ -197,7 +142,7 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -197,7 +142,7 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
apps:
apps:
@(cd ..; $(MAKE) DIRS=apps all)
@(cd ..; $(MAKE) DIRS=apps all)
@@ -
388,118 +388,118
@@
@@ -
402,121 +402,121
@@
link_app.$${shlib_target}
link_app.$${shlib_target}
$(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
$(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
...
@@ -344,6 +289,10 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -344,6 +289,10 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
- @target=$(SRPTEST); $(BUILD_CMD)
- @target=$(SRPTEST); $(BUILD_CMD)
+ +@target=$(SRPTEST); $(BUILD_CMD)
+ +@target=$(SRPTEST); $(BUILD_CMD)
$(V3NAMETEST)$(EXE_EXT): $(V3NAMETEST).o $(DLIBCRYPTO)
- @target=$(V3NAMETEST); $(BUILD_CMD)
+ +@target=$(V3NAMETEST); $(BUILD_CMD)
$(HEARTBEATTEST)$(EXE_EXT): $(HEARTBEATTEST).o $(DLIBCRYPTO)
$(HEARTBEATTEST)$(EXE_EXT): $(HEARTBEATTEST).o $(DLIBCRYPTO)
- @target=$(HEARTBEATTEST); $(BUILD_CMD_STATIC)
- @target=$(HEARTBEATTEST); $(BUILD_CMD_STATIC)
+ +@target=$(HEARTBEATTEST); $(BUILD_CMD_STATIC)
+ +@target=$(HEARTBEATTEST); $(BUILD_CMD_STATIC)
...
@@ -354,7 +303,7 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
...
@@ -354,7 +303,7 @@ http://rt.openssl.org/Ticket/Display.html?id=2084
#$(AESTEST).o: $(AESTEST).c
#$(AESTEST).o: $(AESTEST).c
# $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
# $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
@@ -5
12,7 +512
,7 @@
@@ -5
29,7 +529
,7 @@
# fi
# fi
dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
...
...
component/openssl/openssl-nodoc.patch
View file @
76e299a1
--- a/Makefile 2012-01-18 14:42:28.000000000 +0100
diff -ur openssl-1.0.2c.orig/Makefile openssl-1.0.2c/Makefile
+++ b/Makefile 2012-01-24 17:43:40.000000000 +0100
--- openssl-1.0.2c.orig/Makefile 2015-06-12 17:10:40.000000000 +0200
@@ -494,7 +494,7 @@
+++ openssl-1.0.2c/Makefile 2015-06-25 15:06:08.858209486 +0200
@@ -528,7 +528,7 @@
dist_pem_h:
dist_pem_h:
(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment