[eurephia] Added upstream fixes to solve some memory issues causing SEGV

dsommers dsommers at fedoraproject.org
Fri Oct 19 16:57:23 UTC 2012


commit e13bfe5bd16712b5e530c677ca0ec3ec5237af8e
Author: David Sommerseth <davids at redhat.com>
Date:   Fri Oct 19 18:33:04 2012 +0200

    Added upstream fixes to solve some memory issues causing SEGV

 .gitignore    |    2 ++
 eurephia.spec |   12 +++++++++++-
 sources       |    3 ++-
 3 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4275c33..86c5b8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
 /eurephia-1.0.1.tar.bz2
 /eurephia-1.1.0.tar.bz2
+/eurephia-1.1.0_buildfix.patch
+/eurephia-1.1.0_upstreamfixes.patch
diff --git a/eurephia.spec b/eurephia.spec
index 105e909..f9d0f1a 100644
--- a/eurephia.spec
+++ b/eurephia.spec
@@ -1,6 +1,6 @@
 Name:           eurephia
 Version:        1.1.0
-Release:        2%{?betatag:.%{betatag}}%{?dist}
+Release:        4%{?betatag:.%{betatag}}%{?dist}
 Summary:        An advanced and flexible OpenVPN user authentication plug-in
 
 Group:          Applications/Internet
@@ -9,6 +9,8 @@ URL:            http://www.eurephia.net/
 Source0:        http://downloads.sourceforge.net/project/eurephia/eurephia/v1.1/%{name}-%{version}%{?betatag:_%{betatag}}.tar.bz2
 # Source1 can be downloaded from this URL: http://openvpn.git.sourceforge.net/git/gitweb.cgi?p=openvpn/openvpn.git;a=blob_plain;f=openvpn-plugin.h;hb=v2.2.2
 Source1:        openvpn-plugin.h
+Patch0:         eurephia-1.1.0_buildfix.patch
+Patch1:         eurephia-1.1.0_upstreamfixes.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}{?betatag:_%{betatag}}-root-%(%{__id_u} -n)
 
 BuildRequires:  libxml2-devel libxslt-devel openssl-devel
@@ -71,6 +73,8 @@ hash salt.
 
 %prep 
 %setup -q -n %{name}-%{version}%{?betatag:_%{betatag}}
+%patch0 -p1
+%patch1 -p1
 
 # This is needed to ship extra until openvpn-plugin.h becomes part of the OpenVPN RPM
 cp -v %{SOURCE1} .
@@ -139,6 +143,12 @@ rm -rf %{buildroot}
 %{_mandir}/man7/eurephia_saltdecode.7.gz
 
 %changelog
+* Fri Oct 19 2012 David Sommerseth <dazo at users.sourceforge.net> - 1.1.0-4
+- Added upstream fixes
+
+* Tue Oct  9 2012 David Sommerseth <dazo at users.sourceforge.net> - 1.1.0-3
+- Hack to make it build on Fedora 16+
+
 * Tue Oct  9 2012 David Sommerseth <dazo at users.sourceforge.net> - 1.1.0-2
 - Corrected wrong download URL for eurephia v1.1 source code
 
diff --git a/sources b/sources
index 082a207..6524a56 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
-b4c329cbac5fd38dc8f4f3f13c36bf11  eurephia-1.0.1.tar.bz2
+8d90df6a238050baf4b7481f429523ea  eurephia-1.1.0_buildfix.patch
+efd014325f0c4f28b5d9b2c7db24671b  eurephia-1.1.0_upstreamfixes.patch
 b902119628931a45c7a84ed3d1bb1513  eurephia-1.1.0.tar.bz2


More information about the scm-commits mailing list