packages: avfs/avfs.spec, avfs/avfs-unrar.c.patch (NEW)=?UTF-8?Q?=20?=- taken from offici...

blekot blekot at pld-linux.org
Thu Mar 22 21:49:42 CET 2012


Author: blekot                       Date: Thu Mar 22 20:49:42 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- taken from official repo

---- Files affected:
packages/avfs:
   avfs.spec (1.15 -> 1.16) , avfs-unrar.c.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/avfs/avfs.spec
diff -u packages/avfs/avfs.spec:1.15 packages/avfs/avfs.spec:1.16
--- packages/avfs/avfs.spec:1.15	Sat Aug 25 12:47:10 2007
+++ packages/avfs/avfs.spec	Thu Mar 22 21:49:37 2012
@@ -5,12 +5,13 @@
 Summary:	AVFS - A Virtual Filesystem
 Summary(pl.UTF-8):	AVFS - wirtualny system plików
 Name:		avfs
-Version:	0.9.8
-Release:	0.1
+Version:	1.0.0
+Release:	1
 License:	GPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/avf/%{name}-%{version}.tar.gz
-# Source0-md5:	cd1d5c3616124bc8397936718cc0d651
+# Source0-md5:	be6dd4417c3e96a294f1539ad22fddc9
+Patch0:		%{name}-unrar.c.patch
 URL:		http://sourceforge.net/projects/avf/
 BuildRequires:	automake
 BuildRequires:	libfuse-devel >= 0:2.4
@@ -67,6 +68,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.* .
@@ -95,6 +97,7 @@
 %defattr(644,root,root,755)
 %doc README doc/README.avfs-fuse
 %attr(755,root,root) %{_libdir}/libavfs.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}libavfs.so.0
 %attr(755,root,root) %{_bindir}/avfsd
 %attr(755,root,root) %{_bindir}/davpass
 %attr(755,root,root) %{_bindir}/ftppass
@@ -119,6 +122,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2012/03/22 20:49:37  blekot
+- taken from official repo
+
 Revision 1.15  2007/08/25 10:47:10  qboosh
 - include .so symlink in -devel
 - dav left disabled (requires outdated neon)

================================================================
Index: packages/avfs/avfs-unrar.c.patch
diff -u /dev/null packages/avfs/avfs-unrar.c.patch:1.1
--- /dev/null	Thu Mar 22 21:49:42 2012
+++ packages/avfs/avfs-unrar.c.patch	Thu Mar 22 21:49:37 2012
@@ -0,0 +1,39 @@
+diff -ur avfs-1.0.0.old/avfscoda/dispatch.c avfs-1.0.0/avfscoda/dispatch.c
+--- avfs-1.0.0.old/avfscoda/dispatch.c	2012-03-22 18:29:17.000000000 +0000
++++ avfs-1.0.0/avfscoda/dispatch.c	2012-03-22 18:31:09.000000000 +0000
+@@ -147,7 +147,7 @@
+     va_end(ap);
+ 
+     buf[LOGMSG_SIZE] = '\0';
+-    syslog(LOG_INFO, buf);
++    syslog(LOG_INFO, "%s", buf);
+     log(buf);
+ }
+ 
+Only in avfs-1.0.0/avfscoda: dispatch.c~
+diff -ur avfs-1.0.0.old/modules/urar.c avfs-1.0.0/modules/urar.c
+--- avfs-1.0.0.old/modules/urar.c	2012-03-22 18:29:17.000000000 +0000
++++ avfs-1.0.0/modules/urar.c	2012-03-22 18:30:33.000000000 +0000
+@@ -587,7 +587,7 @@
+     if(res < 0)
+         return res;
+ 
+-    fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC);
++    fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC,0644);
+     if(fd == -1) {
+         res = -errno; 
+         av_log(AVLOG_ERROR, "RAR: Could not open %s: %s", tmpfile,
+Only in avfs-1.0.0/modules: urar.c~
+diff -ur avfs-1.0.0.old/src/sysdeps.c avfs-1.0.0/src/sysdeps.c
+--- avfs-1.0.0.old/src/sysdeps.c	2012-03-22 18:29:17.000000000 +0000
++++ avfs-1.0.0/src/sysdeps.c	2012-03-22 18:31:34.000000000 +0000
+@@ -209,7 +209,7 @@
+     va_end(ap);
+ 
+     if(logfile == NULL)
+-        syslog(LOG_INFO, buf);
++        syslog(LOG_INFO, "%s", buf);
+     else
+         filelog(buf);
+     AV_UNLOCK(loglock);
+Only in avfs-1.0.0/src: sysdeps.c~
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/avfs/avfs.spec?r1=1.15&r2=1.16



More information about the pld-cvs-commit mailing list