diff --git a/srcpkgs/clamav/template b/srcpkgs/clamav/template index d2b07a3e880..a7d37eb0c5b 100644 --- a/srcpkgs/clamav/template +++ b/srcpkgs/clamav/template @@ -1,24 +1,22 @@ # Template file for 'clamav' pkgname=clamav -version=0.99.0 -revision=2 -wrksrc=${pkgname}-${version%.*} +version=0.99.1 +revision=1 build_style=gnu-configure configure_args="--sbindir=/usr/bin --with-pcre=/usr" conf_files="/etc/clamd.conf /etc/freshclam.conf" system_accounts="clamav" clamav_homedir="/var/lib/${pkgname}" clamav_descr="ClamAV user" -hostmakedepends="pkg-config zip" -makedepends="libressl-devel libxml2-devel libcurl-devel ncurses-devel pcre-devel - tcl-devel bzip2-devel zlib-devel" +hostmakedepends="bison flex pkg-config zip" +makedepends="libressl-devel libxml2-devel libcurl-devel ncurses-devel + json-c-devel pcre-devel tcl-devel bzip2-devel zlib-devel" short_desc="Clam Anti-Virus scanner" maintainer="Jürgen Buchmüller " license="GPL-2" homepage="http://www.clamav.net/" -# Strangely the publish an archive without the subminor version -distfiles="http://www.clamav.net/downloads/production/${wrksrc}.tar.gz" -checksum=d2792c8cfadd685fffc40b2199679628815df031fd3149ccf961649fc8787ea9 +distfiles="http://www.clamav.net/downloads/production/${pkgname}-${version}.tar.gz" +checksum=e144689122d3f91293808c82cbb06b7d3ac9eca7ae29564c5d148ffe7b25d58a CPPFLAGS="-Wno-unused-local-typedefs" if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/clamav/update b/srcpkgs/clamav/update new file mode 100644 index 00000000000..dfcafaf200e --- /dev/null +++ b/srcpkgs/clamav/update @@ -0,0 +1,2 @@ +site=http://www.clamav.net/downloads +pattern='clamav-\K[0-9]+\.[0-9]+\.[0-9]+'