From 26c349cd24d2f89f72748882590e9eba6d96a4fa Mon Sep 17 00:00:00 2001 From: LEVAI Daniel Date: Tue, 23 Apr 2013 20:48:14 -0400 Subject: [PATCH] system/kc: Updated for version 2.3.0. Signed-off-by: dsomero --- system/kc/README | 6 +++--- system/kc/kc.SlackBuild | 34 +++++++++++++++++----------------- system/kc/kc.info | 8 ++++---- system/kc/slack-desc | 8 ++++---- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/system/kc/README b/system/kc/README index fdfb32222d..5db08990aa 100644 --- a/system/kc/README +++ b/system/kc/README @@ -3,12 +3,12 @@ its database. Features include (but not limited to): * fixed string or regex based search (if compiled with pcre) - * database import/export + * encrypted or plain text database import/export * fuzzy displaying of passwords if you suspect someone might watch your monitor * multiple keychains per database * the usual editing functions * compiles and works on *BSD and Linux - * editline (libedit) and readline support (little bit in favor of editline) + * editline (libedit) and readline support * 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). + * comes with a tiny and simple utility which can convert an exported pwsafe database to a kc compatible XML database diff --git a/system/kc/kc.SlackBuild b/system/kc/kc.SlackBuild index 664bdac318..6d55528937 100644 --- a/system/kc/kc.SlackBuild +++ b/system/kc/kc.SlackBuild @@ -1,30 +1,30 @@ #!/bin/sh - -# Copyright (c) 2011, 2012, 2013 Daniel LEVAI + +# Copyright (c) 2011-2013 LEVAI Daniel # All rights reserved. -# +# # * Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions +# modification, are permitted provided that the following conditions # are met: # * Redistributions of source code must retain the above copyright notice # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY -# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# +# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kc -VERSION=2.2.1 +VERSION=2.3.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,7 +44,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then @@ -72,7 +72,7 @@ find . \ 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 +install -D -c -o root -g root -m 0755 pwsafe_to_kc.pl $PKG/usr/share/$PRGNAM/pwsafe_to_kc.pl strip --strip-unneeded $PKG/usr/bin/kc gzip -9 $PKG/usr/man/man1/kc.1 diff --git a/system/kc/kc.info b/system/kc/kc.info index 739e6969d5..6cb380bda6 100644 --- a/system/kc/kc.info +++ b/system/kc/kc.info @@ -1,10 +1,10 @@ PRGNAM="kc" -VERSION="2.2.1" +VERSION="2.3.0" HOMEPAGE="http://keychain.googlecode.com" -DOWNLOAD="http://keychain.googlecode.com/files/kc-2.2.1.tar.gz" -MD5SUM="ecd8abe9b9d82ea77030ef89286425b4" +DOWNLOAD="http://keychain.googlecode.com/files/kc-2.3.0.tar.gz" +MD5SUM="796afcec74008e60b64dc8b43505d9ab" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libbsd perl-html-parser" -MAINTAINER="Daniel LEVAI" +MAINTAINER="LEVAI Daniel" EMAIL="leva@ecentrum.hu" diff --git a/system/kc/slack-desc b/system/kc/slack-desc index a6541229d0..1aaf055c89 100644 --- a/system/kc/slack-desc +++ b/system/kc/slack-desc @@ -1,8 +1,8 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------|