Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] common/hooks/pre-pkg/04-generate-runtime-deps.sh: sort deps for reproducibility
@ 2022-04-12 19:29 classabbyamp
  2022-04-13 18:10 ` [PR REVIEW] " Chocimier
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: classabbyamp @ 2022-04-12 19:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages sort-deps
https://github.com/void-linux/void-packages/pull/36659

common/hooks/pre-pkg/04-generate-runtime-deps.sh: sort deps for reproducibility
fixes #36641

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/36659.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sort-deps-36659.patch --]
[-- Type: text/x-diff, Size: 1141 bytes --]

From 4445006f119410ec9d28d25d89109ff9fa7d5ffd Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Tue, 12 Apr 2022 15:28:23 -0400
Subject: [PATCH] common/hooks/pre-pkg/04-generate-runtime-deps.sh: sort deps
 for reproducibility

fixes #36641
---
 common/hooks/pre-pkg/04-generate-runtime-deps.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/04-generate-runtime-deps.sh b/common/hooks/pre-pkg/04-generate-runtime-deps.sh
index c8f8c04d4884..87efe9c49ece 100644
--- a/common/hooks/pre-pkg/04-generate-runtime-deps.sh
+++ b/common/hooks/pre-pkg/04-generate-runtime-deps.sh
@@ -44,6 +44,7 @@ store_pkgdestdir_rundeps() {
                 printf -- "${_curdep} " >> ${PKGDESTDIR}/rdeps
             done
         fi
+        cat ${PKGDESTDIR}/rdeps | xargs -n1 | sort | xargs > ${PKGDESTDIR}/rdeps
 }
 
 hook() {
@@ -166,6 +167,6 @@ hook() {
         sorequires+="${f} "
     done
     if [ -n "${sorequires}" ]; then
-        echo "${sorequires}" > ${PKGDESTDIR}/shlib-requires
+        echo "${sorequires}" | xargs -n1 | sort | xargs > ${PKGDESTDIR}/shlib-requires
     fi
 }

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-05-13 19:21 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12 19:29 [PR PATCH] common/hooks/pre-pkg/04-generate-runtime-deps.sh: sort deps for reproducibility classabbyamp
2022-04-13 18:10 ` [PR REVIEW] " Chocimier
2022-04-13 18:10 ` Chocimier
2022-04-13 18:12 ` Chocimier
2022-04-13 18:12 ` Chocimier
2022-04-13 18:16 ` classabbyamp
2022-04-13 18:16 ` [PR PATCH] [Updated] " classabbyamp
2022-04-13 18:17 ` [PR REVIEW] " classabbyamp
2022-04-13 18:18 ` classabbyamp
2022-04-13 23:31 ` Duncaen
2022-04-13 23:34 ` classabbyamp
2022-04-13 23:35 ` classabbyamp
2022-04-13 23:36 ` classabbyamp
2022-04-13 23:36 ` classabbyamp
2022-04-14 18:29 ` [PR PATCH] [Updated] " classabbyamp
2022-04-14 18:43 ` classabbyamp
2022-04-19 15:30 ` classabbyamp
2022-04-19 17:45 ` [PR REVIEW] " Chocimier
2022-04-19 17:49 ` [PR PATCH] [Updated] " classabbyamp
2022-04-19 17:49 ` [PR REVIEW] " classabbyamp
2022-04-25 14:52 ` [PR PATCH] [Updated] " classabbyamp
2022-05-07 15:15 ` classabbyamp
2022-05-13 19:21 ` [PR PATCH] [Merged]: " paper42

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).