* [PR PATCH] New package: libxcrypt-4.4.33
@ 2023-01-04 2:05 oreo639
2023-01-04 2:05 ` [PR PATCH] [Closed]: " oreo639
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: oreo639 @ 2023-01-04 2:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]
There is a new pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages libxcrypt
https://github.com/void-linux/void-packages/pull/41431
New package: libxcrypt-4.4.33
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41431.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libxcrypt-41431.patch --]
[-- Type: text/x-diff, Size: 4308 bytes --]
From ce2b66735f490eda5d313dabc4c5fb37d6c88011 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 3 Jan 2023 17:50:03 -0800
Subject: [PATCH] New package: libxcrypt-4.4.33
---
common/shlibs | 3 +-
srcpkgs/libxcrypt-compat | 1 +
srcpkgs/libxcrypt-devel | 1 +
srcpkgs/libxcrypt/template | 96 ++++++++++++++++++++++++++++++++++++++
4 files changed, 100 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/libxcrypt-compat
create mode 120000 srcpkgs/libxcrypt-devel
create mode 100644 srcpkgs/libxcrypt/template
diff --git a/common/shlibs b/common/shlibs
index 52a6d3e6d5fb5..bc4e34dc3756b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -40,7 +40,6 @@ libnss_files.so.2 glibc-2.36_1
libnss_compat.so.2 glibc-2.36_1
libnss_dns.so.2 glibc-2.36_1
libnss_hesiod.so.2 glibc-2.36_1
-libcrypt.so.1 glibc-2.36_1
libBrokenLocale.so.1 glibc-2.36_1
libSimGearCore.so.2020.3.17 simgear-2020.3.17_1
libSimGearScene.so.2020.3.17 simgear-2020.3.17_1
@@ -71,6 +70,8 @@ libppl.so.14 ppl-1.2_1
libppl_c.so.4 ppl-0.11_1
libstdc++.so.6 libstdc++-4.4.0_1
libssp.so.0 libssp-4.4.0_1
+libcrypt.so.1 libxcrypt-compat-4.4.33_1
+libcrypt.so.2 libxcrypt-4.4.33_1
libncurses.so.6 ncurses-libs-6.0_1 ignore
libncursesw.so.6 ncurses-libs-5.8_1 ignore
libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
diff --git a/srcpkgs/libxcrypt-compat b/srcpkgs/libxcrypt-compat
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-compat
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt-devel b/srcpkgs/libxcrypt-devel
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-devel
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt/template b/srcpkgs/libxcrypt/template
new file mode 100644
index 0000000000000..0ede0fe67792c
--- /dev/null
+++ b/srcpkgs/libxcrypt/template
@@ -0,0 +1,96 @@
+# Template file for 'libxcrypt'
+pkgname=libxcrypt
+version=4.4.33
+revision=1
+configure_args="--enable-hashes=all --disable-failure-tokens"
+hostmakedepends="perl"
+checkdepends="python3-passlib"
+short_desc="Modern library for one-way hashing of passwords"
+maintainer="Orphaned <orphaned@voidlinux.org>"
+license="LGPL-2.1-or-later, BSD-3-Clause, BSD-2-Clause, 0BSD, Public Domain"
+homepage="https://github.com/besser82/libxcrypt"
+distfiles="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz"
+checksum=e87acf9c652c573a4713d5582159f98f305d56ed5f754ce64f57d4194d6b3a6f
+subpackages="libxcrypt-devel"
+build_options="compat"
+build_options_default=""
+
+desc_option_compat="Enable glibc compatibility library"
+
+if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
+build_options_default+=" compat"
+fi
+
+if [ "$build_option_compat" ]; then
+subpackages+=" libxcrypt-compat"
+fi
+
+do_configure() {
+if [ "$build_option_compat" ]; then
+ (
+ mkdir compat-build
+ cd compat-build
+ ../configure --prefix=/usr --enable-obsolete-api=glibc ${configure_args}
+ )
+fi
+
+ (
+ mkdir build
+ cd build
+ ../configure --prefix=/usr --enable-obsolete-api=no ${configure_args}
+ )
+}
+
+do_build() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+fi
+
+ (
+ cd build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+}
+
+do_install() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ rm -r ${DESTDIR}/usr/{include,lib/{lib*.so,pkgconfig},share}
+ )
+fi
+
+ (
+ cd build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ )
+}
+
+do_check() {
+ : ${make_check_target:=check}
+ ${make_check_pre} make -C build ${makejobs} ${make_check_args} ${make_check_target}
+ ${make_check_pre} make -C compat-build ${makejobs} ${make_check_args} ${make_check_target}
+}
+
+libxcrypt-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share
+ }
+}
+
+libxcrypt-compat_package() {
+ short_desc+=" - legacy compatibility"
+ pkg_install() {
+ vmove usr/lib/libcrypt.so.1*
+ }
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Closed]: New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
@ 2023-01-04 2:05 ` oreo639
2023-01-04 2:20 ` [PR PATCH] [Updated] [WIP] " oreo639
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oreo639 @ 2023-01-04 2:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]
There's a closed pull request on the void-packages repository
New package: libxcrypt-4.4.33
https://github.com/void-linux/void-packages/pull/41431
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
2023-01-04 2:05 ` [PR PATCH] [Closed]: " oreo639
@ 2023-01-04 2:20 ` oreo639
2023-01-04 2:24 ` oreo639
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oreo639 @ 2023-01-04 2:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
There is an updated pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages libxcrypt
https://github.com/void-linux/void-packages/pull/41431
[WIP] New package: libxcrypt-4.4.33
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
libxcrypt will replace libcrypt on glibc.
`--disable-failure-tokens` as per:
https://github.com/besser82/libxcrypt/issues/25
glibc will need to be compiled with `--disable-crypt`.
musl provides no such option, Debian just rm's libcrypt.a from musl:
https://salsa.debian.org/reiner/musl/-/blob/master/debian/rules#L76
Not sure what we want to do on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41431.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libxcrypt-41431.patch --]
[-- Type: text/x-diff, Size: 4301 bytes --]
From 97d458cf07eefc18548425e1cd2c0c07bc2c8836 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 3 Jan 2023 17:50:03 -0800
Subject: [PATCH] New package: libxcrypt-4.4.33
---
common/shlibs | 3 +-
srcpkgs/libxcrypt-compat | 1 +
srcpkgs/libxcrypt-devel | 1 +
srcpkgs/libxcrypt/template | 96 ++++++++++++++++++++++++++++++++++++++
4 files changed, 100 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/libxcrypt-compat
create mode 120000 srcpkgs/libxcrypt-devel
create mode 100644 srcpkgs/libxcrypt/template
diff --git a/common/shlibs b/common/shlibs
index 52a6d3e6d5fb5..bc4e34dc3756b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -40,7 +40,6 @@ libnss_files.so.2 glibc-2.36_1
libnss_compat.so.2 glibc-2.36_1
libnss_dns.so.2 glibc-2.36_1
libnss_hesiod.so.2 glibc-2.36_1
-libcrypt.so.1 glibc-2.36_1
libBrokenLocale.so.1 glibc-2.36_1
libSimGearCore.so.2020.3.17 simgear-2020.3.17_1
libSimGearScene.so.2020.3.17 simgear-2020.3.17_1
@@ -71,6 +70,8 @@ libppl.so.14 ppl-1.2_1
libppl_c.so.4 ppl-0.11_1
libstdc++.so.6 libstdc++-4.4.0_1
libssp.so.0 libssp-4.4.0_1
+libcrypt.so.1 libxcrypt-compat-4.4.33_1
+libcrypt.so.2 libxcrypt-4.4.33_1
libncurses.so.6 ncurses-libs-6.0_1 ignore
libncursesw.so.6 ncurses-libs-5.8_1 ignore
libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
diff --git a/srcpkgs/libxcrypt-compat b/srcpkgs/libxcrypt-compat
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-compat
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt-devel b/srcpkgs/libxcrypt-devel
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-devel
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt/template b/srcpkgs/libxcrypt/template
new file mode 100644
index 0000000000000..79adc8feb1208
--- /dev/null
+++ b/srcpkgs/libxcrypt/template
@@ -0,0 +1,96 @@
+# Template file for 'libxcrypt'
+pkgname=libxcrypt
+version=4.4.33
+revision=1
+configure_args="--enable-hashes=all --disable-failure-tokens"
+hostmakedepends="perl"
+checkdepends="python3-passlib"
+short_desc="Modern library for one-way hashing of passwords"
+maintainer="oreo639 <oreo639@gmail.com>"
+license="LGPL-2.1-or-later, BSD-3-Clause, BSD-2-Clause, 0BSD, Public Domain"
+homepage="https://github.com/besser82/libxcrypt"
+distfiles="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz"
+checksum=e87acf9c652c573a4713d5582159f98f305d56ed5f754ce64f57d4194d6b3a6f
+subpackages="libxcrypt-devel"
+build_options="compat"
+build_options_default=""
+
+desc_option_compat="Enable glibc compatibility library"
+
+if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
+build_options_default+=" compat"
+fi
+
+if [ "$build_option_compat" ]; then
+subpackages+=" libxcrypt-compat"
+fi
+
+do_configure() {
+if [ "$build_option_compat" ]; then
+ (
+ mkdir compat-build
+ cd compat-build
+ ../configure --prefix=/usr --enable-obsolete-api=glibc ${configure_args}
+ )
+fi
+
+ (
+ mkdir build
+ cd build
+ ../configure --prefix=/usr --enable-obsolete-api=no ${configure_args}
+ )
+}
+
+do_build() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+fi
+
+ (
+ cd build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+}
+
+do_install() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ rm -r ${DESTDIR}/usr/{include,lib/{lib*.so,pkgconfig},share}
+ )
+fi
+
+ (
+ cd build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ )
+}
+
+do_check() {
+ : ${make_check_target:=check}
+ ${make_check_pre} make -C build ${makejobs} ${make_check_args} ${make_check_target}
+ ${make_check_pre} make -C compat-build ${makejobs} ${make_check_args} ${make_check_target}
+}
+
+libxcrypt-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share
+ }
+}
+
+libxcrypt-compat_package() {
+ short_desc+=" - legacy compatibility"
+ pkg_install() {
+ vmove usr/lib/libcrypt.so.1*
+ }
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
2023-01-04 2:05 ` [PR PATCH] [Closed]: " oreo639
2023-01-04 2:20 ` [PR PATCH] [Updated] [WIP] " oreo639
@ 2023-01-04 2:24 ` oreo639
2023-01-04 2:34 ` oreo639
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oreo639 @ 2023-01-04 2:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
There is an updated pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages libxcrypt
https://github.com/void-linux/void-packages/pull/41431
[WIP] New package: libxcrypt-4.4.33
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
libxcrypt will replace libcrypt on glibc.
`--disable-failure-tokens` as per:
https://github.com/besser82/libxcrypt/issues/25
glibc will need to be compiled with `--disable-crypt`.
musl provides no such option, Debian just rm's libcrypt.a from musl:
https://salsa.debian.org/reiner/musl/-/blob/master/debian/rules#L76
Not sure what we want to do on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41431.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libxcrypt-41431.patch --]
[-- Type: text/x-diff, Size: 4390 bytes --]
From 679647059ecc4d335eb0f464e14be6e6f909b9e3 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 3 Jan 2023 17:50:03 -0800
Subject: [PATCH] New package: libxcrypt-4.4.33
---
common/shlibs | 3 +-
srcpkgs/libxcrypt-compat | 1 +
srcpkgs/libxcrypt-devel | 1 +
srcpkgs/libxcrypt/template | 102 +++++++++++++++++++++++++++++++++++++
4 files changed, 106 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/libxcrypt-compat
create mode 120000 srcpkgs/libxcrypt-devel
create mode 100644 srcpkgs/libxcrypt/template
diff --git a/common/shlibs b/common/shlibs
index 52a6d3e6d5fb5..bc4e34dc3756b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -40,7 +40,6 @@ libnss_files.so.2 glibc-2.36_1
libnss_compat.so.2 glibc-2.36_1
libnss_dns.so.2 glibc-2.36_1
libnss_hesiod.so.2 glibc-2.36_1
-libcrypt.so.1 glibc-2.36_1
libBrokenLocale.so.1 glibc-2.36_1
libSimGearCore.so.2020.3.17 simgear-2020.3.17_1
libSimGearScene.so.2020.3.17 simgear-2020.3.17_1
@@ -71,6 +70,8 @@ libppl.so.14 ppl-1.2_1
libppl_c.so.4 ppl-0.11_1
libstdc++.so.6 libstdc++-4.4.0_1
libssp.so.0 libssp-4.4.0_1
+libcrypt.so.1 libxcrypt-compat-4.4.33_1
+libcrypt.so.2 libxcrypt-4.4.33_1
libncurses.so.6 ncurses-libs-6.0_1 ignore
libncursesw.so.6 ncurses-libs-5.8_1 ignore
libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
diff --git a/srcpkgs/libxcrypt-compat b/srcpkgs/libxcrypt-compat
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-compat
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt-devel b/srcpkgs/libxcrypt-devel
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-devel
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt/template b/srcpkgs/libxcrypt/template
new file mode 100644
index 0000000000000..35132895cddfa
--- /dev/null
+++ b/srcpkgs/libxcrypt/template
@@ -0,0 +1,102 @@
+# Template file for 'libxcrypt'
+pkgname=libxcrypt
+version=4.4.33
+revision=1
+configure_args="--enable-hashes=all --disable-failure-tokens"
+hostmakedepends="perl"
+checkdepends="python3-passlib"
+short_desc="Modern library for one-way hashing of passwords"
+maintainer="oreo639 <oreo639@gmail.com>"
+license="LGPL-2.1-or-later, BSD-3-Clause, BSD-2-Clause, 0BSD, Public Domain"
+homepage="https://github.com/besser82/libxcrypt"
+distfiles="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz"
+checksum=e87acf9c652c573a4713d5582159f98f305d56ed5f754ce64f57d4194d6b3a6f
+subpackages="libxcrypt-devel"
+build_options="compat"
+build_options_default=""
+
+desc_option_compat="Enable glibc compatibility library"
+
+if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
+build_options_default+=" compat"
+fi
+
+if [ "$build_option_compat" ]; then
+subpackages+=" libxcrypt-compat"
+fi
+
+do_configure() {
+if [ "$build_option_compat" ]; then
+ (
+ mkdir compat-build
+ cd compat-build
+ ../configure --prefix=/usr --enable-obsolete-api=glibc ${configure_args}
+ )
+fi
+
+ (
+ mkdir build
+ cd build
+ ../configure --prefix=/usr --enable-obsolete-api=no ${configure_args}
+ )
+}
+
+do_build() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+fi
+
+ (
+ cd build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+}
+
+do_install() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ rm -r ${DESTDIR}/usr/{include,lib/{lib*.so,pkgconfig},share}
+ )
+fi
+
+ (
+ cd build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ )
+}
+
+post_install() {
+ vlicense LICENSING
+}
+
+do_check() {
+ : ${make_check_target:=check}
+if [ "$build_option_compat" ]; then
+ ${make_check_pre} make -C compat-build ${makejobs} ${make_check_args} ${make_check_target}
+fi
+ ${make_check_pre} make -C build ${makejobs} ${make_check_args} ${make_check_target}
+}
+
+libxcrypt-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share
+ }
+}
+
+libxcrypt-compat_package() {
+ short_desc+=" - legacy compatibility"
+ pkg_install() {
+ vmove usr/lib/libcrypt.so.1*
+ }
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
` (2 preceding siblings ...)
2023-01-04 2:24 ` oreo639
@ 2023-01-04 2:34 ` oreo639
2023-01-04 3:05 ` oreo639
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oreo639 @ 2023-01-04 2:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
There is an updated pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages libxcrypt
https://github.com/void-linux/void-packages/pull/41431
[WIP] New package: libxcrypt-4.4.33
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
libxcrypt will replace libcrypt on glibc.
`--disable-failure-tokens` as per:
https://github.com/besser82/libxcrypt/issues/25
glibc will need to be compiled with `--disable-crypt`.
musl provides no such option, Debian just rm's libcrypt.a from musl:
https://salsa.debian.org/reiner/musl/-/blob/master/debian/rules#L76
Not sure what we want to do on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41431.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libxcrypt-41431.patch --]
[-- Type: text/x-diff, Size: 5934 bytes --]
From 679647059ecc4d335eb0f464e14be6e6f909b9e3 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 3 Jan 2023 17:50:03 -0800
Subject: [PATCH 1/2] New package: libxcrypt-4.4.33
---
common/shlibs | 3 +-
srcpkgs/libxcrypt-compat | 1 +
srcpkgs/libxcrypt-devel | 1 +
srcpkgs/libxcrypt/template | 102 +++++++++++++++++++++++++++++++++++++
4 files changed, 106 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/libxcrypt-compat
create mode 120000 srcpkgs/libxcrypt-devel
create mode 100644 srcpkgs/libxcrypt/template
diff --git a/common/shlibs b/common/shlibs
index 52a6d3e6d5fb5..bc4e34dc3756b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -40,7 +40,6 @@ libnss_files.so.2 glibc-2.36_1
libnss_compat.so.2 glibc-2.36_1
libnss_dns.so.2 glibc-2.36_1
libnss_hesiod.so.2 glibc-2.36_1
-libcrypt.so.1 glibc-2.36_1
libBrokenLocale.so.1 glibc-2.36_1
libSimGearCore.so.2020.3.17 simgear-2020.3.17_1
libSimGearScene.so.2020.3.17 simgear-2020.3.17_1
@@ -71,6 +70,8 @@ libppl.so.14 ppl-1.2_1
libppl_c.so.4 ppl-0.11_1
libstdc++.so.6 libstdc++-4.4.0_1
libssp.so.0 libssp-4.4.0_1
+libcrypt.so.1 libxcrypt-compat-4.4.33_1
+libcrypt.so.2 libxcrypt-4.4.33_1
libncurses.so.6 ncurses-libs-6.0_1 ignore
libncursesw.so.6 ncurses-libs-5.8_1 ignore
libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
diff --git a/srcpkgs/libxcrypt-compat b/srcpkgs/libxcrypt-compat
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-compat
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt-devel b/srcpkgs/libxcrypt-devel
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-devel
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt/template b/srcpkgs/libxcrypt/template
new file mode 100644
index 0000000000000..35132895cddfa
--- /dev/null
+++ b/srcpkgs/libxcrypt/template
@@ -0,0 +1,102 @@
+# Template file for 'libxcrypt'
+pkgname=libxcrypt
+version=4.4.33
+revision=1
+configure_args="--enable-hashes=all --disable-failure-tokens"
+hostmakedepends="perl"
+checkdepends="python3-passlib"
+short_desc="Modern library for one-way hashing of passwords"
+maintainer="oreo639 <oreo639@gmail.com>"
+license="LGPL-2.1-or-later, BSD-3-Clause, BSD-2-Clause, 0BSD, Public Domain"
+homepage="https://github.com/besser82/libxcrypt"
+distfiles="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz"
+checksum=e87acf9c652c573a4713d5582159f98f305d56ed5f754ce64f57d4194d6b3a6f
+subpackages="libxcrypt-devel"
+build_options="compat"
+build_options_default=""
+
+desc_option_compat="Enable glibc compatibility library"
+
+if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
+build_options_default+=" compat"
+fi
+
+if [ "$build_option_compat" ]; then
+subpackages+=" libxcrypt-compat"
+fi
+
+do_configure() {
+if [ "$build_option_compat" ]; then
+ (
+ mkdir compat-build
+ cd compat-build
+ ../configure --prefix=/usr --enable-obsolete-api=glibc ${configure_args}
+ )
+fi
+
+ (
+ mkdir build
+ cd build
+ ../configure --prefix=/usr --enable-obsolete-api=no ${configure_args}
+ )
+}
+
+do_build() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+fi
+
+ (
+ cd build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+}
+
+do_install() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ rm -r ${DESTDIR}/usr/{include,lib/{lib*.so,pkgconfig},share}
+ )
+fi
+
+ (
+ cd build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ )
+}
+
+post_install() {
+ vlicense LICENSING
+}
+
+do_check() {
+ : ${make_check_target:=check}
+if [ "$build_option_compat" ]; then
+ ${make_check_pre} make -C compat-build ${makejobs} ${make_check_args} ${make_check_target}
+fi
+ ${make_check_pre} make -C build ${makejobs} ${make_check_args} ${make_check_target}
+}
+
+libxcrypt-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share
+ }
+}
+
+libxcrypt-compat_package() {
+ short_desc+=" - legacy compatibility"
+ pkg_install() {
+ vmove usr/lib/libcrypt.so.1*
+ }
+}
From bd67dd3a812d41237207e489380918bb45d33a97 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 3 Jan 2023 18:34:06 -0800
Subject: [PATCH 2/2] glibc: disable libcrypt
Remove obsolete flags
---
srcpkgs/glibc/template | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template
index 452b55c127624..0966f9b59fc3e 100644
--- a/srcpkgs/glibc/template
+++ b/srcpkgs/glibc/template
@@ -1,7 +1,7 @@
# Template file for 'glibc'
pkgname=glibc
version=2.36
-revision=1
+revision=2
_patchver="72-g0f90d6204d"
bootstrap=yes
short_desc="GNU C library"
@@ -29,7 +29,6 @@ nostrip_files="
ld.so.1
ld-linux-armhf.so.3
libresolv.so.2
- libcrypt.so.1
libm.so.6
libthread_db.so.1
libnsl.so.1
@@ -98,14 +97,12 @@ do_configure() {
SHELL=/bin/bash ../configure ${configure_args} \
--bindir=/usr/bin --sbindir=/usr/bin \
--libdir=${_libdir} --libexecdir=${_libdir} \
- --enable-add-ons=libidn \
+ --with-headers=${XBPS_CROSS_BASE}/usr/include \
--enable-multi-arch --enable-bind-now \
--disable-profile --enable-kernel=3.2.0 \
- --enable-stack-guard-randomization \
- --without-selinux --without-cvs --without-gd \
- --disable-lock-elision \
--enable-stack-protector=strong \
- --with-headers=${XBPS_CROSS_BASE}/usr/include \
+ --enable-stack-guard-randomization \
+ --without-selinux --without-gd --disable-crypt \
--disable-werror \
libc_cv_rootsbindir=/usr/bin \
libc_cv_rtlddir=${_libdir} libc_cv_slibdir=${_libdir}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
` (3 preceding siblings ...)
2023-01-04 2:34 ` oreo639
@ 2023-01-04 3:05 ` oreo639
2023-05-09 1:53 ` github-actions
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oreo639 @ 2023-01-04 3:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
There is an updated pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages libxcrypt
https://github.com/void-linux/void-packages/pull/41431
[WIP] New package: libxcrypt-4.4.33
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
libxcrypt will replace libcrypt on glibc.
`--disable-failure-tokens` as per:
https://github.com/besser82/libxcrypt/issues/25
glibc will need to be compiled with `--disable-crypt`.
musl provides no such option, Debian just rm's libcrypt.a from musl:
https://salsa.debian.org/reiner/musl/-/blob/master/debian/rules#L76
Not sure what we want to do on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41431.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libxcrypt-41431.patch --]
[-- Type: text/x-diff, Size: 6712 bytes --]
From 679647059ecc4d335eb0f464e14be6e6f909b9e3 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 3 Jan 2023 17:50:03 -0800
Subject: [PATCH 1/3] New package: libxcrypt-4.4.33
---
common/shlibs | 3 +-
srcpkgs/libxcrypt-compat | 1 +
srcpkgs/libxcrypt-devel | 1 +
srcpkgs/libxcrypt/template | 102 +++++++++++++++++++++++++++++++++++++
4 files changed, 106 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/libxcrypt-compat
create mode 120000 srcpkgs/libxcrypt-devel
create mode 100644 srcpkgs/libxcrypt/template
diff --git a/common/shlibs b/common/shlibs
index 52a6d3e6d5fb5..bc4e34dc3756b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -40,7 +40,6 @@ libnss_files.so.2 glibc-2.36_1
libnss_compat.so.2 glibc-2.36_1
libnss_dns.so.2 glibc-2.36_1
libnss_hesiod.so.2 glibc-2.36_1
-libcrypt.so.1 glibc-2.36_1
libBrokenLocale.so.1 glibc-2.36_1
libSimGearCore.so.2020.3.17 simgear-2020.3.17_1
libSimGearScene.so.2020.3.17 simgear-2020.3.17_1
@@ -71,6 +70,8 @@ libppl.so.14 ppl-1.2_1
libppl_c.so.4 ppl-0.11_1
libstdc++.so.6 libstdc++-4.4.0_1
libssp.so.0 libssp-4.4.0_1
+libcrypt.so.1 libxcrypt-compat-4.4.33_1
+libcrypt.so.2 libxcrypt-4.4.33_1
libncurses.so.6 ncurses-libs-6.0_1 ignore
libncursesw.so.6 ncurses-libs-5.8_1 ignore
libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
diff --git a/srcpkgs/libxcrypt-compat b/srcpkgs/libxcrypt-compat
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-compat
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt-devel b/srcpkgs/libxcrypt-devel
new file mode 120000
index 0000000000000..4ed34b8a6a49e
--- /dev/null
+++ b/srcpkgs/libxcrypt-devel
@@ -0,0 +1 @@
+libxcrypt
\ No newline at end of file
diff --git a/srcpkgs/libxcrypt/template b/srcpkgs/libxcrypt/template
new file mode 100644
index 0000000000000..35132895cddfa
--- /dev/null
+++ b/srcpkgs/libxcrypt/template
@@ -0,0 +1,102 @@
+# Template file for 'libxcrypt'
+pkgname=libxcrypt
+version=4.4.33
+revision=1
+configure_args="--enable-hashes=all --disable-failure-tokens"
+hostmakedepends="perl"
+checkdepends="python3-passlib"
+short_desc="Modern library for one-way hashing of passwords"
+maintainer="oreo639 <oreo639@gmail.com>"
+license="LGPL-2.1-or-later, BSD-3-Clause, BSD-2-Clause, 0BSD, Public Domain"
+homepage="https://github.com/besser82/libxcrypt"
+distfiles="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz"
+checksum=e87acf9c652c573a4713d5582159f98f305d56ed5f754ce64f57d4194d6b3a6f
+subpackages="libxcrypt-devel"
+build_options="compat"
+build_options_default=""
+
+desc_option_compat="Enable glibc compatibility library"
+
+if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
+build_options_default+=" compat"
+fi
+
+if [ "$build_option_compat" ]; then
+subpackages+=" libxcrypt-compat"
+fi
+
+do_configure() {
+if [ "$build_option_compat" ]; then
+ (
+ mkdir compat-build
+ cd compat-build
+ ../configure --prefix=/usr --enable-obsolete-api=glibc ${configure_args}
+ )
+fi
+
+ (
+ mkdir build
+ cd build
+ ../configure --prefix=/usr --enable-obsolete-api=no ${configure_args}
+ )
+}
+
+do_build() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+fi
+
+ (
+ cd build
+ make ${makejobs} ${make_build_args} ${make_build_target}
+ )
+}
+
+do_install() {
+if [ "$build_option_compat" ]; then
+ (
+ cd compat-build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ rm -r ${DESTDIR}/usr/{include,lib/{lib*.so,pkgconfig},share}
+ )
+fi
+
+ (
+ cd build
+ make DESTDIR=${DESTDIR} install ${make_install_target}
+ )
+}
+
+post_install() {
+ vlicense LICENSING
+}
+
+do_check() {
+ : ${make_check_target:=check}
+if [ "$build_option_compat" ]; then
+ ${make_check_pre} make -C compat-build ${makejobs} ${make_check_args} ${make_check_target}
+fi
+ ${make_check_pre} make -C build ${makejobs} ${make_check_args} ${make_check_target}
+}
+
+libxcrypt-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share
+ }
+}
+
+libxcrypt-compat_package() {
+ short_desc+=" - legacy compatibility"
+ pkg_install() {
+ vmove usr/lib/libcrypt.so.1*
+ }
+}
From bd67dd3a812d41237207e489380918bb45d33a97 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 3 Jan 2023 18:34:06 -0800
Subject: [PATCH 2/3] glibc: disable libcrypt
Remove obsolete flags
---
srcpkgs/glibc/template | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template
index 452b55c127624..0966f9b59fc3e 100644
--- a/srcpkgs/glibc/template
+++ b/srcpkgs/glibc/template
@@ -1,7 +1,7 @@
# Template file for 'glibc'
pkgname=glibc
version=2.36
-revision=1
+revision=2
_patchver="72-g0f90d6204d"
bootstrap=yes
short_desc="GNU C library"
@@ -29,7 +29,6 @@ nostrip_files="
ld.so.1
ld-linux-armhf.so.3
libresolv.so.2
- libcrypt.so.1
libm.so.6
libthread_db.so.1
libnsl.so.1
@@ -98,14 +97,12 @@ do_configure() {
SHELL=/bin/bash ../configure ${configure_args} \
--bindir=/usr/bin --sbindir=/usr/bin \
--libdir=${_libdir} --libexecdir=${_libdir} \
- --enable-add-ons=libidn \
+ --with-headers=${XBPS_CROSS_BASE}/usr/include \
--enable-multi-arch --enable-bind-now \
--disable-profile --enable-kernel=3.2.0 \
- --enable-stack-guard-randomization \
- --without-selinux --without-cvs --without-gd \
- --disable-lock-elision \
--enable-stack-protector=strong \
- --with-headers=${XBPS_CROSS_BASE}/usr/include \
+ --enable-stack-guard-randomization \
+ --without-selinux --without-gd --disable-crypt \
--disable-werror \
libc_cv_rootsbindir=/usr/bin \
libc_cv_rtlddir=${_libdir} libc_cv_slibdir=${_libdir}
From 1a5c870c55b90462c61eb80589eae5c9a54abfcb Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 3 Jan 2023 19:05:09 -0800
Subject: [PATCH 3/3] man-pages: remove libcrypt manpages
---
srcpkgs/man-pages/template | 3 +++
1 file changed, 3 insertions(+)
diff --git a/srcpkgs/man-pages/template b/srcpkgs/man-pages/template
index 0422ff053de2f..ef7dc21621b7f 100644
--- a/srcpkgs/man-pages/template
+++ b/srcpkgs/man-pages/template
@@ -37,6 +37,9 @@ do_install() {
# openssl-devel
mv man3/rand.3 man3/glibc-rand.3
mv man3/err.3 man3/glibc-err.3
+ # libxcrypt
+ rm -f man3/crypt.3
+ rm -f man3/crypt_r.3
# Fix references to these manpages
sed -i -e "s|.so man3/rand.3|.so man3/glibc-rand.3|" \
-e "s|.so man3/err.3|.so man3/glibc-err.3|" man3/*
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [WIP] New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
` (4 preceding siblings ...)
2023-01-04 3:05 ` oreo639
@ 2023-05-09 1:53 ` github-actions
2023-05-13 4:56 ` oreo639
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2023-05-09 1:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/41431#issuecomment-1539278274
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [WIP] New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
` (5 preceding siblings ...)
2023-05-09 1:53 ` github-actions
@ 2023-05-13 4:56 ` oreo639
2023-08-09 11:24 ` [PR PATCH] [Closed]: " oreo639
2023-08-09 11:24 ` oreo639
8 siblings, 0 replies; 10+ messages in thread
From: oreo639 @ 2023-05-13 4:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/41431#issuecomment-1546527595
Comment:
Bump (I may be able to look more into this again in a few weeks)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Closed]: [WIP] New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
` (6 preceding siblings ...)
2023-05-13 4:56 ` oreo639
@ 2023-08-09 11:24 ` oreo639
2023-08-09 11:24 ` oreo639
8 siblings, 0 replies; 10+ messages in thread
From: oreo639 @ 2023-08-09 11:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]
There's a closed pull request on the void-packages repository
[WIP] New package: libxcrypt-4.4.33
https://github.com/void-linux/void-packages/pull/41431
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
libxcrypt will replace libcrypt on glibc.
`--disable-failure-tokens` as per:
https://github.com/besser82/libxcrypt/issues/25
glibc will need to be compiled with `--disable-crypt`.
musl provides no such option, Debian just rm's libcrypt.a from musl:
https://salsa.debian.org/reiner/musl/-/blob/master/debian/rules#L76
Not sure what we want to do on musl.
For glibc either we can rebuild everything with libxcrypt or we can have glibc depend on libxcrypt-compat (and have libxcrypt as a bootstrap package)
On musl, libcrypt is provided by libc so if we handle it the same as debian, a rebuild shouldn't be *necessary*.
All packages using libcrypt can be seen using `xbps-query -Rs libcrypt.so -p shlib-requires`.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [WIP] New package: libxcrypt-4.4.33
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
` (7 preceding siblings ...)
2023-08-09 11:24 ` [PR PATCH] [Closed]: " oreo639
@ 2023-08-09 11:24 ` oreo639
8 siblings, 0 replies; 10+ messages in thread
From: oreo639 @ 2023-08-09 11:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/41431#issuecomment-1671146424
Comment:
superseded by: https://github.com/void-linux/void-packages/pull/45501
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-08-09 11:24 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-04 2:05 [PR PATCH] New package: libxcrypt-4.4.33 oreo639
2023-01-04 2:05 ` [PR PATCH] [Closed]: " oreo639
2023-01-04 2:20 ` [PR PATCH] [Updated] [WIP] " oreo639
2023-01-04 2:24 ` oreo639
2023-01-04 2:34 ` oreo639
2023-01-04 3:05 ` oreo639
2023-05-09 1:53 ` github-actions
2023-05-13 4:56 ` oreo639
2023-08-09 11:24 ` [PR PATCH] [Closed]: " oreo639
2023-08-09 11:24 ` oreo639
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).