View | Details | Raw Unified | Return to bug 177561
Collapse All | Expand All

(-)libkpass/Makefile (-9 / +9 lines)
Lines 1-12 Link Here
1
# New ports collection makefile for:	libkpass
1
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
2
# Date created:		2011-09-12
2
# $FreeBSD$
3
# Whom:			Gvozdikov Veniamin <g.veniamin@googlemail.com>
4
#
5
# $FreeBSD: ports/security/libkpass/Makefile,v 1.3 2012/11/17 06:01:07 svnexp Exp $
6
#
7
3
8
PORTNAME=	libkpass
4
PORTNAME=	libkpass
9
PORTVERSION=	3
5
PORTVERSION=	5
10
CATEGORIES=	security
6
CATEGORIES=	security
11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
12
8
Lines 15-28 Link Here
15
11
16
LICENSE=	GPLv3
12
LICENSE=	GPLv3
17
13
14
LIB_DEPENDS=	nettle:${PORTSDIR}/security/nettle
15
18
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
19
USE_GMAKE=	yes
17
USE_GMAKE=	yes
20
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
21
CFLAGS+=	-Dbswap_32=bswap32 -Dbswap_16=bswap16
19
CFLAGS+=	-Dbswap_32=bswap32 -Dbswap_16=bswap16 \
20
		-I${LOCALBASE}/include
21
LDFLAGS+=	-L${LOCALBASE}/lib
22
22
23
PLIST_FILES=	include/kpass.h \
23
PLIST_FILES=	include/kpass.h \
24
		lib/libkpass.so \
24
		lib/libkpass.so \
25
		lib/libkpass.so.0 \
25
		lib/libkpass.so.1 \
26
		lib/libkpass.la \
26
		lib/libkpass.la \
27
		lib/libkpass.a
27
		lib/libkpass.a
28
28
(-)libkpass/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libkpass-3.tar.gz) = 390ebca29040ae1a015f4c067de16fe585693d2b4f95caca24529917bdb2dfec
1
SHA256 (libkpass-5.tar.gz) = 72bea97b2a2f5a68bdf52b3a67fc38028fcd295b016169e05c631fec9596faca
2
SIZE (libkpass-3.tar.gz) = 313707
2
SIZE (libkpass-5.tar.gz) = 402843
(-)libkpass/files/patch-src_kpass.c (-8 / +11 lines)
Lines 1-11 Link Here
1
--- src/kpass.c.orig	2011-09-12 11:39:12.476116248 +0400
1
--- src/kpass.c.orig	2013-04-01 18:36:50.878364960 +0000
2
+++ src/kpass.c	2011-09-12 11:39:37.962483090 +0400
2
+++ src/kpass.c	2013-04-01 18:37:43.162887560 +0000
3
@@ -19,7 +19,7 @@
3
@@ -23,7 +23,11 @@
4
 
4
 #include <nettle/aes.h>
5
 #include <string.h>
5
 #include <nettle/sha.h>
6
 #include <openssl/evp.h>
6
 #include <nettle/cbc.h>
7
-#include <byteswap.h>
7
+#ifdef __FreeBSD__
8
+#include <sys/endian.h>
8
+#include <sys/endian.h>
9
+#else
10
 #include <byteswap.h>
11
+#endif
9
 #include <time.h>
12
 #include <time.h>
10
 
13
 
11
 #include "kpass.h"
14
 #include <libintl.h>
(-)libkpass/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Libkpass is a from-scratch C implementation of reading and writing
1
Libkpass is a from-scratch C implementation of reading and writing
2
KeePass 1.x format password databases.
2
KeePass 1.x format password databases.
3
3
4
WWW:	http://libkpass.sourceforge.net/
4
WWW: http://libkpass.sourceforge.net/

Return to bug 177561