summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2011-09-17 21:29:47 +0000
committerPawel Pekala <pawel@FreeBSD.org>2011-09-17 21:29:47 +0000
commitc2f7978e893eb94c26e81774b549114d313af0c2 (patch)
tree398aa0aa61e9684295aabb697cba09be8adc2cbe /security
parent- Update to 3.17.0 [1] (diff)
Libkpass is a from-scratch C implementation of reading and writing
KeePass 1.x format password databases. WWW: http://libkpass.sourceforge.net/ PR: ports/160675 Submitted by: Gvozdikov Veniamin <g.veniamin@googlemail.com> Approved by: miwi, wen (mentors implicit)
Notes
Notes: svn path=/head/; revision=281919
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/libkpass/Makefile28
-rw-r--r--security/libkpass/distinfo2
-rw-r--r--security/libkpass/files/patch-src_kpass.c11
-rw-r--r--security/libkpass/pkg-descr4
5 files changed, 46 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 249b1416726f..6f1a88df6aba 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -245,6 +245,7 @@
SUBDIR += libgpg-error
SUBDIR += libgringotts
SUBDIR += libident
+ SUBDIR += libkpass
SUBDIR += libksba
SUBDIR += libmcrypt
SUBDIR += libntlm
diff --git a/security/libkpass/Makefile b/security/libkpass/Makefile
new file mode 100644
index 000000000000..ef46bdc7569a
--- /dev/null
+++ b/security/libkpass/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: libkpass
+# Date created: 2011-09-12
+# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libkpass
+PORTVERSION= 3
+CATEGORIES= security
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= Library for a reading/writing KeePass 1.x DB
+
+LICENSE= GPLv3
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+
+PLIST_FILES= include/kpass.h \
+ lib/libkpass.so \
+ lib/libkpass.so.0 \
+ lib/libkpass.la \
+ lib/libkpass.a
+
+.include <bsd.port.mk>
diff --git a/security/libkpass/distinfo b/security/libkpass/distinfo
new file mode 100644
index 000000000000..7d0106f095fe
--- /dev/null
+++ b/security/libkpass/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libkpass-3.tar.gz) = 390ebca29040ae1a015f4c067de16fe585693d2b4f95caca24529917bdb2dfec
+SIZE (libkpass-3.tar.gz) = 313707
diff --git a/security/libkpass/files/patch-src_kpass.c b/security/libkpass/files/patch-src_kpass.c
new file mode 100644
index 000000000000..6aec2467426e
--- /dev/null
+++ b/security/libkpass/files/patch-src_kpass.c
@@ -0,0 +1,11 @@
+--- src/kpass.c.orig 2011-09-12 11:39:12.476116248 +0400
++++ src/kpass.c 2011-09-12 11:39:37.962483090 +0400
+@@ -19,7 +19,7 @@
+
+ #include <string.h>
+ #include <openssl/evp.h>
+-#include <byteswap.h>
++#include <sys/endian.h>
+ #include <time.h>
+
+ #include "kpass.h"
diff --git a/security/libkpass/pkg-descr b/security/libkpass/pkg-descr
new file mode 100644
index 000000000000..21e73379162d
--- /dev/null
+++ b/security/libkpass/pkg-descr
@@ -0,0 +1,4 @@
+Libkpass is a from-scratch C implementation of reading and writing
+KeePass 1.x format password databases.
+
+WWW: http://libkpass.sourceforge.net/