summaryrefslogtreecommitdiffstats
path: root/openvpn.spec.in
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-13 04:08:20 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-13 04:08:20 +0000
commitcecc5e657bb38c03f80747eab40073bc6ded9631 (patch)
tree01ade4571a8db916a2966cee89f4f09e1f8403b3 /openvpn.spec.in
parentf25476b26d3af15789698b7f4aa19701d0dd52c0 (diff)
downloadopenvpn-cecc5e657bb38c03f80747eab40073bc6ded9631.tar.gz
openvpn-cecc5e657bb38c03f80747eab40073bc6ded9631.tar.xz
openvpn-cecc5e657bb38c03f80747eab40073bc6ded9631.zip
Renamed plugin to plugins to work around
strange automake issue. 2.1_beta2 git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@603 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'openvpn.spec.in')
-rw-r--r--openvpn.spec.in20
1 files changed, 12 insertions, 8 deletions
diff --git a/openvpn.spec.in b/openvpn.spec.in
index 041ffdd..01c9bfd 100644
--- a/openvpn.spec.in
+++ b/openvpn.spec.in
@@ -101,13 +101,13 @@ and portability to most major OS platforms.
%__strip %{name}
# Build down-root plugin
-pushd plugin/down-root
+pushd plugins/down-root
%__make
popd
# Build auth-pam plugin
%if %{build_auth_pam}
-pushd plugin/auth-pam
+pushd plugins/auth-pam
%__make
popd
%endif
@@ -151,16 +151,16 @@ popd
# Install the plugins
#
-%__mkdir_p %{buildroot}%{_datadir}/%{name}/plugin/lib
+%__mkdir_p %{buildroot}%{_datadir}/%{name}/plugins/lib
for pi in auth-pam down-root; do
- %__mv -f plugin/$pi/README plugin/README.$pi
- if [ -e plugin/$pi/openvpn-$pi.so ]; then
- %__install -c -m 755 plugin/$pi/openvpn-$pi.so %{buildroot}%{_datadir}/openvpn/plugin/lib/openvpn-$pi.so
+ %__mv -f plugins/$pi/README plugins/README.$pi
+ if [ -e plugins/$pi/openvpn-$pi.so ]; then
+ %__install -c -m 755 plugins/$pi/openvpn-$pi.so %{buildroot}%{_datadir}/openvpn/plugins/lib/openvpn-$pi.so
fi
done
-%__mv -f plugin/README plugin/README.plugins
+%__mv -f plugins/README plugins/README.plugins
#
# Clean section
@@ -220,10 +220,14 @@ fi
%endif
# Install extra %doc stuff
-%doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*
+%doc contrib/ easy-rsa/ management/ sample-*/ plugins/README.*
%changelog
+* Mon Oct 13 2005 James Yonan
+- Renamed plugin directory to plugins to
+ work around automake issue.
+
* Mon Aug 2 2005 James Yonan
- Fixed build problem with --define 'without_pam 1'