Skip to content
Commits on Source (191)
image: debian:unstable
image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest
test:
stage: test
except:
- debian
- tags
before_script:
- apt-get -q update
- mount -o remount,rw /dev
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends aspcud apt-cudf git
- git checkout debian
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y --solver aspcud -o APT::Solver::Strict-Pinning=0 -o Debug::pkgProblemResolver=yes build-dep .
- git checkout -
pages:
stage: deploy
artifacts:
paths:
- public
script:
- perl Makefile.PL
- make test TEST_VERBOSE=1
- gitlab-ci-git-buildpackage-all
- gitlab-ci-aptly
COPYING
MANIFEST This list of files
Makefile.PL
README
bin/dh_strip_nondeterminism
bin/strip-nondeterminism
lib/File/StripNondeterminism.pm
lib/File/StripNondeterminism/handlers/ar.pm
lib/File/StripNondeterminism/handlers/gzip.pm
lib/File/StripNondeterminism/handlers/jar.pm
lib/File/StripNondeterminism/handlers/zip.pm
# Version control files and dirs.
\B\.git\b
# Makemaker generated files and dirs.
^MANIFEST\.
^Makefile$
^Makefile.old$
^blib/
^MakeMaker-\d
^pm_to_blib
# Temp, old and emacs backup files.
~$
\.old$
\.swp$
^#.*#$
^\.#
# Odds and ends
\bLEFTOFF$
\bTODO$
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]
upstream-tag = %(version)s
debian-branch = master
#!/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@