summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-29 13:53:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-29 13:59:57 +0100
commit7c5b613db1533be856794e771522e78beee221fc (patch)
tree0910bfbc81111de4f81aff702e6f1c8540de982a /app-crypt/kencfs
parentmedia-libs/libqaccessibilityclient: Disable no-op tests dir (diff)
downloadgentoo-7c5b613db1533be856794e771522e78beee221fc.tar.gz
gentoo-7c5b613db1533be856794e771522e78beee221fc.tar.bz2
gentoo-7c5b613db1533be856794e771522e78beee221fc.zip
app-crypt/kencfs: Revert pkgmove to app-crypt/kencfs-plasma
This reverts commit 0d714555c42423bc49ee751e83f8e4e01d69ec45.
Diffstat (limited to 'app-crypt/kencfs')
-rw-r--r--app-crypt/kencfs/Manifest1
-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, 78 insertions, 0 deletions
diff --git a/app-crypt/kencfs/Manifest b/app-crypt/kencfs/Manifest
new file mode 100644
index 000000000000..b4eeda38bc39
--- /dev/null
+++ b/app-crypt/kencfs/Manifest
@@ -0,0 +1 @@
+DIST kencfs-1.6.4.tar.gz 221386 SHA256 3e88cd2bf0d11ce83746fb5b1e385f172ed506cde922ee2811f9cdbaaa80c4ca SHA512 44dacd0a17194b61d2d73820851b496d6052dbab3893a030db2e63c1be0d1569d80cc75ce0c179381e98b60c5e27ccead8ee257f53f57dea508808616abb514d WHIRLPOOL 8b7f372c8c8304f3a3249a74a565ea77c4c3f255c6db3cf66a2a62951be1b8010e9696dc5d5ac44ea1e39d189c63e4a1ccf562cd4886578e8a2383756e48d24b
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..8f8da5d243d3
--- /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
+ 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>