Accepting request 47569 from network:vpn
Copy from network:vpn/openvpn based on submit request 47569 from user a_jaeger OBS-URL: https://build.opensuse.org/request/show/47569 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvpn?expand=0&rev=21
This commit is contained in:
parent
939724488c
commit
875a80dbee
@ -1,5 +1,7 @@
|
|||||||
--- plugin/auth-pam/Makefile
|
Index: plugin/auth-pam/Makefile
|
||||||
+++ plugin/auth-pam/Makefile 2008/11/12 09:16:24
|
===================================================================
|
||||||
|
--- plugin/auth-pam/Makefile.orig
|
||||||
|
+++ plugin/auth-pam/Makefile
|
||||||
@@ -15,10 +15,10 @@ endif
|
@@ -15,10 +15,10 @@ endif
|
||||||
# This directory is where we will look for openvpn-plugin.h
|
# This directory is where we will look for openvpn-plugin.h
|
||||||
INCLUDE=-I../..
|
INCLUDE=-I../..
|
||||||
@ -13,8 +15,10 @@
|
|||||||
|
|
||||||
auth-pam.o : auth-pam.c pamdl.h
|
auth-pam.o : auth-pam.c pamdl.h
|
||||||
gcc ${CC_FLAGS} -fPIC -c ${INCLUDE} auth-pam.c
|
gcc ${CC_FLAGS} -fPIC -c ${INCLUDE} auth-pam.c
|
||||||
--- plugin/down-root/Makefile
|
Index: plugin/down-root/Makefile
|
||||||
+++ plugin/down-root/Makefile 2008/11/12 09:58:25
|
===================================================================
|
||||||
|
--- plugin/down-root/Makefile.orig
|
||||||
|
+++ plugin/down-root/Makefile
|
||||||
@@ -5,10 +5,10 @@
|
@@ -5,10 +5,10 @@
|
||||||
# This directory is where we will look for openvpn-plugin.h
|
# This directory is where we will look for openvpn-plugin.h
|
||||||
INCLUDE=-I../..
|
INCLUDE=-I../..
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
--- openvpn.8
|
Index: openvpn.8
|
||||||
+++ openvpn.8 2008/01/17 13:53:02
|
===================================================================
|
||||||
@@ -2117,11 +2117,10 @@
|
--- openvpn.8.orig
|
||||||
|
+++ openvpn.8
|
||||||
|
@@ -2389,11 +2389,10 @@ plug-in modules, see the README file in
|
||||||
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
|
||||||
|
12
openvpn-no-build-date.patch
Normal file
12
openvpn-no-build-date.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: options.c
|
||||||
|
===================================================================
|
||||||
|
--- options.c.orig
|
||||||
|
+++ options.c
|
||||||
|
@@ -73,7 +73,6 @@ const char title_string[] =
|
||||||
|
#ifdef ENABLE_PKCS11
|
||||||
|
" [PKCS11]"
|
||||||
|
#endif
|
||||||
|
- " built on " __DATE__
|
||||||
|
;
|
||||||
|
|
||||||
|
#ifndef ENABLE_SMALL
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 8 16:34:21 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Do not include build date in binaries
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 15 09:31:56 UTC 2010 - mt@suse.de
|
Tue Jun 15 09:31:56 UTC 2010 - mt@suse.de
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ AutoReqProv: on
|
|||||||
PreReq: %insserv_prereq %fillup_prereq
|
PreReq: %insserv_prereq %fillup_prereq
|
||||||
%endif
|
%endif
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 2
|
Release: 7
|
||||||
Summary: Full-featured SSL VPN solution using a TUN/TAP Interface
|
Summary: Full-featured SSL VPN solution using a TUN/TAP Interface
|
||||||
Source: http://openvpn.net/release/openvpn-%{upstream_version}.tar.gz
|
Source: http://openvpn.net/release/openvpn-%{upstream_version}.tar.gz
|
||||||
Source1: http://openvpn.net/signatures/openvpn-%{upstream_version}.tar.gz.asc
|
Source1: http://openvpn.net/signatures/openvpn-%{upstream_version}.tar.gz.asc
|
||||||
@ -38,6 +38,7 @@ Source4: client-netconfig.up
|
|||||||
Source5: client-netconfig.down
|
Source5: client-netconfig.down
|
||||||
Patch1: %{name}-2.1-plugin-man.dif
|
Patch1: %{name}-2.1-plugin-man.dif
|
||||||
Patch2: %{name}-2.1-plugin-build.dif
|
Patch2: %{name}-2.1-plugin-build.dif
|
||||||
|
Patch3: openvpn-no-build-date.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: lzo-devel openssl-devel
|
BuildRequires: lzo-devel openssl-devel
|
||||||
BuildRequires: iproute2 pam-devel
|
BuildRequires: iproute2 pam-devel
|
||||||
@ -129,6 +130,7 @@ Authors:
|
|||||||
%setup -q -n %{name}-%{upstream_version}
|
%setup -q -n %{name}-%{upstream_version}
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
%patch2 -p0
|
%patch2 -p0
|
||||||
|
%patch3
|
||||||
sed -e "s|@PLUGIN_DIR@|%{plugin_dir}|g" \
|
sed -e "s|@PLUGIN_DIR@|%{plugin_dir}|g" \
|
||||||
-e "s|@PLUGIN_LIBDIR@|%{plugin_libdir}|g" \
|
-e "s|@PLUGIN_LIBDIR@|%{plugin_libdir}|g" \
|
||||||
-e "s|@PLUGIN_DOCDIR@|%{_defaultdocdir}/%{name}|g" \
|
-e "s|@PLUGIN_DOCDIR@|%{_defaultdocdir}/%{name}|g" \
|
||||||
|
Loading…
Reference in New Issue
Block a user