summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-24 02:44:06 -0400
committerMax Rees <maxcrees@me.com>2019-07-24 02:46:01 -0400
commite2b4b8b49029eae198715b7ca065a9ca409a12d9 (patch)
treef1691d19b83211cb55ba6a563cf0cb8a379dfc58
parentbed7a51ed2c79f05cb1cf4708d4e128cfb23133a (diff)
downloadpackages-e2b4b8b49029eae198715b7ca065a9ca409a12d9.tar.gz
packages-e2b4b8b49029eae198715b7ca065a9ca409a12d9.tar.bz2
packages-e2b4b8b49029eae198715b7ca065a9ca409a12d9.tar.xz
packages-e2b4b8b49029eae198715b7ca065a9ca409a12d9.zip
user/cve-check-tool: new package
-rw-r--r--user/cve-check-tool/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/cve-check-tool/APKBUILD b/user/cve-check-tool/APKBUILD
new file mode 100644
index 000000000..b0c2db9ba
--- /dev/null
+++ b/user/cve-check-tool/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=cve-check-tool
+pkgver=5.6.4_p1
+_pkgver=${pkgver%_p*}+adelie${pkgver#*_p}
+pkgrel=0
+pkgdesc="Vulnerability checker for Linux packaging"
+url="https://code.foxkit.us/sroracle/cve-check-tool"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="bash curl-dev glib-dev gobject-introspection-dev
+ libxml2-dev openssl-dev sqlite-dev"
+checkdepends="check-dev"
+subpackages="$pkgname-doc"
+source="https://dev.sick.bike/dist/cve-check-tool-$_pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$_pkgver"
+
+prepare() {
+ default_prepare
+ autoreconf -vif
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make -j1 check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="6af4778752c1c64c9a7c747f5a099ac83a42b9c92e273b315a386547144bfcdcd325dac9f17cfea16944442cdd20faf829ec401792ba67a34ec21fc65046dfac cve-check-tool-5.6.4+adelie1.tar.gz"