summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2012-11-05 17:02:20 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2013-01-10 17:55:36 +0100
commit8e2718532a8d8ae637e974f5e9a7be9ac5f4abb8 (patch)
tree8d8df2a696ad0bb4d70d3febe34e066a43b55399 /debian/rules
parent0159f6a3459c511c94b009afd0bfe5dc8e8991d1 (diff)
Moving to 2.3
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules24
1 files changed, 12 insertions, 12 deletions
diff --git a/debian/rules b/debian/rules
index 20201b2..1ef1340 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,8 @@ override_dh_auto_build:
# The one shipped in the tarball gets rebuild (chaging /bin/sh in some cases)
sed -i -e '1s%.*%#!/bin/sh%' t_client.sh
# make plugins
- $(MAKE) -C plugin/auth-pam/ $(shell dpkg-buildflags --export=configure)
- $(MAKE) -C plugin/down-root/ $(shell dpkg-buildflags --export=configure)
+# $(MAKE) -C plugin/auth-pam/ $(shell dpkg-buildflags --export=configure)
+# $(MAKE) -C plugin/down-root/ $(shell dpkg-buildflags --export=configure)
# we may not want to run dh_auto_test
#override_dh_auto_test:
@@ -37,24 +37,24 @@ override_dh_auto_clean:
-test -f openvpn.spec.not && mv openvpn.spec.not openvpn.spec
-test -f t_client.sh.not && mv t_client.sh.not t_client.sh
# clean plugins
- $(MAKE) -C plugin/auth-pam/ clean
- $(MAKE) -C plugin/down-root/ clean
+# $(MAKE) -C plugin/auth-pam/ clean
+# $(MAKE) -C plugin/down-root/ clean
override_dh_clean:
dh_clean -X win/openvpn.nsi.orig
override_dh_auto_install:
dh_auto_install
- install -m 755 sample-scripts/verify-cn $(CURDIR)/debian/openvpn/usr/share/openvpn
+ install -m 755 sample/sample-scripts/verify-cn $(CURDIR)/debian/openvpn/usr/share/openvpn
install -m 755 debian/openvpn.if-up.d $(CURDIR)/debian/openvpn/etc/network/if-up.d/openvpn
install -m 755 debian/openvpn.if-down.d $(CURDIR)/debian/openvpn/etc/network/if-down.d/openvpn
- #install plugins
- install -m 644 plugin/auth-pam/openvpn-auth-pam.so $(CURDIR)/debian/openvpn/usr/lib/openvpn
- install -m 644 plugin/down-root/openvpn-down-root.so $(CURDIR)/debian/openvpn/usr/lib/openvpn
- install -m 644 plugin/auth-pam/README $(CURDIR)/debian/openvpn/usr/share/doc/openvpn/README.auth-pam
- install -m 644 plugin/down-root/README $(CURDIR)/debian/openvpn/usr/share/doc/openvpn/README.down-root
- # intall plugin headers
- install -m 644 openvpn-plugin.h $(CURDIR)/debian/openvpn/usr/include/openvpn/openvpn-plugin.h
+# #install plugins
+# install -m 644 plugin/auth-pam/openvpn-auth-pam.so $(CURDIR)/debian/openvpn/usr/lib/openvpn
+# install -m 644 plugin/down-root/openvpn-down-root.so $(CURDIR)/debian/openvpn/usr/lib/openvpn
+# install -m 644 plugin/auth-pam/README $(CURDIR)/debian/openvpn/usr/share/doc/openvpn/README.auth-pam
+# install -m 644 plugin/down-root/README $(CURDIR)/debian/openvpn/usr/share/doc/openvpn/README.down-root
+# # intall plugin headers
+# install -m 644 openvpn-plugin.h $(CURDIR)/debian/openvpn/usr/include/openvpn/openvpn-plugin.h
# resolvconf script
install -m 755 debian/update-resolv-conf $(CURDIR)/debian/openvpn/etc/openvpn/update-resolv-conf
# bash completion