* New upstream release.
* debian/control:
- add myself to uploaders.
+ * debian/rules:
+ - pick {C,LD}FLAGS from dpkg-buildflags.
+ - add -Wl,-z,defs -Wl,--as-needed to LDFLAGS.
+ - add hardening flags to {C,LD}FLAGS.
- -- Yves-Alexis Perez <corsac@debian.org> Mon, 20 Sep 2010 23:34:56 +0200
+ -- Yves-Alexis Perez <corsac@debian.org> Mon, 18 Oct 2010 11:26:48 +0200
midori (0.2.7-1.1) unstable; urgency=low
# For testing under xvfb:
xvfb,
xauth,
- xfonts-base
+ xfonts-base,
+ hardening-includes
# Disabled optional dependencies:
Build-Conflicts: gtk-doc-tools,
libgtksourceview2.0-dev (>= 2.0),
#!/usr/bin/make -f
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+CFLAGS+=$(HARDENING_CFLAGS)
+#LDFLAGS+=-Wl,-z,defs -Wl,--as-needed $(HARDENING_LDFLAGS)
+LDFLAGS+=-Wl,--as-needed $(HARDENING_LDFLAGS)
+
+# waf, thank you _so_ much
+CCFLAGS=$(CFLAGS)
+LINKFLAGS=$(LDFLAGS)
+
CMD=$(shell echo $@ | sed 's/override_//')
LIBWEBKIT_PKG=$(shell dpkg-query -p libwebkit-dev | grep Depends | sed -r 's/.*(libwebkit[^ ]+).*/\1/')
$(WAF) --nocache configure --prefix /usr
override_dh_auto_build: $(WAFADMIN_FILE)
- $(WAF) --nocache build --debug full
+ $(WAF) build --nocache --debug full
#override_dh_auto_test: $(WAFADMIN_FILE)
# xvfb-run $(WAF) --nocache check