Skip to contentSkip to conversation

package/python3: fix unsafe openssl header path

PATCH Applied James Hilliard 4 participants 5 messages Apr 27, 2022 – May 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python3: fix unsafe openssl header path

Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers.

Fixes:
- http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3

---
 package/python3/python3.mk | 1 +
 1 file changed, 1 insertion(+)
package/python3/python3.mk +1 -0
index 3a334fb28d..7f3b7cc8a5 100644
@@ -103,6 +103,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y)
 PYTHON3_DEPENDENCIES += openssl
+PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
 else
 PYTHON3_CONF_OPTS += --disable-openssl
 endif
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · James Hilliard

Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers.

Fixes:
- http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3

Applied to master, thanks.

Regards,
Arnout

Quoted 9 lines
---
  package/python3/python3.mk | 1 +
  1 file changed, 1 insertion(+)
package/python3/python3.mk +0 -0
index 3a334fb28d..7f3b7cc8a5 100644

package/python3/python3.mk endif · line 109

Quoted 7 lines
package/python3/python3.mk +1 -0
@@ -103,6 +103,7 @@ endif
 
  ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y)
  PYTHON3_DEPENDENCIES += openssl
+PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
  else
  PYTHON3_CONF_OPTS += --disable-openssl
  endif

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to James Hilliard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers.

Fixes:
- http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3

Committed to 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Hi Peter,

Quoted 11 lines · Peter Korsgaard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers.

Fixes:
- http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3

Committed to 2022.02.x, thanks.

Not in 2022.02.x as of commit 15e59056c47 ("package/vim: security bump to version 8.2.4843").

baruch

Signature · 7 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Hi Peter,

Quoted 8 lines · Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

Explicitely set the openssl path so that python3 doesn't search host header paths for target openssl headers.

Fixes:
- http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Committed to 2022.02.x, thanks.

Not in 2022.02.x as of commit 15e59056c47 ("package/vim: security bump to version 8.2.4843").

Ups, fixed now - Thanks!

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot