From owner-freebsd-ports@FreeBSD.ORG Wed Aug 20 17:24:21 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org 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 ESMTPS id 454EF6B7 for ; Wed, 20 Aug 2014 17:24:21 +0000 (UTC) Received: from mail-qa0-x230.google.com (mail-qa0-x230.google.com [IPv6:2607:f8b0:400d:c00::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0668C3A98 for ; Wed, 20 Aug 2014 17:24:20 +0000 (UTC) Received: by mail-qa0-f48.google.com with SMTP id m5so7172872qaj.7 for ; Wed, 20 Aug 2014 10:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QuwP5SSkZe2/qgEee5fTvX7cbrO11nO3VQK5ZhCrTcE=; b=hk01qbaogoR6hu8tdJxhcxHKUHP3hJk2ElMlYxfl5SC9Qv6D/40vcYR8Us9Z9w0mY9 Fifrt0z7kHLkm05p0sYUb/b/t5Nsz1ZXZM63RsDeh+0QvOLwNnmN6aJEAJ6sUIrIGg5+ L6edvjNH/rAtGmZtMuHxmXxTzC5sTtFuVhX2SZy66zLC2qJf6siVLbiKIa2XXJ5PPBEL O3jOFo1YwZa8ckqlAeiaT6hiV/m65uMR+6Tm7Jx0SJJh8YhJv/KiUsz8u0baRl1J2naA hAYC1mrYX8GipTOIS+dnaDUxshjRiJyHMwLJlJsArRgS9O2Rs5MU7yHaoMcprAv7FZiC OrHw== MIME-Version: 1.0 X-Received: by 10.140.96.180 with SMTP id k49mr36770899qge.78.1408555460062; Wed, 20 Aug 2014 10:24:20 -0700 (PDT) Received: by 10.140.100.137 with HTTP; Wed, 20 Aug 2014 10:24:20 -0700 (PDT) In-Reply-To: <53F4CE0E.8040106@FreeBSD.org> References: <523D79CD.2090302@FreeBSD.org> <53F4CE0E.8040106@FreeBSD.org> Date: Wed, 20 Aug 2014 19:24:20 +0200 Message-ID: Subject: Re: [CFT] SSP Package Repository available From: "bryn1u85 ." To: Ports FreeBSD Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2014 17:24:21 -0000 For older versions of Freebsd add to /etc/make.conf SSP_CFLAGS=-fstack-protector-all SSP_CXXFLAGS=-fstack-protector-all Should works. 2014-08-20 18:34 GMT+02:00 Bryan Drewery : > On 9/21/2013 5:49 AM, Bryan Drewery wrote: > > Ports now support enabling Stack Protector [1] support on FreeBSD 10 > > i386 and amd64, and older releases on amd64 only currently. > > > > Support may be added for earlier i386 releases once all ports properly > > respect LDFLAGS. > > > > To enable, just add WITH_SSP=yes to your make.conf and rebuild all ports. > > > > The default SSP_CLFAGS is -fstack-protector, but -fstack-protector-all > > may optionally be set instead. > > > > Please help test this on your system. We would like to eventually enable > > this by default, but need to identify any major ports that have run-time > > issues due to it. > > > > [1] https://en.wikipedia.org/wiki/Buffer_overflow_protection > > > > We have not had any feedback on this yet and want to get it enabled by > default for ports and packages. > > We now have a repository that you can use rather than the default to > help test. We need your help to identify any issues before switching the > default. > > This repository is available for: > > head > 10.0 > 9.1,9.2,9.3 > > It is not available for 8.4. If someone is willing to test on 8.4 I will > build a repository for it. > > Place this in /usr/local/etc/pkgs/repos/FreeBSD_ssp.conf: > > FreeBSD: { enabled: no } > FreeBSD_ssp: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/ssp", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > > Once that is done you should force reinstall packages from this repository: > > pkg update > pkg upgrade -f > > Thanks for your help! > Bryan Drewery > On behalf of portmgr. > >