- fix the configure script so that TCP Wrappers support gets enabled.

- bump SHARED_LIBS / PKGNAME.
- while there, remove quotes from COMMENT.

ok mbalmer@
This commit is contained in:
aanriot 2007-08-02 18:12:55 +00:00
parent 5f828efde4
commit 2ec9466f64
2 changed files with 25 additions and 9 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.30 2007/06/13 17:25:00 aanriot Exp $
# $OpenBSD: Makefile,v 1.31 2007/08/02 18:12:55 aanriot Exp $
COMMENT= "virus scanner"
COMMENT= virus scanner
DISTNAME= clamav-0.90.3
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= security
SHARED_LIBS= clamav 4.1 # .4.1
SHARED_LIBS= clamav 4.2 # .4.1
HOMEPAGE= http://www.clamav.net/
@ -16,7 +16,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto idn pthread ssl z milter
WANTLIB= c crypto idn milter pthread ssl wrap z
LIB_DEPENDS= gmp.>=6::devel/gmp \
curl.>=2::net/curl \

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.8 2007/05/31 16:02:27 aanriot Exp $
--- configure.orig Thu Mar 1 23:46:19 2007
+++ configure Tue Mar 13 09:27:55 2007
$OpenBSD: patch-configure,v 1.9 2007/08/02 18:12:55 aanriot Exp $
--- configure.orig Thu May 31 00:09:14 2007
+++ configure Sun Jul 29 14:32:16 2007
@@ -21664,11 +21664,11 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef __cplusplus
extern "C"
@ -15,7 +15,7 @@ $OpenBSD: patch-configure,v 1.8 2007/05/31 16:02:27 aanriot Exp $
;
return 0;
}
@@ -23145,11 +23146,9 @@ _ACEOF
@@ -23178,11 +23178,9 @@ _ACEOF
;;
openbsd*)
if test "$have_pthreads" = "yes"; then
@ -30,3 +30,19 @@ $OpenBSD: patch-configure,v 1.8 2007/05/31 16:02:27 aanriot Exp $
TH_SAFE="-thread-safe"
cat >>confdefs.h <<\_ACEOF
@@ -24304,6 +24302,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h>
#include <tcpd.h>
int allow_severity = 0;
int deny_severity = 0;
@@ -24356,6 +24355,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h>
#include <tcpd.h>
int allow_severity = 0;
int deny_severity = 0;