From a646f558b54191eda1d64f2926eee7b4fa763f89 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Thu, 26 Feb 2015 15:56:13 -0700 Subject: [PATCH] Version 6.6.0 Release Add build hardening for shared libraries on Debian systems --- ChangeLog | 6 +++++- db-mysql/Makefile | 2 +- debian/changelog | 7 +++++++ debian/control | 2 +- uffi/Makefile | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5c3162f..fc41781 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,12 @@ +2014-02-26 Kevin Rosenberg + * Version 6.6.0 release + * {uffi,db-mysql}/Makefile: Add build hardening for Debian + 2014-02-24 Russ Tyndall * mysql-sql.lisp an error in type declarations generating a compilation warning was being treated as an error in recent SBCLs, fixed the type - warning by correcting the type (still a ton of compliation + warning by correcting the type (still a ton of compliation notes) 2014-02-23 Russ Tyndall diff --git a/db-mysql/Makefile b/db-mysql/Makefile index 604aac5..6a52dc8 100644 --- a/db-mysql/Makefile +++ b/db-mysql/Makefile @@ -38,7 +38,7 @@ ifneq ($(OS_CYGWIN),0) endif ifneq ($(OS_DPKG_BUILDFLAGS),0) CFLAGS:=$(CFLAGS) $(shell dpkg-buildflags --get CFLAGS) - LDFLAGS:=$(LDFLAGS) $(shell dpkg-buildflags --get LDFLAGS | sed "s/-Wl\|,/ /ig") + LDFLAGS:=$(LDFLAGS) $(shell env DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get LDFLAGS | sed "s/-Wl\|,/ /ig") endif $(shared_lib): $(source) Makefile diff --git a/debian/changelog b/debian/changelog index 7a72023..0d2b64a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +cl-sql (6.6.0-1) unstable; urgency=medium + + * New upstream + * {uffi,db-mysql}/Makefile: Add build hardening + + -- Kevin M. Rosenberg Thu, 26 Feb 2015 15:32:46 -0700 + cl-sql (6.5.0-1) unstable; urgency=low * New upstream diff --git a/debian/control b/debian/control index da7533a..524a4c9 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: lisp Priority: extra Maintainer: Kevin M. Rosenberg Build-Depends: dh-lisp, debhelper (>= 7.0.0), libmysqlclient-dev, libpq-dev -Standards-Version: 3.9.5.0 +Standards-Version: 3.9.6 Homepage: http://clsql.b9.com/ Vcs-Git: git://git.b9.com/clsql.git Vcs-Browser: http://git.b9.com/?p=clsql.git diff --git a/uffi/Makefile b/uffi/Makefile index 6f4467a..910750b 100644 --- a/uffi/Makefile +++ b/uffi/Makefile @@ -25,7 +25,7 @@ dylib=$(base).dylib ifneq ($(OS_DPKG_BUILDFLAGS),0) CFLAGS:=$(CFLAGS) $(shell dpkg-buildflags --get CFLAGS) - LDFLAGS:=$(LDFLAGS) $(shell dpkg-buildflags --get LDFLAGS | sed "/-Wl,\(.*\)/ s//\1/") + LDFLAGS:=$(LDFLAGS) $(shell DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get LDFLAGS | sed "s/-Wl\|,/ /ig") endif -- 2.34.1