aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-04-02 10:18:44 -0700
committerEric Biggers <ebiggers@google.com>2018-04-02 10:18:44 -0700
commit8365a2946943688263875afba8daf7e13f2eb6b8 (patch)
tree6d204dd045110ee718960a4822f73958cf6cc33e
parent60266c4bcbd59dcea377dde08c3e089480860558 (diff)
downloadfsverity-utils-8365a2946943688263875afba8daf7e13f2eb6b8.tar.gz
Add debian packaging files
Signed-off-by: Eric Biggers <ebiggers@google.com>
-rw-r--r--Makefile5
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control14
-rw-r--r--debian/copyright7
-rwxr-xr-xdebian/rules8
6 files changed, 40 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 36e64f8..52ab17e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,14 @@
CFLAGS := -O2 -Wall
EXE := fsverity
+DESTDIR := /usr/local
all:$(EXE)
clean:
rm -f $(EXE)
+install:all
+ install -Dm755 -t $(DESTDIR)/bin $(EXE) fsveritysetup \
+ mkfsverity.sh full-run-fsverity.sh
+
.PHONY: all clean
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a2e894d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+fsverity-utils (0.1-1) experimental; urgency=low
+
+ * Experimental: debian package for xfstests test appliances
+
+ -- Eric Biggers <ebiggers@google.com> Mon, 02 Apr 2018 10:18:21 -0700
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a0bde47
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
+Source: fsverity-utils
+Priority: optional
+Maintainer: Eric Biggers <ebiggers@google.com>
+Build-Depends: debhelper (>= 10), python
+Standards-Version: 4.0.0
+Vcs-Git: git://git.kernel.org/pub/scm/linux/kernel/git/mhalcrow/fsverity
+
+Package: fsverity-utils
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, cryptsetup-bin
+Description: fs-verity userspace utilities. These programs allow you to set up
+ read-only, integrity and/or authenticity-protected files when supported by the
+ underlying filesystem.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..105dc6f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,7 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: fsverity
+Source: git://git.kernel.org/pub/scm/linux/kernel/git/mhalcrow/fsverity
+
+Files: *
+Copyright: 2018 Google, Inc
+License: GPL-2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ebd8ecb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+
+include /usr/share/dpkg/default.mk
+
+%:
+ dh $@ --with python2