blob: 5e491418ee79389e9ef9ddc86f4348449f5fbcab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=ecryptfs-utils
pkgver=111
pkgrel=5
pkgdesc="Enterprise-class stacked cryptographic filesystem for Linux"
url="http://ecryptfs.org/"
arch="all"
license="GPL"
depends="cryptsetup keyutils gettext rsync"
depends_dev="keyutils-dev linux-pam-dev nss-dev linux-headers"
makedepends="$depends_dev swig intltool gettext python2-dev perl-dev"
install=""
options="suid"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py-ecryptfs-utils:py"
source="http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz
fix-build.patch
fix-stdout-flush.patch
"
builddir="$srcdir"/${pkgname}-${pkgver}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
chmod +s "$pkgdir"/sbin/mount.ecryptfs_private || return 1
}
py() {
pkgdesc="python bindings for $pkgname"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/py* "$subpkgdir"/usr/lib/
}
md5sums="83513228984f671930752c3518cac6fd ecryptfs-utils_111.orig.tar.gz
d42bb467a5912df0d2e83e9fdd2553dd fix-build.patch
12c5334bb856151cdbd70d174ce88c01 fix-stdout-flush.patch"
sha256sums="112cb3e37e81a1ecd8e39516725dec0ce55c5f3df6284e0f4cc0f118750a987f ecryptfs-utils_111.orig.tar.gz
7f1038542a3aaba0cf5dd898f2e6e2ffbb9792fecff1a4eb532bb8bc39907fb9 fix-build.patch
fe38e0813485fdc09832fe81538089f772372bc830a3d8140d9b3f8ed99670d2 fix-stdout-flush.patch"
sha512sums="d8643f3a1f9981fecc6a08b4aa0adb6272e7340db794f6e7507cba7b712247c6beb239f27875eab6e38a69b45bc2476e6bf6b4485eb82d58f65cc469f8613c18 ecryptfs-utils_111.orig.tar.gz
09ff196e6d3ef54ef57e22e78a4af748c2989928a5c8bc3ece1f8c21c5f301b7e56142c5098111ac853ac88c1b2ee2d0b5c606a210fb53cdf0fde534aa0af92f fix-build.patch
c9eb924890a8fa3ffe8b8344a493419cf93336743b1a3a8dba984f62f8eb7a43ed6b6dbbbb7efe9e7fc84b60e71d7100f042a72c407fc9e8c4fcbeeb73d848a3 fix-stdout-flush.patch"
|