Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • fepitre/disorderfs
  • reproducible-builds/disorderfs
  • bmwiedemann-guest/disorderfs
3 results
Show changes
Commits on Source (13)
stages:
- test
.test_template: &test
stage: test
variables:
DEBIAN_FRONTEND: noninteractive
script:
- apt-get -q update
- mount -o remount,rw /dev
- apt-get -q -y install --no-install-recommends build-essential libfuse-dev pkg-config bc fuse3
- make test
except:
- debian
unstable:
<<: *test
image: debian:unstable
testing:
<<: *test
image: debian:testing
stable-bpo:
<<: *test
image: debian:stable-backports
......@@ -20,7 +20,6 @@
# Note: uses GNU Make features
CXXFLAGS ?= -Wall -Wextra -pedantic -O2
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/share/man
......@@ -35,6 +34,7 @@ FUSE_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags fuse) -DFUSE_USE_VERSION=26
FUSE_LIBS ?= $(shell $(PKG_CONFIG) --libs fuse) -lulockmgr
# CXXFLAGS
CXXFLAGS += -Wall -Wextra -pedantic -O2 -g
CXXFLAGS += -std=c++11 -Wno-unused-parameter
CXXFLAGS += $(FUSE_CFLAGS)
......
v0.5.11 (2020-01-19)
* Improve tests.
* Add RPM spec file
* Makefile: allow to prepend flags in CXXFLAGS.
v0.5.2 (2017-08-21)
* Add -q, --quiet options to avoid printing to stdout.
......
disorderfs (0.5.10-3) UNRELEASED; urgency=medium
disorderfs (0.5.11-1) unstable; urgency=medium
* WIP - changelog will be generated with gbp-dch upon release.
[ Holger Levsen ]
* New upstream release.
* Update standards version to 4.5.1, no changes needed.
-- Holger Levsen <holger@debian.org> Fri, 20 Nov 2020 09:26:05 +0100
-- Holger Levsen <holger@debian.org> Tue, 19 Jan 2021 12:56:37 +0100
disorderfs (0.5.10-2) unstable; urgency=medium
......
......@@ -43,7 +43,7 @@ extern "C" {
#include <sys/file.h>
#include <stddef.h>
#define DISORDERFS_VERSION "0.5.10"
#define DISORDERFS_VERSION "0.5.11"
namespace {
std::vector<std::string> bare_arguments;
......
Name: disorderfs
Version: 0.5.11
Release: 1%{?dist}
Summary: FUSE filesystem that introduces non-determinism
License: GPL-3+
Source0: https://salsa.debian.org/reproducible-builds/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: x86_64
BuildRequires: gcc-c++
BuildRequires: fuse-devel
BuildRequires: pkg-config
BuildRequires: asciidoc
Requires: bc
Requires: fuse3
%description
disorderfs is an overlay FUSE filesystem that introduces non-determinism
into filesystem metadata. For example, it can randomize the order
in which directory entries are read. This is useful for detecting
non-determinism in the build process.
%prep
%autosetup -n %{name}-%{version}
%build
%set_build_flags
%make_build
%install
%make_install PREFIX=/usr
%files
%doc README
%{_bindir}/disorderfs
%{_datadir}/man/man1/disorderfs.1.gz
%changelog
* Tue Jan 19 2021 Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org> - 0.5.11-1
- Initial RPM packaging.
#!/bin/sh
. ./common
LOOPS=3000
Start () {
START="$(date +%s.%N)"
}
Stop () {
SUFFIX="${1}"
DURATION="$(echo "$(date +%s.%N) - ${START}" | bc)"
printf "Took %.3fs %s\n" "${DURATION}" "${SUFFIX}"
}
Start
for X in $(seq "${LOOPS}")
do
find fixtures -ls >/dev/null
du -s fixtures >/dev/null
done
Stop "without disorderfs"
Mount
Start
for X in $(seq "${LOOPS}")
do
find target -ls >/dev/null
du -s target >/dev/null
done
Stop "with disorderfs"
Unmount