[packages/openfortivpn] - more docs, explicitly specify some build options (/proc/net/route instead of netstat, pppd path)
qboosh
qboosh at pld-linux.org
Sat Aug 3 12:05:50 CEST 2019
commit c7c2cf41cf63870ffaf8047467cf25d6138ce563
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Aug 3 12:07:53 2019 +0200
- more docs, explicitly specify some build options (/proc/net/route instead of netstat, pppd path)
openfortivpn.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/openfortivpn.spec b/openfortivpn.spec
index cb9eb6a..c07a3c9 100644
--- a/openfortivpn.spec
+++ b/openfortivpn.spec
@@ -5,12 +5,15 @@ Version: 1.10.0
Release: 1
License: GPL v3+ with OpenSSL exception
Group: Networking
+#Source0Download: https://github.com/adrienverge/openfortivpn/releases
Source0: https://github.com/adrienverge/openfortivpn/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: bfbbb82e31acb26cafa6b5aefc453eba
URL: https://github.com/adrienverge/openfortivpn
BuildRequires: autoconf >= 2.69
BuildRequires: automake
-BuildRequires: openssl-devel
+BuildRequires: openssl-devel >= 0.9.8
+BuildRequires: pkgconfig
+BuildRequires: systemd-devel >= 1:209
Requires: ppp
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,7 +38,9 @@ Jest zgodny z VPN-ami Fortinet.
%{__autoconf}
%{__automake}
%configure \
- --disable-silent-rules
+ --enable-proc \
+ --disable-silent-rules \
+ --with-pppd=/usr/sbin/pppd
%{__make}
%install
@@ -44,14 +49,14 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_datadir}/openfortivpn/config.template
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/openfortivpn/config.template
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.md
+%doc CHANGELOG.md LICENSE.OpenSSL README.md
%attr(755,root,root) %{_bindir}/openfortivpn
%dir %{_sysconfdir}/openfortivpn
%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openfortivpn/config
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openfortivpn.git/commitdiff/c7c2cf41cf63870ffaf8047467cf25d6138ce563
More information about the pld-cvs-commit
mailing list