diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2013-05-02 12:06:21 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2013-05-02 12:06:21 +0000 |
commit | c3aad0ba12dd8aeff5c5ef2ec2bfd6b50ad4c6ff (patch) | |
tree | f3e3b53ecc62e20f346aefaeb13c668946550529 /security/libkpass | |
parent | 964883bc4c1face1156f387fb99ababe106470b1 (diff) |
Notes
Diffstat (limited to 'security/libkpass')
-rw-r--r-- | security/libkpass/Makefile | 17 | ||||
-rw-r--r-- | security/libkpass/distinfo | 4 | ||||
-rw-r--r-- | security/libkpass/files/patch-src_kpass.c | 19 | ||||
-rw-r--r-- | security/libkpass/pkg-descr | 2 |
4 files changed, 23 insertions, 19 deletions
diff --git a/security/libkpass/Makefile b/security/libkpass/Makefile index 57ab9ede22de..e3f34c3b38f7 100644 --- a/security/libkpass/Makefile +++ b/security/libkpass/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: libkpass -# Date created: 2011-09-12 -# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com> -# +# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com> # $FreeBSD$ -# PORTNAME= libkpass -PORTVERSION= 3 +PORTVERSION= 5 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ @@ -15,14 +11,19 @@ COMMENT= Library for a reading/writing KeePass 1.x DB LICENSE= GPLv3 +LIB_DEPENDS= nettle:${PORTSDIR}/security/nettle + GNU_CONFIGURE= yes USE_GMAKE= yes +USES= gettext USE_LDCONFIG= yes -CFLAGS+= -Dbswap_32=bswap32 -Dbswap_16=bswap16 +CFLAGS+= -Dbswap_32=bswap32 -Dbswap_16=bswap16 \ + -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lintl PLIST_FILES= include/kpass.h \ lib/libkpass.so \ - lib/libkpass.so.0 \ + lib/libkpass.so.1 \ lib/libkpass.la \ lib/libkpass.a diff --git a/security/libkpass/distinfo b/security/libkpass/distinfo index 7d0106f095fe..ba04bab9359e 100644 --- a/security/libkpass/distinfo +++ b/security/libkpass/distinfo @@ -1,2 +1,2 @@ -SHA256 (libkpass-3.tar.gz) = 390ebca29040ae1a015f4c067de16fe585693d2b4f95caca24529917bdb2dfec -SIZE (libkpass-3.tar.gz) = 313707 +SHA256 (libkpass-5.tar.gz) = 72bea97b2a2f5a68bdf52b3a67fc38028fcd295b016169e05c631fec9596faca +SIZE (libkpass-5.tar.gz) = 402843 diff --git a/security/libkpass/files/patch-src_kpass.c b/security/libkpass/files/patch-src_kpass.c index 6aec2467426e..e6c6fd812b02 100644 --- a/security/libkpass/files/patch-src_kpass.c +++ b/security/libkpass/files/patch-src_kpass.c @@ -1,11 +1,14 @@ ---- 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> +--- src/kpass.c.orig 2013-04-01 18:36:50.878364960 +0000 ++++ src/kpass.c 2013-04-01 18:37:43.162887560 +0000 +@@ -23,7 +23,11 @@ + #include <nettle/aes.h> + #include <nettle/sha.h> + #include <nettle/cbc.h> ++#ifdef __FreeBSD__ +#include <sys/endian.h> ++#else + #include <byteswap.h> ++#endif #include <time.h> - #include "kpass.h" + #include <libintl.h> diff --git a/security/libkpass/pkg-descr b/security/libkpass/pkg-descr index 21e73379162d..43d2ebfdc4c9 100644 --- a/security/libkpass/pkg-descr +++ b/security/libkpass/pkg-descr @@ -1,4 +1,4 @@ Libkpass is a from-scratch C implementation of reading and writing KeePass 1.x format password databases. -WWW: http://libkpass.sourceforge.net/ +WWW: http://libkpass.sourceforge.net/ |