summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-07-22 09:12:27 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-07-22 09:12:27 +0300
commitdc07cfa227fedd73344e04262c19bdb3f3f831f5 (patch)
tree5260bff248e5da11fc93853a9d4546e454ced6d6 /app-admin/kpcli
parentsys-kernel/gentoo-kernel-bin: Bump to 5.15.56 (diff)
downloadgentoo-dc07cfa227fedd73344e04262c19bdb3f3f831f5.tar.gz
gentoo-dc07cfa227fedd73344e04262c19bdb3f3f831f5.tar.bz2
gentoo-dc07cfa227fedd73344e04262c19bdb3f3f831f5.zip
app-admin/kpcli: add 3.8
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.8.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/kpcli/Manifest b/app-admin/kpcli/Manifest
index f1a644093812..30d40b37361a 100644
--- a/app-admin/kpcli/Manifest
+++ b/app-admin/kpcli/Manifest
@@ -1 +1,2 @@
DIST kpcli-3.7.pl 241191 BLAKE2B a3a851ab9d5244dc2c17c084f116fd8b7adc6770715011c119e8238a7f5ecc0fd894d98c47c4762413dadfff83798f1a134a21d9e156d12ae76aac51259ee58b SHA512 2f66686e6f563e9ef5a2ae1fe23085c2563455e6041ce60eaedbb87492ae517a19163393e640e58b3a8d761cefd924bad605762ad6ba045de8f45fad4fb90abc
+DIST kpcli-3.8.pl 263217 BLAKE2B 07f3300340e1d446ca7ef4491a9b4e7812fc1299fb8ac0659529b9389d11b156f3bcfca583bb4f1a316eb7204c19f82c02b23b36aab0036f37800ca5c9ec3f35 SHA512 4ab75097309f9f9d6cb9c74ec2ea98130c836db0ed9e50e280c11629627ae1a560b0d78f2b02ccd8b025864ae6d4e18a20aa41d736dfdd9a1c423889b71fe592
diff --git a/app-admin/kpcli/kpcli-3.8.ebuild b/app-admin/kpcli/kpcli-3.8.ebuild
new file mode 100644
index 000000000000..d30a653f15b0
--- /dev/null
+++ b/app-admin/kpcli/kpcli-3.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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() {
+ optfeature "time-based-one-time-only password support" "dev-perl/Authen-OATH dev-perl/Convert-Base32"
+ optfeature "X clipboard support" "dev-perl/Capture-Tiny dev-perl/Clipboard"
+ optfeature "password quality check" dev-perl/Data-Password
+ optfeature "better password quality check" dev-perl/Data-Password-passwdqc
+ optfeature "importing Password Safe v3 databases" dev-perl/Crypt-PWSafe3
+}