Hi!

This updates kc to 2.5.0.
Please read the Changelog.md file to see what has changed and why you might not 
be able to open your older database.

I removed an unmaintained script (and the README on it), switched to GH_* 
variables (easier this way), removed pcre dependency (and thus support), and 
removed @ask-update.

Daniel


diff --git a/security/kc/Makefile b/security/kc/Makefile
index 71ee5b3a0ae..b8d2523c90a 100644
--- a/security/kc/Makefile
+++ b/security/kc/Makefile
@@ -1,10 +1,8 @@
 COMMENT =      console based password storing application

-V =            2.4.2
-DISTNAME =     kc-$V
-EXTRACT_SUFX = .tar.bz2
-MASTER_SITES = https://github.com/levaidaniel/kc/releases/download/${V}/
-REVISION =     0
+GH_ACCOUNT =   levaidaniel
+GH_PROJECT =   kc
+GH_TAGNAME =   2.5.0

 CATEGORIES =   security

@@ -15,19 +13,16 @@ MAINTAINER =        LEVAI Daniel <l...@ecentrum.hu>
 # BSD
 PERMIT_PACKAGE =               Yes

-WANTLIB += c crypto curses edit pcre scrypt util xml2
+WANTLIB += c crypto curses edit scrypt util xml2

 LIB_DEPENDS =  textproc/libxml \
-               devel/pcre \
                security/libscrypt

-MAKE_ENV +=    HAVE_PCRE=yes OS_OPENBSD=yes HAVE_LIBSCRYPT=yes
+MAKE_ENV +=    OS_OPENBSD=yes HAVE_LIBSCRYPT=yes


 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/kc
-       ${INSTALL} ${WRKBUILD}/pwsafe_to_kc.pl ${PREFIX}/share/kc/
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kc
-       ${INSTALL} ${WRKBUILD}/Changelog ${PREFIX}/share/doc/kc/
+       ${INSTALL} ${WRKBUILD}/Changelog.md ${PREFIX}/share/doc/kc/

 .include <bsd.port.mk>
diff --git a/security/kc/distinfo b/security/kc/distinfo
index 5a85a457900..70dbd7a942e 100644
--- a/security/kc/distinfo
+++ b/security/kc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (kc-2.4.2.tar.bz2) = PpFoQR8OHwOQE8OwsSXolGt7D+fpLRVvBpyMu0ovimE=
-SIZE (kc-2.4.2.tar.bz2) = 65011
+SHA256 (kc-2.5.0.tar.gz) = e2qyCIwulrcTVvVUz9XSZNE7NouPtnGXLPAxDZRvv64=
+SIZE (kc-2.5.0.tar.gz) = 99969
diff --git a/security/kc/pkg/MESSAGE b/security/kc/pkg/MESSAGE
new file mode 100644
index 00000000000..345fc451266
--- /dev/null
+++ b/security/kc/pkg/MESSAGE
@@ -0,0 +1 @@
+Please read ${PREFIX}/share/doc/kc/Changelog.md to see why you might not be 
able to open your database anymore.
diff --git a/security/kc/pkg/PLIST b/security/kc/pkg/PLIST
index 94a73f3dc5a..95289a05e28 100644
--- a/security/kc/pkg/PLIST
+++ b/security/kc/pkg/PLIST
@@ -1,8 +1,4 @@
-@ask-update kc-<2.4 Make sure all your existing kc databases are safely 
*dumped* ('dump' command) then read the Changelog in ${PREFIX}/share/doc/kc 
after installation
 @bin bin/kc
 @man man/man1/kc.1
 share/doc/kc/
-share/doc/kc/Changelog
-share/doc/pkg-readmes/${PKGSTEM}
-share/kc/
-share/kc/pwsafe_to_kc.pl
+share/doc/kc/Changelog.md
diff --git a/security/kc/pkg/README b/security/kc/pkg/README
deleted file mode 100644
index 46825795305..00000000000
--- a/security/kc/pkg/README
+++ /dev/null
@@ -1,8 +0,0 @@
-+-----------------------------------------------------------------------
-| Running ${PKGSTEM} on OpenBSD
-+-----------------------------------------------------------------------
-
-kc comes with a tiny and simple utility which can convert an exported
-pwsafe database to a kc compatible XML database (that can be imported to
-it later). It is installed under ${PREFIX}/share/kc/. Note that this
-script requires Perl modules provided by the p5-HTML-Parser package.

Reply via email to