svn commit: r375001 - in head/security/clamav-unofficial-sigs: . files
Thomas Zander
riggs at FreeBSD.org
Sat Dec 20 13:01:01 UTC 2014
Author: riggs
Date: Sat Dec 20 13:00:59 2014
New Revision: 375001
URL: https://svnweb.freebsd.org/changeset/ports/375001
QAT: https://qat.redports.org/buildarchive/r375001/
Log:
- Make port work on recent 10.x (does no longer assume BIND is present)
- Revert previous change that installs a default configuration file.
Maintainer explains the rationale behind this:
"Users must configure it themselves so that they are aware of what
additional databases are being downloaded and only way to make sure that
they read everything is to force them to manually copy the sample
configuration file."
PR: 195764
Submitted by: sf at maxempire.com (maintainer)
Modified:
head/security/clamav-unofficial-sigs/Makefile
head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh
head/security/clamav-unofficial-sigs/files/pkg-message.in
head/security/clamav-unofficial-sigs/pkg-plist
Modified: head/security/clamav-unofficial-sigs/Makefile
==============================================================================
--- head/security/clamav-unofficial-sigs/Makefile Sat Dec 20 12:40:44 2014 (r375000)
+++ head/security/clamav-unofficial-sigs/Makefile Sat Dec 20 13:00:59 2014 (r375001)
@@ -3,7 +3,7 @@
PORTNAME= clamav-unofficial-sigs
PORTVERSION= 3.7.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SF/unofficial-sigs/
Modified: head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh
==============================================================================
--- head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh Sat Dec 20 12:40:44 2014 (r375000)
+++ head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh Sat Dec 20 13:00:59 2014 (r375001)
@@ -1,5 +1,5 @@
--- clamav-unofficial-sigs.sh 2013-08-27 18:08:25.000000000 +0200
-+++ clamav-unofficial-sigs.sh.patched 2013-09-04 16:10:35.000000000 +0200
++++ clamav-unofficial-sigs.sh.patched 2014-12-06 23:55:50.000000000 +0100
@@ -16,7 +16,7 @@
# #
################################################################################
@@ -18,3 +18,15 @@
if [ -n "$pkg_mgr" -a -n "$pkg_rm" ]
then
echo " This script (clamav-unofficial-sigs) was installed on the system"
+@@ -1016,9 +1018,9 @@
+ comment "======================================================================"
+ comment "Sanesecurity Database & GPG Signature File Updates"
+ comment "======================================================================"
+- ss_mirror_ips=`dig +ignore +short $ss_url`
++ ss_mirror_ips=`host $ss_url | sed 's/.*\s//'`
+ for ss_mirror_ip in $ss_mirror_ips ; do
+- ss_mirror_name=`dig +short -x $ss_mirror_ip | sed 's/\.$//'`
++ ss_mirror_name=`host $ss_mirror_ip | sed 's/.*\s//' | sed 's/\.$//'`
+ ss_mirror_site_info="$ss_mirror_name $ss_mirror_ip"
+ comment ""
+ comment "Sanesecurity mirror site used: $ss_mirror_site_info"
Modified: head/security/clamav-unofficial-sigs/files/pkg-message.in
==============================================================================
--- head/security/clamav-unofficial-sigs/files/pkg-message.in Sat Dec 20 12:40:44 2014 (r375000)
+++ head/security/clamav-unofficial-sigs/files/pkg-message.in Sat Dec 20 13:00:59 2014 (r375001)
@@ -1,7 +1,11 @@
**********************************************************************
In order to start using clamav-unofficial-sigs, you need to configure
-modify the configuration file according to your needs:
+it first. A sample configuration file has been installed to:
+
+%%PREFIX%%/etc/clamav-unofficial-sigs.conf.sample
+
+Modify it according to your needs and copy to:
%%PREFIX%%/etc/clamav-unofficial-sigs.conf
Modified: head/security/clamav-unofficial-sigs/pkg-plist
==============================================================================
--- head/security/clamav-unofficial-sigs/pkg-plist Sat Dec 20 12:40:44 2014 (r375000)
+++ head/security/clamav-unofficial-sigs/pkg-plist Sat Dec 20 13:00:59 2014 (r375001)
@@ -1,5 +1,5 @@
bin/clamav-unofficial-sigs.sh
- at sample etc/clamav-unofficial-sigs.conf.sample
+etc/clamav-unofficial-sigs.conf.sample
man/man8/clamav-unofficial-sigs.8.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
More information about the svn-ports-head
mailing list