diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2015-02-06 05:14:30 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2015-02-06 05:14:30 +0800 |
commit | 14246dc0207f06e3426071eea324430d95c73c12 (patch) | |
tree | 82e8b751edbf9536eeb69e71cee3e1aa2e4d7f36 /security/libsodium | |
parent | 91631f3d72312482f1e6394fc47ed21b1a3ba812 (diff) | |
download | freebsd-ports-gnome-14246dc0207f06e3426071eea324430d95c73c12.tar.gz freebsd-ports-gnome-14246dc0207f06e3426071eea324430d95c73c12.tar.zst freebsd-ports-gnome-14246dc0207f06e3426071eea324430d95c73c12.zip |
- Update to 1.0.2
- Resolve undefined reference for pre-10 i386 FreeBSD [1]
- Do not touch dependant ports as SONAME is unchanged
PR: 193281 [1]
Submitted by: Andriy Voskoboinyk <s3erios at gmail.com> [1]
Diffstat (limited to 'security/libsodium')
-rw-r--r-- | security/libsodium/Makefile | 11 | ||||
-rw-r--r-- | security/libsodium/distinfo | 4 | ||||
-rw-r--r-- | security/libsodium/pkg-plist | 2 |
3 files changed, 12 insertions, 5 deletions
diff --git a/security/libsodium/Makefile b/security/libsodium/Makefile index f1227d045f2d..fc999f7101c7 100644 --- a/security/libsodium/Makefile +++ b/security/libsodium/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= libsodium -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.2 CATEGORIES= security MASTER_SITES= http://download.dnscrypt.org/libsodium/releases/ @@ -19,6 +19,13 @@ INSTALL_TARGET?= install-strip OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${ARCH} == i386 && ${OSVERSION} < 1000036 +# resolve undefined reference to __stack_chk_fail_local +LDFLAGS+= -lssp_nonshared -Wl,--no-undefined +.endif + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/ @@ -29,4 +36,4 @@ regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} check) -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/libsodium/distinfo b/security/libsodium/distinfo index d56286e5b8fb..468355479d1c 100644 --- a/security/libsodium/distinfo +++ b/security/libsodium/distinfo @@ -1,2 +1,2 @@ -SHA256 (libsodium-1.0.1.tar.gz) = c3090887a4ef9e2d63af1c1e77f5d5a0656fadb5105ebb9fb66a302210cb3af5 -SIZE (libsodium-1.0.1.tar.gz) = 1651848 +SHA256 (libsodium-1.0.2.tar.gz) = 961d8f10047f545ae658bcc73b8ab0bf2c312ac945968dd579d87c768e5baa19 +SIZE (libsodium-1.0.2.tar.gz) = 1673394 diff --git a/security/libsodium/pkg-plist b/security/libsodium/pkg-plist index 1a504ba737c8..d0e7a60b26bb 100644 --- a/security/libsodium/pkg-plist +++ b/security/libsodium/pkg-plist @@ -55,7 +55,7 @@ include/sodium/version.h lib/libsodium.a lib/libsodium.so lib/libsodium.so.13 -lib/libsodium.so.13.0.3 +lib/libsodium.so.13.1.0 libdata/pkgconfig/libsodium.pc %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/README.markdown |