From fe724ad7e1e1f2869c63d2d33905fd2db2722eca Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Thu, 24 Jan 2008 17:20:34 +0000 Subject: [PATCH] Pass paths to ifconfig, ip, and route to configure. --- openvpn.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/openvpn.spec b/openvpn.spec index 23c4e8f..7a555d0 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -54,7 +54,16 @@ find contrib sample-config-files sample-keys sample-scripts -type f -perm +100 \ # --enable-password-save Allow --askpass and --auth-user-pass passwords to be # read from a file # --enable-iproute2 Enable support for iproute2 -%configure --enable-pthread --enable-password-save --enable-iproute2 +# --with-ifconfig-path=PATH Path to ifconfig tool +# --with-iproute-path=PATH Path to iproute tool +# --with-route-path=PATH Path to route tool +%configure \ + --enable-pthread \ + --enable-password-save \ + --enable-iproute2 \ + --with-ifconfig-path=/sbin/ifconfig \ + --with-iproute-path=/sbin/ip \ + --with-route-path=/sbin/route %{__make} # Build plugins @@ -151,6 +160,7 @@ fi %changelog * Wed Jan 23 2008 Steven Pritchard 2.1-0.21.rc5 - Update to 2.1_rc5 +- Pass paths to ifconfig, ip, and route to configure. * Wed Dec 05 2007 Steven Pritchard 2.1-0.20.rc4 - Remove check macro cruft.