On 2023-11-30, Vagrant Cascadian wrote:
> On 2022-08-05, Vagrant Cascadian wrote:
>> On 2022-08-05, Vagrant Cascadian wrote:
>>> On 2022-08-05, Francesco P. Lovergine wrote:
>>>> On Sun, Jul 17, 2022 at 01:52:46PM +0100, Simon McVittie wrote:
>>>>>On Fri, 19 Feb 2021 at 14:38:09 -0800, Vagrant Cascadian wrote:
>>>>>> The configure script sets the BASH variable to /bin/sh when run on a
>>>>>> usrmerge system, resulting in the pwupdate script differing between
>>>>>> builds:
>>>>>>
>>>>>>   
>>>>>> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/ypserv.html
>>>>>>
>>>>>>   ./usr/lib/yp/pwupdate
>>>>>>
>>>>>>   #!/bin/bash
>>>>>>   vs.
>>>>>>   #!/bin/sh
...
>> Regardless, the patch would make the package build reproducibly, and
>> would be great to apply.
>
> I would like to perform an NMU fixing this in the near future, barring
> any strong objections.

I uploaded an NMU to DELAYED/10 with the following changes:

diff -Nru ypserv-4.2/debian/changelog ypserv-4.2/debian/changelog
--- ypserv-4.2/debian/changelog 2022-08-04 08:39:48.000000000 -0700
+++ ypserv-4.2/debian/changelog 2023-12-06 13:56:54.000000000 -0800
@@ -1,3 +1,10 @@
+ypserv (4.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: Pass BASH variable to configure. (Closes: #983138)
+
+ -- Vagrant Cascadian <vagr...@reproducible-builds.org>  Wed, 06 Dec 2023 
13:56:54 -0800
+
 ypserv (4.2-1) unstable; urgency=medium

   * New upstream version.
diff -Nru ypserv-4.2/debian/rules ypserv-4.2/debian/rules
--- ypserv-4.2/debian/rules     2022-08-04 08:39:48.000000000 -0700
+++ ypserv-4.2/debian/rules     2023-12-06 13:56:54.000000000 -0800
@@ -28,7 +28,8 @@
        dh $@

 override_dh_auto_configure:
-       dh_auto_configure
+       # Ensure BASH variable consistently is /bin/bash
+       dh_auto_configure -- BASH=/bin/bash
        for f in `find $(CURDIR) -name '*.8.xml'`; \
                do d=`dirname $$f`; n=`basename $$f .xml`; [ -f 
$(CURDIR)/$$d/$$n ] || cp -f $(CURDIR)/debian/man/$$n $$d/.; done


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to