Commit 0864770c authored by Francesco Colista's avatar Francesco Colista

main/cvechecker: upgrade to 3.9

parent 468990bc
......@@ -2,23 +2,28 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cvechecker
pkgver=3.8
pkgrel=2
pkgver=3.9
pkgrel=0
pkgdesc="A local CVE checker tool"
url="https://github.com/sjvermeu/cvechecker/wiki"
arch="all"
license="GPL-3.0"
depends="gawk wget libxslt"
makedepends="libconfig-dev sqlite-dev libressl-dev mariadb-connector-c-dev argp-standalone"
makedepends="libconfig-dev sqlite-dev libressl-dev mariadb-connector-c-dev
argp-standalone autoconf automake"
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc"
pkggroups="$pkgname"
source="https://raw.githubusercontent.com/wiki/sjvermeu/$pkgname/releases/$pkgname-$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/sjvermeu/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
check() {
prepare() {
default_prepare
cd "$builddir"
make check
aclocal && \
autoheader && \
automake -ac && \
autoreconf --install
}
build() {
......@@ -34,6 +39,12 @@ build() {
--enable-mysql
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
......@@ -42,4 +53,4 @@ package() {
chmod -R g+w "$pkgdir"/var/cvechecker &>/dev/null
}
sha512sums="c7d83592d708d2d7b218f97f5780a442014793163260ba0a3d3aefb329c4e1b24924a461ca37df0d7d3b3e17ac16b29a1eed57169316c9d8cbf780550462f948 cvechecker-3.8.tar.gz"
sha512sums="35fc8501bb56ebe8ef0f38bc8ea91f9446c06901c83ba16488acaa0c71ed446d3337637f1f44bc82c01e1b3f255630f33b13d25e04d85fca5df3a7a5bcf66606 cvechecker-3.9.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment