summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen>2007-03-05 12:29:18 +0000
committerghen <ghen>2007-03-05 12:29:18 +0000
commitcdf0e85426e004e7a5867c9dbc422d56437a9f22 (patch)
tree49faf034021f17bfcbde7282853fdd9dcf824395
parentf0d880494ec8753b381f562f0dfb7e5f8e8b938e (diff)
downloadpkgsrc-cdf0e85426e004e7a5867c9dbc422d56437a9f22.tar.gz
Pullup ticket 2038 - requested by salo
build/usability fixes for clamav - pkgsrc/mail/clamav/Makefile 1.69 via patch - pkgsrc/mail/clamav/options 1.1 - pkgsrc/mail/p5-Mail-ClamAV/Makefile 1.21 - pkgsrc/mail/p5-Mail-ClamAV/distinfo 1.7 Module Name: pkgsrc Committed By: wiz Date: Wed Feb 21 22:10:47 UTC 2007 Modified Files: pkgsrc/mail/p5-Mail-ClamAV: Makefile distinfo Log Message: Update to 0.20: - Updated for new clamav release 0.90 --- Module Name: pkgsrc Committed By: xtraeme Date: Wed Feb 28 20:42:05 UTC 2007 Modified Files: pkgsrc/mail/clamav: Makefile Added Files: pkgsrc/mail/clamav: options.mk Log Message: Disable --enable-experimental by default, because it does not work correctly with sparc64. Make it an option: clamav-experimental. Move all options into the options.mk file.
-rw-r--r--mail/clamav/Makefile34
-rw-r--r--mail/clamav/options.mk34
-rw-r--r--mail/p5-Mail-ClamAV/Makefile10
-rw-r--r--mail/p5-Mail-ClamAV/distinfo8
4 files changed, 46 insertions, 40 deletions
diff --git a/mail/clamav/Makefile b/mail/clamav/Makefile
index ad85bb44e42..3675c5af7b1 100644
--- a/mail/clamav/Makefile
+++ b/mail/clamav/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.66.2.1 2007/02/17 18:34:24 salo Exp $
+# $NetBSD: Makefile,v 1.66.2.2 2007/03/05 12:29:18 ghen Exp $
DISTNAME= clamav-${CLAMAV_VERSION}
PKGNAME= clamav-${CLAMAV_VERSION:S/-/./}
-#PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clamav/}
@@ -24,7 +24,6 @@ CONFIGURE_ARGS+= --with-uid=${CLAMAV_USER:Q}
CONFIGURE_ARGS+= --with-group=${CLAMAV_GROUP:Q}
CONFIGURE_ARGS+= --with-tcpwrappers
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
-CONFIGURE_ARGS+= --enable-experimental
.include "../../mk/bsd.prefs.mk"
@@ -52,34 +51,7 @@ CONF_FILES_PERMS+= ${EGDIR}/${i} ${CLAMAV_DBDIR}/${i} \
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} CFGINST=${EGDIR} DBINST=${EGDIR}
-PKG_OPTIONS_VAR= PKG_OPTIONS.clamav
-PKG_SUPPORTED_OPTIONS= curl milter
-PKG_SUGGESTED_OPTIONS= curl
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mmilter)
-# force use of pkgsrc version of libmilter -- clamav uses the sendmail binary
-# to check API compatibility(!), so it must build with as new a version of
-# libmilter as pkgsrc is capable of providing
-USE_BUILTIN.libmilter= no
-. include "../../mail/libmilter/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-milter
-PLIST_SUBST+= MILTER=
-.else
-CONFIGURE_ARGS+= --disable-milter
-# XXX --disable-milter doesn't work as expected, so we need this
-CONFIGURE_ENV+= ac_cv_header_libmilter_mfapi_h=no
-PLIST_SUBST+= MILTER="@comment "
-.endif
-
-.if !empty(PKG_OPTIONS:Mcurl)
-. include "../../www/curl/buildlink3.mk"
-CONFIGURE_ARGS+= --with-libcurl
-BUILDLINK_API_DEPENDS.curl+=curl>=7.10.0
-.else
-CONFIGURE_ARGS+= --without-libcurl
-.endif
+.include "options.mk"
# pkgsrc enforces a "secure" version of zlib, so don't let this check
# bomb the build.
diff --git a/mail/clamav/options.mk b/mail/clamav/options.mk
new file mode 100644
index 00000000000..ffe157caa48
--- /dev/null
+++ b/mail/clamav/options.mk
@@ -0,0 +1,34 @@
+# $NetBSD: options.mk,v 1.1.2.2 2007/03/05 12:29:19 ghen Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.clamav
+PKG_SUPPORTED_OPTIONS= curl milter clamav-experimental
+PKG_SUGGESTED_OPTIONS= curl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mmilter)
+# force use of pkgsrc version of libmilter -- clamav uses the sendmail binary
+# to check API compatibility(!), so it must build with as new a version of
+# libmilter as pkgsrc is capable of providing
+USE_BUILTIN.libmilter= no
+. include "../../mail/libmilter/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-milter
+PLIST_SUBST+= MILTER=
+.else
+CONFIGURE_ARGS+= --disable-milter
+# XXX --disable-milter doesn't work as expected, so we need this
+CONFIGURE_ENV+= ac_cv_header_libmilter_mfapi_h=no
+PLIST_SUBST+= MILTER="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Mcurl)
+. include "../../www/curl/buildlink3.mk"
+CONFIGURE_ARGS+= --with-libcurl
+BUILDLINK_API_DEPENDS.curl+=curl>=7.10.0
+.else
+CONFIGURE_ARGS+= --without-libcurl
+.endif
+
+.if !empty(PKG_OPTIONS:Mclamav-experimental)
+CONFIGURE_ARGS+= --enable-experimental
+.endif
diff --git a/mail/p5-Mail-ClamAV/Makefile b/mail/p5-Mail-ClamAV/Makefile
index 1688550cbb0..0c8384159d0 100644
--- a/mail/p5-Mail-ClamAV/Makefile
+++ b/mail/p5-Mail-ClamAV/Makefile
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.20 2006/11/19 11:50:24 wiz Exp $
+# $NetBSD: Makefile,v 1.20.2.1 2007/03/05 12:29:19 ghen Exp $
-DISTNAME= Mail-ClamAV-0.17
+DISTNAME= Mail-ClamAV-0.20
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 3
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Mail-ClamAV/
COMMENT= Perl5 module for mail/clamav virus scanner
DEPENDS+= p5-Inline>=0.40:../../devel/p5-Inline
-# this version needs clamav>=0.80
-BUILDLINK_API_DEPENDS.clamav+= clamav>=0.80
+# this version needs clamav>=0.90
+BUILDLINK_API_DEPENDS.clamav+= clamav>=0.90
PERL5_PACKLIST= auto/Mail/ClamAV/.packlist
PTHREAD_OPTS+= require
diff --git a/mail/p5-Mail-ClamAV/distinfo b/mail/p5-Mail-ClamAV/distinfo
index 5af41c165f9..0759a329955 100644
--- a/mail/p5-Mail-ClamAV/distinfo
+++ b/mail/p5-Mail-ClamAV/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2005/06/24 06:03:11 grant Exp $
+$NetBSD: distinfo,v 1.6.12.1 2007/03/05 12:29:19 ghen Exp $
-SHA1 (Mail-ClamAV-0.17.tar.gz) = 07681413f08b20a595e0a822c274477d0660fa00
-RMD160 (Mail-ClamAV-0.17.tar.gz) = d131fac8e409cb0222cf94cd46f45095ed0d8dc4
-Size (Mail-ClamAV-0.17.tar.gz) = 15441 bytes
+SHA1 (Mail-ClamAV-0.20.tar.gz) = 474e55ff77a8c1f3b0c996a97c34aa04e56a1113
+RMD160 (Mail-ClamAV-0.20.tar.gz) = 33b0627ccb542eda82f79e625d3f66ffe040bdfd
+Size (Mail-ClamAV-0.20.tar.gz) = 14377 bytes