packages: encfs/encfs.spec, encfs/encfs-const-char.patch (NEW) - 1.5-2

uzsolt uzsolt at pld-linux.org
Tue Oct 27 22:24:30 CET 2009


Author: uzsolt                       Date: Tue Oct 27 21:24:30 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 1.5-2

---- Files affected:
packages/encfs:
   encfs.spec (1.15 -> 1.16) , encfs-const-char.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/encfs/encfs.spec
diff -u packages/encfs/encfs.spec:1.15 packages/encfs/encfs.spec:1.16
--- packages/encfs/encfs.spec:1.15	Thu Dec 27 02:28:50 2007
+++ packages/encfs/encfs.spec	Tue Oct 27 22:24:24 2009
@@ -3,13 +3,14 @@
 Summary:	Encrypted pass-thru filesystem for Linux
 Summary(pl.UTF-8):	Zaszyfrowany system plików dla Linuksa
 Name:		encfs
-Version:	1.3.2
+Version:	1.5
 Release:	1
 License:	GPL v2
 Group:		Applications/System
-Source0:	http://arg0.net/users/vgough/download/%{name}-%{version}-1.tgz
-# Source0-md5:	71482dbe0e158ee9ba522ae637337230
-URL:		http://arg0.net/users/vgough/encfs.html
+Source0:	http://encfs.googlecode.com/files/encfs-1.5-2.tgz
+# Source0-md5:	b07008545545b4a57cf2bf65f08a14ad
+Patch0:		%{name}-const-char.patch
+URL:		http://www.arg0.net/encfs
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libfuse-devel >= 2.5
@@ -38,16 +39,20 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-#%{__libtoolize}
-#%{__aclocal}
-#%{__autoconf}
-#%{__autoheader}
-#%{__automake}
+# %{__libtoolize}
+# %{__aclocal}
+# %{__autoconf}
+# %{__autoheader}
+# %{__automake}
 %configure \
+  --with-boost-system=boost_system \
+  --with-boost-serialization=boost_serialization \
+  --with-boost-filesystem=boost_filesystem \
 	--enable-debug=no
-%{__make}
+%{__make} -j1 LDFLAGS=-lboost_system
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,6 +63,8 @@
 # No public headers => no need for devel files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
+rm -rf $RPM_BUILD_ROOT/usr/share/locale/{fr_FR,pt_PT}
+
 %find_lang %{name}
 
 %clean
@@ -70,7 +77,7 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/encfs*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/lib*.so*
 %{_mandir}/man1/*.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -79,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2009/10/27 21:24:24  uzsolt
+- 1.5-2
+
 Revision 1.15  2007/12/27 01:28:50  zbyniu
 - up to 1.3.2
 

================================================================
Index: packages/encfs/encfs-const-char.patch
diff -u /dev/null packages/encfs/encfs-const-char.patch:1.1
--- /dev/null	Tue Oct 27 22:24:30 2009
+++ packages/encfs/encfs-const-char.patch	Tue Oct 27 22:24:24 2009
@@ -0,0 +1,11 @@
+--- encfs-1.5-orig/encfs/NameIO.cpp	2009-10-27 21:58:02.307752841 +0100
++++ encfs-1.5/encfs/NameIO.cpp	2009-10-27 21:59:52.115658074 +0100
+@@ -190,7 +190,7 @@
+ 	} else
+ 	{
+ 	    bool isDotFile = (*path == '.');
+-	    char *next = strchr( path, '/' );
++	    const char *next = strchr( path, '/' );
+ 	    int len = next ? next - path : strlen( path );
+ 
+ 	    // at this point we know that len > 0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/encfs/encfs.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list