summaryrefslogtreecommitdiff
path: root/grype/debian
diff options
context:
space:
mode:
Diffstat (limited to 'grype/debian')
-rw-r--r--grype/debian/changelog5
-rw-r--r--grype/debian/compat1
-rw-r--r--grype/debian/control11
-rw-r--r--grype/debian/install1
-rwxr-xr-xgrype/debian/rules16
-rw-r--r--grype/debian/source/format1
6 files changed, 35 insertions, 0 deletions
diff --git a/grype/debian/changelog b/grype/debian/changelog
new file mode 100644
index 0000000..d8b75cd
--- /dev/null
+++ b/grype/debian/changelog
@@ -0,0 +1,5 @@
+grype (0.74.7-1) unstable; urgency=medium
+
+ * initial package release.
+
+ -- Christian Pointner <equinox@spreadspace.org> Thu, 28 Mar 2024 19:11:59 +0100
diff --git a/grype/debian/compat b/grype/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/grype/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/grype/debian/control b/grype/debian/control
new file mode 100644
index 0000000..d1de562
--- /dev/null
+++ b/grype/debian/control
@@ -0,0 +1,11 @@
+Source: grype
+Maintainer: Christian Pointner <equinox@spreadspace.org>
+Section: utils
+Priority: optional
+Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 9), wget, ca-certificates
+
+Package: grype
+Architecture: amd64 arm64
+Depends: ${misc:Depends}
+Description: A vulnerability scanner for container images and filesystems (binaries only)
diff --git a/grype/debian/install b/grype/debian/install
new file mode 100644
index 0000000..56b2e6f
--- /dev/null
+++ b/grype/debian/install
@@ -0,0 +1 @@
+usr/bin/grype
diff --git a/grype/debian/rules b/grype/debian/rules
new file mode 100755
index 0000000..4434037
--- /dev/null
+++ b/grype/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+%:
+ dh $@
+
+override_dh_auto_configure:
+
+override_dh_auto_build:
+ make VERSION=$(DEB_VERSION_UPSTREAM) $(DEB_BUILD_ARCH)/grype
+
+override_dh_auto_install:
+ install -d $$(pwd)/debian/tmp/usr/bin/
+ install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/grype $$(pwd)/debian/tmp/usr/bin/grype
+
+override_dh_auto_clean:
+ make VERSION=$(DEB_VERSION_UPSTREAM) clean
diff --git a/grype/debian/source/format b/grype/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/grype/debian/source/format
@@ -0,0 +1 @@
+1.0