[Midnightbsd-cvs] mports [24645] trunk/security/libgcrypt: update libgcrypt to 1.8.3
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Nov 21 21:24:08 EST 2018
Revision: 24645
http://svnweb.midnightbsd.org/mports/?rev=24645
Author: laffer1
Date: 2018-11-21 21:24:07 -0500 (Wed, 21 Nov 2018)
Log Message:
-----------
update libgcrypt to 1.8.3
Modified Paths:
--------------
trunk/security/libgcrypt/Makefile
trunk/security/libgcrypt/distinfo
trunk/security/libgcrypt/pkg-descr
trunk/security/libgcrypt/pkg-plist
Modified: trunk/security/libgcrypt/Makefile
===================================================================
--- trunk/security/libgcrypt/Makefile 2018-11-22 02:20:15 UTC (rev 24644)
+++ trunk/security/libgcrypt/Makefile 2018-11-22 02:24:07 UTC (rev 24645)
@@ -1,7 +1,7 @@
# $MidnightBSD$
PORTNAME= libgcrypt
-PORTVERSION= 1.8.2
+PORTVERSION= 1.8.3
CATEGORIES= security
MASTER_SITES= GNUPG
@@ -11,22 +11,21 @@
LICENSE= gpl2 lgpl2.1
LICENSE_COMB= multi
-BUILD_DEPENDS= libgpg-error>=1.25:${PORTSDIR}/security/libgpg-error
-RUN_DEPENDS= libgpg-error>=1.25:${PORTSDIR}/security/libgpg-error
+BUILD_DEPENDS= libgpg-error>=1.25:security/libgpg-error
+RUN_DEPENDS= libgpg-error>=1.25:security/libgpg-error
-USES= libtool makeinfo tar:bzip2
+USES= cpe libtool makeinfo tar:bzip2
CPE_VENDOR= gnupg
USE_CSTD= gnu89
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-drng-support
-CONFIGURE_ARGS= --disable-drng-support
+CONFIGURE_ARGS= --disable-drng-support --enable-static=yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-freebsd9.1
-INSTALL_TARGET= install-strip
+CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-freebsd10.4
USE_LDCONFIG= yes
+TEST_TARGET= check
-DOCS= AUTHORS ChangeLog ChangeLog-2011 INSTALL NEWS README \
- README.GIT THANKS TODO doc/HACKING doc/README.apichanges
+DOCS= AUTHORS ChangeLog ChangeLog-2011 INSTALL NEWS THANKS TODO \
+ doc/HACKING doc/README.apichanges
INFO= gcrypt
PORTDOCS= *
@@ -36,38 +35,15 @@
.if ${ARCH} == "powerpc"
CONFIGURE_ARGS+= --disable-asm
-
-.elif ${ARCH} == "i386"
-.if (${OSVERSION} < 4015)
-CONFIGURE_ARGS+= --disable-aesni-support
.endif
-.endif
-
post-patch:
- ${RM} -f ${WRKSRC}/doc/gcrypt.info*
- ${REINPLACE_CMD} -e 's|ALIGN (3)|ALIGN (2)|g' ${WRKSRC}/mpi/i386/*.S
+ @${RM} ${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
-
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.endif
-regression-test: build
- cd ${WRKSRC} && ${MAKE_CMD} check
-
.include <bsd.port.mk>
Modified: trunk/security/libgcrypt/distinfo
===================================================================
--- trunk/security/libgcrypt/distinfo 2018-11-22 02:20:15 UTC (rev 24644)
+++ trunk/security/libgcrypt/distinfo 2018-11-22 02:24:07 UTC (rev 24645)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1513371062
-SHA256 (libgcrypt-1.8.2.tar.bz2) = c8064cae7558144b13ef0eb87093412380efa16c4ee30ad12ecb54886a524c07
-SIZE (libgcrypt-1.8.2.tar.bz2) = 2966534
+TIMESTAMP = 1528899391
+SHA256 (libgcrypt-1.8.3.tar.bz2) = 66ec90be036747602f2b48f98312361a9180c97c68a690a5f376fa0f67d0af7c
+SIZE (libgcrypt-1.8.3.tar.bz2) = 2989166
Modified: trunk/security/libgcrypt/pkg-descr
===================================================================
--- trunk/security/libgcrypt/pkg-descr 2018-11-22 02:20:15 UTC (rev 24644)
+++ trunk/security/libgcrypt/pkg-descr 2018-11-22 02:24:07 UTC (rev 24645)
@@ -1,3 +1,8 @@
-Libgcrypt is a general purpose crypto library based on the code used in GnuPG.
+Libgcrypt is a general purpose cryptographic library based on the code from
+GnuPG.
-WWW: http://www.gnupg.org/
+It provides functions for all cryptographic building blocks: symmetric ciphers,
+hash algorithms, MACs, public key algorithms, large integer functions,
+random numbers and a lot of supporting functions.
+
+WWW: https://www.gnupg.org/software/libgcrypt/index.html
Modified: trunk/security/libgcrypt/pkg-plist
===================================================================
--- trunk/security/libgcrypt/pkg-plist 2018-11-22 02:20:15 UTC (rev 24644)
+++ trunk/security/libgcrypt/pkg-plist 2018-11-22 02:24:07 UTC (rev 24645)
@@ -3,8 +3,9 @@
bin/hmac256
bin/libgcrypt-config
include/gcrypt.h
+lib/libgcrypt.a
lib/libgcrypt.so
lib/libgcrypt.so.20
-lib/libgcrypt.so.20.2.2
+lib/libgcrypt.so.20.2.3
man/man1/hmac256.1.gz
share/aclocal/libgcrypt.m4
More information about the Midnightbsd-cvs
mailing list