2012-08-07 18:30:50 +00:00
|
|
|
# Template file for 'ecryptfs-utils'
|
|
|
|
pkgname=ecryptfs-utils
|
2012-11-23 02:00:17 +00:00
|
|
|
version=101
|
2013-04-12 08:23:11 +00:00
|
|
|
revision=2
|
2012-08-07 18:30:50 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-pamdir=/usr/lib/security --enable-gpg --enable-gui"
|
|
|
|
makedepends="pkg-config intltool python-devel pam-devel nss-devel
|
2012-11-23 02:00:17 +00:00
|
|
|
swig openssl-devel keyutils-devel gpgme-devel gtk+-devel"
|
2012-08-07 18:30:50 +00:00
|
|
|
short_desc="ecryptfs cryptographic filesystem (utilities)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://ecryptfs.org/"
|
|
|
|
distfiles="http://launchpad.net/ecryptfs/trunk/${version}/+download/${pkgname}_${version}.orig.tar.gz"
|
2012-11-23 02:00:17 +00:00
|
|
|
checksum=f8ddd2be2e208fb2f11aeca1721135c3c31465f78f2318981df682741ac72c55
|
2012-08-07 18:30:50 +00:00
|
|
|
long_desc="
|
|
|
|
eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem
|
|
|
|
for Linux.
|
|
|
|
|
|
|
|
It provides advanced key management and policy features. eCryptfs stores
|
|
|
|
cryptographic metadata in the header of each file written, so that encrypted
|
|
|
|
files can be copied between hosts; the file will be decryptable with the proper
|
|
|
|
key, and there is no need to keep track of any additional information aside from
|
|
|
|
what is already in the encrypted file itself. Think of eCryptfs as a sort of
|
|
|
|
gnupgfs.
|
|
|
|
|
|
|
|
eCryptfs is a native Linux filesystem. The kernel module component of eCryptfs
|
|
|
|
is part of the Linux kernel since 2.6.19.
|
|
|
|
|
|
|
|
This package contains the userland utilities."
|
|
|
|
|
2012-08-07 20:45:34 +00:00
|
|
|
CPPFLAGS="-D_FILE_OFFSET_BITS=64"
|
|
|
|
|
2012-08-07 18:30:50 +00:00
|
|
|
post_install() {
|
2013-04-15 20:30:57 +00:00
|
|
|
vmkdir usr
|
|
|
|
mv ${DESTDIR}/sbin ${DESTDIR}/usr
|
2012-08-07 18:30:50 +00:00
|
|
|
chmod +s ${DESTDIR}/usr/sbin/mount.ecryptfs_private
|
|
|
|
|
|
|
|
vmkdir usr/lib/modules-load.d
|
|
|
|
echo "ecryptfs" > ${DESTDIR}/usr/lib/modules-load.d/ecryptfs.conf
|
|
|
|
chmod 644 ${DESTDIR}/usr/lib/modules-load.d/ecryptfs.conf
|
|
|
|
}
|
2013-04-12 08:23:11 +00:00
|
|
|
|
|
|
|
libecryptfs_package() {
|
|
|
|
short_desc="ecryptfs cryptographic filesystem (library)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libecryptfs-devel_package() {
|
|
|
|
depends="keyutils-devel libecryptfs>=${version}_${revision}"
|
|
|
|
short_desc="ecryptfs cryptographic filesystem (development)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ecryptfs-utils-python_package() {
|
|
|
|
depends="python"
|
|
|
|
short_desc="ecryptfs cryptographic filesystem (python binding)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python2.7
|
|
|
|
}
|
|
|
|
}
|