mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- 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 <bsdkaffee@gmail.com> Approved by: Hirohisa Yamaguchi (maintainer)
This commit is contained in:
parent
ed11316c34
commit
898c7be42e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303123
@ -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 based on code used in GnuPG
|
||||
|
||||
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
|
||||
|
||||
|
19
security/libgcrypt/files/patch-src__gcrypt.h.in
Normal file
19
security/libgcrypt/files/patch-src__gcrypt.h.in
Normal file
@ -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. */
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user