summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/ckpass')
-rw-r--r--app-crypt/ckpass/ckpass-0.2-r2.ebuild (renamed from app-crypt/ckpass/ckpass-0.2-r1.ebuild)12
-rw-r--r--app-crypt/ckpass/files/ckpass-0.2-implicit-function-declaration.patch10
-rw-r--r--app-crypt/ckpass/metadata.xml2
3 files changed, 18 insertions, 6 deletions
diff --git a/app-crypt/ckpass/ckpass-0.2-r1.ebuild b/app-crypt/ckpass/ckpass-0.2-r2.ebuild
index 4b1f070d0852..96a1e38b4353 100644
--- a/app-crypt/ckpass/ckpass-0.2-r1.ebuild
+++ b/app-crypt/ckpass/ckpass-0.2-r2.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
inherit autotools
DESCRIPTION="ncurses based password database client compatible with KeePass 1.x databases"
-HOMEPAGE="http://ckpass.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="https://sourceforge.net/projects/ckpass/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
@@ -17,6 +18,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-tinfo.patch
+ "${FILESDIR}"/${P}-implicit-function-declaration.patch
)
src_prepare() {
diff --git a/app-crypt/ckpass/files/ckpass-0.2-implicit-function-declaration.patch b/app-crypt/ckpass/files/ckpass-0.2-implicit-function-declaration.patch
new file mode 100644
index 000000000000..78dce6d1a3f3
--- /dev/null
+++ b/app-crypt/ckpass/files/ckpass-0.2-implicit-function-declaration.patch
@@ -0,0 +1,10 @@
+--- a/ckpass.c
++++ b/ckpass.c
+@@ -30,6 +30,7 @@
+ #include <string.h>
+ #include <sys/mman.h>
+ #include <sys/stat.h>
++#include <sys/wait.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
diff --git a/app-crypt/ckpass/metadata.xml b/app-crypt/ckpass/metadata.xml
index 909bd919859d..3cdbff09d8a1 100644
--- a/app-crypt/ckpass/metadata.xml
+++ b/app-crypt/ckpass/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>