head	1.7;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3;
locks; strict;
comment	@# @;


1.7
date	2008.12.09.15.36.57;	author garga;	state Exp;
branches;
next	1.6;

1.6
date	2008.10.16.16.20.12;	author garga;	state Exp;
branches;
next	1.5;

1.5
date	2007.05.29.17.33.52;	author garga;	state Exp;
branches;
next	1.4;

1.4
date	2007.02.18.18.36.49;	author garga;	state Exp;
branches;
next	1.3;

1.3
date	2006.04.07.10.10.20;	author garga;	state Exp;
branches;
next	1.2;

1.2
date	2004.03.01.10.35.30;	author mbr;	state dead;
branches;
next	1.1;

1.1
date	2004.02.11.10.39.34;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.7
log
@- Update to 20081209
@
text
@--- configure.orig	2008-10-15 07:41:31.000000000 -0300
+++ configure	2008-10-15 08:55:58.000000000 -0300
@@@@ -17909,7 +17909,7 @@@@
     ;;
 freebsd*)
     if test "$have_pthreads" = "yes"; then
-	THREAD_LIBS="-lthr"
+	THREAD_LIBS="%%PTHREAD_LIBS%%"
 	TH_SAFE="-thread-safe"
 
 cat >>confdefs.h <<\_ACEOF
@@@@ -18269,7 +18269,7 @@@@
 if test "$have_milter" = "yes"; then
 
         save_LIBS="$LIBS"
-    CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
+    CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $THREAD_LIBS"
     if test -d /usr/lib/libmilter ; then
 	CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
     fi
@


1.6
log
@- Update to 20081016
@
text
@a20 26
@@@@ -18806,19 +18806,25 @@@@
     sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
 
 
+if echo "$sendmailver_a" | egrep -q '^[0-9]+$'; then
 cat >>confdefs.h <<_ACEOF
 #define SENDMAIL_VERSION_A $sendmailver_a
 _ACEOF
+fi
 
 
+if echo "$sendmailver_b" | egrep -q '^[0-9]+$'; then
 cat >>confdefs.h <<_ACEOF
 #define SENDMAIL_VERSION_B $sendmailver_b
 _ACEOF
+fi
 
 
+if echo "$sendmailver_c" | egrep -q '^[0-9]+$'; then
 cat >>confdefs.h <<_ACEOF
 #define SENDMAIL_VERSION_C $sendmailver_c
 _ACEOF
+fi
 
   fi
   if test "x$ac_cv_have_lresolv_r" != "xyes"; then
@


1.5
log
@- Update to 20070529
- Make all last changes that i've made on security/clamav:
  o Make arc, arj, lha and unzoo achives support dependency as OPTIONS
  o Fix build with gethostbyname_r after 601103
  o Install clamav-config.h
  o Change clamav-milter rc.d script to use a var to determine seconds of
    timeout to wait clamd socket be started, just if clamav_clamd_enable
    is set
@
text
@d1 21
a21 3
--- configure.orig	Thu Mar  1 20:46:19 2007
+++ configure	Tue Mar 13 10:28:27 2007
@@@@ -22431,19 +22431,25 @@@@
d46 1
a46 19
 fi
@@@@ -23087,7 +23093,7 @@@@
     ;;
 freebsd*)
     if test "$have_pthreads" = "yes"; then
-	THREAD_LIBS="-pthread -lc_r"
+	THREAD_LIBS="%%PTHREAD_LIBS%%"
 	TH_SAFE="-thread-safe"
 
 cat >>confdefs.h <<\_ACEOF
@@@@ -23427,7 +23433,7 @@@@
 if test "$have_milter" = "yes"; then
 
         save_LDFLAGS="$LDFLAGS"
-	CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
+	CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS %%PTHREAD_LIBS%%"
     if test -d /usr/lib/libmilter ; then
 	CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
     fi
@


1.4
log
@- Update to 20070218
- Make all cleanups and changes i made on security/clamav port
- Add CURL and LDAP OPTION
@
text
@d1 3
a3 3
--- configure.orig	Thu Jun 23 23:12:00 2005
+++ configure	Tue Jun 28 20:53:10 2005
@@@@ -11195,19 +11201,25 @@@@
d29 18
@


1.3
log
@- Update to 20060406 snapshot -- fix multiple vulnerabilities
   * CVE-2006-1614
      Damian Put discovered an integer overflow in the PE header parser.
      This is only exploitable if the ArchiveMaxFileSize option is disabled.
   * CVE-2006-1615
      Format string vulnerabilities in the logging code have been discovered,
      which might lead to the execution of arbitrary code.
   * CVE-2006-1630
      David Luyer discovered, that ClamAV can be tricked into an invalid
      memory access in the cli_bitset_set() function, which may lead to
      a denial of service.

- Synchronize with clamav port using SUB_FILES, USE_RC_SUBR

PR:		ports/95425
Submitted by:	garga
Security:	VuXML 6a5174bd-c580-11da-9110-00123ffe8333
@
text
@a2 20
@@@@ -10914,6 +10914,9 @@@@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 $ac_includes_default
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
 #include <resolv.h>
 _ACEOF
 rm -f conftest.$ac_objext
@@@@ -10957,6 +10960,9 @@@@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
 #include <resolv.h>
 _ACEOF
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
@


1.2
log
@Upgrade to 20040229 snapshot.

Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d1 45
a45 3
--- configure.bak	Fri Feb  6 14:46:08 2004
+++ configure	Tue Feb 10 17:44:13 2004
@@@@ -9316,23 +9316,12 @@@@
d47 2
a48 22
 
 
-if test ! -r "$cfg_dir/clamav.conf"; then
-  INSTALL_CLAMAV_CONF_TRUE=
-  INSTALL_CLAMAV_CONF_FALSE='#'
-else
   INSTALL_CLAMAV_CONF_TRUE='#'
   INSTALL_CLAMAV_CONF_FALSE=
-fi
 
 
-
-if test ! -r "$cfg_dir/freshclam.conf"; then
-  INSTALL_FRESHCLAM_CONF_TRUE=
-  INSTALL_FRESHCLAM_CONF_FALSE='#'
-else
   INSTALL_FRESHCLAM_CONF_TRUE='#'
   INSTALL_FRESHCLAM_CONF_FALSE=
-fi
 
 
 if test "$test_urandom" = "yes"
@


1.1
log
@- update to 20040210
- The install doesn't delete the database anymore
- Don't remove the database on deinstall
- Use OPTIONS target
- handle all config install via the port

You have to run freshclam manually once after upgrade to restore the database.

PR:		62653
Submitted by:	rob@@debank.tv

- Fix deinstall when no database was installed.
Submitted by:	dinoex
@
text
@@

