Attention is currently required from: Arne Schwabe.

Hello Arne Schwabe,

I'd like you to do a code review.
Please visit

    https://gerrit.openvpn.net/c/openvpn/+/2223?usp=email

to review the following change.


Change subject: sample-plugins: drop broken defer and log winbuild scripts
......................................................................

sample-plugins: drop broken defer and log winbuild scripts

Both need a $1.def that doesn't exist in their directory.

defer/simple.c and its .def were removed in d816207b ("plugins:
Remove defer/simple.c sample plugin"); the remaining multi-auth.c
uses fork() and doesn't build on Windows. log/winbuild came from
the examples/ -> log/ rename and never had a .def there.

log.c builds on Windows with a plain "gcc -shared", since
OPENVPN_EXPORT already marks the entry points __declspec(dllexport).

Change-Id: I3d5caab3210b65551e2f2ff8f6e2edb50022e4ba
Signed-off-by: Razvan Cojocaru <[email protected]>
---
D sample/sample-plugins/defer/winbuild
D sample/sample-plugins/log/winbuild
2 files changed, 0 insertions(+), 36 deletions(-)



  git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/23/2223/1

diff --git a/sample/sample-plugins/defer/winbuild 
b/sample/sample-plugins/defer/winbuild
deleted file mode 100755
index 82927d9..0000000
--- a/sample/sample-plugins/defer/winbuild
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Build an OpenVPN plugin module on Windows/MinGW.
-# The argument should be the base name of the C source file
-# (without the .c).
-#
-
-# This directory is where we will look for openvpn-plugin.h
-INCLUDE="-I../../../build"
-
-CC_FLAGS="-O2 -Wall"
-
-gcc -DBUILD_DLL $CC_FLAGS $INCLUDE -c $1.c
-gcc --disable-stdcall-fixup -mdll -DBUILD_DLL -o junk.tmp 
-Wl,--base-file,base.tmp $1.o
-rm junk.tmp
-dlltool --dllname $1.dll --base-file base.tmp --output-exp temp.exp 
--input-def $1.def
-rm base.tmp
-gcc --enable-stdcall-fixup -mdll -DBUILD_DLL -o $1.dll $1.o -Wl,temp.exp
-rm temp.exp
diff --git a/sample/sample-plugins/log/winbuild 
b/sample/sample-plugins/log/winbuild
deleted file mode 100755
index decf05f..0000000
--- a/sample/sample-plugins/log/winbuild
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Build an OpenVPN plugin module on Windows/MinGW.
-# The argument should be the base name of the C source file
-# (without the .c).
-#
-
-# This directory is where we will look for openvpn-plugin.h
-INCLUDE="-I../../../include"
-
-CC_FLAGS="-O2 -Wall"
-
-gcc -DBUILD_DLL $CC_FLAGS $INCLUDE -c $1.c
-gcc --disable-stdcall-fixup -mdll -DBUILD_DLL -o junk.tmp 
-Wl,--base-file,base.tmp $1.o
-rm junk.tmp
-dlltool --dllname $1.dll --base-file base.tmp --output-exp temp.exp 
--input-def $1.def
-rm base.tmp
-gcc --enable-stdcall-fixup -mdll -DBUILD_DLL -o $1.dll $1.o -Wl,temp.exp
-rm temp.exp

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2223?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3d5caab3210b65551e2f2ff8f6e2edb50022e4ba
Gerrit-Change-Number: 2223
Gerrit-PatchSet: 1
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to