~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Arno Töll
  • Date: 2011-12-11 00:45:45 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20111211004545-5h7wnetmocctwqp0
Tags: 3.0.2-1
* New upstream release
  + Includes former Debian specific patch which makes sure the upstream
    configure script does not override any -O flags passed by the user
    anymore.
* Adapt to dpkg 1.16.1 API changes regarding build flags. This enables
  hardening build flags. This means, trafficserver is now being built with
  -fstack-protector and other security related build flags.
* Add dpkg-dev (>= 1.16.1~) to build-depends to make sure our buildflags are
  properly supported. That's guaranteed for Testing, but might be helpful to
  know for backporters.
* Fix several issues in the DEP-5 syntax. Unfortunately there is no way to
  express that a file is subject to different license agreements so far.
* Do not install the upstream changelog twice anymore
* Finally run regression checks again, now as build failures are sorted out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
configure_flags = \
12
12
        --enable-layout=Debian \
13
13
        --sysconfdir=/etc/trafficserver --libdir=/usr/lib/trafficserver \
14
 
        --with-user=root --with-group=root
 
14
        --with-user=root --with-group=root \
 
15
        $(shell dpkg-buildflags --export=configure)
15
16
 
16
17
ifeq ($(DEB_HOST_ARCH_OS),linux)
17
18
        configure_flags += --enable-wccp
21
22
        dh $@
22
23
 
23
24
override_dh_auto_configure:
 
25
        # autoreconf -i
 
26
        # note dh_auto_configure -- $(configure_flags) does /NOT/ the same
24
27
        ./configure $(configure_flags)
25
28
 
26
29
override_dh_auto_install:
40
43
                -X var/log/trafficserver -X /var/cache/trafficserver \
41
44
                -X var/run/trafficserver
42
45
 
43
 
override_dh_auto_test:
44
 
        # Do nothing. Once Again.
45
 
        # This time because of upstream issue TS-840 (patch proposed)
46
 
 
47
46
override_dh_installexamples:
48
47
        dh_installexamples -X Makefile -X.deps
49
48