* [PR PATCH] [RFC] New package: libssl1.1-1.1.1w
@ 2024-04-10 19:49 classabbyamp
2024-04-11 21:31 ` [PR PATCH] [Updated] " classabbyamp
2024-04-14 14:49 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 2 replies; 3+ messages in thread
From: classabbyamp @ 2024-04-10 19:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages ossl
https://github.com/void-linux/void-packages/pull/49794
[RFC] New package: libssl1.1-1.1.1w
adds back `lib{ssl,crypto}1.1` as a minimal template for compatibility with precompiled software that still requires openssl1.1 libraries. this is intentionally **NOT** added to `common/shlibs`, does **NOT** have a `-devel` package, and does **NOT** contain any non-library components, as it is simply existing for compatibility.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/49794.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ossl-49794.patch --]
[-- Type: text/x-diff, Size: 3069 bytes --]
From 735a0261c16cd51bf62b1b95fa1dba52de2e8034 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Apr 2024 15:44:38 -0400
Subject: [PATCH] New package: libssl1.1-1.1.1w
adds back lib{ssl,crypto}1.1 as a minimal template for compatibility
with precompiled software that still requires openssl1.1 libraries.
this is intentionally NOT added to common/shlibs, does NOT have a -devel
package, and does NOT contain any non-library components, as it is
simply existing for compatibility.
---
srcpkgs/libcrypto1.1 | 1 +
srcpkgs/libssl1.1/template | 65 ++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
create mode 120000 srcpkgs/libcrypto1.1
create mode 100644 srcpkgs/libssl1.1/template
diff --git a/srcpkgs/libcrypto1.1 b/srcpkgs/libcrypto1.1
new file mode 120000
index 00000000000000..0672a1cc8c4451
--- /dev/null
+++ b/srcpkgs/libcrypto1.1
@@ -0,0 +1 @@
+libssl1.1
\ No newline at end of file
diff --git a/srcpkgs/libssl1.1/template b/srcpkgs/libssl1.1/template
new file mode 100644
index 00000000000000..00eb275fbf637f
--- /dev/null
+++ b/srcpkgs/libssl1.1/template
@@ -0,0 +1,65 @@
+# Template file for 'libssl1.1'
+pkgname=libssl1.1
+version=1.1.1w
+revision=1
+build_style=configure
+configure_script="./Configure"
+configure_args="--prefix=/usr --openssldir=/etc/ssl --libdir=lib
+ shared no-ssl3-method $(vopt_if asm ' ' 'no-asm')
+ -Wa,--noexecstack"
+make_cmd=make
+make_build_args='MAKEDEPPROG="$(CC)'
+make_check_target=test
+make_install_target="install_sw"
+hostmakedepends="perl"
+short_desc="Toolkit for Secure Sockets Layer and Transport Layer Security"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="OpenSSL"
+homepage="https://www.openssl.org"
+distfiles="https://www.openssl.org/source/openssl-${version}.tar.gz"
+checksum=cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
+
+short_desc+=" (version 1.1) - SSL/TLS library"
+
+CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"
+
+build_options=asm
+build_options_default="asm"
+
+case $XBPS_TARGET_MACHINE in
+ x86_64*) configure_args+=" enable-ec_nistp_64_gcc_128 linux-x86_64";;
+ i686*) configure_args+=" linux-elf";;
+ aarch64*) configure_args+=" linux-aarch64";;
+ ppc64le*) configure_args+=" linux-ppc64le";;
+ ppc64*) configure_args+=" linux-ppc64";;
+ ppcle*) configure_args+=" linux-ppcle";;
+ ppc*) configure_args+=" linux-ppc";;
+ arm*) configure_args+=" linux-armv4";;
+ mips*) configure_args+=" linux-mips32 -mips32";;
+ *) broken="$XBPS_TARGET_MACHINE";;
+esac
+
+pre_configure() {
+ configure_args+=" ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
+}
+
+pre_check() {
+ # developer test, fails due to different nm output
+ rm -f test/recipes/01-test_symbol_presence.t
+}
+
+post_install() {
+ for d in usr/bin usr/include usr/lib/pkgconfig; do
+ rm -r "${DESTDIR}/${d}"
+ done
+ rm "${DESTDIR}"/usr/lib/*.a
+ rm "${DESTDIR}"/usr/lib/*.so
+}
+
+libcrypto1.1_package() {
+ short_desc="${short_desc/SSL\/TLS/crypto}"
+ pkg_install() {
+ vmove "usr/lib/libcrypto.so.*"
+ vmove usr/lib/engines-1.1
+ }
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New package: libssl1.1-1.1.1w
2024-04-10 19:49 [PR PATCH] [RFC] New package: libssl1.1-1.1.1w classabbyamp
@ 2024-04-11 21:31 ` classabbyamp
2024-04-14 14:49 ` [PR PATCH] [Merged]: " classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-04-11 21:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages ossl
https://github.com/void-linux/void-packages/pull/49794
[RFC] New package: libssl1.1-1.1.1w
adds back `lib{ssl,crypto}1.1` as a minimal template for compatibility with precompiled software that still requires openssl1.1 libraries. this is intentionally **NOT** added to `common/shlibs`, does **NOT** have a `-devel` package, and does **NOT** contain any non-library components, as it is simply existing for compatibility.
If this template does not exist, the existing `lib{ssl,crypto}1.1` may be pruned from the mirrors at some point unintentionally.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/49794.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ossl-49794.patch --]
[-- Type: text/x-diff, Size: 3055 bytes --]
From 1622c25fe6878886b84e78ff8fd427f31e8fa342 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 10 Apr 2024 15:44:38 -0400
Subject: [PATCH] New package: libssl1.1-1.1.1w
restores lib{ssl,crypto}1.1 as a minimal template for compatibility
with precompiled software that still requires openssl1.1 libraries.
this is intentionally NOT added to common/shlibs, does NOT have a -devel
package, and does NOT contain any non-library components, as it is
simply existing for compatibility.
---
srcpkgs/libcrypto1.1 | 1 +
srcpkgs/libssl1.1/template | 64 ++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
create mode 120000 srcpkgs/libcrypto1.1
create mode 100644 srcpkgs/libssl1.1/template
diff --git a/srcpkgs/libcrypto1.1 b/srcpkgs/libcrypto1.1
new file mode 120000
index 00000000000000..0672a1cc8c4451
--- /dev/null
+++ b/srcpkgs/libcrypto1.1
@@ -0,0 +1 @@
+libssl1.1
\ No newline at end of file
diff --git a/srcpkgs/libssl1.1/template b/srcpkgs/libssl1.1/template
new file mode 100644
index 00000000000000..914f9964704658
--- /dev/null
+++ b/srcpkgs/libssl1.1/template
@@ -0,0 +1,64 @@
+# Template file for 'libssl1.1'
+pkgname=libssl1.1
+version=1.1.1w
+revision=1
+build_style=configure
+configure_script="./Configure"
+configure_args="--prefix=/usr --openssldir=/etc/ssl --libdir=lib
+ shared no-ssl3-method $(vopt_if asm ' ' 'no-asm')
+ -Wa,--noexecstack"
+make_build_args='MAKEDEPPROG="$(CC)'
+make_check_target=test
+make_install_target="install_sw"
+hostmakedepends="perl"
+short_desc="Toolkit for Secure Sockets Layer and Transport Layer Security"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="OpenSSL"
+homepage="https://www.openssl.org"
+distfiles="https://www.openssl.org/source/openssl-${version}.tar.gz"
+checksum=cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
+
+short_desc+=" (version 1.1) - SSL/TLS library"
+
+CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"
+
+build_options="asm"
+build_options_default="asm"
+
+case $XBPS_TARGET_MACHINE in
+ x86_64*) configure_args+=" enable-ec_nistp_64_gcc_128 linux-x86_64";;
+ i686*) configure_args+=" linux-elf";;
+ aarch64*) configure_args+=" linux-aarch64";;
+ ppc64le*) configure_args+=" linux-ppc64le";;
+ ppc64*) configure_args+=" linux-ppc64";;
+ ppcle*) configure_args+=" linux-ppcle";;
+ ppc*) configure_args+=" linux-ppc";;
+ arm*) configure_args+=" linux-armv4";;
+ mips*) configure_args+=" linux-mips32 -mips32";;
+ *) broken="$XBPS_TARGET_MACHINE";;
+esac
+
+pre_configure() {
+ configure_args+=" ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
+}
+
+pre_check() {
+ # developer test, fails due to different nm output
+ rm -f test/recipes/01-test_symbol_presence.t
+}
+
+post_install() {
+ for d in usr/bin usr/include usr/lib/pkgconfig; do
+ rm -r "${DESTDIR}/${d}"
+ done
+ rm "${DESTDIR}"/usr/lib/*.a
+ rm "${DESTDIR}"/usr/lib/*.so
+}
+
+libcrypto1.1_package() {
+ short_desc="${short_desc/SSL\/TLS/crypto}"
+ pkg_install() {
+ vmove "usr/lib/libcrypto.so.*"
+ vmove usr/lib/engines-1.1
+ }
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: [RFC] New package: libssl1.1-1.1.1w
2024-04-10 19:49 [PR PATCH] [RFC] New package: libssl1.1-1.1.1w classabbyamp
2024-04-11 21:31 ` [PR PATCH] [Updated] " classabbyamp
@ 2024-04-14 14:49 ` classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-04-14 14:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 886 bytes --]
There's a merged pull request on the void-packages repository
[RFC] New package: libssl1.1-1.1.1w
https://github.com/void-linux/void-packages/pull/49794
Description:
adds back `lib{ssl,crypto}1.1` as a minimal template for compatibility with precompiled software that still requires openssl1.1 libraries. this is intentionally **NOT** added to `common/shlibs`, does **NOT** have a `-devel` package, and does **NOT** contain any non-library components, as it is simply existing for compatibility.
If this template does not exist, the existing `lib{ssl,crypto}1.1` may be pruned from the mirrors at some point unintentionally.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-14 14:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 19:49 [PR PATCH] [RFC] New package: libssl1.1-1.1.1w classabbyamp
2024-04-11 21:31 ` [PR PATCH] [Updated] " classabbyamp
2024-04-14 14:49 ` [PR PATCH] [Merged]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).