From owner-svn-ports-all@FreeBSD.ORG Sat Aug 25 08:33:56 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7022C106566B; Sat, 25 Aug 2012 08:33:56 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 519458FC14; Sat, 25 Aug 2012 08:33:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7P8XuKI007818; Sat, 25 Aug 2012 08:33:56 GMT (envelope-from novel@svn.freebsd.org) Received: (from novel@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7P8XuYO007814; Sat, 25 Aug 2012 08:33:56 GMT (envelope-from novel@svn.freebsd.org) Message-Id: <201208250833.q7P8XuYO007814@svn.freebsd.org> From: Roman Bogorodskiy Date: Sat, 25 Aug 2012 08:33:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303123 - in head/security/libgcrypt: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2012 08:33:56 -0000 Author: novel Date: Sat Aug 25 08:33:55 2012 New Revision: 303123 URL: http://svn.freebsd.org/changeset/ports/303123 Log: - Properly define deprecated functions to remove warnings in other ports - Avoid installing multiple copies of the GPLv2 and LGPL21 licenses - Bump PORTREVISION PR: 170488 Submitted by: Jason E. Hale Approved by: Hirohisa Yamaguchi (maintainer) Added: head/security/libgcrypt/files/patch-src__gcrypt.h.in (contents, props changed) Modified: head/security/libgcrypt/Makefile head/security/libgcrypt/pkg-plist Modified: head/security/libgcrypt/Makefile ============================================================================== --- head/security/libgcrypt/Makefile Sat Aug 25 08:28:10 2012 (r303122) +++ head/security/libgcrypt/Makefile Sat Aug 25 08:33:55 2012 (r303123) @@ -6,6 +6,7 @@ PORTNAME= libgcrypt PORTVERSION= 1.5.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GNUPG} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,7 +16,6 @@ COMMENT= General purpose crypto library LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi -LICENSE_FILE= ${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error RUN_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error @@ -27,7 +27,7 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" USE_LDCONFIG= yes -DOCS= AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README README.SVN \ +DOCS= AUTHORS ChangeLog INSTALL NEWS README README.SVN \ THANKS TODO doc/HACKING doc/README.apichanges INFO= gcrypt Added: head/security/libgcrypt/files/patch-src__gcrypt.h.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/libgcrypt/files/patch-src__gcrypt.h.in Sat Aug 25 08:33:55 2012 (r303123) @@ -0,0 +1,19 @@ +--- ./src/gcrypt.h.in.orig 2012-08-08 07:35:27.000000000 -0400 ++++ ./src/gcrypt.h.in 2012-08-08 07:37:47.000000000 -0400 +@@ -1248,7 +1248,7 @@ + number. */ + gcry_error_t gcry_md_list (int *list, int *list_length); + +- ++#if !defined(GCRYPT_NO_DEPRECATED) || defined(_GCRYPT_IN_LIBGCRYPT) + /* Alternative interface for asymmetric cryptography. This interface + is deprecated. */ + +@@ -1401,6 +1401,7 @@ + gcry_md_algo_t md; + } gcry_ac_ssa_pkcs_v1_5_t _GCRY_ATTR_INTERNAL; + ++#endif + + #ifndef GCRYPT_NO_DEPRECATED + /* Returns a new, empty data set in DATA. */ Modified: head/security/libgcrypt/pkg-plist ============================================================================== --- head/security/libgcrypt/pkg-plist Sat Aug 25 08:28:10 2012 (r303122) +++ head/security/libgcrypt/pkg-plist Sat Aug 25 08:33:55 2012 (r303123) @@ -9,8 +9,6 @@ lib/libgcrypt.so lib/libgcrypt.so.18 share/aclocal/libgcrypt.m4 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/COPYING.LIB %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/HACKING %%PORTDOCS%%%%DOCSDIR%%/INSTALL