aboutsummaryrefslogtreecommitdiffstats
path: root/security/libkpass
diff options
context:
space:
mode:
authorwoodsb02 <woodsb02@FreeBSD.org>2016-10-15 08:36:39 +0800
committerwoodsb02 <woodsb02@FreeBSD.org>2016-10-15 08:36:39 +0800
commit16e1781457132559b5b3f0378c8c2477deb1d599 (patch)
tree9c19c3a4807a7373ce215bfa66f572420ceae41b /security/libkpass
parent9122935bf956a984a2b1d6e10f19b783c9a4e949 (diff)
downloadfreebsd-ports-gnome-16e1781457132559b5b3f0378c8c2477deb1d599.tar.gz
freebsd-ports-gnome-16e1781457132559b5b3f0378c8c2477deb1d599.tar.zst
freebsd-ports-gnome-16e1781457132559b5b3f0378c8c2477deb1d599.zip
security/libkpass: Update to version 6
- Change from Sourceforge to GitHub for upstream, as per note on SF page - Add LICENSE_FILE to demonstrate GPLv3 license - Delete patch-src_kpass.c as upstream incorporates similar changes Changes this release: https://github.com/bldewolf/libkpass/blob/6/ChangeLog Approved by: vg (maintainer timeout), mat (mentor) Differential Revision: https://reviews.freebsd.org/D8034
Diffstat (limited to 'security/libkpass')
-rw-r--r--security/libkpass/Makefile8
-rw-r--r--security/libkpass/distinfo5
-rw-r--r--security/libkpass/files/patch-src_kpass.c14
3 files changed, 8 insertions, 19 deletions
diff --git a/security/libkpass/Makefile b/security/libkpass/Makefile
index e94dd00dd265..da95452b1dab 100644
--- a/security/libkpass/Makefile
+++ b/security/libkpass/Makefile
@@ -2,18 +2,20 @@
# $FreeBSD$
PORTNAME= libkpass
-PORTVERSION= 5
-PORTREVISION= 1
+PORTVERSION= 6
CATEGORIES= security
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
MAINTAINER= vg@FreeBSD.org
COMMENT= Library for a reading/writing KeePass 1.x DB
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libnettle.so:security/nettle
+USE_GITHUB= yes
+GH_ACCOUNT= bldewolf
+
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= alias gettext gmake libtool
diff --git a/security/libkpass/distinfo b/security/libkpass/distinfo
index ba04bab9359e..dceff916032d 100644
--- a/security/libkpass/distinfo
+++ b/security/libkpass/distinfo
@@ -1,2 +1,3 @@
-SHA256 (libkpass-5.tar.gz) = 72bea97b2a2f5a68bdf52b3a67fc38028fcd295b016169e05c631fec9596faca
-SIZE (libkpass-5.tar.gz) = 402843
+TIMESTAMP = 1474639255
+SHA256 (bldewolf-libkpass-6_GH0.tar.gz) = b0669300c72ec04b6c1fe7628b169006ac07239ff48e863bbd80eb5a3a369938
+SIZE (bldewolf-libkpass-6_GH0.tar.gz) = 406767
diff --git a/security/libkpass/files/patch-src_kpass.c b/security/libkpass/files/patch-src_kpass.c
deleted file mode 100644
index e6c6fd812b02..000000000000
--- a/security/libkpass/files/patch-src_kpass.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- 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 <libintl.h>