]>
Commit | Line | Data |
---|---|---|
11c61e23 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
11c61e23 SS |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = cryptsetup-luks |
8c34b384 SS |
7 | version = 1.4.2 |
8 | release = 1 | |
9 | ||
10 | compat_version = 1.1.0 | |
11c61e23 | 11 | |
802ea3af MT |
12 | groups = System/Filesystems |
13 | url = http://cryptsetup.googlecode.com/ | |
14 | license = GPLv2+ | |
15 | summary = A utility for setting up encrypted filesystems. | |
11c61e23 | 16 | |
802ea3af | 17 | description |
8c34b384 | 18 | This package contains cryptsetup, a utility for setting up |
11c61e23 | 19 | encrypted filesystems using Device Mapper and the dm-crypt target. |
802ea3af | 20 | end |
11c61e23 | 21 | |
8c34b384 SS |
22 | source_dl = http://cryptsetup.googlecode.com/files/ |
23 | ||
24 | sources = \ | |
25 | cryptsetup-%{version}.tar.bz2 \ | |
26 | cryptsetup-%{compat_version}.tar.bz2 | |
11c61e23 | 27 | |
802ea3af MT |
28 | build |
29 | requires | |
30 | libdevmapper-devel | |
31 | libgcrypt-devel | |
32 | libgpg-error-devel | |
33 | libuuid-devel | |
34 | popt-devel | |
35 | end | |
50ad4471 | 36 | |
802ea3af | 37 | DIR_APP = %{DIR_SRC}/cryptsetup-%{version} |
11c61e23 | 38 | |
802ea3af | 39 | configure_options += \ |
11c61e23 | 40 | --disable-static |
8c34b384 SS |
41 | |
42 | # Build compat version of libcryptsetup. | |
43 | build_cmds | |
44 | cd %{DIR_SRC}/cryptsetup-%{compat_version} | |
45 | ./configure \ | |
46 | %{configure_options} | |
47 | ||
48 | make %{PARALELLISMFLAGS} | |
49 | end | |
50 | ||
51 | install_cmds | |
52 | # Install compat version of libcyptsetup. | |
53 | cd %{DIR_SRC}/cryptsetup-%{compat_version} | |
54 | install -m 644 lib/.libs/libcryptsetup.so.1.0.0 %{BUILDROOT}%{libdir} | |
55 | ln -svf libcryptsetup.so.1.0.0 %{BUILDROOT}%{libdir}/libcryptsetup.so.1 | |
56 | end | |
802ea3af MT |
57 | end |
58 | ||
59 | packages | |
60 | package %{name} | |
1f9bc2f0 | 61 | |
8c34b384 SS |
62 | package %{name}-compat |
63 | summary = Compat libraries of %{thisapp}. | |
64 | ||
65 | files | |
66 | %{libdir}/libcryptsetup.so.1* | |
67 | end | |
68 | end | |
69 | ||
802ea3af MT |
70 | package %{name}-devel |
71 | template DEVEL | |
72 | end | |
1f9bc2f0 MT |
73 | |
74 | package %{name}-debuginfo | |
75 | template DEBUGINFO | |
76 | end | |
802ea3af | 77 | end |