aboutsummaryrefslogtreecommitdiffstats
path: root/community/gvmd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-04-09 12:13:55 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-04-09 12:17:08 +0000
commit59596e5b58e5e2b5e07cccbc47ac76352fc656b6 (patch)
treeaae63bc32e7ba3d74b024ec50cf9e6386c789e76 /community/gvmd
parent5672b71639cbbdf11fd82f4adf1eec7a2d5822dc (diff)
downloadaports-59596e5b58e5e2b5e07cccbc47ac76352fc656b6.tar.bz2
aports-59596e5b58e5e2b5e07cccbc47ac76352fc656b6.tar.xz
community/gvmd: added greenbone*-sync.conf files
HTTPS access is not available for the Openvas Community Edition: https://community.greenbone.net/t/offline-updates-for-greenbone-sec-mgr-virtual-machine-community/151/4 These config files allows these commands to use rsync rather than http(s): greenbone-nvt-sync greenbone-scapdata-sync greenbone-certdata-sync
Diffstat (limited to 'community/gvmd')
-rw-r--r--community/gvmd/APKBUILD11
-rw-r--r--community/gvmd/greenbone-certdata-sync.conf1
-rw-r--r--community/gvmd/greenbone-nvt-sync.conf1
-rw-r--r--community/gvmd/greenbone-scapdata-sync.conf1
4 files changed, 13 insertions, 1 deletions
diff --git a/community/gvmd/APKBUILD b/community/gvmd/APKBUILD
index 8a6c16d3d3..e2b82980dc 100644
--- a/community/gvmd/APKBUILD
+++ b/community/gvmd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gvmd
pkgver=8.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Greenbone Vulnerability Manager"
url="http://www.openvas.org/"
arch="all"
@@ -18,6 +18,9 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/gvmd/archive/v$pkg
$pkgname.initd
$pkgname.confd
$pkgname.logrotate
+ greenbone-nvt-sync.conf
+ greenbone-certdata-sync.conf
+ greenbone-scapdata-sync.conf
sys-siglist.patch"
builddir="$srcdir"/$pkgname-$pkgver
@@ -42,10 +45,16 @@ package() {
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"
+ for f in nvt certdata scapdata; do
+ install -Dm755 "$srcdir"/greenbone-$f-sync.conf "$pkgdir"/etc/gvm/greenbone-$f-sync.conf
+ done
}
sha512sums="bb116691c7c737a11bb8a0d016edc358e6c20ab32b3cccc960cfcf2ad877d5332a0394bcc9d8fcaf1b5de9adaf03ee674143af98ce12f7fd5f3b76c2d863cf52 gvmd-8.0.0.tar.gz
41e45352ef98f7183171c3889fcefe192e530be6b2eecd4e4dde4c0f333f3741481c744592285917da313262e6fb2665a75f813b38bca7a9330765bc5da8b5f3 gvmd.initd
5946db68bb5f7b3bf7cbae208a0fea6c9e023631d9fcd610539d2cf7c6290c8f7c2f55e0b4c7011c2263584b9eb42c7eae07db338917e8cc49acb63eb3950e1f gvmd.confd
0988482eb3223309eeafd1abc3f3dd94c08d2b273de00a546f598af5e8c90023410218d15e5cc289eeae611e4bc16e2536782b24c645854e8ffa51d19efb5550 gvmd.logrotate
+964779adc39cbed191bccf02ccc408a263860002d2dbddee755cf0d015336814b0b3c83f88a02cc0c5959657be5c49eb94380cd6ba15844e4b6088e49cd7a3f0 greenbone-nvt-sync.conf
+17df9386fc1dccf2fbe3b8d1fd499171f6681b61afe7b4c11ff9debc008798b31d1d02d59463031482d94e10833f0e71bde27cbbe422f23738c77b7c6ada79d2 greenbone-certdata-sync.conf
+37dbbd3f92f8baee8e89c274d820e03cba5ed5469a826f118897035c2f7719a915a71a6069eb6bf7f9a72e798b7837af9a6f25709215683d9d264292b5ccad66 greenbone-scapdata-sync.conf
4abf90aaf3a0da5cf3869b9b6eb2314bcd7376236e1d47f4ef37445b5ea98c89eeccb57056f71f6624d35167081f312c8fc8a60ac549584cc8aff350b683a90d sys-siglist.patch"
diff --git a/community/gvmd/greenbone-certdata-sync.conf b/community/gvmd/greenbone-certdata-sync.conf
new file mode 100644
index 0000000000..d31a7331d3
--- /dev/null
+++ b/community/gvmd/greenbone-certdata-sync.conf
@@ -0,0 +1 @@
+COMMUNITY_CERT_RSYNC_FEED="rsync://feed.openvas.org:/cert-data"
diff --git a/community/gvmd/greenbone-nvt-sync.conf b/community/gvmd/greenbone-nvt-sync.conf
new file mode 100644
index 0000000000..967c41dec2
--- /dev/null
+++ b/community/gvmd/greenbone-nvt-sync.conf
@@ -0,0 +1 @@
+COMMUNITY_NVT_RSYNC_FEED="rsync://feed.openvas.org:/nvt-feed"
diff --git a/community/gvmd/greenbone-scapdata-sync.conf b/community/gvmd/greenbone-scapdata-sync.conf
new file mode 100644
index 0000000000..4a7426bc80
--- /dev/null
+++ b/community/gvmd/greenbone-scapdata-sync.conf
@@ -0,0 +1 @@
+COMMUNITY_SCAP_RSYNC_FEED="rsync://feed.openvas.org:/scap-data"