[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682092: unblock: skktools/1.3.2-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock skktools/1.3.2-3 to enable hardening flags for wheezy.

Changes:

  * debian/rules: Use dpkg-buildflags to support hardening flags
  * debian/copyright: Update copyright-format version to 1.0
  * debian/control: Update Standards-Version to 3.9.3

See also the attached debdiff.

unblock skktools/1.3.2-3

Thanks,
--
Tatsuya Kinoshita
diffstat for skktools-1.3.2 skktools-1.3.2

 changelog |    8 ++++++++
 control   |    2 +-
 copyright |    2 +-
 rules     |   13 ++++++-------
 4 files changed, 16 insertions(+), 9 deletions(-)

diff -Nru skktools-1.3.2/debian/changelog skktools-1.3.2/debian/changelog
--- skktools-1.3.2/debian/changelog	2012-02-12 13:26:59.000000000 +0900
+++ skktools-1.3.2/debian/changelog	2012-07-08 15:02:41.000000000 +0900
@@ -1,3 +1,11 @@
+skktools (1.3.2-3) unstable; urgency=low
+
+  * debian/rules: Use dpkg-buildflags to support hardening flags
+  * debian/copyright: Update copyright-format version to 1.0
+  * debian/control: Update Standards-Version to 3.9.3
+
+ -- Tatsuya Kinoshita <tats@debian.org>  Sun, 08 Jul 2012 15:02:40 +0900
+
 skktools (1.3.2-2) unstable; urgency=low
 
   * debian/patches/010_makedbmdic5.patch: Transition to Perl 5.16 for
diff -Nru skktools-1.3.2/debian/control skktools-1.3.2/debian/control
--- skktools-1.3.2/debian/control	2012-02-12 13:26:14.000000000 +0900
+++ skktools-1.3.2/debian/control	2012-07-08 14:58:49.000000000 +0900
@@ -4,7 +4,7 @@
 Maintainer: Tatsuya Kinoshita <tats@debian.org>
 Build-Depends: debhelper (>= 7), libdb-dev, libglib2.0-dev, pkg-config
 Homepage: http://openlab.jp/skk/
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 
 Package: skktools
 Architecture: any
diff -Nru skktools-1.3.2/debian/copyright skktools-1.3.2/debian/copyright
--- skktools-1.3.2/debian/copyright	2012-02-12 12:44:04.000000000 +0900
+++ skktools-1.3.2/debian/copyright	2012-07-08 14:58:40.000000000 +0900
@@ -1,4 +1,4 @@
-Format: http://dep.debian.net/deps/dep5
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: SKK Tools
 Source: http://openlab.jp/skk/tools/
 
diff -Nru skktools-1.3.2/debian/rules skktools-1.3.2/debian/rules
--- skktools-1.3.2/debian/rules	2012-02-12 12:41:37.000000000 +0900
+++ skktools-1.3.2/debian/rules	2012-07-08 15:02:34.000000000 +0900
@@ -2,19 +2,18 @@
 
 #export DH_VERBOSE=1
 
-export CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS=$(DEB_BUILD_MAINT_OPTIONS) dpkg-buildflags
+CFLAGS=$(shell $(dpkg_buildflags) --get CFLAGS)
+CPPFLAGS=$(shell $(dpkg_buildflags) --get CPPFLAGS)
+LDFLAGS=$(shell $(dpkg_buildflags) --get LDFLAGS)
 
 build-indep:
 
 build-arch: build-arch-stamp
 build-arch-stamp:
 	dh_testdir
-	./configure --prefix=/usr
+	CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --prefix=/usr
 	$(MAKE)
 	touch $@
 

Attachment: pgpJEWt4BOifm.pgp
Description: PGP signature


Reply to: