diff options
author | Josh Paetzel <jpaetzel@FreeBSD.org> | 2013-11-10 05:30:28 +0800 |
---|---|---|
committer | Josh Paetzel <jpaetzel@FreeBSD.org> | 2013-11-10 05:30:28 +0800 |
commit | b5758796c73448e64aecc9cd6ed70a98851f0056 (patch) | |
tree | 7164e3c3c4fd5c7da0a4d21430d0eb2c49da88d1 /security | |
parent | 00c528e755d5e6a78f4e035162d774993dfd0485 (diff) | |
download | freebsd-ports-gnome-b5758796c73448e64aecc9cd6ed70a98851f0056.tar.gz freebsd-ports-gnome-b5758796c73448e64aecc9cd6ed70a98851f0056.tar.zst freebsd-ports-gnome-b5758796c73448e64aecc9cd6ed70a98851f0056.zip |
Update to 1.14
PR: ports/181286
Submitted by: Horia Racoviceanu <horia@racoviceanu.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/libscrypt/Makefile | 26 | ||||
-rw-r--r-- | security/libscrypt/distinfo | 4 |
2 files changed, 19 insertions, 11 deletions
diff --git a/security/libscrypt/Makefile b/security/libscrypt/Makefile index 0358f8843253..aabda5d8d36d 100644 --- a/security/libscrypt/Makefile +++ b/security/libscrypt/Makefile @@ -2,33 +2,41 @@ # $FreeBSD$ PORTNAME= libscrypt -PORTVERSION= 1.1 -PORTREVISION= 1 +PORTVERSION= 1.14 CATEGORIES= security MAINTAINER= horia@racoviceanu.com COMMENT= C library for the scrypt key derivation function LICENSE= BSD -LICENSE_FILE= ${WRKSRC}/LICENSE NO_STAGE= yes USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= technion -GH_COMMIT= 49f9136 -GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 8e6966e +GH_TAGNAME= ${GH_COMMIT} -PLIST_FILES+= include/libscrypt.h \ +PLIST_FILES= include/libscrypt.h \ lib/libscrypt.a \ lib/libscrypt.so \ lib/libscrypt.so.0 +.include <bsd.port.pre.mk> + post-patch: - ${REINPLACE_CMD} -e '/^CC=gcc/d' -e '/CFLAGS=/s,$$, ${CFLAGS},' \ - -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e '/^CC=gcc/d' -e '/CFLAGS=/s,$$, ${CFLAGS},' \ + -e 's,/usr/local,${PREFIX},' -e 's,install: library,& install-static,' \ + -e 's,$$(LDFLAGS),,' ${WRKSRC}/Makefile regression-test: build (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check) -.include <bsd.port.mk> +.if ${ARCH} == i386 +CCVERSION!= ${CC} --version +.if !empty(CCVERSION:tl:M*gcc*) +CFLAGS+= -fno-stack-protector +.endif +.endif + +.include <bsd.port.post.mk> diff --git a/security/libscrypt/distinfo b/security/libscrypt/distinfo index 66ae152e965e..488c5a25964a 100644 --- a/security/libscrypt/distinfo +++ b/security/libscrypt/distinfo @@ -1,2 +1,2 @@ -SHA256 (libscrypt-1.1.tar.gz) = f6cec579980850604267566731e12d985f16739cd92b828fe28c326f6a7ee798 -SIZE (libscrypt-1.1.tar.gz) = 20276 +SHA256 (libscrypt-1.14.tar.gz) = 08d9f83eee4f2eb00c740357fd3648ce7d038ba4b5af2ee9fdc4319f76113e8b +SIZE (libscrypt-1.14.tar.gz) = 20562 |