Blame ecryptfs-utils.spec

Michal Hlavinka 0f50b0
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Michal Hlavinka 0f50b0
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Michal Hlavinka 0f50b0
Michael Halcrow fc3966
Name: ecryptfs-utils
Michal Hlavinka 0f50b0
Version: 67
Michael Halcrow 94b9e4
Release: 0%{?dist}
Michael Halcrow fc3966
Summary: The eCryptfs mount helper and support libraries
Michael Halcrow fc3966
Group: System Environment/Base
Tom Callaway d2d5d1
License: GPLv2+
Michal Hlavinka 0f50b0
URL: https://launchpad.net/ecryptfs
Michal Hlavinka 0f50b0
Source0: http://launchpad.net/ecryptfs/trunk/%{version}/+download/ecryptfs-utils-%{version}.tar.gz
Michael Halcrow fc3966
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Michael Halcrow fc3966
BuildRequires: libgcrypt-devel keyutils-libs-devel openssl-devel pam-devel
Michal Hlavinka 0f50b0
BuildRequires: trousers-devel python
Michael Halcrow fc3966
Conflicts: kernel < 2.6.19
Michal Hlavinka 0f50b0
Patch0: ecryptfs-utils-67-nss3.patch
Michael Halcrow fc3966
Michael Halcrow fc3966
%description
Michael Halcrow fc3966
eCryptfs is a stacked cryptographic filesystem that ships in Linux
Michael Halcrow fc3966
kernel versions 2.6.19 and above. This package provides the mount
Michael Halcrow fc3966
helper and supporting libraries to perform key management and mount
Michael Halcrow fc3966
functions.
Michael Halcrow fc3966
Michael Halcrow fc3966
Install ecryptfs-utils if you would like to mount eCryptfs.
Michael Halcrow fc3966
Michael Halcrow fc3966
%package devel
Michael Halcrow fc3966
Summary: The eCryptfs userspace development package
Michael Halcrow fc3966
Group: System Environment/Base
Michael Halcrow fc3966
Requires: keyutils-libs-devel %{name} = %{version}-%{release}
Michael Halcrow fc3966
Michael Halcrow fc3966
%description devel
Michael Halcrow fc3966
Userspace development files for eCryptfs.
Michael Halcrow fc3966
Michal Hlavinka 0f50b0
%package python
Michal Hlavinka 0f50b0
Summary: Python bindings for the eCryptfs utils
Michal Hlavinka 0f50b0
Group: System Environment/Base
Michal Hlavinka 0f50b0
Requires: ecryptfs-utils %{name} = %{version}-%{release}
Michal Hlavinka 0f50b0
Michal Hlavinka 0f50b0
%description python
Michal Hlavinka 0f50b0
The ecryptfs-utils-python package contains a module that permits 
Michal Hlavinka 0f50b0
applications written in the Python programming language to use 
Michal Hlavinka 0f50b0
the interface supplied by the ecryptfs-utils library.
Michal Hlavinka 0f50b0
Michael Halcrow fc3966
%prep
Michael Halcrow fc3966
Michael Halcrow fc3966
%setup -q
Michal Hlavinka 0f50b0
%patch0 -p1 -b .nss3
Michael Halcrow fc3966
Michael Halcrow fc3966
%build
Eric Sandeen 35849e
%configure --disable-rpath --enable-tspi
Michal Hlavinka 0f50b0
#disable rpath
Michal Hlavinka 0f50b0
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
Michal Hlavinka 0f50b0
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
Michael Halcrow fc3966
make %{?_smp_mflags}
Michael Halcrow fc3966
Michael Halcrow fc3966
%install
Michael Halcrow fc3966
rm -rf $RPM_BUILD_ROOT
Michael Halcrow fc3966
make install DESTDIR=$RPM_BUILD_ROOT
Michael Halcrow cf6427
rm -rf %{buildroot}%{_libdir}/*.a
Michael Halcrow cf6427
rm -rf %{buildroot}%{_libdir}/*.la
Eric Sandeen e6f8a9
rm -rf %{buildroot}%{_docdir}/%{name}
Michael Halcrow 2fbd99
Michael Halcrow fc3966
%post -p /sbin/ldconfig
Michael Halcrow fc3966
Michael Halcrow fc3966
%postun -p /sbin/ldconfig
Michael Halcrow fc3966
Michael Halcrow fc3966
%clean
Michael Halcrow fc3966
rm -rf $RPM_BUILD_ROOT
Michael Halcrow fc3966
Michael Halcrow fc3966
%files
Michael Halcrow fc3966
%defattr(-,root,root,-)
Michael Halcrow fc3966
%doc README COPYING AUTHORS NEWS THANKS
Michael Halcrow 2fbd99
%doc doc/ecryptfs-faq.html doc/ecryptfs-pam-doc.txt
Eric Sandeen f74772
%doc doc/ecryptfs-pkcs11-helper-doc.txt
Michal Hlavinka 0f50b0
%attr(4755,root,root) /sbin/mount.ecryptfs
Michal Hlavinka 0f50b0
%attr(4755,root,root) /sbin/mount.ecryptfs_private
Michal Hlavinka 0f50b0
%attr(4755,root,root) /sbin/umount.ecryptfs_private
Michael Halcrow fc3966
%{_bindir}/ecryptfs-manager
Michael Halcrow fc3966
%{_bindir}/ecryptfs-insert-wrapped-passphrase-into-keyring
Michael Halcrow fc3966
%{_bindir}/ecryptfs-rewrap-passphrase
Michael Halcrow fc3966
%{_bindir}/ecryptfs-unwrap-passphrase
Michael Halcrow fc3966
%{_bindir}/ecryptfs-wrap-passphrase
Michael Halcrow cf6427
%{_bindir}/ecryptfs-add-passphrase
Michael Halcrow cf6427
%{_bindir}/ecryptfs-zombie-kill
Michael Halcrow cf6427
%{_bindir}/ecryptfs-zombie-list
Eric Sandeen 3e7fc5
%{_bindir}/ecryptfs-generate-tpm-key
Eric Sandeen bf23fd
%{_bindir}/ecryptfs-mount-private
Eric Sandeen bf23fd
%{_bindir}/ecryptfs-setup-private
Eric Sandeen bf23fd
%{_bindir}/ecryptfs-umount-private
Eric Sandeen bf23fd
%{_bindir}/ecryptfs-stat
Michael Halcrow fc3966
%{_bindir}/ecryptfsd
Michael Halcrow fc3966
%{_libdir}/libecryptfs.so.0.0.0
Michael Halcrow fc3966
%{_libdir}/libecryptfs.so.0
Michael Halcrow fc3966
%{_libdir}/ecryptfs
Michael Halcrow fc3966
/%{_lib}/security/pam_ecryptfs.so
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-add-passphrase.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-generate-tpm-key.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-insert-wrapped-passphrase-into-keyring.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-mount-private.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-rewrap-passphrase.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-setup-private.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-umount-private.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-unwrap-passphrase.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-wrap-passphrase.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-zombie-kill.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/ecryptfs-zombie-list.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/mount.ecryptfs_private.1.gz
Eric Sandeen bf23fd
%{_mandir}/man1/umount.ecryptfs_private.1.gz
Michael Halcrow fc3966
%{_mandir}/man7/ecryptfs.7.gz
Michael Halcrow cf6427
%{_mandir}/man8/ecryptfs-manager.8.gz
Michael Halcrow cf6427
%{_mandir}/man8/ecryptfsd.8.gz
Michael Halcrow cf6427
%{_mandir}/man8/mount.ecryptfs.8.gz
Eric Sandeen bf23fd
%{_mandir}/man8/pam_ecryptfs.8.gz
Michael Halcrow fc3966
Michael Halcrow fc3966
%files devel
Michael Halcrow fc3966
%defattr(-,root,root,-)
Michael Halcrow fc3966
%{_libdir}/libecryptfs.so
Michael Halcrow c4a46e
%{_libdir}/pkgconfig/libecryptfs.pc
Michael Halcrow fc3966
%{_includedir}/ecryptfs.h
Michael Halcrow fc3966
Michal Hlavinka 0f50b0
%files python
Michal Hlavinka 0f50b0
%defattr(-,root,root,-)
Michal Hlavinka 0f50b0
%{python_sitelib}/ecryptfs-utils/libecryptfs.py
Michal Hlavinka 0f50b0
%{python_sitelib}/ecryptfs-utils/libecryptfs.pyc
Michal Hlavinka 0f50b0
%{python_sitelib}/ecryptfs-utils/libecryptfs.pyo
Michal Hlavinka 0f50b0
%{python_sitearch}/ecryptfs-utils/_libecryptfs.so.0
Michal Hlavinka 0f50b0
%{python_sitearch}/ecryptfs-utils/_libecryptfs.so.0.0.0
Michal Hlavinka 0f50b0
%{python_sitearch}/ecryptfs-utils/_libecryptfs.la
Michal Hlavinka 0f50b0
%{python_sitearch}/ecryptfs-utils/_libecryptfs.so
Michal Hlavinka 0f50b0
Michael Halcrow fc3966
%changelog
Michal Hlavinka 0f50b0
* Mon Dec 29 2008 Michal Hlavinka <mhlavink@redhat.com> 67-0
Michal Hlavinka 0f50b0
- updated to 67
Michal Hlavinka 0f50b0
Michael Halcrow 94b9e4
* Wed Oct 22 2008 Mike Halcrow <mhalcrow@us.ibm.com> 61-0
Michael Halcrow 94b9e4
- Add support for filename encryption enablement (future kernel feature)
Michael Halcrow 94b9e4
- Replace uint32_t with size_t for x86_64 compatibility (patch by Eric Sandeen)
Michael Halcrow 94b9e4
Eric Sandeen e6f8a9
* Fri Oct 17 2008 Eric Sandeen <sandeen@redhat.com> 59-2
Eric Sandeen e6f8a9
- Remove duplicate doc files from rpm
Eric Sandeen e6f8a9
Michael Halcrow edef76
* Tue Oct 07 2008 Mike Halcrow <mhalcrow@us.ibm.com> 59-1
Michael Halcrow edef76
- Put attr declaration in the right spot
Michael Halcrow edef76
Michael Halcrow 543e83
* Tue Oct 07 2008 Mike Halcrow <mhalcrow@us.ibm.com> 59-0
Michael Halcrow 543e83
- Make /sbin/*ecryptfs* files setuid
Michael Halcrow 543e83
- Add /sbin path to ecryptfs-setup-private
Michael Halcrow 543e83
Michael Halcrow 564f4d
* Mon Oct 06 2008 Mike Halcrow <mhalcrow@us.ibm.com> 58-0
Michael Halcrow 564f4d
- TSPI key module update to avoid flooding TrouSerS library with requests
Michael Halcrow 564f4d
- OpenSSL key module parameter fixes
Michael Halcrow 564f4d
- Updates to mount-on-login utilities
Michael Halcrow 564f4d
Michael Halcrow 46cf03
* Wed Aug 13 2008 Mike Halcrow <mhalcrow@us.ibm.com> 56-0
Michael Halcrow 46cf03
- Namespace fixes for the key module parameter aliases
Michael Halcrow 46cf03
- Updates to the man page and the README
Michael Halcrow 46cf03
Eric Sandeen bf23fd
* Wed Jul 30 2008 Eric Sandeen <sandeen@redhat.com> 53-0
Eric Sandeen bf23fd
- New upstream version
Eric Sandeen bf23fd
- Many new manpages, new ecryptfs-stat util
Eric Sandeen bf23fd
Tom Callaway d2d5d1
* Thu Jul 17 2008 Tom "spot" Callaway <tcallawa@redhat.com> 50-1
Tom Callaway d2d5d1
- fix license tag
Tom Callaway d2d5d1
Michael Halcrow 4e3694
* Fri Jun 27 2008 Mike Halcrow <mhalcrow@us.ibm.com> 50-0
Michael Halcrow 4e3694
- Add umount.ecryptfs_private symlink
Michael Halcrow 4e3694
- Add pam_mount session hooks for mount and unmount
Michael Halcrow 4e3694
Michael Halcrow 4e3694
* Fri Jun 27 2008 Eric Sandeen <sandeen@redhat.com> 49-1
Eric Sandeen 35849e
- build with TrouSerS key module
Eric Sandeen 35849e
Michael Halcrow 4e3694
* Fri Jun 27 2008 Eric Sandeen <sandeen@redhat.com> 49-0
Eric Sandeen f74772
- New upstream version
Eric Sandeen f74772
Eric Sandeen 081353
* Tue Jun 03 2008 Eric Sandeen <sandeen@redhat.com> 46-0
Eric Sandeen 071d03
- New upstream version
Eric Sandeen 071d03
Michael Halcrow d33da1
* Mon Feb 18 2008 Mike Halcrow <mhalcrow@us.ibm.com> 40-0
Michael Halcrow d33da1
- Enable passwd_file option in openssl key module
Michael Halcrow d33da1
Michael Halcrow 40f1de
* Wed Feb 13 2008 Mike Halcrow <mhalcrow@us.ibm.com> 39-0
Michael Halcrow 40f1de
- Fix include upstream
Michael Halcrow 40f1de
Karsten Hopp a3da3d
* Wed Feb 13 2008 Karsten Hopp <karsten@redhat.com> 38-1
Karsten Hopp a3da3d
- fix includes
Karsten Hopp a3da3d
Michael Halcrow 61692c
* Tue Jan 8 2008 Mike Halcrow <mhalcrow@us.ibm.com> 38-0
Michael Halcrow 61692c
 - Fix passthrough mount option prompt
Michael Halcrow 61692c
 - Clarify man page
Michael Halcrow 61692c
 - Add HMAC option (for future kernel versions)
Michael Halcrow 61692c
 - Bump to version 38
Michael Halcrow 61692c
Michael Halcrow cc0778
* Wed Dec 19 2007 Mike Halcrow <mhalcrow@us.ibm.com> 37-0
Michael Halcrow cc0778
- Remove unsupported ciphers; bump to version 37
Michael Halcrow cc0778
Michael Halcrow 02c342
* Tue Dec 18 2007 Mike Halcrow <mhalcrow@us.ibm.com> 36-0
Michael Halcrow 02c342
- Cipher selection detects .gz ko files; bump to version 36
Michael Halcrow 02c342
Michael Halcrow 43e590
* Mon Dec 17 2007 Mike Halcrow <mhalcrow@us.ibm.com> 35-0
Michael Halcrow 43e590
- Cleanups to cipher selection; bump to version 35
Michael Halcrow 43e590
Michael Halcrow 8bc134
* Mon Dec 17 2007 Mike Halcrow <mhalcrow@us.ibm.com> 34-0
Michael Halcrow 8bc134
- Fix OpenSSL key module; bump to version 34
Michael Halcrow 8bc134
Michael Halcrow 916d76
* Fri Dec 14 2007 Mike Halcrow <mhalcrow@us.ibm.com> 33-1
Michael Halcrow 916d76
- Add files to package
Michael Halcrow 916d76
Michael Halcrow d95d2d
* Fri Dec 14 2007 Mike Halcrow <mhalcrow@us.ibm.com> 33-0
Michael Halcrow 2fbd99
- update to version 33
Michael Halcrow 2fbd99
Michael Halcrow 2fbd99
* Thu Dec 13 2007 Karsten Hopp <karsten@redhat.com> 32-1
Michael Halcrow 2fbd99
- update to version 32
Michael Halcrow d95d2d
Michael Halcrow 2fbd99
* Thu Nov 29 2007 Karsten Hopp <karsten@redhat.com> 30-2
Michael Halcrow 2fbd99
- fix ia64 libdir
Michael Halcrow 2fbd99
- build initial RHEL-5 version
Karsten Hopp eff64e
Karsten Hopp 039625
* Thu Nov 29 2007 Karsten Hopp <karsten@redhat.com> 30-1
Karsten Hopp 039625
- build version 30
Karsten Hopp 039625
Michael Halcrow cf6427
* Fri Oct 05 2007 Mike Halcrow <mhalcrow@us.ibm.com> - 30-0
Michael Halcrow cf6427
- Bump to version 30. Several bugfixes. Key modules are overhauled
Michael Halcrow cf6427
  with a more sane API.
Jesse Keating 0bb6f9
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 18-1
Jesse Keating 0bb6f9
- Rebuild for selinux ppc32 issue.
Jesse Keating 0bb6f9
Michael Halcrow fc3966
* Thu Jun 28 2007 Mike Halcrow <mhalcrow@us.ibm.com> - 18-0
Michael Halcrow fc3966
- Bump to version 18 with an OpenSSL key module fix
Michael Halcrow fc3966
* Thu Jun 21 2007 Kevin Fenzi <kevin@tummy.com> - 17-1
Michael Halcrow fc3966
- Change kernel Requires to Conflicts
Michael Halcrow fc3966
- Remove un-needed devel buildrequires
Michael Halcrow fc3966
* Wed Jun 20 2007 Mike Halcrow <mhalcrow@us.ibm.com>  - 17-0
Michael Halcrow fc3966
- Provide built-in fallback passphrase key module. Remove keyutils,
Michael Halcrow fc3966
  openssl, and pam requirements (library dependencies take care of
Michael Halcrow fc3966
  this). Include wrapped passphrase executables in file set.
Michael Halcrow fc3966
* Fri Apr 20 2007 Mike Halcrow <mhalcrow@us.ibm.com>  - 15-1
Michael Halcrow fc3966
- Change permission of pam_ecryptfs.so from 644 to 755.
Michael Halcrow fc3966
* Thu Apr 19 2007 Mike Halcrow <mhalcrow@us.ibm.com>  - 15-0
Michael Halcrow fc3966
- Fix mount option parse segfault. Fix pam_ecryptfs.so semaphore
Michael Halcrow fc3966
  issue when logging in via ssh.
Michael Halcrow fc3966
* Thu Mar 01 2007 Mike Halcrow <mhalcrow@us.ibm.com>  - 10-0
Michael Halcrow fc3966
- Remove verbose syslog() calls; change key module build to allow
Michael Halcrow fc3966
  OpenSSL module to be disabled from build; add AUTHORS, NEWS, and
Michael Halcrow fc3966
  THANKS to docs; update Requires with variables instead of hardcoded
Michael Halcrow fc3966
  name and version.
Michael Halcrow fc3966
* Tue Feb 06 2007 Mike Halcrow <mhalcrow@us.ibm.com>  - 9-1
Michael Halcrow fc3966
- Minor update in README, add dist tag to Release, add --disable-rpath
Michael Halcrow fc3966
  to configure step, and remove keyutils-libs from Requires.
Michael Halcrow fc3966
* Tue Jan 09 2007 Mike Halcrow <mhalcrow@us.ibm.com>  - 9-0
Michael Halcrow fc3966
- Correct install directories for 64-bit; add support for xattr and
Michael Halcrow fc3966
  encrypted_view mount options
Michael Halcrow fc3966
* Tue Jan 02 2007 Mike Halcrow <mhalcrow@us.ibm.com>  - 8-0
Michael Halcrow fc3966
- Introduce build support for openCryptoki key module.  Fix -dev build
Michael Halcrow fc3966
  dependencies for devel package
Michael Halcrow fc3966
* Mon Dec 11 2006 Mike Halcrow <mhalcrow@us.ibm.com>  - 7-0
Michael Halcrow fc3966
- Initial package creation