diff options
author | adam <adam@pkgsrc.org> | 2012-07-29 10:11:17 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-07-29 10:11:17 +0000 |
commit | f6d7016067e5c3f5fd5f94c00864668263aaf648 (patch) | |
tree | 4ac9691b3878b7ee5175d7e0aa30821050b08916 /www/c-icap-modules | |
parent | e17a9ce6f9c3f18f4796b367854ba4db2feba420 (diff) | |
download | pkgsrc-f6d7016067e5c3f5fd5f94c00864668263aaf648.tar.gz |
Changes 0.2.1:
* Bug fixes
Diffstat (limited to 'www/c-icap-modules')
-rw-r--r-- | www/c-icap-modules/Makefile | 4 | ||||
-rw-r--r-- | www/c-icap-modules/PLIST | 14 | ||||
-rw-r--r-- | www/c-icap-modules/distinfo | 14 | ||||
-rw-r--r-- | www/c-icap-modules/options.mk | 4 | ||||
-rw-r--r-- | www/c-icap-modules/patches/patch-configure | 10 | ||||
-rw-r--r-- | www/c-icap-modules/patches/patch-services_clamav_Makefile.in | 16 | ||||
-rw-r--r-- | www/c-icap-modules/patches/patch-services_url_check_Makefile.in | 27 | ||||
-rw-r--r-- | www/c-icap-modules/patches/patch-services_virus_scan_Makefile.in | 16 |
8 files changed, 61 insertions, 44 deletions
diff --git a/www/c-icap-modules/Makefile b/www/c-icap-modules/Makefile index 8666842e259..da37bdb87af 100644 --- a/www/c-icap-modules/Makefile +++ b/www/c-icap-modules/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2011/08/31 07:47:17 adam Exp $ +# $NetBSD: Makefile,v 1.3 2012/07/29 10:11:18 adam Exp $ -DISTNAME= c_icap_modules-0.1.6 +DISTNAME= c_icap_modules-0.2.1 PKGNAME= ${DISTNAME:S/_/-/g} CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=c-icap/} diff --git a/www/c-icap-modules/PLIST b/www/c-icap-modules/PLIST index ec4aef46671..0defd6bffa8 100644 --- a/www/c-icap-modules/PLIST +++ b/www/c-icap-modules/PLIST @@ -1,5 +1,13 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/11 04:30:06 adam Exp $ -${PLIST.clamav}lib/c_icap/srv_clamav.la +@comment $NetBSD: PLIST,v 1.2 2012/07/29 10:11:18 adam Exp $ +${PLIST.clamav}lib/c_icap/virus_scan.la +bin/c-icap-mods-sguardDB lib/c_icap/srv_url_check.la -${PLIST.clamav}share/c-icap/srv_clamav.conf.default +${PLIST.clamav}share/c-icap/virus_scan.conf.default +man/man8/c-icap-mods-sguardDB.8 share/c-icap/srv_url_check.conf.default +share/c_icap/templates/srv_url_check/en/DENY +${PLIST.clamav}share/c_icap/templates/virus_scan/en/VIRUS_FOUND +${PLIST.clamav}share/c_icap/templates/virus_scan/en/VIR_MODE_HEAD +${PLIST.clamav}share/c_icap/templates/virus_scan/en/VIR_MODE_PROGRESS +${PLIST.clamav}share/c_icap/templates/virus_scan/en/VIR_MODE_TAIL +${PLIST.clamav}share/c_icap/templates/virus_scan/en/VIR_MODE_VIRUS_FOUND diff --git a/www/c-icap-modules/distinfo b/www/c-icap-modules/distinfo index e76f2ed6ba6..42fea39fa46 100644 --- a/www/c-icap-modules/distinfo +++ b/www/c-icap-modules/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.2 2011/08/31 07:47:17 adam Exp $ +$NetBSD: distinfo,v 1.3 2012/07/29 10:11:18 adam Exp $ -SHA1 (c_icap_modules-0.1.6.tar.gz) = 535f203e6665320f6b2cd93697f5acdcb37c8f0d -RMD160 (c_icap_modules-0.1.6.tar.gz) = 200d5a45f13b3e4159468445abdc113411eda1bb -Size (c_icap_modules-0.1.6.tar.gz) = 321011 bytes -SHA1 (patch-configure) = dd712ea5e18de59535200caef9d7298d5668dc58 -SHA1 (patch-services_clamav_Makefile.in) = cb6b6445cbc2b9811f70b1cc115ff843d65dbbdd -SHA1 (patch-services_url_check_Makefile.in) = 2033feaec3f6d8680c98106f17d24e862a3446dc +SHA1 (c_icap_modules-0.2.1.tar.gz) = a8a6b4efabfc11b8eff955bbdf8c67b6fadff649 +RMD160 (c_icap_modules-0.2.1.tar.gz) = c735e9a27f540f9d03d11f4d7cb4be502dcf6250 +Size (c_icap_modules-0.2.1.tar.gz) = 348245 bytes +SHA1 (patch-configure) = a666aa9b4b6b62c48899c0b5a659ef1cfc7d0d6a +SHA1 (patch-services_url_check_Makefile.in) = 600105b3cce752ebc3d21b66638e454d98ac2d45 +SHA1 (patch-services_virus_scan_Makefile.in) = 8a1ce7d863757f8851a06d621a1163d7a605b893 diff --git a/www/c-icap-modules/options.mk b/www/c-icap-modules/options.mk index abc32dfbcb5..24ee7b509db 100644 --- a/www/c-icap-modules/options.mk +++ b/www/c-icap-modules/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1.1.1 2011/05/11 04:30:06 adam Exp $ +# $NetBSD: options.mk,v 1.2 2012/07/29 10:11:18 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.c-icap PKG_SUPPORTED_OPTIONS= bdb clamav @@ -20,7 +20,7 @@ CONFIGURE_ARGS+= --without-bdb .if !empty(PKG_OPTIONS:Mclamav) PLIST.clamav= yes CONFIGURE_ARGS+= --with-clamav -CONF_FILES+= ${EGDIR}/srv_clamav.conf.default ${PKG_SYSCONFDIR}/srv_clamav.conf +CONF_FILES+= ${EGDIR}/virus_scan.conf.default ${PKG_SYSCONFDIR}/virus_scan.conf . include "../../security/clamav/buildlink3.mk" .else CONFIGURE_ARGS+= --without-clamav diff --git a/www/c-icap-modules/patches/patch-configure b/www/c-icap-modules/patches/patch-configure index 7b24c48d88d..55d52bbaf67 100644 --- a/www/c-icap-modules/patches/patch-configure +++ b/www/c-icap-modules/patches/patch-configure @@ -1,10 +1,10 @@ -$NetBSD: patch-configure,v 1.1.1.1 2011/05/11 04:30:06 adam Exp $ +$NetBSD: patch-configure,v 1.2 2012/07/29 10:11:18 adam Exp $ Detect Berkeley DB. --- configure.orig 2011-05-05 13:16:38.000000000 +0000 +++ configure -@@ -11053,11 +11053,11 @@ rm -f core conftest.err conftest.$ac_obj +@@ -11318,11 +11318,11 @@ rm -f core conftest.err conftest.$ac_obj # Save old CFLAGS/LDFLAGS OLDCFLAGS=$CFLAGS OLDLDFLAGS=$LDFLAGS @@ -13,12 +13,12 @@ Detect Berkeley DB. if test -d $libdbpath/include/db$DBVER; then echo -n "checking for Berleley DB under $libdbpath/include/db$DBVER and $libdbpath/lib/db$DBVER... " CFLAGS="-I$libdbpath/include/db$DBVER $OLDCFLAGS" -- LDFLAGS="-L $libdbpath/lib/db$DBVER -ldb $OLDLDFLAGS" -+ LDFLAGS="-L $libdbpath/lib -ldb$DBVER $OLDLDFLAGS" +- LDFLAGS="-L$libdbpath/lib/db$DBVER -ldb $OLDLDFLAGS" ++ LDFLAGS="-L$libdbpath/lib -ldb$DBVER $OLDLDFLAGS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -@@ -11071,7 +11071,7 @@ rm -f core conftest.err conftest.$ac_obj +@@ -11336,7 +11336,7 @@ rm -f core conftest.err conftest.$ac_obj _ACEOF if ac_fn_c_try_link "$LINENO"; then : diff --git a/www/c-icap-modules/patches/patch-services_clamav_Makefile.in b/www/c-icap-modules/patches/patch-services_clamav_Makefile.in deleted file mode 100644 index d3d44e49b18..00000000000 --- a/www/c-icap-modules/patches/patch-services_clamav_Makefile.in +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-services_clamav_Makefile.in,v 1.1.1.1 2011/05/11 04:30:06 adam Exp $ - -Handle configuration files. - ---- services/clamav/Makefile.in.orig 2011-05-05 13:25:53.000000000 +0000 -+++ services/clamav/Makefile.in -@@ -548,8 +548,7 @@ uninstall-am: uninstall-cicapmoduleLTLIB - - - install-data-local: -- $(INSTALL) srv_clamav.conf $(DESTDIR)$(CONFIGDIR)/srv_clamav.conf.default -- if test ! -f $(DESTDIR)$(CONFIGDIR)/srv_clamav.conf; then $(INSTALL) srv_clamav.conf $(DESTDIR)$(CONFIGDIR)/srv_clamav.conf; fi -+ $(INSTALL) srv_clamav.conf $(DESTDIR)$(datadir)/c-icap/srv_clamav.conf.default - - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/www/c-icap-modules/patches/patch-services_url_check_Makefile.in b/www/c-icap-modules/patches/patch-services_url_check_Makefile.in index 1b8eb324378..208b3fa057a 100644 --- a/www/c-icap-modules/patches/patch-services_url_check_Makefile.in +++ b/www/c-icap-modules/patches/patch-services_url_check_Makefile.in @@ -1,11 +1,11 @@ -$NetBSD: patch-services_url_check_Makefile.in,v 1.1.1.1 2011/05/11 04:30:06 adam Exp $ +$NetBSD: patch-services_url_check_Makefile.in,v 1.2 2012/07/29 10:11:18 adam Exp $ -Remove unwanted linker flag. -Handle configuration files. +Remove unwanted linker flag +Handle configuration files --- services/url_check/Makefile.in.orig 2011-05-05 13:19:55.000000000 +0000 +++ services/url_check/Makefile.in -@@ -34,7 +34,7 @@ PRE_UNINSTALL = : +@@ -35,7 +35,7 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ @@ -13,14 +13,23 @@ Handle configuration files. +@USEBDB_TRUE@am__append_1 = @BDB_ADD_LDFLAG@ @USEBDB_TRUE@am__append_2 = @BDB_ADD_FLAG@ @USEBDB_TRUE@am__append_3 = sguardDB.c - subdir = services/url_check -@@ -554,8 +554,7 @@ uninstall-am: uninstall-cicapmoduleLTLIB - + @USEBDB_TRUE@bin_PROGRAMS = c-icap-mods-sguardDB$(EXEEXT) +@@ -263,7 +263,7 @@ SUFFIXES = .8.in .8 + man_MANS = $(manpages) + TMPLS = templates/en/DENY + @USEBDB_TRUE@c_icap_mods_sguardDB_SOURCES = sguardDB.c +-@USEBDB_TRUE@c_icap_mods_sguardDB_LDADD = @UTILITIES_LIBADD@ @BDB_ADD_LDFLAG@ -ldb ++@USEBDB_TRUE@c_icap_mods_sguardDB_LDADD = @UTILITIES_LIBADD@ @BDB_ADD_LDFLAG@ + @USEBDB_TRUE@c_icap_mods_sguardDB_CFLAGS = @BDB_ADD_FLAG@ -DBUILD_SGUARD_TOOL + EXTRA_DIST = sguardDB.h url_check_body.h makefile.w32 srv_url_check.def srv_url_check.conf $(TMPLS) $(manpages_src) + all: all-am +@@ -720,8 +720,7 @@ uninstall-man: uninstall-man8 + $(do_subst) < $< > $@ install-data-local: - $(INSTALL) srv_url_check.conf $(DESTDIR)$(CONFIGDIR)/srv_url_check.conf.default - if test ! -f $(DESTDIR)$(CONFIGDIR)/srv_url_check.conf; then $(INSTALL) srv_url_check.conf $(DESTDIR)$(CONFIGDIR)/srv_url_check.conf; fi + $(INSTALL) srv_url_check.conf $(DESTDIR)$(datadir)/c-icap/srv_url_check.conf.default + $(mkinstalldirs) $(DESTDIR)$(cicapdatadir)/templates/srv_url_check/en + $(INSTALL) $(TMPLS) $(DESTDIR)$(cicapdatadir)/templates/srv_url_check/en/ - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/www/c-icap-modules/patches/patch-services_virus_scan_Makefile.in b/www/c-icap-modules/patches/patch-services_virus_scan_Makefile.in new file mode 100644 index 00000000000..02fca805120 --- /dev/null +++ b/www/c-icap-modules/patches/patch-services_virus_scan_Makefile.in @@ -0,0 +1,16 @@ +$NetBSD: patch-services_virus_scan_Makefile.in,v 1.1 2012/07/29 10:12:08 adam Exp $ + +Handle configuration files + +--- services/virus_scan/Makefile.in.orig 2012-07-29 09:31:53.000000000 +0000 ++++ services/virus_scan/Makefile.in +@@ -586,8 +586,7 @@ uninstall-am: uninstall-cicapmoduleLTLIB + + + install-data-local: +- $(INSTALL) virus_scan.conf $(DESTDIR)$(CONFIGDIR)/virus_scan.conf.default +- if test ! -f $(DESTDIR)$(CONFIGDIR)/virus_scan.conf; then $(INSTALL) virus_scan.conf $(DESTDIR)$(CONFIGDIR)/virus_scan.conf; fi ++ $(INSTALL) virus_scan.conf $(DESTDIR)$(datadir)/c-icap/virus_scan.conf.default + $(mkinstalldirs) $(DESTDIR)$(cicapdatadir)/templates/virus_scan/en/ + for f in $(TMPLS); do $(INSTALL) $$f $(DESTDIR)$(cicapdatadir)/templates/virus_scan/en/; done + |