[ocserv/epel7: 4/6] changes to compile on el7
Nikos Mavrogiannopoulos
nmav at fedoraproject.org
Mon Jan 27 10:52:54 UTC 2014
commit 817148ef4f0613f19e06a1ac72c075d7fd18c4c3
Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date: Mon Jan 27 11:44:23 2014 +0100
changes to compile on el7
ocserv.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/ocserv.spec b/ocserv.spec
index c0c3ea8..174868b 100644
--- a/ocserv.spec
+++ b/ocserv.spec
@@ -23,12 +23,13 @@ BuildRequires: pam-devel
BuildRequires: iproute
BuildRequires: systemd
BuildRequires: autogen-libopts-devel
-BuildRequires: protobuf-c-devel
+#BuildRequires: protobuf-c-devel
BuildRequires: libnl3-devel
BuildRequires: readline-devel
BuildRequires: dbus-devel
BuildRequires: autogen
-BuildRequires: pcllib-devel, http-parser-devel, tcp_wrappers-devel
+#BuildRequires: pcllib-devel, http-parser-devel
+BuildRequires: tcp_wrappers-devel
BuildRequires: automake, autoconf
Requires: gnutls-utils
@@ -55,10 +56,10 @@ to provide the secure VPN service.
%prep
%setup -q
-rm -f src/http-parser/http_parser.c src/http-parser/http_parser.h
-rm -rf src/protobuf/
+#rm -f src/http-parser/http_parser.c src/http-parser/http_parser.h
+#rm -rf src/protobuf/
rm -f libopts/*.c libopts/*.h libopts/*/*.c libopts/*/*.h
-rm -f src/pcl/*.c src/pcl/*.h
+#rm -f src/pcl/*.c src/pcl/*.h
sed -i 's|/etc/ocserv.conf|/etc/ocserv/ocserv.conf|g' src/config.c
sed -i 's/run-as-group = nogroup/run-as-group = nobody/g' tests/*.config
# GPLv3 in headers is a gnulib bug:
More information about the scm-commits
mailing list