mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 01:46:55 -04:00
The following ports part of security gvm were updated security/gvmd: Update to 21.4.0 security/gvm-libs: Update to 21.4.0 security/openvas: Update to 21.4.0 security/py-ospd-openvas: Update to 21.4.0 security/py-ospd: Update to 21.4.0 security/greenbone-security-assistant: Update to 21.4.0 security/py-python-gvm: Update to 21.5.2 security/py-gvm-tools: Update to 21.6.0 Notable Changes in this Release - All components and the feed support CVSSv3/CVSSv3.1 - GSA contains a new calculator for these CVSS versions - Rework of the login page in GSA to have a better entry point into our software - Dropped support for Internet Explorer - Dropped support for Microsoft Edge <= 18 - Removed auto false positive feature - Removed GMP scanner support - Dropped dynamic severity classes - Removed support for Python 3.5 and lower PR: 254630 254632 Reported by: Eirik Oeverby <ltning-freebsd at anduin.net>
55 lines
2.1 KiB
Text
55 lines
2.1 KiB
Text
--- tools/greenbone-nvt-sync.in 2021-04-15 09:39:00.000000000 -0500
|
|
+++ tools/greenbone-nvt-sync.in 2021-06-15 16:41:18.698165000 -0500
|
|
@@ -87,10 +87,10 @@
|
|
LOG_CMD="logger -t $SCRIPT_NAME"
|
|
|
|
check_logger () {
|
|
- logger --socket-error=on -p daemon.info -t $SCRIPT_NAME "Checking logger" --no-act 1>/dev/null 2>&1
|
|
+ logger -p daemon.info -t $SCRIPT_NAME "Checking logger" 1>/dev/null 2>&1
|
|
if [ $? -gt 0 ]
|
|
then
|
|
- LOG_CMD="logger --socket-error=off -s -t $SCRIPT_NAME"
|
|
+ LOG_CMD="logger -s -t $SCRIPT_NAME"
|
|
$LOG_CMD -p daemon.warning "The log facility is not working as expected. All messages will be written to the standard error stream."
|
|
fi
|
|
}
|
|
@@ -202,7 +202,7 @@
|
|
SYNC_TMP_DIR=/tmp
|
|
# If we have mktemp, create a temporary dir (safer)
|
|
if [ -n "`which mktemp`" ]; then
|
|
- SYNC_TMP_DIR=`mktemp -t -d greenbone-nvt-sync.XXXXXXXXXX` || { echo "ERROR: Cannot create temporary directory for file download" >&2; exit 1 ; }
|
|
+ SYNC_TMP_DIR=`mktemp -d /tmp/greenbone-nvt-sync.XXXXXXXXXX` || { echo "ERROR: Cannot create temporary directory for file download" >&2; exit 1 ; }
|
|
trap "rm -rf $SYNC_TMP_DIR" EXIT HUP INT TRAP TERM
|
|
fi
|
|
else
|
|
@@ -437,7 +437,7 @@
|
|
log_err "rsync failed, aborting synchronization."
|
|
exit 1
|
|
fi
|
|
- eval "cd \"$NVT_DIR\" ; md5sum -c --status \"$NVT_DIR/md5sums\""
|
|
+ eval "cd \"$NVT_DIR\" ; xargs -n 2 md5 -c < \"$NVT_DIR/md5sums\" > /dev/null"
|
|
if [ $? -ne 0 ] ; then
|
|
if [ -n "$retried" ]
|
|
then
|
|
@@ -471,10 +471,10 @@
|
|
|
|
do_self_test ()
|
|
{
|
|
- MD5SUM_AVAIL=`command -v md5sum`
|
|
+ MD5SUM_AVAIL=`command -v md5`
|
|
if [ $? -ne 0 ] ; then
|
|
SELFTEST_FAIL=1
|
|
- stderr_write "The md5sum binary could not be found."
|
|
+ stderr_write "The md5 binary could not be found."
|
|
fi
|
|
|
|
RSYNC_AVAIL=`command -v rsync`
|
|
@@ -512,7 +512,7 @@
|
|
log_write "Feed is already current, skipping synchronization."
|
|
else
|
|
(
|
|
- chmod +660 $OPENVAS_FEED_LOCK_PATH
|
|
+ chmod 660 $OPENVAS_FEED_LOCK_PATH
|
|
flock -n 9
|
|
if [ $? -eq 1 ] ; then
|
|
log_warning "Another process related to the feed update is already running"
|