head	1.13;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2;
locks; strict;
comment	@# @;


1.13
date	2009.03.27.11.52.22;	author garga;	state Exp;
branches;
next	1.12;

1.12
date	2008.11.03.22.48.53;	author garga;	state Exp;
branches;
next	1.11;

1.11
date	2008.09.15.19.56.36;	author garga;	state Exp;
branches;
next	1.10;

1.10
date	2007.03.13.20.11.16;	author garga;	state Exp;
branches;
next	1.9;

1.9
date	2007.03.05.11.32.06;	author garga;	state Exp;
branches;
next	1.8;

1.8
date	2007.03.01.16.02.14;	author garga;	state Exp;
branches;
next	1.7;

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

1.6
date	2005.06.28.18.57.42;	author jylefort;	state Exp;
branches;
next	1.5;

1.5
date	2005.06.24.18.25.37;	author lawrance;	state Exp;
branches;
next	1.4;

1.4
date	2005.06.23.13.08.06;	author jylefort;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.14.09.30.47;	author eik;	state Exp;
branches;
next	1.2;

1.2
date	2004.04.01.16.36.29;	author eik;	state Exp;
branches;
next	1.1;

1.1
date	2004.03.06.20.45.47;	author eik;	state Exp;
branches;
next	;


desc
@@


1.13
log
@- Update to 0.95
@
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.12
log
@- Update to 0.94.1
- Add --libdir to CONFIGURE_ARGS to fix libdir detection under 6.x
@
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.11
log
@- Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports
- Bump necessary PORTREVISIONS
- Fix some BROKEN messages from ports that were already broken with clamav-0.93
- Mark security/klamav as BROKEN since it doesn't build with clamav-0.94

PR:		ports/127122 [1], ports/127310 [2]
Submitted by:	Gary Palmer <freebsd-gnats@@in-addr.com> [1], delphij [2]
Approved by:	portmgr (pav)
@
text
@d1 3
a3 3
--- configure.orig	2008-09-01 15:41:18.000000000 -0300
+++ configure	2008-09-05 08:57:53.000000000 -0300
@@@@ -16571,7 +16571,7 @@@@
d12 1
a12 1
@@@@ -16931,7 +16931,7 @@@@
d15 3
a17 3
         save_LDFLAGS="$LDFLAGS"
-	CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
+	CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $THREAD_LIBS"
d21 1
a21 1
@@@@ -17468,19 +17468,25 @@@@
@


1.10
log
@- Update clamav to 0.90.1
- Use -lthr to build clamav since it has problems with libpthread
- Bump PORTREVISION of dependant ports, libclamav version was bumped
- Fix clamcour to build with clamav-0.90.x using patch sent by maintainer
@
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.9
log
@Fix pthread lib for clamav-milter

PR:		ports/109792
Submitted by:	Eugene Grosbein <eugen@@kuzbass.ru>
@
text
@d1 3
a3 3
--- configure.orig	Mon Feb 12 23:11:56 2007
+++ configure	Mon Mar  5 08:25:35 2007
@@@@ -22426,19 +22426,25 @@@@
d29 1
a29 1
@@@@ -23082,7 +23088,7 @@@@
d33 1
a33 1
-	THREAD_LIBS="-lpthread -lc_r"
d38 1
a38 1
@@@@ -23395,7 +23401,7 @@@@
@


1.8
log
@Change the way to patch configure to respect ${PTHREAD_LIBS} to a better one.
@
text
@d2 1
a2 1
+++ configure	Thu Mar  1 13:00:28 2007
d38 9
@


1.7
log
@- Update to 0.90
- Cleanup a little bit

PR:		ports/109185 (Based on)
Submitted by:	Michael Scheidell <scheidell@@secnap.net>
@
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 9
@


1.6
log
@Fix the fix of the compilation of the milter interface.
@
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.5
log
@- Update to 0.86.1
A possible crash in the libmspack's Quantum decompressor has been fixed.

PR:		ports/82604
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
Approved by:	maintainer
@
text
@d1 2
a2 2
--- configure.orig	Sun Jun 19 21:56:23 2005
+++ configure	Thu Jun 23 14:57:09 2005
d23 26
@


1.4
log
@- Fix compilation of the milter interface [1]
- Unconditionally define PORTDOCS, as bsd.port.mk now tests ${NOPORTDOCS}

[1]:
PR:		ports/82543
Submitted by:	Thomas Abthorpe <thomas@@stthomasanglican.org>
@
text
@a22 9
@@@@ -13267,7 +13273,7 @@@@
 # Check whether --enable-gethostbyname_r or --disable-gethostbyname_r was given.
 if test "${enable_gethostbyname_r+set}" = set; then
   enableval="$enable_gethostbyname_r"
-  disable_gethostbyname_r=$enableval
+  test $enableval = yes && disable_gethostbyname_r=no || disable_gethostbyname_r=yes
 fi;
 
 if test "$disable_gethostbyname_r" = "yes"; then
@


1.3
log
@- update to 0.80rc4
  + JPEG comment exploit (MS04-028) detection

  *** IMPORTANT ***
  The configruration file for the clamd daemon has changed from
  /usr/local/etc/clamav.conf to /usr/local/etc/clamd.conf.

PR:		72203
Approved by:	Rob Evers <revers@@infraqon.nl> (maintainer)
@
text
@d1 3
a3 3
--- configure.orig	Mon Mar 15 21:04:49 2004
+++ configure	Thu Apr  1 14:56:36 2004
@@@@ -10635,6 +10635,9 @@@@
d13 1
a13 1
@@@@ -10678,6 +10681,9 @@@@
d23 9
@


1.2
log
@Update to clamav 0.70

- new thread manager (with better SMP support)
- new switch ArchiveDetectEncrypted
- new directive: ArchiveDetectEncrypted
- see /usr/local/share/doc/clamav/NEWS
- install html documentation to /usr/local/share/doc/clamav/html

added CLAMAVUSER/CLAMAVGROUP support

Adopted the port to ensure timely fixes in case I broke something :P
Please reset the maintainer if TERAMOTO Masahiro shows up again.
@
text
@d3 20
a22 18
@@@@ -9329,7 +9329,7 @@@@
 
 
 
-if test ! -r "$cfg_dir/clamav.conf"; then
+if true; then
   INSTALL_CLAMAV_CONF_TRUE=
   INSTALL_CLAMAV_CONF_FALSE='#'
 else
@@@@ -9339,7 +9339,7 @@@@
 
 
 
-if test ! -r "$cfg_dir/freshclam.conf"; then
+if true; then
   INSTALL_FRESHCLAM_CONF_TRUE=
   INSTALL_FRESHCLAM_CONF_FALSE='#'
 else
@


1.1
log
@- update to version 0.67-1

PR:		63065
Reviewed by:	Angelo Turetta <aturetta@@commit.it>
Approved by:	maintainer timeout (2 weeks)
@
text
@d1 3
a3 3
--- configure.orig	Thu Feb 19 14:18:40 2004
+++ configure	Thu Feb 19 14:19:31 2004
@@@@ -9317,7 +9317,7 @@@@
d12 1
a12 1
@@@@ -9327,7 +9327,7 @@@@
a20 8
@@@@ -9564,6 +9564,7 @@@@
   cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 #include "confdefs.h"
+#include <sys/types.h>
 #include <netinet/in.h>
 int main(int argc, char **argv) { in_port_t pt; pt = 0; return pt; }
 _ACEOF
@

