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-4.1.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/app-admin/kpcli/Manifest b/app-admin/kpcli/Manifest
index a7b0e9b60b6c..668ae3d85aa2 100644
--- a/app-admin/kpcli/Manifest
+++ b/app-admin/kpcli/Manifest
@@ -1,3 +1,5 @@
DIST kpcli-3.8.1.pl 263292 BLAKE2B 70e9e4ca56466e51314e891de2282f9124c7eedd0f7aea7abfc4ad94a1f4ebcc4d65dc09573560e4cc90be4a2f4a3156d6d4e57f3cb5a27de297fca137fc9cbb SHA512 5d4ba12112b6b82dc150193f6c2210c868c6582726cf157f05d2ad74224ac6f637d09075ae410ce91481b222cc1f40c3fb2f6267923a04a06211929d92a05097
+DIST kpcli-4.1.pl 366041 BLAKE2B 71a3814981a3ebfc9a9d784bab5706ff58796e84f8f58472da9f1f800b63a6ade4c8b8e334a1f118c4783d19f27c5d0af5b0bbaeb75d1cb6337967a3ac2a7f33 SHA512 54352fee32b381a73ab65bd8743115e867883a731d23722dde1102803579349fde130f8ffd23904996125f4d23cd4709dc0416ba668efa8a569cb64ee883ca8f
EBUILD kpcli-3.8.1.ebuild 1137 BLAKE2B 4bbe5067c0f39b5ffc5d0475ae7da86ab7e97fff4c6787871d17aa711d86a4c3dca0e1d7650122b224868a256ce72af3e62dbd2b5f7ae2de7fae1606c5c47a1c SHA512 ff54492613a641df8b4811031ac6bf3c1f20553d8303538385b53962b5739520ad99dec5f986659efb9f286cfe054a525f365e0fd7de5bc60e2c707f28187ff2
+EBUILD kpcli-4.1.ebuild 1139 BLAKE2B f49fd39d7001a15f9e8bfefe5f60ba16ce1c4ca4ce44e887afd6b0aa60516b75b264bb003f0c7b8afd1d512755ce6855ba946ba40f33d2287845f36e39237ba9 SHA512 59ac1eb39e659937d9ac3299e967123bfe9ae7e9aa1aed6e17e25174e650ac37c93af1fb98e380aa6f2b6fa442c8ae32784f55db2bf5886bc5b82bebbda5390f
MISC metadata.xml 273 BLAKE2B d62f5c6d2fc1998b1bb302a012b800c8f40ba1cd10e1b1aef863b9f29e1d40e33a2b4bc3394ca15125009a61c4cca16c083aee6eacc794d85e20b0b65cdad5e1 SHA512 d475f9e90b21e09dd686c8f9d531e57a961b85729ee009e3b3f938848ed3fb6fd48272f2c2282a1cb335005200d0186363b6eb5b95e06ebc98854b0f7f64c082
diff --git a/app-admin/kpcli/kpcli-4.1.ebuild b/app-admin/kpcli/kpcli-4.1.ebuild
new file mode 100644
index 000000000000..c9b8aa4f2afe
--- /dev/null
+++ b/app-admin/kpcli/kpcli-4.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+DESCRIPTION="Command line interface to KeePass database files"
+HOMEPAGE="https://kpcli.sourceforge.io/"
+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
+}