Bug#681469: unblock: sbjson/2.3.2-2
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package sbjson
The new version builds with hardening enabled and links correctly with
the libraries it depends on, resulting in correct Depends.
unblock sbjson/2.3.2-2
-- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-26-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru sbjson-2.3.2/debian/changelog sbjson-2.3.2/debian/changelog
--- sbjson-2.3.2/debian/changelog 2012-05-09 23:11:11.000000000 +0200
+++ sbjson-2.3.2/debian/changelog 2012-06-29 19:11:14.000000000 +0200
@@ -1,3 +1,10 @@
+sbjson (2.3.2-2) unstable; urgency=low
+
+ * Build with hardening enabled.
+ * Correctly link with libobjc and libgnustep-base.
+
+ -- Jeroen Dekkers <jeroen@dekkers.ch> Fri, 29 Jun 2012 19:09:28 +0200
+
sbjson (2.3.2-1) unstable; urgency=low
* Initial release. (Closes: #672134)
diff -Nru sbjson-2.3.2/debian/control sbjson-2.3.2/debian/control
--- sbjson-2.3.2/debian/control 2012-05-09 23:11:11.000000000 +0200
+++ sbjson-2.3.2/debian/control 2012-06-29 18:23:32.000000000 +0200
@@ -2,7 +2,7 @@
Section: libs
Priority: optional
Maintainer: Jeroen Dekkers <jeroen@dekkers.ch>
-Build-Depends: debhelper (>= 9), cdbs, gobjc, gnustep-make, libgnustep-base-dev
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), cdbs, gobjc, gnustep-make, libgnustep-base-dev
Standards-Version: 3.9.3
Homepage: http://stig.github.com/json-framework
Vcs-Browser: https://github.com/dekkers/sbjson
diff -Nru sbjson-2.3.2/debian/patches/0001-add-makefiles.patch sbjson-2.3.2/debian/patches/0001-add-makefiles.patch
--- sbjson-2.3.2/debian/patches/0001-add-makefiles.patch 2012-05-09 23:11:11.000000000 +0200
+++ sbjson-2.3.2/debian/patches/0001-add-makefiles.patch 2012-06-29 19:11:09.000000000 +0200
@@ -3,18 +3,18 @@
Subject: add-makefiles
---
- Classes/GNUmakefile | 27 +++++++++++++++++++++++++++
+ Classes/GNUmakefile | 29 +++++++++++++++++++++++++++++
GNUmakefile | 9 +++++++++
- 2 files changed, 36 insertions(+), 0 deletions(-)
+ 2 files changed, 38 insertions(+)
create mode 100644 Classes/GNUmakefile
create mode 100644 GNUmakefile
diff --git a/Classes/GNUmakefile b/Classes/GNUmakefile
new file mode 100644
-index 0000000..2249e72
+index 0000000..625d963
--- /dev/null
+++ b/Classes/GNUmakefile
-@@ -0,0 +1,27 @@
+@@ -0,0 +1,29 @@
+# GNUstep makefile
+include $(GNUSTEP_MAKEFILES)/common.make
+
@@ -39,6 +39,8 @@
+ SBJsonParser.m \
+ SBJsonWriter.m
+
++SBJson_LIBRARIES_DEPEND_UPON += -lgnustep-base -lobjc
++
+-include GNUmakefile.preamble
+include $(GNUSTEP_MAKEFILES)/library.make
+-include GNUmakefile.postamble
diff -Nru sbjson-2.3.2/debian/rules sbjson-2.3.2/debian/rules
--- sbjson-2.3.2/debian/rules 2012-05-09 23:11:11.000000000 +0200
+++ sbjson-2.3.2/debian/rules 2012-06-29 17:57:11.000000000 +0200
@@ -3,6 +3,11 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
+export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
+include /usr/share/dpkg/buildflags.mk
+# FIXME: dpkg-buildflags / cdbs should support OBJCFLAGS
+DEB_MAKE_BUILD_TARGET = all messages=yes OBJCFLAGS="$(CFLAGS)"
+
include /usr/share/cdbs/1/rules/gnustep.mk
include /usr/share/cdbs/1/class/gnumakefile.mk
Reply to: