]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Renamed plugin to plugins to work around
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Thu, 13 Oct 2005 04:08:20 +0000 (04:08 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Thu, 13 Oct 2005 04:08:20 +0000 (04:08 +0000)
strange automake issue.
2.1_beta2

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@603 e7ae566f-a301-0410-adde-c780ea21d3b5

19 files changed:
ChangeLog
INSTALL
Makefile.am
openvpn.spec.in
plugins/README [moved from plugin/README with 100% similarity]
plugins/auth-pam/.svnignore [moved from plugin/auth-pam/.svnignore with 100% similarity]
plugins/auth-pam/Makefile [moved from plugin/auth-pam/Makefile with 100% similarity]
plugins/auth-pam/README [moved from plugin/auth-pam/README with 100% similarity]
plugins/auth-pam/auth-pam.c [moved from plugin/auth-pam/auth-pam.c with 100% similarity]
plugins/auth-pam/pamdl.c [moved from plugin/auth-pam/pamdl.c with 100% similarity]
plugins/auth-pam/pamdl.h [moved from plugin/auth-pam/pamdl.h with 100% similarity]
plugins/down-root/Makefile [moved from plugin/down-root/Makefile with 100% similarity]
plugins/down-root/README [moved from plugin/down-root/README with 100% similarity]
plugins/down-root/down-root.c [moved from plugin/down-root/down-root.c with 100% similarity]
plugins/examples/README [moved from plugin/examples/README with 100% similarity]
plugins/examples/build [moved from plugin/examples/build with 100% similarity]
plugins/examples/simple.c [moved from plugin/examples/simple.c with 100% similarity]
plugins/examples/simple.def [moved from plugin/examples/simple.def with 100% similarity]
plugins/examples/winbuild [moved from plugin/examples/winbuild with 100% similarity]

index a960cfc4f2353158c1e515e2774613e35a8554b1..a7da555299e1843ca1e3714605bda845d3b16bde 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,15 @@ Copyright (C) 2002-2005 OpenVPN Solutions LLC <info@openvpn.net>
 
 $Id$
 
+2005.10.xx -- Version 2.1-beta3
+
+* NOTE TO PACKAGE MAINTAINERS: Moved "plugin"
+  directory to "plugins".  This is
+  to work around a strange problem with the
+  "make dist" target in the automake-generated
+  makefile, where the target tries to do a
+  rather bogus "gcc -g -O2 -I. plugin.c -o plugin".
+
 2005.10.13 -- Version 2.1-beta2
 
 * Added --socket-flags directive with TCP_NODELAY
diff --git a/INSTALL b/INSTALL
index 0842305705fa0e3c6257f6ab39f403bbaaa53af6..55b2f614e9a58f86b7f9b52f77b2da463a5eb5c4 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -60,6 +60,18 @@ OPTIONAL (for developers only):
 
 *************************************************************************
 
+CHECK OUT SOURCE FROM SUBVERSION REPOSITORY:
+
+  Check out stable version:
+
+    svn checkout http://svn.openvpn.net/projects/openvpn/trunk/openvpn openvpn
+
+  Check out beta21 branch:
+
+    svn checkout http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn openvpn
+
+*************************************************************************
+
 BUILD COMMANDS FROM TARBALL:
 
        ./configure
@@ -68,7 +80,7 @@ BUILD COMMANDS FROM TARBALL:
 
 *************************************************************************
 
-BUILD COMMANDS FROM CVS:
+BUILD COMMANDS FROM SUBVERSION REPOSITORY CHECKOUT:
 
        autoreconf -i -v
        ./configure
@@ -77,7 +89,7 @@ BUILD COMMANDS FROM CVS:
 
 *************************************************************************
 
-BUILD A TARBALL FROM CVS:
+BUILD A TARBALL FROM SUBVERSION REPOSITORY CHECKOUT:
 
        autoreconf -i -v
        ./configure
index dd0e5b9dc835ecdb4743ba495d611825e1eb012a..d84952bde1f2ef59c3e1f43a1267b005c9bd6aa8 100644 (file)
@@ -121,7 +121,7 @@ EXTRA_DIST = \
        service-win32 \
        contrib \
        debug \
-       plugin \
+       plugins \
         management
 
 dist-hook:
index 041ffdd113acdbd145ffaea0d60d27c91307dd8f..01c9bfdde670d6594035146db25168701623a551 100644 (file)
@@ -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'
 
similarity index 100%
rename from plugin/README
rename to plugins/README
similarity index 100%
rename from plugin/examples/build
rename to plugins/examples/build