[arch-commits] Commit in clamav/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Sat Apr 3 00:51:57 UTC 2010


    Date: Friday, April 2, 2010 @ 20:51:57
  Author: giovanni
Revision: 75760

upgpkg: clamav 0.96-1
upstream release

Modified:
  clamav/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-02 23:28:28 UTC (rev 75759)
+++ PKGBUILD	2010-04-03 00:51:57 UTC (rev 75760)
@@ -3,7 +3,7 @@
 # Contributor: Gregor Ibic <gregor.ibic at intelicom.si>
 
 pkgname=clamav
-pkgver=0.95.3
+pkgver=0.96
 pkgrel=1
 pkgdesc="Anti-virus toolkit for Unix."
 arch=(i686 x86_64)
@@ -16,17 +16,16 @@
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
         clamav
 	clamav.confd
-	clamav.logrotate
-	http://wiki.clamav.net/pub/Main/UpgradeNotes0953/patch-0.95.3-bug1737.diff)
-#important note: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1737
+	clamav.logrotate)
 
-md5sums=('eaf9fccc3cc3567605a9732313652967' '338db2f3fbca9d5747ba635d576d8739'
-         'f1fd8e736f808da0487928274f585851'  'a7a4d527ba80ec9d4811e2264e9fab9e'
-          '393f2b2272e6adfa4db692d73521e92c')
+md5sums=('28ac7bec4cc03627a8e2d6e8647ee661'
+         '338db2f3fbca9d5747ba635d576d8739'
+         'f1fd8e736f808da0487928274f585851'
+         'a7a4d527ba80ec9d4811e2264e9fab9e')
 
 build() {
 	cd "$srcdir/$pkgname-$pkgver"
-	patch -Np1 -i "$srcdir/patch-0.95.3-bug1737.diff" || return 1
+
 	./configure --prefix=/usr --sysconfdir=/etc/clamav \
 		--with-dbdir=/var/lib/clamav --disable-clamav
 	# will add clamav user with clamav.install
@@ -64,13 +63,4 @@
 	# fix perms on virus database directory and un-distribute databases to require freshclam
 	rm "$pkgdir"/var/lib/clamav/*.cvd
 	chown 64:64 -R "$pkgdir/var/lib/clamav/"
-
-	# install clamdwatch
-	cd "$srcdir/$pkgname-$pkgver/contrib/clamdwatch"
-	tar zxf clamdwatch.tar.gz
-	sed -i -e 's@/tmp/clamd.socket@/var/lib/clamav/clamd.sock@' \
-	       -e 's@/var/lock/subsys/clamd@/var/run/clamav/clamd.pid@' \
-	       -e 's at mkstemp( "/tmp/clamdwatch-XXXXXXXXXXXXXXXX" );@mkstemp( "/tmp/clamdwatch-XXXXXXXXXXXXXXXX" );\nchmod 0644, "$tempFile";@' clamdwatch || return 1
-
-	install -D -m755 clamdwatch "$pkgdir/usr/sbin/clamdwatch.pl" || return 1
 }




More information about the arch-commits mailing list