- Fixed to provide actual plugin/doc dirs in openvpn(8) man page.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=89
This commit is contained in:
Marius Tomaschewski 2015-03-02 09:45:03 +00:00 committed by Git OBS Bridge
parent 6a9f5d263c
commit c4621b5e67
3 changed files with 10 additions and 9 deletions

View File

@ -1,20 +1,20 @@
Index: openvpn.8 --- doc/openvpn.8
=================================================================== +++ doc/openvpn.8 2015/03/02 08:58:02
--- doc/openvpn.8.orig @@ -2569,12 +2569,11 @@ plug-in modules, see the README file in
+++ doc/openvpn.8 .B plugin
@@ -2563,11 +2563,10 @@
folder of the OpenVPN source distribution. folder of the OpenVPN source distribution.
If you are using an RPM install of OpenVPN, see -If you are using an RPM install of OpenVPN, see
-/usr/share/openvpn/plugin. The documentation is -/usr/share/openvpn/plugin. The documentation is
-in -in
-.B doc -.B doc
-and the actual plugin modules are in -and the actual plugin modules are in
-.B lib. -.B lib.
+@PLUGIN_DIR@. The actual plugin modules are in +If you are using an RPM install of OpenVPN, the actual
+plugin modules are in
+.B @PLUGIN_LIBDIR@ +.B @PLUGIN_LIBDIR@
+and the documentation is in +and the documentation is in
+.B @PLUGIN_DOCDIR@. +.B @PLUGIN_DOCDIR@/README.<plugin-name>.
Multiple plugin modules can be cascaded, and modules can be Multiple plugin modules can be cascaded, and modules can be
used in tandem with scripts. The modules will be called by used in tandem with scripts. The modules will be called by

View File

@ -3,6 +3,7 @@ Mon Mar 2 08:26:08 UTC 2015 - mt@suse.de
- Fixed to use correct sha digest data length and in fips mode, - Fixed to use correct sha digest data length and in fips mode,
use aes instead of the disallowed blowfish crypto (boo#914166). use aes instead of the disallowed blowfish crypto (boo#914166).
- Fixed to provide actual plugin/doc dirs in openvpn(8) man page.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 1 19:37:29 UTC 2014 - mt@suse.de Mon Dec 1 19:37:29 UTC 2014 - mt@suse.de

View File

@ -149,7 +149,7 @@ export LDFLAGS
--enable-plugin-auth-pam \ --enable-plugin-auth-pam \
--with-lzo-headers=%_includedir/lzo \ --with-lzo-headers=%_includedir/lzo \
CFLAGS="$CFLAGS $(getconf LFS_CFLAGS) -fPIE $PLUGIN_DEFS" \ CFLAGS="$CFLAGS $(getconf LFS_CFLAGS) -fPIE $PLUGIN_DEFS" \
LDFLAGS="$LDFLAGS -pie -lpam -rdynamic -Wl,-rpath,%{_libdir}/%{name}/plugin/lib" LDFLAGS="$LDFLAGS -pie -lpam -rdynamic -Wl,-rpath,%{_libdir}/%{name}/plugins"
make make
%install %install