Use debhelper 9 and associated hardening
git-svn-id: file:///svn/pkg-games/packages/trunk/alex4@14618 8808ee5c-780a-0410-9abb-a8188df92ce5
Jackson Doak
10 years ago
|
0 |
alex4 (1.1-7) UNRELEASED; urgency=low
|
|
1 |
|
|
2 |
* debian/control:
|
|
3 |
- Bump debhelper to 9
|
|
4 |
- drop build-depends on hardening-includes
|
|
5 |
* debian/compat: set as 9
|
|
6 |
* debian/rules: Use simpler hardening commands
|
|
7 |
|
|
8 |
-- Jackson Doak <noskcaj@ubuntu.com> Fri, 27 Sep 2013 19:03:20 +1000
|
|
9 |
|
0 | 10 |
alex4 (1.1-6) unstable; urgency=low
|
1 | 11 |
|
2 | 12 |
* Team upload.
|
6 | 6 |
Paul Wise <pabs@debian.org>,
|
7 | 7 |
Peter Pentchev <roam@ringlet.net>
|
8 | 8 |
Build-Depends:
|
9 | |
debhelper (>= 8),
|
|
9 |
debhelper (>= 9),
|
10 | 10 |
dpkg-dev (>= 1.15.7~),
|
11 | |
hardening-includes,
|
|
11 |
# hardening-includes,
|
12 | 12 |
libaldmb1-dev,
|
13 | 13 |
liballegro4-dev,
|
14 | 14 |
libdumb1-dev
|
2 | 2 |
# Uncomment this to turn on verbose mode.
|
3 | 3 |
#export DH_VERBOSE=1
|
4 | 4 |
|
5 | |
CFLAGS:= $(shell dpkg-buildflags --get CFLAGS)
|
6 | |
CPPFLAGS:= $(shell dpkg-buildflags --get CPPFLAGS)
|
7 | |
LDFLAGS:= $(shell dpkg-buildflags --get LDFLAGS)
|
8 | |
|
9 | |
CFLAGS+= -Wall -W -Wbad-function-cast \
|
10 | |
-Wcast-align -Wcast-qual -Wchar-subscripts -Winline \
|
11 | |
-Wnested-externs -Wpointer-arith \
|
12 | |
-Wredundant-decls -Wwrite-strings
|
13 | |
ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
|
14 | |
CFLAGS+= -Werror
|
15 | |
endif
|
16 | |
|
17 | |
include /usr/share/hardening-includes/hardening.make
|
18 | |
ifeq (,$(filter nohardening,$(DEB_BUILD_OPTIONS)))
|
19 | |
CFLAGS+= $(HARDENING_CFLAGS)
|
20 | |
LDFLAGS+= $(HARDENING_LDFLAGS)
|
21 | |
endif
|
22 | |
|
23 | |
export CPPFLAGS CFLAGS LDFLAGS
|
|
5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
24 | 6 |
|
25 | 7 |
override_dh_auto_build:
|
26 | 8 |
dh_auto_build -D src -- DATADIR=/usr/share/games/alex4
|