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