File encfs.spec of Package encfs
#
# spec file for package encfs (Version 1.5.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: encfs
BuildRequires: boost-devel fuse-devel gcc-c++ openssl-devel pkgconfig rlog-devel zlib-devel
Requires: fuse
Summary: Userspace Encrypted File System
Version: 1.5.0
Release: 1
License: GPL v2 or later; GPL v3 or later
Group: System/Filesystems
Source: %{name}-%{version}.tar.bz2
Url: http://www.arg0.net/encfs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
EncFS provides an encrypted file system, layered on top of a normal
directory tree and encrypts individual files which are stored in the
hosting directory tree.
This has several advantages over the loopback encryption which
provided by the Linux kernel: - No space is and has to be
reserved, encrypted files only take the space that they really
occupy
- Backups: encrypted files can be individually backed-up on the host
filesystem
- Layering: Since it's hosted on a normal filesystem, encfs can be
used on filesystems which normally have no support encryption,
like NFS or other userspace filesystems.
EncFS is implemented as a userspace filesystem in an unprivileged
application using fuse (FUSE (Filesystem in USErspace)).
Authors:
--------
Valient Gough <vgough@pobox.com>
%prep
%setup
%{?suse_update_config:%{suse_update_config -f}}
%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --with-boost-libdir=%{_libdir}
make
%install
make DESTDIR="$RPM_BUILD_ROOT" install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,so}
#
# remove unsupported locales - should revive once after we add
# these in the core system...
#
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/de_CH
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_PE
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/hu_HU
%{find_lang} %{name}
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%post
%{run_ldconfig}
%postun
%{run_ldconfig}
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING* ChangeLog README*
%doc %{_mandir}/man?/*
%{_bindir}/encfs*
%{_libdir}/libencfs.so.*
%changelog
* Wed Oct 29 2008 mszeredi@suse.de
- updated to version 1.5.0
* fix bug in export - wasn't able to export symlinks (launchpad bug
[#201974])
* add makeKey program and showKey option to encfsctl
* remove logs in Context, which displayed plaintext names
* use PBKDF2 for key generation with salt and variable iteration
count
* allow for automatic upgrade to PBKDF2 when changing passwords
* enable file hole support by default
* Tue Apr 15 2008 mszeredi@suse.de
- updated to version 1.4.2
* move buffer management to avoid memory leak in case of decoding
error
* reverse encryption support
* fix rename bug by tracking and applying undo in all error paths
(launchpad bug #160214)
* add '-o' option which passes arg through to fuse
* add -h option
* add mount-on-demand
* change license file to GPL3
* enlarge max password length
* run extpass command via shell, to allow passing arguments
to program
* fix directory rename issue (launchpad bug #183358)
* no arg required for stdinpass
* ensure paths end in '/'. fixes (launchpad bug #184905)
* add zero-block pass-through option, enabling allow-holes code
* fix bug in export - wasn't able to export symlinks (launchpad
bug #201974)
* switch to V6 XML config format
* Wed Oct 24 2007 mszeredi@suse.de
- Fix compile errors and warnings in beta
* Fri Aug 10 2007 bk@suse.de
- Add "Requires: fuse" to ensure that fuse is present (285101#c29)
- Use %%find_lang to mark locale files with missing %%lang (rpmlint)
* Thu Mar 29 2007 meissner@suse.de
- buildrequires zlib-devel
* Thu Feb 15 2007 mszeredi@suse.cz
- updated to version 1.3.2
* fix failure to process HMAC correctly in case of read error
* builds with GCC 4.2
* add workaround for group permission problem in 'public' mode
* Mon May 15 2006 tiwai@suse.de
- updated to version 1.3.1.
* ports for fuse-2.5
* bugfixes for null filename encryption
* fix directory rename error
* new translations
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 tiwai@suse.de
- fix the build with fuse 2.5.0.
* Tue Nov 15 2005 tiwai@suse.de
- updated to version 1.2.5.
* Fri Sep 30 2005 tiwai@suse.de
- updated to version 1.2.4.
* Wed May 25 2005 tiwai@suse.de
- initial version: 1.2.2