]>
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 |
c5fb99ba | 4 | Version: 85 |
bc1c8867 | 5 | Release: 2 |
648833c8 | 6 | License: GPL v2+ |
020418a4 | 7 | Group: Base |
f891a956 | 8 | Source0: http://launchpad.net/ecryptfs/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz |
c5fb99ba | 9 | # Source0-md5: eacf9488681d99651da544a4c261f784 |
f4eb7533 | 10 | Patch0: %{name}-sh.patch |
bc1c8867 AM |
11 | Patch1: %{name}-83-fixsalt.patch |
12 | Patch2: %{name}-83-splitnss.patch | |
13 | Patch3: %{name}-84-fgetc.patch | |
14 | Patch4: %{name}-84-fixsigness.patch | |
15 | Patch5: %{name}-75-werror.patch | |
648833c8 | 16 | URL: http://ecryptfs.sourceforge.net/ |
f4eb7533 JB |
17 | BuildRequires: autoconf >= 2.59 |
18 | BuildRequires: automake | |
020418a4 | 19 | BuildRequires: gpgme-devel |
fa31bca6 | 20 | BuildRequires: intltool >= 0.41.0 |
648833c8 | 21 | BuildRequires: keyutils-devel >= 1.0 |
f4eb7533 | 22 | BuildRequires: libtool |
7ea30a1a | 23 | BuildRequires: nss-devel >= 3 |
68287c3e | 24 | BuildRequires: openssl-devel >= 0.9.7 |
020418a4 | 25 | BuildRequires: pam-devel |
648833c8 | 26 | BuildRequires: perl-tools-pod |
8ecb7617 | 27 | BuildRequires: pkcs11-helper-devel >= 1.04 |
68287c3e | 28 | BuildRequires: pkgconfig |
7ea30a1a JB |
29 | BuildRequires: python-devel >= 1:2.5 |
30 | BuildRequires: rpmbuild(macros) >= 1.219 | |
31 | BuildRequires: swig >= 1.3.31 | |
86085d49 | 32 | BuildRequires: trousers-devel |
f3d24465 | 33 | Requires: uname(release) >= 2.6.19 |
020418a4 AM |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
c5fb99ba AM |
36 | # python module |
37 | %define skip_post_check_so _libecryptfs.so.0.0.0 | |
38 | ||
020418a4 AM |
39 | %description |
40 | eCryptfs is a stacked cryptographic filesystem that ships in Linux | |
41 | kernel versions 2.6.19 and above. This package provides the mount | |
42 | helper and supporting libraries to perform key management and mount | |
43 | functions. | |
44 | ||
45 | Install ecryptfs-utils if you would like to mount eCryptfs. | |
46 | ||
648833c8 JB |
47 | %description -l pl.UTF-8 |
48 | eCryptfs to stakowalny kryptograficzny system plików dostępny w jądrze | |
49 | Linuksa od wersji 2.6.19. Ten pakiet udostępnia narzędzie pomocnicze | |
50 | dla programu mount oraz wspierające je biblioteki wykonujące | |
51 | zarządzanie kluczami i funkcje związane z montowaniem. | |
52 | ||
53 | Pakiet ecryptfs-utils należy zainstalować, aby montować eCryptfs. | |
54 | ||
020418a4 AM |
55 | %package devel |
56 | Summary: The eCryptfs userspace development package | |
648833c8 JB |
57 | Summary(pl.UTF-8): Pakiet programistyczny przestrzeni użytkownika dla eCryptfs |
58 | Group: Development/Libraries | |
020418a4 | 59 | Requires: %{name} = %{version}-%{release} |
68287c3e | 60 | Requires: keyutils-devel >= 1.0 |
7ea30a1a | 61 | Requires: nss-devel >= 3 |
020418a4 AM |
62 | |
63 | %description devel | |
64 | Userspace development files for eCryptfs. | |
65 | ||
648833c8 JB |
66 | %description devel -l pl.UTF-8 |
67 | Pliki programistyczne przestrzeni użytkownika dla eCryptfs. | |
68 | ||
69 | %package static | |
70 | Summary: Static eCryptfs library | |
71 | Summary(pl.UTF-8): Statyczna biblioteka eCryptfs | |
72 | Group: Development/Libraries | |
73 | Requires: %{name}-devel = %{version}-%{release} | |
74 | ||
75 | %description static | |
76 | Static eCryptfs library. | |
77 | ||
78 | %description static -l pl.UTF-8 | |
79 | Statyczna biblioteka eCryptfs. | |
80 | ||
020418a4 | 81 | %package -n pam-pam_ecryptfs |
7ea30a1a JB |
82 | Summary: eCryptfs PAM module |
83 | Summary(pl.UTF-8): Moduł PAM eCryptfs | |
020418a4 AM |
84 | Group: Base |
85 | Requires: %{name} = %{version}-%{release} | |
86 | ||
87 | %description -n pam-pam_ecryptfs | |
7ea30a1a | 88 | eCryptfs PAM module. |
020418a4 AM |
89 | |
90 | %description -n pam-pam_ecryptfs -l pl.UTF-8 | |
7ea30a1a | 91 | Moduł PAM eCryptfs. |
020418a4 | 92 | |
7ea30a1a | 93 | %package -n python-ecryptfs |
c5fb99ba | 94 | Summary: Python bindings for the eCryptfs utils |
7ea30a1a JB |
95 | Summary(pl.UTF-8): Wiązania Pythona do narzędzi eCryptfs |
96 | Group: Libraries/Python | |
c5fb99ba | 97 | Requires: %{name} = %{version}-%{release} |
7ea30a1a JB |
98 | Obsoletes: ecryptfs-utils-python |
99 | ||
100 | %description -n python-ecryptfs | |
101 | This package contains a module that permits applications written in | |
102 | the Python programming language to use the interface supplied by the | |
103 | ecryptfs-utils library. | |
c5fb99ba | 104 | |
7ea30a1a JB |
105 | %description -n python-ecryptfs -l pl.UTF-8 |
106 | Ten pakiet zawiera moduł pozwalający aplikacjom napisanym w Pythonie | |
107 | na korzystanie z interfejsu dostarczanego przez bibliotekę | |
108 | ecryptfs-utils. | |
c5fb99ba | 109 | |
020418a4 AM |
110 | %prep |
111 | %setup -q | |
f4eb7533 | 112 | %patch0 -p1 |
bc1c8867 AM |
113 | %patch1 -p1 |
114 | %patch2 -p1 | |
115 | %patch3 -p1 | |
116 | %patch4 -p1 | |
117 | %patch5 -p1 | |
020418a4 AM |
118 | |
119 | %build | |
f4eb7533 | 120 | %{__libtoolize} |
f891a956 | 121 | %{__aclocal} -I m4 |
f4eb7533 JB |
122 | %{__autoconf} |
123 | %{__autoheader} | |
124 | %{__automake} | |
020418a4 | 125 | %configure \ |
a6ab4d5e | 126 | --enable-gpg \ |
8ecb7617 | 127 | --enable-openssl \ |
a6ab4d5e | 128 | --enable-pam \ |
8ecb7617 | 129 | --enable-pkcs11-helper \ |
cf940cc5 | 130 | --enable-tspi \ |
131 | --enable-static | |
020418a4 AM |
132 | |
133 | %{__make} | |
134 | ||
135 | %install | |
136 | rm -rf $RPM_BUILD_ROOT | |
137 | ||
138 | %{__make} -j1 install \ | |
139 | DESTDIR=$RPM_BUILD_ROOT | |
140 | ||
7ea30a1a JB |
141 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{name}/_libecryptfs.{la,a} |
142 | %py_postclean | |
143 | ||
c5fb99ba AM |
144 | %find_lang %{name} |
145 | ||
020418a4 AM |
146 | %clean |
147 | rm -rf $RPM_BUILD_ROOT | |
148 | ||
648833c8 JB |
149 | %post -p /sbin/ldconfig |
150 | %postun -p /sbin/ldconfig | |
151 | ||
c5fb99ba | 152 | %files -f %{name}.lang |
020418a4 | 153 | %defattr(644,root,root,755) |
7ea30a1a | 154 | %doc AUTHORS ChangeLog NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt} |
020418a4 | 155 | %attr(755,root,root) /sbin/mount.ecryptfs |
d8d8a2cb JB |
156 | %attr(755,root,root) /sbin/mount.ecryptfs_private |
157 | %attr(755,root,root) /sbin/umount.ecryptfs_private | |
1a853d98 | 158 | %attr(755,root,root) /sbin/umount.ecryptfs |
648833c8 JB |
159 | %attr(755,root,root) %{_bindir}/ecryptfs-* |
160 | %attr(755,root,root) %{_bindir}/ecryptfsd | |
161 | %attr(755,root,root) %{_libdir}/libecryptfs.so.*.*.* | |
162 | %attr(755,root,root) %ghost %{_libdir}/libecryptfs.so.0 | |
163 | %dir %{_libdir}/ecryptfs | |
4aaab0b8 | 164 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_gpg.so |
86085d49 JB |
165 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_openssl.so |
166 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_passphrase.so | |
8ecb7617 | 167 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_pkcs11_helper.so |
86085d49 | 168 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_tspi.so |
c5fb99ba | 169 | %{_datadir}/%{name} |
2ec150f5 JB |
170 | %{_mandir}/man1/ecryptfs-*.1* |
171 | %{_mandir}/man1/mount.ecryptfs_private.1* | |
172 | %{_mandir}/man1/umount.ecryptfs_private.1* | |
020418a4 | 173 | %{_mandir}/man7/ecryptfs.7* |
648833c8 JB |
174 | %{_mandir}/man8/ecryptfs-*.8* |
175 | %{_mandir}/man8/ecryptfsd.8* | |
176 | %{_mandir}/man8/mount.ecryptfs.8* | |
1a853d98 | 177 | %{_mandir}/man8/umount.ecryptfs.8* |
020418a4 AM |
178 | |
179 | %files devel | |
180 | %defattr(644,root,root,755) | |
020418a4 | 181 | %attr(755,root,root) %{_libdir}/libecryptfs.so |
4aaab0b8 | 182 | %{_libdir}/libecryptfs.la |
020418a4 | 183 | %{_includedir}/ecryptfs.h |
68287c3e | 184 | %{_pkgconfigdir}/libecryptfs.pc |
020418a4 | 185 | |
4aaab0b8 AM |
186 | %files static |
187 | %defattr(644,root,root,755) | |
188 | %{_libdir}/libecryptfs.a | |
648833c8 | 189 | |
020418a4 AM |
190 | %files -n pam-pam_ecryptfs |
191 | %defattr(644,root,root,755) | |
d8d8a2cb | 192 | %doc doc/ecryptfs-pam-doc.txt |
020418a4 | 193 | %attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so |
2ec150f5 | 194 | %{_mandir}/man8/pam_ecryptfs.8* |
c5fb99ba | 195 | |
7ea30a1a | 196 | %files -n python-ecryptfs |
c5fb99ba | 197 | %defattr(644,root,root,755) |
7ea30a1a | 198 | %dir %{py_sitedir}/%{name} |
c5fb99ba AM |
199 | %attr(755,root,root) %{py_sitedir}/%{name}/_libecryptfs.so* |
200 | %dir %{py_sitescriptdir}/%{name} | |
201 | %{py_sitescriptdir}/%{name}/*.py[co] |