aboutsummaryrefslogtreecommitdiff
path: root/system/kc
diff options
context:
space:
mode:
authorDaniel LEVAI <leva@ecentrum.hu>2013-02-05 21:42:34 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-02-05 22:40:18 -0600
commitcf3cdb6544713794b6cb579c40adb1023584dd47 (patch)
treea4d869f208c4b3dc65656ebfe39a0fbabb731af4 /system/kc
parentdae601189d5318d5612d79916a8dc8e1be2dc72c (diff)
system/kc: Updated for version 2.2.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kc')
-rw-r--r--system/kc/README3
-rw-r--r--system/kc/kc.SlackBuild12
-rw-r--r--system/kc/kc.info8
3 files changed, 12 insertions, 11 deletions
diff --git a/system/kc/README b/system/kc/README
index c1bd522b372cc..fdfb32222d310 100644
--- a/system/kc/README
+++ b/system/kc/README
@@ -3,7 +3,7 @@ its database.
Features include (but not limited to):
* fixed string or regex based search (if compiled with pcre)
- * import/export
+ * database import/export
* fuzzy displaying of passwords if you suspect someone might watch your
monitor
* multiple keychains per database
@@ -11,3 +11,4 @@ Features include (but not limited to):
* compiles and works on *BSD and Linux
* editline (libedit) and readline support (little bit in favor of editline)
* clean and simple CLI with command and keychain completion
+ * 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).
diff --git a/system/kc/kc.SlackBuild b/system/kc/kc.SlackBuild
index 497d5ea67fbbc..664bdac31898a 100644
--- a/system/kc/kc.SlackBuild
+++ b/system/kc/kc.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2011, 2012 Daniel LEVAI
+# Copyright (c) 2011, 2012, 2013 Daniel LEVAI
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kc
-VERSION=2.1.6
+VERSION=2.2.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,14 +71,14 @@ find . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" make -f GNUMakefile HAVE_PCRE=y
+make -f GNUMakefile install DESTDIR=$PKG PREFIX=/usr
+install -D -c -o root -g root -m 0755 pwsafe_convert.pl $PKG/usr/share/$PRGNAM/pwsafe_convert.pl
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1
-install -c -o root -g root -m 0755 kc $PKG/usr/bin/kc
strip --strip-unneeded $PKG/usr/bin/kc
-gzip -9c kc.1 > $PKG/usr/man/man1/kc.1.gz
+gzip -9 $PKG/usr/man/man1/kc.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a Changelog LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/kc/kc.info b/system/kc/kc.info
index 29a13c9150b1f..739e6969d5a28 100644
--- a/system/kc/kc.info
+++ b/system/kc/kc.info
@@ -1,10 +1,10 @@
PRGNAM="kc"
-VERSION="2.1.6"
+VERSION="2.2.1"
HOMEPAGE="http://keychain.googlecode.com"
-DOWNLOAD="http://keychain.googlecode.com/files/kc-2.1.6.tar.gz"
-MD5SUM="b3ad05ba0987c56f32908509cba49da8"
+DOWNLOAD="http://keychain.googlecode.com/files/kc-2.2.1.tar.gz"
+MD5SUM="ecd8abe9b9d82ea77030ef89286425b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libbsd"
+REQUIRES="libbsd perl-html-parser"
MAINTAINER="Daniel LEVAI"
EMAIL="leva@ecentrum.hu"