Big cleanup.
* Added myself as uploader.
* Added myself to copyright file.
* Enabled additional hardening (hardening=+all).
* Fixed Vcs URL (https).
* Fixed order in d/copyright.
* Standards-Version is 3.9.7 now (no change).
* Added header to d/patches/reproducible-build.patch
* Added Debian tests.
Ondřej Nový
8 years ago
|
0 |
liberasurecode (1.1.0-4) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
* Added myself as uploader.
|
|
3 |
* Added myself to copyright file.
|
|
4 |
* Enabled additional hardening (hardening=+all).
|
|
5 |
* Fixed Vcs URL (https).
|
|
6 |
* Fixed order in d/copyright.
|
|
7 |
* Standards-Version is 3.9.7 now (no change).
|
|
8 |
* Added header to d/patches/reproducible-build.patch
|
|
9 |
* Added Debian tests.
|
|
10 |
|
|
11 |
-- Ondřej Nový <novy@ondrej.org> Sat, 27 Feb 2016 08:55:42 +0100
|
|
12 |
|
0 | 13 |
liberasurecode (1.1.0-3) unstable; urgency=medium
|
1 | 14 |
|
2 | 15 |
* Added patch to make the build reproducible (Closes: #806577).
|
1 | 1 |
Section: libs
|
2 | 2 |
Priority: extra
|
3 | 3 |
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
4 | |
Uploaders: Thomas Goirand <zigo@debian.org>
|
|
4 |
Uploaders: Thomas Goirand <zigo@debian.org>,
|
|
5 |
Ondřej Nový <novy@ondrej.org>,
|
5 | 6 |
Build-Depends: autoconf-archive,
|
6 | 7 |
autotools-dev,
|
7 | 8 |
debhelper (>= 9),
|
8 | 9 |
dh-autoreconf,
|
9 | |
Standards-Version: 3.9.6
|
|
10 |
Standards-Version: 3.9.7
|
10 | 11 |
Homepage: https://bitbucket.org/tsg-/liberasurecode/
|
11 | |
Vcs-Git: git://anonscm.debian.org/openstack/liberasurecode.git
|
12 | |
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/liberasurecode.git;a=summary
|
|
12 |
Vcs-Git: https://anonscm.debian.org/git/openstack/liberasurecode.git
|
|
13 |
Vcs-Browser: https://anonscm.debian.org/cgit/openstack/liberasurecode.git/
|
13 | 14 |
|
14 | 15 |
Package: liberasurecode-dev
|
15 | 16 |
Section: libdevel
|
1 | 1 |
Upstream-Name: liberasurecode
|
2 | 2 |
Source: https://bitbucket.org/tsg-/liberasurecode
|
3 | 3 |
|
|
4 |
Files: *
|
|
5 |
Copyright: (c) 2014, Eric Lambert <eric_lambert@xyratex.com>
|
|
6 |
(c) 2014, Tushar Gohad <tushar.gohad@intel.com>
|
|
7 |
(c) 2014, Kevin Greenan <kmg@box.com>
|
|
8 |
License: BSD-style
|
|
9 |
|
4 | 10 |
Files: debian/*
|
5 | 11 |
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
|
|
12 |
(c) 2016, Ondřej Nový <novy@ondrej.org>
|
6 | 13 |
License: BSD-style
|
7 | 14 |
|
8 | 15 |
Files: src/utils/chksum/crc32.c
|
|
12 | 19 |
Files: include/erasurecode/list.h
|
13 | 20 |
Copyright: (c) 1991, 1993 The Regents of the University of California
|
14 | 21 |
License: BSD-with-add-clause
|
15 | |
|
16 | |
Files: *
|
17 | |
Copyright: (c) 2014, Eric Lambert <eric_lambert@xyratex.com>
|
18 | |
(c) 2014, Tushar Gohad <tushar.gohad@intel.com>
|
19 | |
(c) 2014, Kevin Greenan <kmg@box.com>
|
20 | |
License: BSD-style
|
21 | 22 |
|
22 | 23 |
License: crc32-license
|
23 | 24 |
You may use this program, or code or tables extracted from it, as desired
|
|
0 |
Description: Allow build to be reproducible
|
|
1 |
Thomas Goirand <zigo@debian.org>
|
|
2 |
Forwarded: no
|
|
3 |
Last-Update: 2015-12-02
|
0 | 4 |
--- liberasurecode-1.1.0.orig/Makefile.am
|
1 | 5 |
+++ liberasurecode-1.1.0/Makefile.am
|
2 | 6 |
@@ -32,7 +32,8 @@ thisinclude_HEADERS = \
|
8 | 8 |
GIT_TAG ?= $(shell echo '$(VERSION)' | sed -e 's/~/_/')
|
9 | 9 |
|
10 | 10 |
export HOME=$(CURDIR)
|
|
11 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
11 | 12 |
|
12 | 13 |
%:
|
13 | 14 |
dh $@ --with autoreconf --parallel
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
set -e
|
|
3 |
|
|
4 |
cd "$ADTTMP"
|
|
5 |
|
|
6 |
cat <<TEST_END > create-destroy.c
|
|
7 |
#include <erasurecode.h>
|
|
8 |
|
|
9 |
int main()
|
|
10 |
{
|
|
11 |
struct ec_args args;
|
|
12 |
args.k = 2;
|
|
13 |
args.m = 1;
|
|
14 |
args.w = 64;
|
|
15 |
|
|
16 |
// Create
|
|
17 |
int e = liberasurecode_instance_create(EC_BACKEND_LIBERASURECODE_RS_VAND, &args);
|
|
18 |
if (!e) {
|
|
19 |
printf("ERROR: liberasurecode_instance_create: %d", e);
|
|
20 |
return 1;
|
|
21 |
}
|
|
22 |
|
|
23 |
// Destroy
|
|
24 |
int ret = liberasurecode_instance_destroy(e);
|
|
25 |
if (ret) {
|
|
26 |
printf("ERROR: liberasurecode_instance_destroy: %d", ret);
|
|
27 |
return 1;
|
|
28 |
}
|
|
29 |
|
|
30 |
printf("run: OK\n");
|
|
31 |
|
|
32 |
return 0;
|
|
33 |
}
|
|
34 |
TEST_END
|
|
35 |
|
|
36 |
gcc -o create-destroy.bin create-destroy.c -lerasurecode -ldl
|
|
37 |
echo "build: OK"
|
|
38 |
./create-destroy.bin
|