public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-proxy/squidclamav: metadata.xml ChangeLog squidclamav-6.1.ebuild
@ 2010-11-22 15:46 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2010-11-22 15:46 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/11/22 15:46:03

  Modified:             metadata.xml ChangeLog
  Added:                squidclamav-6.1.ebuild
  Log:
  Version bump (closes bug #313089), this time using the c-icap module. Need a keyword request for x86.
  
  (Portage version: 2.2.0_alpha4/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  net-proxy/squidclamav/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	20 Sep 2006 20:08:31 -0000	1.1
+++ metadata.xml	22 Nov 2010 15:46:03 -0000	1.2
@@ -1,7 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>net-proxy</herd>
-<longdescription>SquidClamAV is a Squid redirector which allows easy antivirus file scanning.
-It can use either a local or a remote ClamAV daemon.</longdescription>
+  <maintainer>
+    <email>flameeyes@gentoo.org</email>
+    <description>Co-maintainer, not trying to call for exclusive</description>
+  </maintainer>
+  <herd>net-proxy</herd>
+
+  <longdescription>
+    SquidClamAV is a <pkg>net-proxy/squid</pkg> redirector which allows easy antivirus file
+    scanning.  It can use either a local or a remote ClamAV daemon. As
+    of version 6.0, it is now an ICAP module for
+    <pkg>net-proxy/c-icap</pkg>.
+  </longdescription>
 </pkgmetadata>



1.11                 net-proxy/squidclamav/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	18 Oct 2009 15:14:25 -0000	1.10
+++ ChangeLog	22 Nov 2010 15:46:03 -0000	1.11
@@ -1,6 +1,13 @@
 # ChangeLog for net-proxy/squidclamav
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.10 2009/10/18 15:14:25 mrness Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.11 2010/11/22 15:46:03 flameeyes Exp $
+
+*squidclamav-6.1 (22 Nov 2010)
+
+  22 Nov 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+  +squidclamav-6.1.ebuild, +files/squidclamav-6.1-crash.patch, metadata.xml:
+  Version bump (closes bug #313089), this time using the c-icap module. Need a
+  keyword request for x86.
 
   18 Oct 2009; Alin Năstac <mrness@gentoo.org> -squidclamav-3.6.ebuild,
   -files/squidclamav-3.6-gentoo.patch:



1.1                  net-proxy/squidclamav/squidclamav-6.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/squidclamav-6.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/squidclamav-6.1.ebuild?rev=1.1&content-type=text/plain

Index: squidclamav-6.1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-6.1.ebuild,v 1.1 2010/11/22 15:46:03 flameeyes Exp $

EAPI=2

inherit eutils

DESCRIPTION="HTTP Antivirus for Squid based on ClamAv and ICAP"
HOMEPAGE="http://squidclamav.darold.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="net-proxy/c-icap"
DEPEND="${RDEPEND}"

src_prepare() {
	epatch "${FILESDIR}/${P}-crash.patch"
}

src_install() {
	emake DESTDIR="${D}" install || die
	find "${D}" -name '*.la' -delete || die

	# delete its own documentation installed
	rm -r "${D}"/usr/share/${PN} || die

	dodoc README AUTHORS ChangeLog || die

	# Fix configuration file to adapt to the Gentoo configuration
	sed -i \
		-e '/clamd_local/s:/tmp/clamd:/var/run/clamav/clamd.sock:' \
		"${D}"/etc/squidclamav.conf || die
}

pkg_postinst() {
	elog "Starting from version 6, Squid Clamav is now a module for the c-icap"
	elog "server, which is called from squid, rather than being a redirector"
	elog "directly."
	elog ""
	elog "To enable the service, you should add this to your c-icap.conf file:"
	elog ""
	elog "    Service clamav squidclamav.so"
	elog ""
	elog "And then this to squid.conf (for a local ICAP server):"
	elog ""
	elog "    icap_enable on"
	elog ""
	elog "    # not strictly needed, but useful for special access"
	elog "    icap_send_client_ip on"
	elog "    icap_send_client_username on"
	elog ""
	elog "    icap_service clamav respmod_precache bypass=0 icap://localhost:1344/clamav"
	elog "    adaptation_access clamav allow all"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-22 15:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-22 15:46 [gentoo-commits] gentoo-x86 commit in net-proxy/squidclamav: metadata.xml ChangeLog squidclamav-6.1.ebuild Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox