From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 8 20:20:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F2C2106564A for ; Wed, 8 Aug 2012 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F04428FC0A for ; Wed, 8 Aug 2012 20:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q78KK1uB022851 for ; Wed, 8 Aug 2012 20:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q78KK17s022849; Wed, 8 Aug 2012 20:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 8 Aug 2012 20:20:01 GMT Resent-Message-Id: <201208082020.q78KK17s022849@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, "Jason E. Hale" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39AD7106566B for ; Wed, 8 Aug 2012 20:12:29 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id EE6EE8FC08 for ; Wed, 8 Aug 2012 20:12:28 +0000 (UTC) Received: by vbmv11 with SMTP id v11so1497799vbm.13 for ; Wed, 08 Aug 2012 13:12:28 -0700 (PDT) Received: by 10.59.7.68 with SMTP id da4mr3033786ved.4.1344456747949; Wed, 08 Aug 2012 13:12:27 -0700 (PDT) Received: from mocha.verizon.net (c-71-61-40-68.hsd1.oh.comcast.net. [71.61.40.68]) by mx.google.com with ESMTPS id cz2sm22003519vdb.3.2012.08.08.13.12.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Aug 2012 13:12:27 -0700 (PDT) Message-Id: <1344456747.159117.96133@mocha.verizon.net> Date: Wed, 8 Aug 2012 16:12:27 -0400 From: "Jason E. Hale" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: umq@ueo.co.jp Subject: ports/170488: [PATCH] security/gnutls: Add patch to help remove warnings in other ports X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jason E. Hale" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2012 20:20:02 -0000 >Number: 170488 >Category: ports >Synopsis: [PATCH] security/gnutls: Add patch to help remove warnings in other ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 08 20:20:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jason E. Hale >Release: FreeBSD 9.0-RELEASE i386 >Organization: none >Environment: System: FreeBSD mocha.verizon.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 19 11:42:41 EST 2012 Jason@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386 >Description: - gcrypt.h has some deprecated functions that aren't properly wrapped and emit warnings even if -DGCRYPT_NO_DEPRECATED is passed to the compiler such as: /usr/local/include/gcrypt.h:1336: warning: 'gcry_ac_io_mode_t' is deprecated /usr/local/include/gcrypt.h:1337: warning: 'gcry_ac_io_type_t' is deprecated /usr/local/include/gcrypt.h:1344: warning: 'gcry_ac_data_read_cb_t' is deprecated /usr/local/include/gcrypt.h:1358: warning: 'gcry_ac_data_write_cb_t' is deprecated /usr/local/include/gcrypt.h:1393: warning: 'gcry_md_algo_t' is deprecated /usr/local/include/gcrypt.h:1401: warning: 'gcry_md_algo_t' is deprecated - While here: avoid installing multiple copies of the GPLv2 and LGPL21, they are known licenses and are in ${PORTSDIR}/Templates/Licenses - Bump PORTREVISION since installed files will change >How-To-Repeat: - Build a port that depends on libgcrypt like devel/gwenhywfar >Fix: gcrypt.h.in patch created with information from: http://lists.gnupg.org/pipermail/gcrypt-devel/2011-September/001843.html --- 2012-08-08-libgcrypt.diff begins here --- Index: files/patch-src__gcrypt.h.in =================================================================== --- files/patch-src__gcrypt.h.in (revision 0) +++ files/patch-src__gcrypt.h.in (working copy) @@ -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. */ Property changes on: files/patch-src__gcrypt.h.in ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: pkg-plist =================================================================== --- pkg-plist (revision 302305) +++ pkg-plist (working copy) @@ -9,8 +9,6 @@ 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 Index: Makefile =================================================================== --- Makefile (revision 302305) +++ Makefile (working copy) @@ -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 @@ 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 @@ 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 --- 2012-08-08-libgcrypt.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: