Skip to contentSkip to conversation

package/fetchmail: fix build with libressl

PATCH Applied Fabrice Fontaine 4 participants 5 messages Apr 3, 2022 – Apr 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/fetchmail: fix build with libressl

Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and
https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d:

configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING.

Fixes:
- http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76

---
 package/fetchmail/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/fetchmail/Config.in +1 -0
index a4bf5a7c20..1017df34b2 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL
 	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_CA_CERTIFICATES
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
 	help
 	  Fetchmail - the mail-retrieval daemon
 	  Client daemon to move mail from POP and IMAP to your local
Signature · 6 lines
2.35.1

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

Fabrice, All,

On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly:

Quoted 5 lines

Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and
https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d:

configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING.

This sentence is incorrect. It is legally not possible to *distribute* fetchmail when linked against LibreSSL, as the GPL conditions in that case only trigger at the moment of distribution.

So, there should be no issue with linking fetchmail to LibreSSL for private use without redistribution.

But: IANAL, TINLA, TTYL...

Quoted 4 lines

Fixes:
- http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 package/fetchmail/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/fetchmail/Config.in +1 -0
index a4bf5a7c20..1017df34b2 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL
 	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_CA_CERTIFICATES
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
 	help
 	  Fetchmail - the mail-retrieval daemon
 	  Client daemon to move mail from POP and IMAP to your local
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 7 lines · Yann E. MORIN

Fabrice, All,

On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly:

Quoted 4 lines

Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and
https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d:

Quoted 8 lines
Quoted 1 line

configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING.

This sentence is incorrect. It is legally not possible to *distribute* fetchmail when linked against LibreSSL, as the GPL conditions in that case only trigger at the moment of distribution.

So, there should be no issue with linking fetchmail to LibreSSL for private use without redistribution.

It would be nice though if this could be mentioned in legal-info.

Regards,
Arnout

Quoted 32 lines

But: IANAL, TINLA, TTYL...

Quoted 4 lines

Fixes:
- http://autobuild.buildroot.org/results/95ca66091efa0dafb7c4e8e8c7da1f929ef32d76

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 19 lines
---
  package/fetchmail/Config.in | 1 +
  1 file changed, 1 insertion(+)
package/fetchmail/Config.in +1 -0
index a4bf5a7c20..1017df34b2 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_FETCHMAIL
  	depends on BR2_USE_MMU # fork()
  	select BR2_PACKAGE_CA_CERTIFICATES
  	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
  	help
  	  Fetchmail - the mail-retrieval daemon
  	  Client daemon to move mail from POP and IMAP to your local
Signature · 1 line
2.35.1
Quoted 5 lines
Quoted 4 lines

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

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

#3 lore raw

From: Arnout Vandecappelle

Quoted 13 lines

Sent: 04 April 2022 08:35

Quoted 8 lines · Yann E. MORIN

Fabrice, All,

On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly:

Quoted 5 lines

Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and
https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d:

configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b

exception. See COPYING.

Quoted 1 line
Quoted 8 lines
Quoted 6 lines

This sentence is incorrect. It is legally not possible to *distribute* fetchmail when linked against LibreSSL, as the GPL conditions in that case only trigger at the moment of distribution.

So, there should be no issue with linking fetchmail to LibreSSL for private use without redistribution.

It would be nice though if this could be mentioned in legal-info.

ISTM that the default needs to be to disable the build. Requiring 'hoops be gone through' for a private build.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)

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

#4 lore raw
Quoted 18 lines · David Laight

From: Arnout Vandecappelle

Quoted 17 lines

Sent: 04 April 2022 08:35

Quoted 8 lines · Yann E. MORIN

Fabrice, All,

On 2022-04-03 20:53 +0200, Fabrice Fontaine spake thusly:

Quoted 5 lines

Fix the following build failure with libressl raised since bump to version 6.4.29 in commit ba6fd52195f2e3d0b04baae40cfe084226824d31 and
https://gitlab.com/fetchmail/fetchmail/-/commit/340d00bf9910ed55163be26435f70baf65a64f9d:

configure: error: fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b

exception. See COPYING.

Quoted 5 lines

This sentence is incorrect. It is legally not possible to *distribute* fetchmail when linked against LibreSSL, as the GPL conditions in that case only trigger at the moment of distribution.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

So, there should be no issue with linking fetchmail to LibreSSL for private use without redistribution.

It would be nice though if this could be mentioned in legal-info.

ISTM that the default needs to be to disable the build. Requiring 'hoops be gone through' for a private build.

The "hoop" is to use openssl rather than libressl. Doesn't sound too complicated.

Regards,
Arnout

Quoted 7 lines

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)

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