From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 14 11:50:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02F67589 for ; Wed, 14 Aug 2013 11:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D6BAC2386 for ; Wed, 14 Aug 2013 11:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7EBo1bc090215 for ; Wed, 14 Aug 2013 11:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7EBo1nt090214; Wed, 14 Aug 2013 11:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 14 Aug 2013 11:50:01 GMT Resent-Message-Id: <201308141150.r7EBo1nt090214@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Horia Racoviceanu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5DF182F6 for ; Wed, 14 Aug 2013 11:44:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 32DCE2330 for ; Wed, 14 Aug 2013 11:44:36 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7EBiZkw009469 for ; Wed, 14 Aug 2013 11:44:35 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7EBiZVO009468; Wed, 14 Aug 2013 11:44:35 GMT (envelope-from nobody) Message-Id: <201308141144.r7EBiZVO009468@oldred.freebsd.org> Date: Wed, 14 Aug 2013 11:44:35 GMT From: Horia Racoviceanu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181286: Update security/libscrypt libscrypt-1.13 and fixed i386 gcc error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 11:50:02 -0000 >Number: 181286 >Category: ports >Synopsis: Update security/libscrypt libscrypt-1.13 and fixed i386 gcc error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Aug 14 11:50:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Horia Racoviceanu >Release: 9.1-RELEASE-p5 >Organization: >Environment: FreeBSD horia.lan 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: PORTVERSION=1.13 Fixed: gcc+i386+-fstack-protector fails with undefined reference to `__stack_chk_fail_local' >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN libscrypt-v1.1/Makefile libscrypt/Makefile --- libscrypt-v1.1/Makefile 2013-07-28 12:51:54.000000000 -0400 +++ libscrypt/Makefile 2013-08-14 06:45:30.000000000 -0400 @@ -1,8 +1,8 @@ # Created by: Horia Racoviceanu -# $FreeBSD: security/libscrypt/Makefile 323838 2013-07-28 16:51:54Z vanilla $ +# $FreeBSD$ PORTNAME= libscrypt -PORTVERSION= 1.1 +PORTVERSION= 1.13 CATEGORIES= security MAINTAINER= horia@racoviceanu.com @@ -14,7 +14,7 @@ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= technion -GH_COMMIT= 49f9136 +GH_COMMIT= a217e5b GH_TAGNAME= v${PORTVERSION} PLIST_FILES+= include/libscrypt.h \ @@ -22,11 +22,22 @@ lib/libscrypt.so \ lib/libscrypt.so.0 +.include + +.if ${ARCH} == i386 +CCVERSION!= ${CC} --version +. if !empty(CCVERSION:tl:M*gcc*) +# gcc+i386+-fstack-protector fails with undefined reference to `__stack_chk_fail_local' +CFLAGS+= -fno-stack-protector +. endif +.endif + 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 +.include diff -ruN libscrypt-v1.1/distinfo libscrypt/distinfo --- libscrypt-v1.1/distinfo 2013-07-28 12:51:54.000000000 -0400 +++ libscrypt/distinfo 2013-08-14 04:11:51.000000000 -0400 @@ -1,2 +1,2 @@ -SHA256 (libscrypt-1.1.tar.gz) = f6cec579980850604267566731e12d985f16739cd92b828fe28c326f6a7ee798 -SIZE (libscrypt-1.1.tar.gz) = 20276 +SHA256 (libscrypt-1.13.tar.gz) = 603c029cdff9b993d42eb1d48882ae6fb9083dfad6b4ecf154e935805d150dcd +SIZE (libscrypt-1.13.tar.gz) = 20503 >Release-Note: >Audit-Trail: >Unformatted: