-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openssl: update to version 1.1.1h #4155
Conversation
By the look of things only packages known to fail already on master have failed from the github-action. As such looking good for a merge unless I'm missing something. |
Its the reason why I've kept it to 1.0.2 API for now. |
@ymartin59 as long as we stick with the 1.0.2 branch even the old ones should compile. Indeed the OpenSSL 1.1.0 is much different. |
Thnx @Safihre it's what I thought as well.
An idea could be, with the upcoming arrival of DSM-7 (if ever), move current openssl 1.0.2 as |
FYI There is a new 🦝 "Raccoon" Attack (CVE-2020-1968) with a Severity: Low |
Interesting although fixed in version 1.0.2w which is only available with premium support. Alghough this might lead into making version 1.0.2v publicly available.
|
BTW, with this update we address the following low security issues: Anyone see blockers to this or does it sound reasonable? |
I quickly looked at the build logs and I'm a bit confused why the |
May well be due to not being rebased against master where a fix might already be? |
WARNING: This is a test for considerations, easy to roll-back to previous commit. I wanted to have both a) an overview of the impact of migrating to As such, I've moved existing Thoughts on this welcomed (while it gives it a try at compiling the entire stack) :-) |
Unless you want to manually try every single package (just making it compile isn't enough), I would suggest the opposite approach: create a |
I agree with @Safihre (mostly because that is how other package managers have handled the same condition) but I also do see the value of getting a one time report on what compiles with the new API. Which I think was your intent here anyway |
Thnx @Safihre and @publicarray for your feedbacks. The good news is that the build output difference seems to be around a handful of packages ( There are two aspects to this proposal if we're intersted at moving this further (let me know if I've missed something obvious): 1) Method: 2) Naming: Personally I would use a conjunction of 1a) + mix of 2a) + 2b) where default is always |
@th0ma7 I agree with the method. My preference is 1a) with |
3e08431
to
4a03a2f
Compare
I've renamed By the look of things, and please let me know if I'm mistaking, looks like there is interest to this from multiple people. @ymartin59, @Safihre, @publicarray, @BenjV, @hgy59 : Would there be someone able to try it out with one or a few package(s) that heavily depends on |
If someone can build a python version with Openssl 1.1.1 for Armada38X I wil be happy to test it on my test Nas (DS116) |
@BenjV I was able to build a
|
@th0ma7 Thanks for Python 3 testing. I really think we should not bother with Python 2.7 any longer. |
Agreed, Python 2.7 is end-of-life and I can tell from experience that it doesn't handle OpenSSL 1.1.1 well. |
I've created an issue for your consideration @hgy59 and @ymartin59 in order to track publishing of all updated packages at #4211 . The intent is to be able to share the load for publishing and ensure we track of things as we move along. Is this PR good for merge? I think both myself and @hgy59 tends to agree on that (again, awsome work!). But considering the scale of the PR I want to make sure you are OK with that @ymartin59 before merging. |
- add patch to fix openssl path in m2crypto
- update htop to 3.0.2 (older versions are not available) - include htop in synocli-monitor for all DSM versions - remove REQUIRED_DSM in sonarr/Makefile for armv7-1.2 (rely on dependency of mono) - cleanup umurmur/Makefile - fix c-ares/Makefile
- downgrade slang to 2.2.4
- disable parallel make
- add .NOTPARALLEL target to disable parallel make
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Large amount of work. Looks good to me.
I still propose some minor improvements.
.PHONY: haproxy_install | ||
haproxy_install: | ||
$(RUN) $(MAKE) install DESTDIR=$(INSTALL_DIR) PREFIX=$(INSTALL_PREFIX) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks look like standard default "make install" target. May you please confirm by discarding its replacement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ymartin59 disagree, the small difference is prefix
vs PREFIX
@@ -9,7 +9,7 @@ MAINTAINER = SynoCommunity | |||
DESCRIPTION = Links is a web browser running in text mode. | |||
DISPLAY_NAME = Links | |||
STARTABLE = no | |||
BETA = 1 | |||
CHANGELOG = "1. Update links to 2.21.<br/>2. Update openssl to 1.1." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would make sense to move this tool in synocli-net
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ymartin59 agree, this should be done in #4195, I updated #4211 accordingly.
rebased @ master |
@ymartin59 I could take some tasks (only today, afterwards I am off my development environment for two weeks). My preferences:
|
- libwebsockets fails to build for ppc (except qoriq) since update to openssl 1.1.
Unfortunately arch-ppc853x fails to build libwebsockets and dependent mosquitto since update to openssl 1.1. |
* update openssl to 1.1.1h * update openssl dependents * fix python - add patch to fix openssl path in m2crypto * fix build of haproxy * update spk versions/revisions * fix package builds - update htop to 3.0.2 (older versions are not available) - include htop in synocli-monitor for all DSM versions - remove REQUIRED_DSM in sonarr/Makefile for armv7-1.2 (rely on dependency of mono) - cleanup umurmur/Makefile - fix c-ares/Makefile * fix gh status for skipped sonar (nzbdrone) package * fix slang build - add .NOTPARALLEL target to disable parallel make * incorporate codereview * add unsupported ppc853x-5.2 - libwebsockets fails to build for ppc (except qoriq) since update to openssl 1.1. Co-authored-by: hgy59 <[email protected]>
Motivation: Our version of OpenSSL is just way to old and needs to be updated. Suggesting to either update at same API level for now (e.g. 1.0.2) or to move to next version of
openssl
(e.g. 1.1.1g) and keep previous version for legacy purposes.Linked issues: #3629, #3560 and possibly #3666, closes #4185
Checklist
all-supported
completed successfullyPackage updates
Packages with new revision due to openssl update
Dependent packages not updated due to WIP or failing build
Packages depending on python (2 or 3) - need only python update