diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2012-08-25 08:33:55 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2012-08-25 08:33:55 +0000 |
commit | 898c7be42e916f2a62563c51b99841078ce45efc (patch) | |
tree | b95a8019a87841a52bfb1a2f72b3605f8c089928 /security/libgcrypt | |
parent | ed11316c346098f66d18b3fa353050d11ea01db2 (diff) | |
download | ports-898c7be42e916f2a62563c51b99841078ce45efc.tar.gz ports-898c7be42e916f2a62563c51b99841078ce45efc.zip |
Notes
Diffstat (limited to 'security/libgcrypt')
-rw-r--r-- | security/libgcrypt/Makefile | 4 | ||||
-rw-r--r-- | security/libgcrypt/files/patch-src__gcrypt.h.in | 19 | ||||
-rw-r--r-- | security/libgcrypt/pkg-plist | 2 |
3 files changed, 21 insertions, 4 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile index 077feec7694e..fcef0177ae75 100644 --- a/security/libgcrypt/Makefile +++ b/security/libgcrypt/Makefile @@ -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 diff --git a/security/libgcrypt/files/patch-src__gcrypt.h.in b/security/libgcrypt/files/patch-src__gcrypt.h.in new file mode 100644 index 000000000000..703cf84171e9 --- /dev/null +++ b/security/libgcrypt/files/patch-src__gcrypt.h.in @@ -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. */ diff --git a/security/libgcrypt/pkg-plist b/security/libgcrypt/pkg-plist index 1d3e8e089d17..34992f390282 100644 --- a/security/libgcrypt/pkg-plist +++ b/security/libgcrypt/pkg-plist @@ -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 |