summaryrefslogtreecommitdiff
path: root/app-crypt/kencfs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-crypt/kencfs
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/kencfs')
-rw-r--r--app-crypt/kencfs/Manifest7
-rw-r--r--app-crypt/kencfs/files/kencfs-1.4.0-encfs5.patch13
-rw-r--r--app-crypt/kencfs/files/kencfs-1.6.2-desktop.patch11
-rw-r--r--app-crypt/kencfs/kencfs-1.6.4.ebuild45
-rw-r--r--app-crypt/kencfs/metadata.xml8
5 files changed, 84 insertions, 0 deletions
diff --git a/app-crypt/kencfs/Manifest b/app-crypt/kencfs/Manifest
new file mode 100644
index 000000000000..3241f02151f0
--- /dev/null
+++ b/app-crypt/kencfs/Manifest
@@ -0,0 +1,7 @@
+AUX kencfs-1.4.0-encfs5.patch 413 SHA256 4c0eab8077163535d519cdd9de70c8561a4f3f5698f8c1a9c559d3271b1ee317 SHA512 47cb411f80bb4270d3c7e0b132949e2b0185b5170228120ee336fc1bb8ee83c9c0a960746407e8934097381a558be941d08d6e28b774423e58102a3f82a66ae0 WHIRLPOOL 5565e1de3feb3c10ef76afd90015f633e7b90ea985956ad0e2f6d37905bbd4d8ca2c0eb93bf67140bdc7b9c7d3c56d3cd16017b530ee87b6ce4950c401cb035b
+AUX kencfs-1.6.2-desktop.patch 228 SHA256 d39d44d5714e6976e7cdf18abe22e0134b02800ca7c45651d98225fa310ddcf4 SHA512 0f96b65f43fd08cfa116381e5db1ceec81eebb076dca9349d7d3781651bdc7d04e8f4d0cc611f793e581416304174286db98c6aee814059520a47f26bf885d92 WHIRLPOOL 2685f3cd9f7fc2bb385a19d228e95d254255fd010f4dbb37ecb3b2ce7f506ff74d032874540d674ae915997a12c3b780d10e25952e19182b832ccef41d317b49
+DIST kencfs-1.6.4.tar.gz 221386 SHA256 3e88cd2bf0d11ce83746fb5b1e385f172ed506cde922ee2811f9cdbaaa80c4ca SHA512 44dacd0a17194b61d2d73820851b496d6052dbab3893a030db2e63c1be0d1569d80cc75ce0c179381e98b60c5e27ccead8ee257f53f57dea508808616abb514d WHIRLPOOL 8b7f372c8c8304f3a3249a74a565ea77c4c3f255c6db3cf66a2a62951be1b8010e9696dc5d5ac44ea1e39d189c63e4a1ccf562cd4886578e8a2383756e48d24b
+EBUILD kencfs-1.6.4.ebuild 832 SHA256 e695d523b5078cc5537bf8323e25c9a681b892d932c7007831f368fe96b9e52d SHA512 a849eb9d03e52c4401f1320d2aa2d51cc60f5411748a3c7b06c88efc1f18fb0db8be77bc7e33b531287b4e0e491b7160ea35a281d66b3b85845a5a1e4736a7fb WHIRLPOOL bd2327b4d5cb1f4f19e56a7420997fb33e8eeccbf5adb98dfbcb7d580010307e4dc2c8cf6b45bdb1c5d151d60a3767ff5250c81b95dcf09fc20587d41cc1e6e5
+MISC ChangeLog 3459 SHA256 b79badaf2ac0ea794180447405622082098e4e7cac9a35435ec1ee44c58d8032 SHA512 16d14016c0d406385e5c95926dd4267ef49904b86843220f1a7bee6ae095286324a98973c6b540c953e269e15e4fa2784189caca43f5489423235e926899009c WHIRLPOOL c1d29c802eb5da17421e02396725ac04b604accf9042213c667fd0176d52308f982d84112e25f3ed2234a5b0f7b218f4ec084cea11f801857ca5a7c3ed423327
+MISC ChangeLog-2015 2644 SHA256 01a32d4dfeca20561235cc382f170cda00ea155b5863970820ecfe5298e58f84 SHA512 24df8a5a5ead26fe64c9f9059d52fa74be7bf5da54ca07eb327b57f38f30c90221c519868ad9c8deffd16a9f3f71022848d2a5b7adbed3dcef03679094ea0141 WHIRLPOOL 1e4c5302fa53aa2b738c4b8c9e619b6122ee391e574986fa8943a8f5f50baaf04a471d76f0371e00befe5fa27e8da65a5196c8d72507df012d68ae44897c5f6d
+MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
diff --git a/app-crypt/kencfs/files/kencfs-1.4.0-encfs5.patch b/app-crypt/kencfs/files/kencfs-1.4.0-encfs5.patch
new file mode 100644
index 000000000000..6687ac0f1f9b
--- /dev/null
+++ b/app-crypt/kencfs/files/kencfs-1.4.0-encfs5.patch
@@ -0,0 +1,13 @@
+Support older encfs5 volumes wrt Gentoo bug #446652.
+
+--- a/fsDialog.cpp
++++ b/fsDialog.cpp
+@@ -161,7 +161,7 @@
+
+ arg << cr << pm << "-S";
+ p->start(prg,arg);
+- if (! QFile::exists(cr+"/.encfs6.xml")) p->write("\n");
++ if (! (QFile::exists(cr+"/.encfs6.xml") || QFile::exists(cr+"/.encfs5")) ) p->write("\n");
+ p->write(pw.toLocal8Bit().data());
+ p->write("\n");
+ p->waitForFinished();
diff --git a/app-crypt/kencfs/files/kencfs-1.6.2-desktop.patch b/app-crypt/kencfs/files/kencfs-1.6.2-desktop.patch
new file mode 100644
index 000000000000..2d8683f11e46
--- /dev/null
+++ b/app-crypt/kencfs/files/kencfs-1.6.2-desktop.patch
@@ -0,0 +1,11 @@
+--- a/kencfs.desktop
++++ b/kencfs.desktop
+@@ -2,7 +2,7 @@
+ Name=KEncFS
+ Exec=kencfs
+ Icon=kencfs/kencfs-icon
+-Categories=System;Security
++Categories=Qt;KDE;System;Security;
+ Terminal=false
+ Type=Application
+ StartupNotify=false
diff --git a/app-crypt/kencfs/kencfs-1.6.4.ebuild b/app-crypt/kencfs/kencfs-1.6.4.ebuild
new file mode 100644
index 000000000000..f998854329f5
--- /dev/null
+++ b/app-crypt/kencfs/kencfs-1.6.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="GUI frontend for encfs"
+HOMEPAGE="https://www.linux-apps.com/content/show.php?content=134003"
+SRC_URI="https://dl.opendesktop.org/api/files/download/id/1486311191/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ kde-frameworks/kdelibs:4
+"
+RDEPEND="${DEPEND}
+ || ( kde-frameworks/kwallet:5 kde-apps/kwalletd:4 )
+ sys-fs/encfs
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.4.0-encfs5.patch"
+ "${FILESDIR}/${PN}-1.6.2-desktop.patch"
+)
+
+src_prepare() {
+ default
+
+ sed -i ${PN}.pro -e "/^doc.path =/s/${PN}/${PF}/" \
+ || die "sed docdir failed"
+}
+
+src_configure() {
+ eqmake4
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
diff --git a/app-crypt/kencfs/metadata.xml b/app-crypt/kencfs/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/app-crypt/kencfs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>