Bug#1098895: siege: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue Feb 25 16:58:46 GMT 2025
Source: siege
Version: 4.1.6-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
siege could not be built reproducibly.
Specifically, it ships a shell script — siege.config — that embeds the
current shell. Based on my limited testing, I believe it is using the
target of the /bin/sh symlink rather than the value of the $SHELL
environment variable.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/reproducible_build.diff 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible_build.diff 2025-02-25 16:50:36.936420464 +0000
@@ -0,0 +1,12 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2025-02-25
+
+--- siege-4.1.6.orig/utils/siege.config.in
++++ siege-4.1.6/utils/siege.config.in
+@@ -1,4 +1,4 @@
+-#!%_SHELL%
++#!/bin/sh
+ # SCRIPT: siege.config
+ # AUTHOR: Jeffrey Fulmer <jeff at joedog.org>
+ # DATE: Wed Nov 11 11:13:38 EST 2015
--- a/debian/patches/series 2025-02-25 16:47:45.740609189 +0000
--- b/debian/patches/series 2025-02-25 16:50:36.212421133 +0000
@@ -3,3 +3,4 @@
siege.1.in.diff
include_env_cppflags.diff
remove_unnecessary_macros.diff
+reproducible_build.diff
More information about the Reproducible-bugs
mailing list