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