Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.0] New URL for feed download. #1043

Merged
merged 2 commits into from
Apr 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Change rows of built-in default filters to -2 (use "Rows Per Page" setting) [#897](https://github.com/greenbone/gvmd/pull/897)
- Update SCAP and CERT feed info in sync scripts [#808](https://github.com/greenbone/gvmd/pull/808)
- Count only best OS matches for OS asset hosts [#1027](https://github.com/greenbone/gvmd/pull/1027)
- New Community Feed download URL in sync tools [#1043](https://github.com/greenbone/gvmd/pull/1043)

### Fixed
- Allow to migrate gvmd 8 sqlite3 database to postgres with gvm-migrate-to-postgres script
Expand Down
6 changes: 3 additions & 3 deletions tools/greenbone-certdata-sync.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# Copyright (C) 2011-2018 Greenbone Networks GmbH
# Copyright (C) 2011-2020 Greenbone Networks GmbH
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
Expand Down Expand Up @@ -135,9 +135,9 @@ else
fi

if [ -z "$COMMUNITY_CERT_RSYNC_FEED" ]; then
COMMUNITY_CERT_RSYNC_FEED=rsync://feed.openvas.org:/cert-data
COMMUNITY_CERT_RSYNC_FEED=rsync://feed.community.greenbone.net:/cert-data
# An alternative syntax which might work if the above doesn't:
# COMMUNITY_CERT_RSYNC_FEED=rsync@feed.openvas.org::cert-data
# COMMUNITY_CERT_RSYNC_FEED=rsync@feed.community.greenbone.net::cert-data
fi

fi
Expand Down
10 changes: 5 additions & 5 deletions tools/greenbone-scapdata-sync.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# Copyright (C) 2011-2018 Greenbone Networks GmbH
# Copyright (C) 2011-2020 Greenbone Networks GmbH
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
Expand Down Expand Up @@ -139,9 +139,9 @@ else
fi

if [ -z "$COMMUNITY_SCAP_RSYNC_FEED" ]; then
COMMUNITY_SCAP_RSYNC_FEED=rsync://feed.openvas.org:/scap-data
COMMUNITY_SCAP_RSYNC_FEED=rsync://feed.community.greenbone.net:/scap-data
# An alternative syntax which might work if the above doesn't:
# COMMUNITY_SCAP_RSYNC_FEED=rsync@feed.openvas.org::scap-data
# COMMUNITY_SCAP_RSYNC_FEED=rsync@feed.community.greenbone.net::scap-data
fi

fi
Expand Down Expand Up @@ -354,9 +354,9 @@ do_help () {

do_rsync_community_feed () {
if [ -z "$COMMUNITY_SCAP_RSYNC_FEED" ]; then
COMMUNITY_SCAP_RSYNC_FEED=rsync://feed.openvas.org:/scap-data
COMMUNITY_SCAP_RSYNC_FEED=rsync://feed.community.greenbone.net:/scap-data
# An alternative syntax which might work if the above doesn't:
# COMMUNITY_SCAP_RSYNC_FEED=rsync@feed.openvas.org::scap-data
# COMMUNITY_SCAP_RSYNC_FEED=rsync@feed.communiy.greenbone.net::scap-data
fi

if [ -z "$RSYNC" ]; then
Expand Down