Codebase list liberasurecode / b92e050
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
7 changed file(s) with 70 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
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
013 liberasurecode (1.1.0-3) unstable; urgency=medium
114
215 * Added patch to make the build reproducible (Closes: #806577).
11 Section: libs
22 Priority: extra
33 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>,
56 Build-Depends: autoconf-archive,
67 autotools-dev,
78 debhelper (>= 9),
89 dh-autoreconf,
9 Standards-Version: 3.9.6
10 Standards-Version: 3.9.7
1011 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/
1314
1415 Package: liberasurecode-dev
1516 Section: libdevel
11 Upstream-Name: liberasurecode
22 Source: https://bitbucket.org/tsg-/liberasurecode
33
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
410 Files: debian/*
511 Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
12 (c) 2016, Ondřej Nový <novy@ondrej.org>
613 License: BSD-style
714
815 Files: src/utils/chksum/crc32.c
1219 Files: include/erasurecode/list.h
1320 Copyright: (c) 1991, 1993 The Regents of the University of California
1421 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
2122
2223 License: crc32-license
2324 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
04 --- liberasurecode-1.1.0.orig/Makefile.am
15 +++ liberasurecode-1.1.0/Makefile.am
26 @@ -32,7 +32,8 @@ thisinclude_HEADERS = \
88 GIT_TAG ?= $(shell echo '$(VERSION)' | sed -e 's/~/_/')
99
1010 export HOME=$(CURDIR)
11 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
1112
1213 %:
1314 dh $@ --with autoreconf --parallel
0 Tests: create-destroy
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