Commit b1132f4b authored by Chris Lamb's avatar Chris Lamb 💬

Merge remote-tracking branch 'origin/debian'

* origin/debian: (137 commits)
  Revert not specifying building the "debian" branch; as we merge master into this branch it will (since the very introduction of the .gitlab-ci.yml file) will have it and will additionally be out of sync.
  Update changelog for 1.2.2-1 release
  Actually replace all instances of libmonkey-patch-perl with libsub-override-perl.
  Update changelog for 1.2.1-1 release
  Replace libmonkey-patch-perl with libsub-override-perl (re. #931730 and #8)
  release as 1.2.0-2
  Bump standards version to 4.4.0, no changes needed.
  Update changelog for 1.2.0-1 release
  Update changelog for 1.1.3-1 release
  Add libmonkey-patch-perl as a binary / build dependency.
  Update changelog for 1.1.2-1 release
  Update changelog for 1.1.1-1 release
  Update changelog for 1.1.0-1 release
  Bump Standards-Version to 4.3.0
  Update changelog for 1.0.0-1 release
  Update debian/copyright to drop reference to ar.pm.
  Release version 1.0.0
  Remove javaproperties handler after Emmanuel Bourg's patch was released in openjdk-11 11.0.1+13-3. (Closes: #914289)
  Drop .ar handler; binutils is reproducible. (Closes: #781262, #843811)
  Ignore encrypted .zip files as we can never normalise them. (Closes: #852207)
  ...
parents 368f18bf e44b75c5
This diff is collapsed.
Source: strip-nondeterminism
Section: devel
Priority: optional
Build-Depends:
debhelper-compat (= 11),
dpkg-dev (>= 1.17.14),
Build-Depends-Indep:
libarchive-cpio-perl <!nocheck>,
libarchive-zip-perl,
libdevel-cover-perl,
libsub-override-perl,
perl,
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Uploaders:
Andrew Ayer <agwa@andrewayer.name>,
Holger Levsen <holger@debian.org>,
Mattia Rizzolo <mattia@debian.org>,
Chris Lamb <lamby@debian.org>,
Rules-Requires-Root: no
Standards-Version: 4.4.0
Homepage: https://reproducible-builds.org/
Vcs-Git: https://salsa.debian.org/reproducible-builds/strip-nondeterminism.git
Vcs-Browser: https://salsa.debian.org/reproducible-builds/strip-nondeterminism
Package: libfile-stripnondeterminism-perl
Section: perl
Architecture: all
Depends:
libarchive-zip-perl,
libsub-override-perl,
${misc:Depends},
${perl:Depends},
Recommends:
libarchive-cpio-perl,
Description: file non-deterministic information stripper — Perl module
StripNondeterminism is a library for stripping non-deterministic information
such as timestamps and filesystem ordering from various file and archive
formats.
.
This can be used as a post-processing step to improve the reproducibility of a
build product, when the build process itself cannot be made deterministic.
.
It is used as part of the Reproducible Builds project, although it should be
considered a temporary workaround which should not be needed in the long
term; upstream software should be reproducible even without using such a tool.
.
This package installs the Perl module ‘File::StripNondeterminism’.
Package: strip-nondeterminism
Architecture: all
Depends:
libfile-stripnondeterminism-perl (= ${binary:Version}),
${misc:Depends},
${perl:Depends},
Multi-Arch: foreign
Description: file non-deterministic information stripper — stand-alone tool
StripNondeterminism is a library for stripping non-deterministic information
such as timestamps and filesystem ordering from various file and archive
formats.
.
This can be used as a post-processing step to improve the reproducibility of a
build product, when the build process itself cannot be made deterministic.
.
It is used as part of the Reproducible Builds project, although it should be
considered a temporary workaround which should not be needed in the long
term; upstream software should be reproducible even without using such a tool.
.
This package installs the stand-alone ‘strip-nondeterminism’ tool.
Package: dh-strip-nondeterminism
Architecture: all
Depends:
debhelper (>= 9.20151004),
libfile-stripnondeterminism-perl (= ${binary:Version}),
${misc:Depends},
${perl:Depends},
Multi-Arch: foreign
Description: file non-deterministic information stripper — Debhelper add-on
StripNondeterminism is a library for stripping non-deterministic information
such as timestamps and filesystem ordering from various file and archive
formats.
.
This can be used as a post-processing step to improve the reproducibility of a
build product, when the build process itself cannot be made deterministic.
.
It is used as part of the Reproducible Builds project, although it should be
considered a temporary workaround which should not be needed in the long
term; upstream software should be reproducible even without using such a tool.
.
This package installs the ‘dh_strip_nondeterminism’ Debhelper command that
strips nondeterminism as part of a Debian package build process.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: strip-nondeterminism
Source: https://salsa.debian.org/reproducible-builds/strip-nondeterminism.git
Files: *
Copyright: Copyright (C) 2014 Andrew Ayer
Copyright (C) 2017 Chris Lamb
License: GPL-3+
License: GPL-3+
strip-nondeterminism is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
strip-nondeterminism is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with strip-nondeterminism. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public License
version 3 can be found in the file `/usr/share/common-licenses/GPL-3'.
usr/bin/dh_strip_nondeterminism
usr/share/man/man*/dh_strip_nondeterminism.*
[DEFAULT]
pristine-tar = True
pristine-tar-commit = True
debian-branch = debian
upstream-tag = %(version)s
#!/usr/bin/make -f
%:
dh $@
# Remove the auto-generated Makefile to prevent dh_auto_clean from failing
# if the Makefile contains paths referring to an old version of Perl.
override_dh_auto_clean:
rm -rf Makefile MYMETA.* cover_db/ blib/
dh_auto_clean
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cover -test -ignore_re '^t/'
endif
single-debian-patch
Subject: Collected Debian patches for strip-nondeterminism
Author: Andrew Ayer <agwa@andrewayer.name>
Since I am also upstream for this package, there will normally not be
any patches to apply to the upstream source. However, occasionally
I'll pull up specific upstream commits prior to making an upstream
release. When this happens, this patch will collect all of those
modifications.
I use Git to maintain both the upstream source and the Debian
packages, and generating individual patches rather than using git
cherry-pick takes extra work for no gain. Since I'm also upstream,
there's no need to separate the patches for later upstream submission.
Hence, I take this approach with a unified patch when it's necessary.
For full commit history and separated commits, see the upstream Git
repository.
usr/bin/strip-nondeterminism
usr/share/man/man*/strip-nondeterminism.*
Tests: testsuite
# Archive::Cpio is optionally used in File::StripNondetermism::handlers::cpio
# but it's required when running the tests.
Depends: @, libarchive-cpio-perl
Restrictions: allow-stderr
#!/bin/bash
set -eu
tmp="${AUTOPKGTEST_TMP:-"${ADTTMP:-"$(mktemp -d)"}"}"
mkdir -p "$tmp"
cp -rv t/ bin/ "$tmp"
cd "$tmp"
set +e
ret=0
for X in t/*.t; do
perl -MExtUtils::Command::MM -MTest::Harness "$X" || ret=$?
done
if [ "$ret" -eq 0 ]; then
echo "Tests succeeded"
else
echo "Tests failed" >&2
fi
exit $ret
This diff is collapsed.
version=4
opts=pgpmode=auto \
https://reproducible-builds.org/_lfs/releases/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment