View | Details | Raw Unified | Return to bug 82972
Collapse All | Expand All

(-)Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	clamav
8
PORTNAME=	clamav
9
PORTVERSION=	20050614
9
PORTVERSION=	20050704
10
PORTREVISION=	1
11
CATEGORIES=	security
10
CATEGORIES=	security
12
MASTER_SITES=	http://www.clamav.net/snapshot/ \
11
MASTER_SITES=	http://www.clamav.net/snapshot/ \
13
		http://www.galle.com.br/~renato/clamav-devel/
12
		http://www.galle.com.br/~renato/clamav-devel/
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (clamav-devel-20050614.tar.gz) = d7f4da0a938a1b40896a573cd952bab8
1
MD5 (clamav-devel-20050704.tar.gz) = a251640e7deb30cc45ad6dd9d3b0b7ca
2
SIZE (clamav-devel-20050614.tar.gz) = 1897147
2
SIZE (clamav-devel-20050704.tar.gz) = 1908468
(-)files/patch-configure.in (-28 / +19 lines)
Lines 1-25 Link Here
1
--- configure.in.orig	Tue Jun 14 00:41:54 2005
1
--- configure.in.orig	Mon Jul  4 10:18:26 2005
2
+++ configure.in	Tue Jun 28 20:47:59 2005
2
+++ configure.in	Mon Jul  4 10:21:50 2005
3
@@ -176,9 +176,15 @@
3
@@ -178,9 +178,15 @@
4
   sendmailver_b=`echo $sendmailver | awk -F. '{printf $2}'`
4
     sendmailver_b=`echo $sendmailver | awk -F. '{printf $2}'`
5
   sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
5
     sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
6
 
7
-  AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_A, $sendmailver_a, [major version of Sendmail])
8
-  AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_B, $sendmailver_b, [minor version of Sendmail])
9
-  AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_C, $sendmailver_c, [subversion of Sendmail])
10
+  if echo "$sendmailver_a" | egrep -q '^[0-9]+$'; then
11
+    AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_A, $sendmailver_a, [major version of Sendmail])
12
+  fi
13
+  if echo "$sendmailver_b" | egrep -q '^[0-9]+$'; then
14
+    AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_B, $sendmailver_b, [minor version of Sendmail])
15
+  fi
16
+  if echo "$sendmailver_c" | egrep -q '^[0-9]+$'; then
17
+    AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_C, $sendmailver_c, [subversion of Sendmail])
18
+  fi
19
 
6
 
7
-    AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_A, $sendmailver_a, [major version of Sendmail])
8
-    AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_B, $sendmailver_b, [minor version of Sendmail])
9
-    AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_C, $sendmailver_c, [subversion of Sendmail])
10
+    if echo "$sendmailver_a" | egrep -q '^[0-9]+$'; then
11
+      AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_A, $sendmailver_a, [major version of Sendmail])
12
+    fi
13
+    if echo "$sendmailver_b" | egrep -q '^[0-9]+$'; then
14
+      AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_B, $sendmailver_b, [minor version of Sendmail])
15
+    fi
16
+    if echo "$sendmailver_c" | egrep -q '^[0-9]+$'; then
17
+      AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_C, $sendmailver_c, [subversion of Sendmail])
18
+    fi
19
   fi
20
 fi
20
 fi
21
 
21
 
22
@@ -387,9 +393,6 @@
22
@@ -389,9 +395,6 @@
23
     ;;
23
     ;;
24
 freebsd*)
24
 freebsd*)
25
     if test "$have_pthreads" = "yes"; then
25
     if test "$have_pthreads" = "yes"; then
Lines 29-40 Link Here
29
 	TH_SAFE="-thread-safe"
29
 	TH_SAFE="-thread-safe"
30
 	AC_DEFINE(CL_THREAD_SAFE,1,[thread safe])
30
 	AC_DEFINE(CL_THREAD_SAFE,1,[thread safe])
31
 	AC_DEFINE(_REENTRANT,1,[thread safe])
31
 	AC_DEFINE(_REENTRANT,1,[thread safe])
32
@@ -732,7 +735,7 @@
33
 
34
 AC_ARG_ENABLE(gethostbyname_r,
35
 [  --disable-gethostbyname_r	  disable support for gethostbyname_r],
36
-disable_gethostbyname_r=$enableval,)
37
+test $enableval = yes && disable_gethostbyname_r=no || disable_gethostbyname_r=yes,)
38
 
39
 if test "$disable_gethostbyname_r" = "yes"; then
40
     AC_MSG_RESULT(support disabled)

Return to bug 82972