On h, dec 31, 2012 at 15:30:00 +0100, LEVAI Daniel wrote:
> Hi!
> 
> If you're using security/kc, I'd appreciate it if you gave this a spin,
> and report any suspicious stuff. Thank you.
[...]

I forgot to include the removal of the now unneeded patch in the
previous diff, sorry about that, so use this one, with patch -E:


Index: Makefile
===================================================================
RCS file: /cvs/ports/security/kc/Makefile,v
retrieving revision 1.3
diff -p -u -r1.3 Makefile
--- Makefile    15 Oct 2012 15:18:33 -0000      1.3
+++ Makefile    31 Dec 2012 14:44:36 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =      console based password storing application
 
-DISTNAME =     kc-2.1.6
+DISTNAME =     kc-2.2.0rc2
 CATEGORIES =    security
 
 HOMEPAGE =     http://code.google.com/p/keychain
@@ -21,6 +21,14 @@ WANTLIB =    c ssl crypto edit ncursesw xml
 LIB_DEPENDS =  textproc/libxml \
                devel/pcre
 
+# only required for the pwsafe_convert.pl utility,
+# and not for kc itself.
+RUN_DEPENDS =  www/p5-HTML-Parser
+
 MAKE_ENV +=    HAVE_PCRE=yes CC="${CC}"
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/kc
+       ${INSTALL} ${WRKBUILD}/pwsafe_convert.pl ${PREFIX}/share/kc/
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/kc/distinfo,v
retrieving revision 1.2
diff -p -u -r1.2 distinfo
--- distinfo    6 Sep 2012 19:22:53 -0000       1.2
+++ distinfo    31 Dec 2012 14:44:36 -0000
@@ -1,2 +1,2 @@
-SHA256 (kc-2.1.6.tar.gz) = QUtzhaZJ1s+D4S1KrgRd4RNJ9BVt4NibjFQ2g7By830=
-SIZE (kc-2.1.6.tar.gz) = 22276
+SHA256 (kc-2.2.0rc2.tar.gz) = Bqs8rcAOC9JwIze4vSHSVjbc2AAxC6ewtuvXopegfXk=
+SIZE (kc-2.2.0rc2.tar.gz) = 25710
Index: patches/patch-kc_1
===================================================================
RCS file: patches/patch-kc_1
diff -N patches/patch-kc_1
--- patches/patch-kc_1  6 Sep 2012 19:22:53 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-kc_1,v 1.1 2012/09/06 19:22:53 sthen Exp $
-mandoc -Tlint told me to fix this.
---- kc.1.orig  Thu Sep  6 20:30:51 2012
-+++ kc.1       Thu Sep  6 20:31:07 2012
-@@ -80,9 +80,9 @@ Display version.
- Display help.
- .El
- .Ss COMMANDS
--.Bl -tag -offset ||| -width |
- .Pp
- These commands can be used in the CLI:
-+.Bl -tag -offset ||| -width |
- .It Cm new Op name
- Create a new key in the current keychain. If
- .Ar name
Index: pkg/MESSAGE
===================================================================
RCS file: pkg/MESSAGE
diff -N pkg/MESSAGE
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/MESSAGE 31 Dec 2012 14:44:36 -0000
@@ -0,0 +1,3 @@
+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/
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/kc/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 PLIST
--- pkg/PLIST   25 Apr 2012 14:04:06 -0000      1.1.1.1
+++ pkg/PLIST   31 Dec 2012 14:44:36 -0000
@@ -1,3 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/25 14:04:06 okan Exp $
 @bin bin/kc
 man/cat1/kc.1
+share/kc/
+share/kc/pwsafe_convert.pl


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Reply via email to