diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-24 19:16:36 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-24 19:16:36 +0000 |
commit | 2db0bb0543e3c9b0ced7c9c149f75cc9ed0b4d5f (patch) | |
tree | e1c1ccf592913ad2ac89620f7d7cd4b3fc859c31 | |
parent | 648a6e59d07498031ebbacf90f7459be470c5ecb (diff) | |
parent | e2b4b8b49029eae198715b7ca065a9ca409a12d9 (diff) | |
download | packages-2db0bb0543e3c9b0ced7c9c149f75cc9ed0b4d5f.tar.gz packages-2db0bb0543e3c9b0ced7c9c149f75cc9ed0b4d5f.tar.bz2 packages-2db0bb0543e3c9b0ced7c9c149f75cc9ed0b4d5f.tar.xz packages-2db0bb0543e3c9b0ced7c9c149f75cc9ed0b4d5f.zip |
Merge branch 'cve-check-tool' into 'master'
user/cve-check-tool: new package
See merge request adelie/packages!299
-rw-r--r-- | user/cve-check-tool/APKBUILD | 43 |
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" |