Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 21:30:28 +0000 (UTC)
From:      Josh Paetzel <jpaetzel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333338 - head/security/libscrypt
Message-ID:  <201311092130.rA9LUTf7047582@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jpaetzel
Date: Sat Nov  9 21:30:28 2013
New Revision: 333338
URL: http://svnweb.freebsd.org/changeset/ports/333338

Log:
  Update to 1.14
  
  PR:	ports/181286
  Submitted by:	Horia Racoviceanu <horia@racoviceanu.com>

Modified:
  head/security/libscrypt/Makefile
  head/security/libscrypt/distinfo

Modified: head/security/libscrypt/Makefile
==============================================================================
--- head/security/libscrypt/Makefile	Sat Nov  9 21:13:57 2013	(r333337)
+++ head/security/libscrypt/Makefile	Sat Nov  9 21:30:28 2013	(r333338)
@@ -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>

Modified: head/security/libscrypt/distinfo
==============================================================================
--- head/security/libscrypt/distinfo	Sat Nov  9 21:13:57 2013	(r333337)
+++ head/security/libscrypt/distinfo	Sat Nov  9 21:30:28 2013	(r333338)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311092130.rA9LUTf7047582>