~ubuntu-branches/ubuntu/utopic/openvpn/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2013-07-09 17:20:31 UTC
  • mfrom: (1.1.20) (10.2.26 sid)
  • Revision ID: package-import@ubuntu.com-20130709172031-j30621zfq11wy5tv
Tags: 2.3.2-4ubuntu1
* 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
4
4
# Avoid the /sbin/route wrapper which doesn't provide FreeBSD CLI as expected
5
 
ROUTE_PATH      := /lib/freebsd/route
 
5
ROUTE_ARGS      := --with-route-path=/lib/freebsd/route
6
6
else
7
 
ROUTE_PATH      := /sbin/route
 
7
ROUTE_ARGS      := --with-route-path=/sbin/route --with-iproute-path=/sbin/ip --enable-iproute2
8
8
endif
9
9
 
10
10
#export DH_VERBOSE=1
14
14
        dh $@
15
15
 
16
16
override_dh_auto_configure:
17
 
        dh_auto_configure -- $(shell dpkg-buildflags --export=configure) --enable-password-save --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-ifconfig-path=/sbin/ifconfig --with-route-path=$(ROUTE_PATH) --with-plugindir=\$${prefix}/lib/openvpn --includedir=\$${prefix}/include/openvpn
 
17
        dh_auto_configure -- $(shell dpkg-buildflags --export=configure) --enable-password-save --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-ifconfig-path=/sbin/ifconfig $(ROUTE_ARGS) --with-plugindir=\$${prefix}/lib/openvpn --includedir=\$${prefix}/include/openvpn --enable-pkcs11
18
18
 
19
19
 
20
20
override_dh_auto_build: