forked from pool/openvpn
Accepting request 67011 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/67011 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvpn?expand=0&rev=27
This commit is contained in:
commit
f4e1ca832d
@ -1,12 +0,0 @@
|
|||||||
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 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 15 21:05:23 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- KVPNC is unable to parse openvpn version [bnc#679153]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 17 10:59:23 UTC 2011 - mt@suse.de
|
Thu Feb 17 10:59:23 UTC 2011 - mt@suse.de
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ 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
|
||||||
@ -130,11 +129,13 @@ 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" \
|
||||||
-i openvpn.8
|
-i openvpn.8
|
||||||
|
# the build __DATE__ causes obs rebuild/republish of binaries;
|
||||||
|
# use the date of version.m4 file in the tar archive instead
|
||||||
|
sed -e "s|\" __DATE__|$(date '+%b %e %Y' -r version.m4)\"|g" -i options.c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
Loading…
Reference in New Issue
Block a user