summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-09-21 09:08:00 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-09-21 09:14:23 +0300
commitccbbb9c3e52462b298224112ffb522d4d7440fd1 (patch)
treeaf44b801fe2f172d7cc41deebc84c86e1890a1a3 /app-admin/kpcli
parentdev-util/bam: Remove last-rited pkg (diff)
downloadgentoo-ccbbb9c3e52462b298224112ffb522d4d7440fd1.tar.gz
gentoo-ccbbb9c3e52462b298224112ffb522d4d7440fd1.tar.bz2
gentoo-ccbbb9c3e52462b298224112ffb522d4d7440fd1.zip
app-admin/kpcli: bump to 3.5
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-admin/kpcli')
-rw-r--r--app-admin/kpcli/Manifest1
-rw-r--r--app-admin/kpcli/kpcli-3.5.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/kpcli/Manifest b/app-admin/kpcli/Manifest
index 3531167b4173..c2001414cdb0 100644
--- a/app-admin/kpcli/Manifest
+++ b/app-admin/kpcli/Manifest
@@ -1 +1,2 @@
DIST kpcli-3.4.pl 211243 BLAKE2B 4880d832554de1956e033bba2e2021b9dc0b77202585663b0f4ad2acca520bcb430ac974bbea00c21aa37c2c8e8fa8c5cf2e8131542c20ecc3c6b0ac6dd85d9a SHA512 1ec9ea46f769a6891700565a51c592fd4809a0f3bc1d2088ca694233b276652506b470328b8b840cd0876b945faad27a16a5685d8655868cd20760f24619ffaf
+DIST kpcli-3.5.pl 223904 BLAKE2B 1d2a497c0225980eabf0c95d9fa2e89e7d94e4422f97744fb325d41393b80ecaf423b67666014c2c41076b9b2e85c41e761e72b3b89800b405d26b67f49f9afc SHA512 d9454d47cd90e647ec0695b9a571c64c389569a676e1d172fd6b6a6dfd1170ca63bb23ca2c00dc35e93984fad409864c13d5562484a1a513a152008b27cf9c0b
diff --git a/app-admin/kpcli/kpcli-3.5.ebuild b/app-admin/kpcli/kpcli-3.5.ebuild
new file mode 100644
index 000000000000..75d31939498b
--- /dev/null
+++ b/app-admin/kpcli/kpcli-3.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit optfeature
+
+DESCRIPTION="A command line interface to KeePass database files"
+HOMEPAGE="http://kpcli.sourceforge.net"
+SRC_URI="https://downloads.sourceforge.net/project/kpcli/${P}.pl"
+
+LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-perl/Clone
+ dev-perl/Crypt-Rijndael
+ dev-perl/File-KeePass
+ dev-perl/Math-Random-ISAAC
+ dev-perl/Sort-Naturally
+ dev-perl/Sub-Install
+ dev-perl/TermReadKey
+ dev-perl/Term-ReadLine-Gnu
+ dev-perl/Term-ShellUI"
+
+src_unpack() {
+ mkdir "${S}" || die
+ cp "${DISTDIR}/${P}.pl" "${S}/${PN}" || die
+}
+
+src_compile() { :; }
+
+src_install() {
+ dobin kpcli
+}
+
+pkg_postinst() {
+ # Not packaged in Gentoo yet, but we'd be interested in:
+ # Data::Password, Data::Password::passwdqc, Crypt::PWSafe3, (Authen::OATH (& Convert::Base32)).
+ optfeature "X clipboard support" "dev-perl/Capture-Tiny dev-perl/Clipboard"
+}