[Midnightbsd-cvs] mports [18057] trunk/security/libgcrypt: libgcrypt 1.6.3
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Mar 7 12:27:55 EST 2015
Revision: 18057
http://svnweb.midnightbsd.org/mports/?rev=18057
Author: laffer1
Date: 2015-03-07 12:27:54 -0500 (Sat, 07 Mar 2015)
Log Message:
-----------
libgcrypt 1.6.3
Modified Paths:
--------------
trunk/security/libgcrypt/Makefile
trunk/security/libgcrypt/distinfo
trunk/security/libgcrypt/pkg-descr
trunk/security/libgcrypt/pkg-plist
Added Paths:
-----------
trunk/security/libgcrypt/files/patch-cipher-Makefile.in
Modified: trunk/security/libgcrypt/Makefile
===================================================================
--- trunk/security/libgcrypt/Makefile 2015-03-07 17:23:06 UTC (rev 18056)
+++ trunk/security/libgcrypt/Makefile 2015-03-07 17:27:54 UTC (rev 18057)
@@ -1,8 +1,7 @@
# $MidnightBSD$
PORTNAME= libgcrypt
-PORTVERSION= 1.6.1
-PORTREVISION= 1
+PORTVERSION= 1.6.3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,6 +18,8 @@
USES= libtool makeinfo tar:bzip2
USE_CSTD= gnu89
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-drng-support
+CONFIGURE_ARGS= --disable-drng-support
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-freebsd9.1
INSTALL_TARGET= install-strip
@@ -41,20 +42,27 @@
CONFIGURE_ARGS+= --disable-aesni-support
.endif
-.elif ${ARCH} == "amd64"
-.if (${OSVERSION} < 4015)
-USE_GCC= yes
.endif
-CONFIGURE_ARGS+= --disable-drng-support
-.endif
-
post-patch:
${RM} -f ${WRKSRC}/doc/gcrypt.info*
${REINPLACE_CMD} -e 's|ALIGN (3)|ALIGN (2)|g' ${WRKSRC}/mpi/i386/*.S
+# Fix build without ASM on 8.x/amd64
+.if ${OPSYS} == FreeBSD && ${ARCH} == "amd64" && ${OSVERSION} < 900000
+USE_GCC= any
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure
+.endif
+
+# Fix crash at cipher/salsa20.c module on amd64
+.if ${ARCH} == "amd64" && exists(/usr/bin/clang)
+CFLAGS:= ${CFLAGS:N-O*} -O2
+.endif
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.20.0.3
+
.if ${PORT_OPTIONS:MDOCS}
-post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
Modified: trunk/security/libgcrypt/distinfo
===================================================================
--- trunk/security/libgcrypt/distinfo 2015-03-07 17:23:06 UTC (rev 18056)
+++ trunk/security/libgcrypt/distinfo 2015-03-07 17:27:54 UTC (rev 18057)
@@ -1,2 +1,2 @@
-SHA256 (libgcrypt-1.6.1.tar.bz2) = a1c3efea69f8ffe769f488b300ce190eeeb0c30de24a53f1c1b6e4202fdc2070
-SIZE (libgcrypt-1.6.1.tar.bz2) = 2470885
+SHA256 (libgcrypt-1.6.3.tar.bz2) = 41b4917b93ae34c6a0e2127378d7a4d66d805a2a86a09911d4f9bd871db7025f
+SIZE (libgcrypt-1.6.3.tar.bz2) = 2494052
Added: trunk/security/libgcrypt/files/patch-cipher-Makefile.in
===================================================================
--- trunk/security/libgcrypt/files/patch-cipher-Makefile.in (rev 0)
+++ trunk/security/libgcrypt/files/patch-cipher-Makefile.in 2015-03-07 17:27:54 UTC (rev 18057)
@@ -0,0 +1,15 @@
+--- cipher/Makefile.in.orig 2015-01-21 19:09:47.000000000 +0100
++++ cipher/Makefile.in 2015-01-21 19:13:35.000000000 +0100
+@@ -766,6 +766,12 @@
+ tiger.lo: $(srcdir)/tiger.c
+ `echo $(LTCOMPILE) -c $(srcdir)/tiger.c | $(o_flag_munging) `
+
++salsa20.o: $(srcdir)/salsa20.c
++ `echo $(COMPILE) -c $(srcdir)/salsa20.c | $(o_flag_munging) `
++
++salsa20.lo: $(srcdir)/salsa20.c
++ `echo $(LTCOMPILE) -c $(srcdir)/salsa20.c | $(o_flag_munging) `
++
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
Property changes on: trunk/security/libgcrypt/files/patch-cipher-Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/security/libgcrypt/pkg-descr
===================================================================
--- trunk/security/libgcrypt/pkg-descr 2015-03-07 17:23:06 UTC (rev 18056)
+++ trunk/security/libgcrypt/pkg-descr 2015-03-07 17:27:54 UTC (rev 18057)
@@ -1,4 +1,3 @@
Libgcrypt is a general purpose crypto library based on the code used in GnuPG.
-
-Author: wk at g10code.com
+
WWW: http://www.gnupg.org/
Modified: trunk/security/libgcrypt/pkg-plist
===================================================================
--- trunk/security/libgcrypt/pkg-plist 2015-03-07 17:23:06 UTC (rev 18056)
+++ trunk/security/libgcrypt/pkg-plist 2015-03-07 17:27:54 UTC (rev 18057)
@@ -5,5 +5,6 @@
include/gcrypt.h
lib/libgcrypt.so
lib/libgcrypt.so.20
+lib/libgcrypt.so.20.0.3
man/man1/hmac256.1.gz
share/aclocal/libgcrypt.m4
More information about the Midnightbsd-cvs
mailing list