- 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@maxempire.com (maintainer)
This commit is contained in:
Thomas Zander 2014-12-20 13:00:59 +00:00
parent ce69d15623
commit c4aa75da0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375001
4 changed files with 20 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= clamav-unofficial-sigs
PORTVERSION= 3.7.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SF/unofficial-sigs/

View File

@ -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"

View File

@ -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

View File

@ -1,5 +1,5 @@
bin/clamav-unofficial-sigs.sh
@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