diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-01-29 15:05:05 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-01-29 15:05:05 +0000 |
commit | 4dc8ca9b5e8cc7264f031ffde02f80053dd09aca (patch) | |
tree | 032b63fc6ae5f8fb2682bcf76cbaa556fd5d8efe /community/gvm/APKBUILD | |
parent | 4d25e023a4a0ef86015bae231fb0b10bfcc965d9 (diff) | |
download | aports-4dc8ca9b5e8cc7264f031ffde02f80053dd09aca.tar.bz2 aports-4dc8ca9b5e8cc7264f031ffde02f80053dd09aca.tar.xz |
community/gvm: updated srcurl, renamed package from openvas-manager
Diffstat (limited to 'community/gvm/APKBUILD')
-rw-r--r-- | community/gvm/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/community/gvm/APKBUILD b/community/gvm/APKBUILD new file mode 100644 index 0000000000..2f8cd79cc3 --- /dev/null +++ b/community/gvm/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=gvm +pkgver=7.0.2 +pkgrel=3 +pkgdesc="A layer between the OpenVAS Scanner and various client applications" +url="http://www.openvas.org/" +arch="all" +license="GPL" +depends="rsync sqlite libxslt sed gnutls-utils" +makedepends="cmake gvm-libs-dev sqlite-dev + libxslt-dev doxygen xmltoman perl-sql-translator + gpgme-dev libgcrypt-dev graphviz" +checkdepends="cppcheck" +subpackages="$pkgname-doc" +replaces="openvas-manager" +source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/$pkgname/archive/v$pkgver.tar.gz + $pkgname.initd + $pkgname.confd + $pkgname.logrotate + 000-sys-siglist.patch + backport-r29476.patch" +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + cmake -DCMAKE_BUILD_TYPE=Release \ + -DSBINDIR=/usr/bin \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc \ + -DLOCALSTATEDIR=/var . + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir/$pkgname.logrotate" "$pkgdir/etc/logrotate.d/$pkgname" + install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname" + install -Dm755 "$srcdir/$pkgname.confd" "$pkgdir/etc/conf.d/$pkgname" +} + +sha512sums="52792822768c1f145a3ecc63511db15c143b43b644733b627bbcde77c1d126e623d421392cd3bd7d4a16fb1517857393178963a26f0f6afd57c93df766daa786 gvm-7.0.2.tar.gz +932ba8dd818faf5158472da4d1305c6f6c84834334721aa358e2e9f1d7419cdd6e366f4e9ea9b19412e00010f919dc9155346ed0566eca533e973abe80f3ee67 gvm.initd +5946db68bb5f7b3bf7cbae208a0fea6c9e023631d9fcd610539d2cf7c6290c8f7c2f55e0b4c7011c2263584b9eb42c7eae07db338917e8cc49acb63eb3950e1f gvm.confd +a86f156ca822b7b9844dc1cb1cb65c0d2bc146fa4dde64fec851b13b3eaa54fd984946b9336a2ffd0efbaf1c2053ab417067519fb18b807c5c1ce66cf1ee4a9b gvm.logrotate +f4ce7cb1fc4f34e5679f9e1005cf2ea57cbb3b5807910d5d44cea9499f2ff780feac6b93d1a66d5533106414f60631b274d993b281e4bd5089cd7827d08a5306 000-sys-siglist.patch +90d71203566d282b83c480440300805f46fb93bccde67e905f020d3e651d20b55040bdd4692c1ce12a47e7384b1e10c196a5e3d857afc752b8b4f66238b0e57b backport-r29476.patch" |