rpms/clamav/F-8 clamav.spec,1.64,1.65 sources,1.33,1.34

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Tue Jan 1 17:08:25 UTC 2008


Author: ensc

Update of /cvs/extras/rpms/clamav/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17033/F-8

Modified Files:
	clamav.spec sources 
Log Message:
redisabled unrar stuff completely by using clean sources



Index: clamav.spec
===================================================================
RCS file: /cvs/extras/rpms/clamav/F-8/clamav.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- clamav.spec	1 Jan 2008 14:59:21 -0000	1.64
+++ clamav.spec	1 Jan 2008 17:07:44 -0000	1.65
@@ -19,13 +19,20 @@
 Summary:	End-user tools for the Clam Antivirus scanner
 Name:		clamav
 Version:	0.92
-Release:	%release_func 5
+Release:	%release_func 6
 
 License:	%{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
 Group:		Applications/File
 URL:		http://www.clamav.net
+%if 0%{?with_unrar:1}
 Source0:	http://download.sourceforge.net/sourceforge/clamav/%name-%version.tar.gz
 Source999:	http://download.sourceforge.net/sourceforge/clamav/%name-%version.tar.gz.sig
+%else
+# Unfortunately, clamav includes support for RAR v3, derived from GPL 
+# incompatible unrar from RARlabs. We have to pull this code out.
+# All that is needed to make the clean tarball is: rm -rf libclamunrar*
+Source0:	%name-%version.clean.tar.gz
+%endif
 Source1:	clamd-wrapper
 Source2:	clamd.sysconfig
 Source3:	clamd.logrotate
@@ -229,6 +236,8 @@
 
 install -p -m0644 %SOURCE300 clamav-milter/
 
+mkdir -p libclamunrar{,_iface}
+%{!?with_unrar:> libclamunrar/Makefile.in; >libclamunrar_iface/Makefile.in; touch libclamunrar{,_iface}/{all,install}}
 
 perl -pi -e 's!^(#?LogFile ).*!\1/var/log/clamd.<SERVICE>!g;
 	     s!^#?(LocalSocket ).*!\1/var/run/clamd.<SERVICE>/clamd.sock!g;
@@ -514,6 +523,9 @@
 
 
 %changelog
+* Tue Jan  1 2008 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.92-6
+- redisabled unrar stuff completely by using clean sources
+
 * Tue Jan  1 2008 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.92-5
 - use a better way to disable RPATH-generation (needed for '--with
   unrar' builds)


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/clamav/F-8/sources,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- sources	1 Jan 2008 12:59:02 -0000	1.33
+++ sources	1 Jan 2008 17:07:44 -0000	1.34
@@ -1,2 +1 @@
-e500651858a9187a87025c8a5c23969c  clamav-0.92.tar.gz
-5ac3264d9b01b7dce93f646e247b2621  clamav-0.92.tar.gz.sig
+554d44a5b2265808750553d2e4d0d6fb  clamav-0.92.clean.tar.gz




More information about the fedora-extras-commits mailing list