Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wfrisch:temp
openvpn3
openvpn3-linux.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openvpn3-linux.spec of Package openvpn3
Name: openvpn3-linux Version: 21 Release: 1 Summary: The next generation OpenVPN client for Linux Group: Productivity/Networking/Security License: AGPL-3.0-or-later URL: https://github.com/OpenVPN/openvpn3-linux Source0: %{name}-%{version}.tar.gz Source100: %{name}-rpmlintrc BuildRequires: autoconf # Required for some of the AX_ macros that the configure.ac uses BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: cmake #need gcc8 for version 21+ BuildRequires: gcc8-c++ #BuildRequires: gcc-c++ >= 8 BuildRequires: git BuildRequires: glib2-devel BuildRequires: tinyxml2-devel BuildRequires: make BuildRequires: openvpn BuildRequires: python3 BuildRequires: python3-Jinja2 BuildRequires: python3-dbus-python BuildRequires: libuuid-devel-static BuildRequires: lzo BuildRequires: pkgconfig BuildRequires: pkgconfig(protobuf) BuildRequires: pkgconfig(jsoncpp) BuildRequires: pkgconfig(libcap-ng) BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(libnl-genl-3.0) #BuildRequires: pkgconfig(lzo) BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(libsystemd) #BuildRequires: asciidoctor Requires(pre): shadow Requires: iproute2 Requires: pkcs11-helper >= 1.11 Requires: python3-systemd %description This package provides the openvpn3 client binaries for Linux %prep %autosetup -p1 %build export CC=gcc-8 export CXX=g++-8 export CXXFLAGS="$CXXFLAGS -std=c++17" cat > version.m4 <<EOF define([PRODUCT_NAME], [OpenVPN 3/Linux]) define([PRODUCT_VERSION], [%{version}]) define([PRODUCT_GUIVERSION], [%{version}]) define([PRODUCT_TARNAME], [openvpn3-linux]) define([PRODUCT_BUGREPORT], [openvpn-devel@lists.sourceforge.net]) EOF echo "3.%{version}" >openvpn3-core-version #fix v21 compile issue export CXXFLAGS="$CXXFLAGS -std=c++17" autoreconf -vi %configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var --enable-bash-completion --enable-dco --disable-unit-tests --disable-build-test-progs %install make install DESTDIR=%{buildroot} mkdir -p %{buildroot}%{_includedir}/openvpn3 mkdir -p %{buildroot}/usr/sbin ln -s /usr/sbin/service %{buildroot}/usr/sbin/rcopenvpn3-autoload %pre getent group openvpn >/dev/null || groupadd -r openvpn getent passwd openvpn >/dev/null || useradd -r -s /sbin/nologin -g openvpn openvpn %service_add_pre openvpn3-autoload.service %service_add_pre openvpn3-session@.service %post %service_add_post openvpn3-autoload.service %service_add_post openvpn3-session@.service %preun %service_del_preun openvpn3-autoload.service %service_del_preun openvpn3-session@.service %postun %service_del_postun openvpn3-autoload.service %service_del_postun openvpn3-session@.service %files %license COPYRIGHT.md %{_sysconfdir}/openvpn3 %{_sharedstatedir}/openvpn3 %{_exec_prefix}/lib/systemd/system/*service %{_exec_prefix}/lib/python%{python_version}/site-packages/openvpn3 %{_exec_prefix}/share/polkit-1 %{_exec_prefix}/share/polkit-1/rules.d %{_exec_prefix}/share/polkit-1/rules.d/net.openvpn.v3.rules %{_datadir}/bash-completion/completions/* %{_datadir}/dbus-1/system.d/* %{_datadir}/dbus-1/system-services/* %{_bindir}/* %{_libexecdir}/openvpn3-linux %{_includedir}/openvpn3/constants.h %dir %{_includedir}/openvpn3 %exclude %{_includedir}/openvpn3/constants.h %exclude %{_libdir}/python%{python_version}/site-packages/openvpn3/__pycache__/*.opt-1.pyc /usr/sbin/rcopenvpn3-autoload %changelog "Updated to get rid of badness"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor