Add ecryptfs-utils
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 7 Aug 2013 21:58:52 +0000 (17:58 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 7 Aug 2013 21:58:52 +0000 (17:58 -0400)
config/dependencies
config/packages-list
stage5/hv-install-1
stage5/packages-update
stage5/pkg/ecryptfs-utils [new file with mode: 0644]

index 0a0b5a0..f84746c 100644 (file)
@@ -21,9 +21,11 @@ ${GIMP}: ${BABL} ${INTTOOL} ${PYGTK}
 
 ${GSTREAMER}:
 
+${ECRYPTFS_UTILS}: ${KEYUTILS} ${NSPR} ${NSS}
+
 ${GNASH}: ${AGG} ${CAIRO} ${GSTREAMER} ${FFMPEG} ${SDL} ${FIREFOX}
 
-${FIREFOX}: ${SQLITE} ${LIBNOTIFY} ${YASM}
+${FIREFOX}: ${SQLITE} ${LIBNOTIFY} ${YASM} ${NSPR} ${NSS}
 
 ${FUSE}: ${UDEV}
 
index 30e88c5..01f3735 100644 (file)
@@ -76,6 +76,7 @@ DVDRWTOOLS="dvd+rw-tools-7.1"
 
 E2FSPROGS="e2fsprogs-1.42.5"
 EASYTAG="easytag-2.1.7"
+ECRYPTFS_UTILS="ecryptfs-utils_103"
 EGLIBC="eglibc-2.15-r17386"
 EGLIBC_PORTS="eglibc-ports-2.15-r17386"
 UCLIBC="uClibc-0.9.30.1"
@@ -189,6 +190,7 @@ JASPER="jasper-1.900.1"
 KBD="kbd-1.15.3"
 KERBEROS5="krb5-1.10.3"
 KERNEL="linux-3.9.4"
+KEYUTILS="keyutils-1.5.5"
 KMOD="kmod-13"
 KVM="kvm-88"
 
index 0b962a5..f8d90b6 100755 (executable)
@@ -173,6 +173,9 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the
     ipkg -m noac -l "${FIREFOX}-xulrunner" ${FIREFOX}
     ipkg -m noac -l "${FIREFOX}-browser" ${FIREFOX}
 
+    ipkg -m noac ${KEYUTILS}
+    ipkg -s ecryptfs-utils ${ECRYPTFS_UTILS}
+
     ipkg -s qt ${QT}
     source /etc/profile
     ipkg -m noac ${LUA}
index 59a0f32..f5571b7 100755 (executable)
@@ -136,10 +136,13 @@ fpkg ${MIDORI} "http://archive.xfce.org/src/apps/midori/$(get_pkg_ver2 ${MIDORI}
 
 fpkg -m hv ${NSPR}
 fpkg -m hv ${NSS}
-
 fpkg -f "${FIREFOX}.source" ${FIREFOX} \
     "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$(get_pkg_ver ${FIREFOX})/source"
 
+fpkg ${KEYUTILS} "http://people.redhat.com/~dhowells/keyutils"
+fpkg -f "${ECRYPTFS_UTILS}.orig" ${ECRYPTFS_UTILS} \
+    "https://launchpad.net/ecryptfs/trunk/$(get_pkg_ver_underscore ${ECRYPTFS_UTILS})/+download"
+
 fpkg -e "tar.gz" ${QT} "http://get.qt.nokia.com/qt/source"
 fpkg -e "tar.gz" ${LUA} "http://www.lua.org/ftp"
 fpkg -e "tar.xz" -m sf ${VLC}
diff --git a/stage5/pkg/ecryptfs-utils b/stage5/pkg/ecryptfs-utils
new file mode 100644 (file)
index 0000000..bfd349b
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+hvbuild_post()
+{
+    # Prevent the following error when running encryptfs-setup-private as a non root user:
+    #   setreuid: Operation not permitted
+    #   ERROR:  Could not mount private ecryptfs directory
+    chmod +s /sbin/mount.ecryptfs_private
+}