diff --git a/debian/changelog b/debian/changelog index fe7305e2..0713f128 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +midori (0.3.0-1.2) unstable; urgency=low + + * Non-maintainer upload. + * debian/control: + - replace hardening-includes build-dep by hardening-wrapper. + * debian/rules: + - enable hardening. + + -- Yves-Alexis Perez Thu, 03 Feb 2011 23:43:07 +0100 + midori (0.3.0-1.2) unstable; urgency=low * Non-maintainer upload. diff --git a/debian/control b/debian/control index de6ed9aa..e269a291 100644 --- a/debian/control +++ b/debian/control @@ -24,7 +24,7 @@ Build-Depends: debhelper (>= 7.0.50), xvfb, xauth, xfonts-base, - hardening-includes, + hardening-wrapper, libxss-dev # Disabled optional dependencies: Build-Conflicts: gtk-doc-tools, diff --git a/debian/rules b/debian/rules index e4f9c039..5f0a52c0 100755 --- a/debian/rules +++ b/debian/rules @@ -2,13 +2,13 @@ LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS) CFLAGS=$(shell dpkg-buildflags --get CFLAGS) -CFLAGS+=$(HARDENING_CFLAGS) -#LDFLAGS+=-Wl,-z,defs -Wl,--as-needed -Wl,-O1 $(HARDENING_LDFLAGS) -LDFLAGS+=-Wl,--as-needed -Wl,-O1 $(HARDENING_LDFLAGS) +LDFLAGS+=-Wl,--as-needed -Wl,-O1 # waf, thank you _so_ much -CCFLAGS=$(CFLAGS) -LINKFLAGS=$(LDFLAGS) +export LINKFLAGS=$(LDFLAGS) +export CCFLAGS=$(CFLAGS) + +export DEB_BUILD_HARDENING=1 CMD=$(shell echo $@ | sed 's/override_//') @@ -44,10 +44,10 @@ override_dh_auto_clean: rm -rf .lock-wscript override_dh_auto_configure: - $(WAF) --nocache configure --prefix /usr + $(WAF) --nocache configure --debug-level=none --prefix /usr override_dh_auto_build: - $(WAF) build --nocache --debug full + $(WAF) build --nocache -v #override_dh_auto_test: # xvfb-run $(WAF) --nocache check