]>
Commit | Line | Data |
---|---|---|
020418a4 | 1 | Summary: The eCryptfs mount helper and support libraries |
648833c8 | 2 | Summary(pl.UTF-8): Narzędzie pomocnicze i biblioteki do montowania eCryptfs |
020418a4 | 3 | Name: ecryptfs-utils |
2ec150f5 | 4 | Version: 56 |
4aaab0b8 | 5 | Release: 1 |
648833c8 | 6 | License: GPL v2+ |
020418a4 | 7 | Group: Base |
020418a4 | 8 | Source0: http://dl.sourceforge.net/ecryptfs/%{name}-%{version}.tar.bz2 |
2ec150f5 | 9 | # Source0-md5: e199bf29f63ea501c95fc166ed71c093 |
f4eb7533 | 10 | Patch0: %{name}-sh.patch |
648833c8 | 11 | URL: http://ecryptfs.sourceforge.net/ |
6aded8fa PG |
12 | # http://www.ubuntu.com/usn/usn-783-1 |
13 | # http://bazaar.launchpad.net/~ecryptfs/ecryptfs/ecryptfs-utils/revision/403 | |
14 | BuildRequires: security(CVE-2009-1296) | |
f4eb7533 JB |
15 | BuildRequires: autoconf >= 2.59 |
16 | BuildRequires: automake | |
020418a4 | 17 | BuildRequires: gpgme-devel |
648833c8 | 18 | BuildRequires: keyutils-devel >= 1.0 |
8ecb7617 | 19 | BuildRequires: libgcrypt-devel >= 1.2.0 |
f4eb7533 | 20 | BuildRequires: libtool |
68287c3e | 21 | BuildRequires: openssl-devel >= 0.9.7 |
020418a4 | 22 | BuildRequires: pam-devel |
648833c8 | 23 | BuildRequires: perl-tools-pod |
8ecb7617 | 24 | BuildRequires: pkcs11-helper-devel >= 1.04 |
68287c3e | 25 | BuildRequires: pkgconfig |
86085d49 | 26 | BuildRequires: trousers-devel |
f3d24465 | 27 | Requires: uname(release) >= 2.6.19 |
020418a4 AM |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | eCryptfs is a stacked cryptographic filesystem that ships in Linux | |
32 | kernel versions 2.6.19 and above. This package provides the mount | |
33 | helper and supporting libraries to perform key management and mount | |
34 | functions. | |
35 | ||
36 | Install ecryptfs-utils if you would like to mount eCryptfs. | |
37 | ||
648833c8 JB |
38 | %description -l pl.UTF-8 |
39 | eCryptfs to stakowalny kryptograficzny system plików dostępny w jądrze | |
40 | Linuksa od wersji 2.6.19. Ten pakiet udostępnia narzędzie pomocnicze | |
41 | dla programu mount oraz wspierające je biblioteki wykonujące | |
42 | zarządzanie kluczami i funkcje związane z montowaniem. | |
43 | ||
44 | Pakiet ecryptfs-utils należy zainstalować, aby montować eCryptfs. | |
45 | ||
020418a4 AM |
46 | %package devel |
47 | Summary: The eCryptfs userspace development package | |
648833c8 JB |
48 | Summary(pl.UTF-8): Pakiet programistyczny przestrzeni użytkownika dla eCryptfs |
49 | Group: Development/Libraries | |
020418a4 | 50 | Requires: %{name} = %{version}-%{release} |
68287c3e JB |
51 | Requires: keyutils-devel >= 1.0 |
52 | Requires: libgcrypt-devel >= 1.2.0 | |
020418a4 AM |
53 | |
54 | %description devel | |
55 | Userspace development files for eCryptfs. | |
56 | ||
648833c8 JB |
57 | %description devel -l pl.UTF-8 |
58 | Pliki programistyczne przestrzeni użytkownika dla eCryptfs. | |
59 | ||
60 | %package static | |
61 | Summary: Static eCryptfs library | |
62 | Summary(pl.UTF-8): Statyczna biblioteka eCryptfs | |
63 | Group: Development/Libraries | |
64 | Requires: %{name}-devel = %{version}-%{release} | |
65 | ||
66 | %description static | |
67 | Static eCryptfs library. | |
68 | ||
69 | %description static -l pl.UTF-8 | |
70 | Statyczna biblioteka eCryptfs. | |
71 | ||
020418a4 AM |
72 | %package -n pam-pam_ecryptfs |
73 | Summary: A PAM module - ecryptfs | |
74 | Summary(pl.UTF-8): Moduł PAM ecryptfs | |
75 | Group: Base | |
76 | Requires: %{name} = %{version}-%{release} | |
77 | ||
78 | %description -n pam-pam_ecryptfs | |
79 | A PAM module - ecryptfs. | |
80 | ||
81 | %description -n pam-pam_ecryptfs -l pl.UTF-8 | |
82 | Moduł PAM ecryptfs. | |
83 | ||
84 | %prep | |
85 | %setup -q | |
f4eb7533 | 86 | %patch0 -p1 |
020418a4 AM |
87 | |
88 | %build | |
f4eb7533 JB |
89 | %{__libtoolize} |
90 | %{__aclocal} | |
91 | %{__autoconf} | |
92 | %{__autoheader} | |
93 | %{__automake} | |
020418a4 | 94 | %configure \ |
a6ab4d5e | 95 | --enable-gpg \ |
8ecb7617 | 96 | --enable-openssl \ |
a6ab4d5e | 97 | --enable-pam \ |
8ecb7617 JB |
98 | --enable-pkcs11-helper \ |
99 | --enable-tspi | |
020418a4 AM |
100 | |
101 | %{__make} | |
102 | ||
103 | %install | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
106 | %{__make} -j1 install \ | |
107 | DESTDIR=$RPM_BUILD_ROOT | |
108 | ||
020418a4 AM |
109 | %clean |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
648833c8 JB |
112 | %post -p /sbin/ldconfig |
113 | %postun -p /sbin/ldconfig | |
114 | ||
020418a4 AM |
115 | %files |
116 | %defattr(644,root,root,755) | |
d8d8a2cb | 117 | %doc AUTHORS NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt} |
020418a4 | 118 | %attr(755,root,root) /sbin/mount.ecryptfs |
d8d8a2cb JB |
119 | %attr(755,root,root) /sbin/mount.ecryptfs_private |
120 | %attr(755,root,root) /sbin/umount.ecryptfs_private | |
648833c8 JB |
121 | %attr(755,root,root) %{_bindir}/ecryptfs-* |
122 | %attr(755,root,root) %{_bindir}/ecryptfsd | |
123 | %attr(755,root,root) %{_libdir}/libecryptfs.so.*.*.* | |
124 | %attr(755,root,root) %ghost %{_libdir}/libecryptfs.so.0 | |
125 | %dir %{_libdir}/ecryptfs | |
4aaab0b8 | 126 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_gpg.so |
86085d49 JB |
127 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_openssl.so |
128 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_passphrase.so | |
8ecb7617 | 129 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_pkcs11_helper.so |
86085d49 | 130 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_tspi.so |
2ec150f5 JB |
131 | %{_mandir}/man1/ecryptfs-*.1* |
132 | %{_mandir}/man1/mount.ecryptfs_private.1* | |
133 | %{_mandir}/man1/umount.ecryptfs_private.1* | |
020418a4 | 134 | %{_mandir}/man7/ecryptfs.7* |
648833c8 JB |
135 | %{_mandir}/man8/ecryptfs-*.8* |
136 | %{_mandir}/man8/ecryptfsd.8* | |
137 | %{_mandir}/man8/mount.ecryptfs.8* | |
020418a4 AM |
138 | |
139 | %files devel | |
140 | %defattr(644,root,root,755) | |
020418a4 | 141 | %attr(755,root,root) %{_libdir}/libecryptfs.so |
4aaab0b8 | 142 | %{_libdir}/libecryptfs.la |
020418a4 | 143 | %{_includedir}/ecryptfs.h |
68287c3e | 144 | %{_pkgconfigdir}/libecryptfs.pc |
020418a4 | 145 | |
4aaab0b8 AM |
146 | %files static |
147 | %defattr(644,root,root,755) | |
148 | %{_libdir}/libecryptfs.a | |
648833c8 | 149 | |
020418a4 AM |
150 | %files -n pam-pam_ecryptfs |
151 | %defattr(644,root,root,755) | |
d8d8a2cb | 152 | %doc doc/ecryptfs-pam-doc.txt |
020418a4 | 153 | %attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so |
2ec150f5 | 154 | %{_mandir}/man8/pam_ecryptfs.8* |