aboutsummaryrefslogtreecommitdiffstats
path: root/security/libgcrypt
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-07-03 19:39:40 +0800
committerswills <swills@FreeBSD.org>2011-07-03 19:39:40 +0800
commit1c1171950f538d258ac5d58e810ddf82c3ccb4cc (patch)
tree76b435e85835b301b5c527d87f4e7632787f8f9b /security/libgcrypt
parent3ac129f759d382c6d5f539cfe4a94064d3c3b6f6 (diff)
downloadfreebsd-ports-graphics-1c1171950f538d258ac5d58e810ddf82c3ccb4cc.tar.gz
freebsd-ports-graphics-1c1171950f538d258ac5d58e810ddf82c3ccb4cc.tar.zst
freebsd-ports-graphics-1c1171950f538d258ac5d58e810ddf82c3ccb4cc.zip
- Update to 1.5.0
PR: ports/158574 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
Diffstat (limited to 'security/libgcrypt')
-rw-r--r--security/libgcrypt/Makefile13
-rw-r--r--security/libgcrypt/distinfo4
-rw-r--r--security/libgcrypt/files/patch-ltmain.sh30
-rw-r--r--security/libgcrypt/pkg-plist2
4 files changed, 27 insertions, 22 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index cbf520b86b6..5d32be9f52e 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= libgcrypt
-PORTVERSION= 1.4.6
+PORTVERSION= 1.5.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -13,11 +13,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= umq@ueo.co.jp
COMMENT= General purpose crypto library based on code used in GnuPG
-LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error
-
LICENSE= GPLv2 LGPL21
-LICENSE_FILE= ${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB
LICENSE_COMB= multi
+LICENSE_FILE= ${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB
+
+LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error
+
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
USE_CSTD= gnu89
@@ -33,6 +34,10 @@ INFO= gcrypt
.if ${ARCH} == "powerpc"
CONFIGURE_ARGS+= --disable-asm
+.elif ${ARCH} == "i386"
+.if (${OSVERSION} < 900033)
+CONFIGURE_ARGS+= --disable-aesni-support
+.endif
.endif
.if (${OSVERSION} < 700000)
CONFIGURE_ARGS+= --disable-padlock-support
diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo
index 2efe30de918..379c35a9e1a 100644
--- a/security/libgcrypt/distinfo
+++ b/security/libgcrypt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libgcrypt-1.4.6.tar.bz2) = 3e4b30da6b357b565333d0222133b64a0414be99ba72733081165c8ea9bc6b85
-SIZE (libgcrypt-1.4.6.tar.bz2) = 1151877
+SHA256 (libgcrypt-1.5.0.tar.bz2) = 4b62fc516004940a0571025401a0581d49199f1a76dfb5ce6fd63f50db8173fa
+SIZE (libgcrypt-1.5.0.tar.bz2) = 1433506
diff --git a/security/libgcrypt/files/patch-ltmain.sh b/security/libgcrypt/files/patch-ltmain.sh
index 250b983f2f3..e6f8a974395 100644
--- a/security/libgcrypt/files/patch-ltmain.sh
+++ b/security/libgcrypt/files/patch-ltmain.sh
@@ -1,6 +1,19 @@
---- scripts/ltmain.sh.orig Wed Jul 17 15:42:41 2002
+--- ltmain.sh Wed Jul 17 15:42:41 2002
+++ ltmain.sh Wed Jul 17 15:47:36 2002
-@@ -1062,8 +1062,16 @@
+@@ -2077,10 +2077,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ func_basename "$file"
+ name="$func_basename_result"
+ instname="$dir/$name"i
+ func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+@@ -4560,8 +4562,16 @@
continue
;;
@@ -17,16 +30,3 @@
continue
;;
-@@ -4247,10 +4255,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/security/libgcrypt/pkg-plist b/security/libgcrypt/pkg-plist
index ed90cb94a7f..1d3e8e089d1 100644
--- a/security/libgcrypt/pkg-plist
+++ b/security/libgcrypt/pkg-plist
@@ -6,7 +6,7 @@ include/gcrypt-module.h
lib/libgcrypt.a
lib/libgcrypt.la
lib/libgcrypt.so
-lib/libgcrypt.so.17
+lib/libgcrypt.so.18
share/aclocal/libgcrypt.m4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING