packages: libfuse/libfuse.spec, libfuse/libfuse-clone.patch (NEW) - updated...

qboosh qboosh at pld-linux.org
Sat Sep 17 09:40:10 CEST 2011


Author: qboosh                       Date: Sat Sep 17 07:40:10 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 2.8.6
- force ld.bfd as gold is missing symbol base versioning
- added clone patch (define _GNU_SOURCE to enable CLONE_NEWNS in sched.h)

---- Files affected:
packages/libfuse:
   libfuse.spec (1.113 -> 1.114) , libfuse-clone.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libfuse/libfuse.spec
diff -u packages/libfuse/libfuse.spec:1.113 packages/libfuse/libfuse.spec:1.114
--- packages/libfuse/libfuse.spec:1.113	Fri Oct 29 09:46:41 2010
+++ packages/libfuse/libfuse.spec	Sat Sep 17 09:40:05 2011
@@ -10,16 +10,17 @@
 Summary:	Filesystem in Userspace
 Summary(pl.UTF-8):	System plików w przestrzeni użytkownika
 Name:		libfuse
-Version:	2.8.5
+Version:	2.8.6
 Release:	1
 Epoch:		0
 License:	GPL v2
 Group:		Applications/System
-Source0:	http://dl.sourceforge.net/fuse/fuse-%{version}.tar.gz
-# Source0-md5:	8aa2fd689de00b73963620483084ae3b
+Source0:	http://downloads.sourceforge.net/fuse/fuse-%{version}.tar.gz
+# Source0-md5:	eaa32c8cef56a981656a786f258a002a
 Source1:	fuse.conf
 Patch0:		kernel-misc-fuse-Makefile.am.patch
 Patch1:		%{name}-link.patch
+Patch2:		%{name}-clone.patch
 URL:		http://fuse.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -78,10 +79,16 @@
 %setup -q -n fuse-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 sed -i '/FUSERMOUNT_PROG/s,fusermount,%{_bindir}/fusermount,' lib/mount.c
 
+# gold is missing base versioning
+install -d ld-dir
+[ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
+
 %build
+PATH=$(pwd)/ld-dir:$PATH
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
@@ -148,6 +155,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.114  2011/09/17 07:40:05  qboosh
+- updated to 2.8.6
+- force ld.bfd as gold is missing symbol base versioning
+- added clone patch (define _GNU_SOURCE to enable CLONE_NEWNS in sched.h)
+
 Revision 1.113  2010/10/29 07:46:41  qboosh
 - removed kernel stuff (no longer included in sources)
 

================================================================
Index: packages/libfuse/libfuse-clone.patch
diff -u /dev/null packages/libfuse/libfuse-clone.patch:1.1
--- /dev/null	Sat Sep 17 09:40:10 2011
+++ packages/libfuse/libfuse-clone.patch	Sat Sep 17 09:40:05 2011
@@ -0,0 +1,12 @@
+--- fuse-2.8.6/util/fusermount.c.orig	2011-09-13 09:23:14.000000000 +0200
++++ fuse-2.8.6/util/fusermount.c	2011-09-17 09:14:59.257527441 +0200
+@@ -7,6 +7,9 @@
+ */
+ /* This program does the mounting and unmounting of FUSE filesystems */
+ 
++/* for CLONE_NEWNS in sched.h */
++#define _GNU_SOURCE
++
+ #include <config.h>
+ 
+ #include "mount_util.h"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libfuse/libfuse.spec?r1=1.113&r2=1.114&f=u



More information about the pld-cvs-commit mailing list