~ubuntu-branches/ubuntu/precise/openvpn/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-03-30 13:19:09 UTC
  • mfrom: (10.2.20 sid)
  • Revision ID: package-import@ubuntu.com-20120330131909-f9c2sqz2qhy0m2b6
Tags: 2.2.1-8ubuntu1
* Merge at Simon Deziel's request to build with PIE.
* Merge from Debian unstable. Remaining changes:
  + debian/openvpn.init.d:
    - Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    - Show per-VPN result messages.
    - Add "--script-security 2" by default for backwards compatabliity.
  + debian/control: Add lsb-base >= 3.2-14 to allow status_of_proc()

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
endif
9
9
 
10
10
#export DH_VERBOSE=1
 
11
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
11
12
 
12
13
%:
13
14
        dh $@
21
22
        # The one shipped in the tarball gets rebuild (chaging /bin/sh in some cases)
22
23
        sed -i -e '1s%.*%#!/bin/sh%' t_client.sh
23
24
        # make plugins
24
 
        $(MAKE) -C plugin/auth-pam/
25
 
        $(MAKE) -C plugin/down-root/
 
25
        $(MAKE) -C plugin/auth-pam/ $(shell dpkg-buildflags --export=configure)
 
26
        $(MAKE) -C plugin/down-root/ $(shell dpkg-buildflags --export=configure)
26
27
 
27
28
# we may not want to run dh_auto_test
28
29
#override_dh_auto_test: