Add option to omit SECCOMP
This commit is contained in:
parent
eb9005a91f
commit
5c006007be
@ -5,6 +5,8 @@
|
|||||||
%global use_embedded 0
|
%global use_embedded 0
|
||||||
# Use libsodium instead of nacl
|
# Use libsodium instead of nacl
|
||||||
%global use_libsodium 0
|
%global use_libsodium 0
|
||||||
|
# Use SECCOMP
|
||||||
|
%bcond_without seccomp
|
||||||
|
|
||||||
%if 0%{use_libsodium}
|
%if 0%{use_libsodium}
|
||||||
%global nacl_name libsodium
|
%global nacl_name libsodium
|
||||||
@ -39,7 +41,7 @@
|
|||||||
Name: cjdns
|
Name: cjdns
|
||||||
# major version is cjdns protocol version:
|
# major version is cjdns protocol version:
|
||||||
Version: 17.4
|
Version: 17.4
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: The privacy-friendly network without borders
|
Summary: The privacy-friendly network without borders
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
# cjdns is all GPLv3 except libuv which is MIT and BSD and ISC
|
# cjdns is all GPLv3 except libuv which is MIT and BSD and ISC
|
||||||
@ -221,6 +223,11 @@ cd contrib/selinux
|
|||||||
ln -s /usr/share/selinux/devel/Makefile .
|
ln -s /usr/share/selinux/devel/Makefile .
|
||||||
make
|
make
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
%if !0%{?seccomp}
|
||||||
|
export Seccomp_NO=1
|
||||||
|
%endif
|
||||||
|
|
||||||
# nodejs based build system
|
# nodejs based build system
|
||||||
CJDNS_RELEASE_VERSION="%{name}-%{version}-%{release}" ./do
|
CJDNS_RELEASE_VERSION="%{name}-%{version}-%{release}" ./do
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user