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: