summaryrefslogtreecommitdiff
path: root/app-admin/kpcli
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/kpcli')
-rw-r--r--app-admin/kpcli/Manifest2
-rw-r--r--app-admin/kpcli/kpcli-3.8.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/app-admin/kpcli/Manifest b/app-admin/kpcli/Manifest
index e23d0ba13adf..9c3693d57f8a 100644
--- a/app-admin/kpcli/Manifest
+++ b/app-admin/kpcli/Manifest
@@ -1,3 +1,5 @@
DIST kpcli-3.7.pl 241191 BLAKE2B a3a851ab9d5244dc2c17c084f116fd8b7adc6770715011c119e8238a7f5ecc0fd894d98c47c4762413dadfff83798f1a134a21d9e156d12ae76aac51259ee58b SHA512 2f66686e6f563e9ef5a2ae1fe23085c2563455e6041ce60eaedbb87492ae517a19163393e640e58b3a8d761cefd924bad605762ad6ba045de8f45fad4fb90abc
+DIST kpcli-3.8.pl 263217 BLAKE2B 07f3300340e1d446ca7ef4491a9b4e7812fc1299fb8ac0659529b9389d11b156f3bcfca583bb4f1a316eb7204c19f82c02b23b36aab0036f37800ca5c9ec3f35 SHA512 4ab75097309f9f9d6cb9c74ec2ea98130c836db0ed9e50e280c11629627ae1a560b0d78f2b02ccd8b025864ae6d4e18a20aa41d736dfdd9a1c423889b71fe592
EBUILD kpcli-3.7.ebuild 1138 BLAKE2B 3fdeda69e6b6b7db117b7a56121d91ee8b268405c3aeb6235a2b503189e874ae676c668f57387a1e6e051fae93c57d971c02eabd486a0aa921bde329944fdb8d SHA512 704b56af22ec2e26192014441b1c3a602941a84a94f3ef504dacff297a8475e1ad9a6110bb37dfdc9215773fbd11aa94a46d62da639e3d98af187235089c6cba
+EBUILD kpcli-3.8.ebuild 1140 BLAKE2B 2aa2929b849dfcd48557ef007b65ea70f219f048f98d524134702a5bfedacfb49202b5d3ab0a5e0a005fd05868bf0e29c27e4a7ff0069b2b22eacd9c9dfc55e8 SHA512 a25709df01dc4535e392b242d123b3e13b27da4983f96001e89eabd22f6fe2c36d325818b1b5b2b18caac95e54cfc08435a74bef980a9d7084754998c4eef3d6
MISC metadata.xml 359 BLAKE2B dc783d1efcb74e863350aba643a9f89a52db9ff75cc0f6a03c2aa8c39a1a65c904ca792342127e724a01f024e90e25d63bb427de649636707d5618ed106f7eca SHA512 aad13874ed832d9c9bf03204b2782060d080f2ee2b4e11eb5955bfb4632d2aa84db02eedb428648f1a777ae98c5a0369256faf00ebdd1d4ef816b4f5b59fc450
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
+}