From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 1 19:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C076FB79 for ; Mon, 1 Apr 2013 19:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A3DB4B2D for ; Mon, 1 Apr 2013 19:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r31JU0KH051476 for ; Mon, 1 Apr 2013 19:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r31JU0Hl051461; Mon, 1 Apr 2013 19:30:00 GMT (envelope-from gnats) Resent-Date: Mon, 1 Apr 2013 19:30:00 GMT Resent-Message-Id: <201304011930.r31JU0Hl051461@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Veniamin Gvozdikov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8CE3DB63 for ; Mon, 1 Apr 2013 19:28:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7DAEAB21 for ; Mon, 1 Apr 2013 19:28:21 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r31JSKsG024128 for ; Mon, 1 Apr 2013 19:28:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r31JSKrV024127; Mon, 1 Apr 2013 19:28:20 GMT (envelope-from nobody) Message-Id: <201304011928.r31JSKrV024127@red.freebsd.org> Date: Mon, 1 Apr 2013 19:28:20 GMT From: Veniamin Gvozdikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177561: [update]: security/libkpass up to latest version X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 19:30:00 -0000 >Number: 177561 >Category: ports >Synopsis: [update]: security/libkpass up to latest version >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Apr 01 19:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Veniamin Gvozdikov >Release: FreeBSD 9.1-RELEASE >Organization: >Environment: FreeBSD ololo 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Update to version 5: Version 5 - 20121107 ** Packagers and users -- Changed ABI/SONAME/dependencies Switched from OpenSSL to nettle due to licensing issues. Some functions changed to void since they no longer can produce errors. Changed libtool version to change SONAME due to interface changes. Changed error message format, now using a function that goes through gettext for localized text (translations welcome). Change kpass_hash_pw and kpass_hash_pw_keyfile to not require a DB argument. Version 4 - 20121013 Add support for keyfiles and pull in a bunch of autotools changes. >How-To-Repeat: >Fix: diff -ruN libkpass.orig/Makefile libkpass/Makefile --- libkpass.orig/Makefile 2013-04-01 23:25:08.947364448 +0400 +++ libkpass/Makefile 2013-04-01 22:41:51.007364174 +0400 @@ -1,12 +1,8 @@ -# New ports collection makefile for: libkpass -# Date created: 2011-09-12 -# Whom: Gvozdikov Veniamin -# -# $FreeBSD: ports/security/libkpass/Makefile,v 1.3 2012/11/17 06:01:07 svnexp Exp $ -# +# Created by: Gvozdikov Veniamin +# $FreeBSD$ PORTNAME= libkpass -PORTVERSION= 3 +PORTVERSION= 5 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ @@ -15,14 +11,18 @@ LICENSE= GPLv3 +LIB_DEPENDS= nettle:${PORTSDIR}/security/nettle + GNU_CONFIGURE= yes USE_GMAKE= yes USE_LDCONFIG= yes -CFLAGS+= -Dbswap_32=bswap32 -Dbswap_16=bswap16 +CFLAGS+= -Dbswap_32=bswap32 -Dbswap_16=bswap16 \ + -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= include/kpass.h \ lib/libkpass.so \ - lib/libkpass.so.0 \ + lib/libkpass.so.1 \ lib/libkpass.la \ lib/libkpass.a diff -ruN libkpass.orig/distinfo libkpass/distinfo --- libkpass.orig/distinfo 2013-04-01 23:25:08.947364448 +0400 +++ libkpass/distinfo 2013-04-01 22:32:38.672363754 +0400 @@ -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 -ruN libkpass.orig/files/patch-src_kpass.c libkpass/files/patch-src_kpass.c --- libkpass.orig/files/patch-src_kpass.c 2013-04-01 23:25:08.947364448 +0400 +++ libkpass/files/patch-src_kpass.c 2013-04-01 22:38:29.740364823 +0400 @@ -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 - #include --#include +--- 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 + #include + #include ++#ifdef __FreeBSD__ +#include ++#else + #include ++#endif #include - #include "kpass.h" + #include diff -ruN libkpass.orig/pkg-descr libkpass/pkg-descr --- libkpass.orig/pkg-descr 2013-04-01 23:25:08.947364448 +0400 +++ libkpass/pkg-descr 2013-04-01 23:23:13.286363854 +0400 @@ -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/ >Release-Note: >Audit-Trail: >Unformatted: