aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/hardening
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/hardening')
-rw-r--r--debian/patches/hardening13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/hardening b/debian/patches/hardening
new file mode 100644
index 0000000..da26ced
--- /dev/null
+++ b/debian/patches/hardening
@@ -0,0 +1,13 @@
+Description: Add hardening
+ Add hardening to cgit.
+Author: Alexander Wirt <formorer@debian.org>
+
+--- /dev/null
++++ cgit-0.10.2.git2.0.1/cgit.conf
+@@ -0,0 +1,6 @@
++CC =gcc
++CPPFLAGS :=$(shell dpkg-buildflags --get CPPFLAGS)
++CFLAGS :=-Wall $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
++CGIT_CFLAGS :=-Wall $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
++LDFLAGS :=$(shell dpkg-buildflags --get LDFLAGS)
++