From a3da3da6c003b57f14673384f7891298413e0b9c Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Feb 13 2008 15:41:27 +0000 Subject: - make it build with our current headers. "error: 'PATH_MAX' undeclared here (not in a function)" --- diff --git a/ecryptfs-utils-38-pathmax.patch b/ecryptfs-utils-38-pathmax.patch new file mode 100644 index 0000000..fe4ceac --- /dev/null +++ b/ecryptfs-utils-38-pathmax.patch @@ -0,0 +1,11 @@ +diff -up ecryptfs-utils-38/src/include/ecryptfs.h.pathmax ecryptfs-utils-38/src/include/ecryptfs.h +--- ecryptfs-utils-38/src/include/ecryptfs.h.pathmax 2008-02-13 16:37:50.000000000 +0100 ++++ ecryptfs-utils-38/src/include/ecryptfs.h 2008-02-13 16:37:59.000000000 +0100 +@@ -29,6 +29,7 @@ + + #include + #include ++#include + #ifndef S_SPLINT_S + #include + #include diff --git a/ecryptfs-utils.spec b/ecryptfs-utils.spec index b47fb44..9dc042c 100644 --- a/ecryptfs-utils.spec +++ b/ecryptfs-utils.spec @@ -1,11 +1,12 @@ Name: ecryptfs-utils Version: 38 -Release: 0%{?dist} +Release: 1%{?dist} Summary: The eCryptfs mount helper and support libraries Group: System Environment/Base License: GPL URL: http://ecryptfs.sourceforge.net Source0: http://downloads.sourceforge.net/ecryptfs/ecryptfs-utils-%{version}.tar.bz2 +Patch0: ecryptfs-utils-38-pathmax.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libgcrypt-devel keyutils-libs-devel openssl-devel pam-devel Conflicts: kernel < 2.6.19 @@ -29,6 +30,7 @@ Userspace development files for eCryptfs. %prep %setup -q +%patch0 -p1 %build %configure --disable-opencryptoki --disable-rpath @@ -84,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/ecryptfs.h %changelog +* Wed Feb 13 2008 Karsten Hopp 38-1 +- fix includes + * Tue Jan 8 2008 Mike Halcrow 38-0 - Fix passthrough mount option prompt - Clarify man page