|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# Fedora review: http://bugzilla.redhat.com/1268716
|
|
|
2f8dfd1 |
|
|
|
77c2247 |
# Option to enable SUBNODE mode (WIP)
|
|
|
9da2f5d |
# Fedora generally runs on systems that easily support a full node
|
|
|
4658a2d |
%bcond_with subnode
|
|
|
4658a2d |
# Option to use the optimized libnacl embedded with cjdns
|
|
|
9da2f5d |
# Required since v20 due to use of private cnacl APIs
|
|
|
4658a2d |
%bcond_without embedded
|
|
|
9da2f5d |
# Option to enable CPU specific optimization
|
|
|
9da2f5d |
# Default to generic for distro builds
|
|
|
9da2f5d |
%bcond_without generic
|
|
|
9da2f5d |
# Option to use libsodium instead of nacl (broken since v20)
|
|
|
9da2f5d |
%bcond_with libsodium
|
|
|
9da2f5d |
# Option to disable SECCOMP: confusing backward logic
|
|
|
9da2f5d |
# Needed to run on openvz and other container systems
|
|
|
4e0e758 |
%ifarch armv7hl
|
|
|
4e0e758 |
%bcond_with seccomp
|
|
|
4e0e758 |
%else
|
|
|
9da2f5d |
%bcond_without seccomp
|
|
|
4e0e758 |
%endif
|
|
|
73d0c78 |
# Option to use system libuv instead of bundled libuv-0.11.19
|
|
|
73d0c78 |
%bcond_with libuv
|
|
|
d28014f |
# When with_python3 is set, this replaces tools in bin and libexec
|
|
|
d28014f |
# with python3 versions, and python2-cjdns has py2 library only.
|
|
|
d28014f |
%bcond_with python2
|
|
|
d28014f |
%bcond_without python3
|
|
|
9da2f5d |
|
|
|
9da2f5d |
%if %{with embedded}
|
|
|
77c2247 |
%global use_embedded 1
|
|
|
77c2247 |
%else
|
|
|
51ae827 |
%global use_embedded 0
|
|
|
77c2247 |
%endif
|
|
|
e380438 |
|
|
|
85e430e |
%if %{with libuv}
|
|
|
85e430e |
%global use_libuv 1
|
|
|
85e430e |
%else
|
|
|
85e430e |
%global use_libuv 0
|
|
|
85e430e |
%endif
|
|
|
85e430e |
|
|
|
9da2f5d |
%if %{with generic}
|
|
|
9da2f5d |
%global generic_build 1
|
|
|
9da2f5d |
%else
|
|
|
9da2f5d |
%global generic_build 0
|
|
|
9da2f5d |
%endif
|
|
|
9da2f5d |
|
|
|
9da2f5d |
%if %{with libsodium}
|
|
|
9da2f5d |
%global use_libsodium 1
|
|
|
e380438 |
%global nacl_name libsodium
|
|
|
1afaf13 |
%global nacl_version 1.0.14
|
|
|
e380438 |
%global nacl_lib %{_libdir}/libsodium.so
|
|
|
e380438 |
%else
|
|
|
9da2f5d |
%global use_libsodium 0
|
|
|
e380438 |
%global nacl_name nacl
|
|
|
e380438 |
%global nacl_version 20110221
|
|
|
e380438 |
%global nacl_lib %{_libdir}/libnacl.so
|
|
|
e380438 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%if 0%{?rhel} >= 5 && 0%{?rhel} < 7
|
|
|
2f8dfd1 |
%global use_systemd 0
|
|
|
2f8dfd1 |
%else
|
|
|
2f8dfd1 |
%global use_systemd 1
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%if 0%{?rhel} == 6
|
|
|
2f8dfd1 |
%global use_upstart 1
|
|
|
2f8dfd1 |
%else
|
|
|
2f8dfd1 |
%global use_upstart 0
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
fc4c438 |
%if 0 && 0%{?fedora} > 30
|
|
|
fc4c438 |
%global use_marked 1
|
|
|
fc4c438 |
%global makeman marked-man
|
|
|
fc4c438 |
%else
|
|
|
fc4c438 |
%global use_marked 0
|
|
|
e8d4b4b |
%global makeman pandoc -s -tman
|
|
|
fc4c438 |
%endif
|
|
|
fc4c438 |
|
|
|
2f8dfd1 |
# FIXME: Needs dependencies and install www dir someplace reasonable.
|
|
|
2f8dfd1 |
|
|
|
d28014f |
%global with_admin 0
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%{!?__restorecon: %global __restorecon /sbin/restorecon}
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
Name: cjdns
|
|
|
2f8dfd1 |
# major version is cjdns protocol version:
|
|
|
e8d4b4b |
Version: 20.7
|
|
|
5834abf |
Release: 2%{?dist}
|
|
|
2f8dfd1 |
Summary: The privacy-friendly network without borders
|
|
|
2f8dfd1 |
# cjdns is all GPLv3 except libuv which is MIT and BSD and ISC
|
|
|
2f8dfd1 |
# cnacl is unused except when use_embedded is true
|
|
|
2f8dfd1 |
License: GPLv3 and MIT and BSD and ISC
|
|
|
2f8dfd1 |
URL: http://hyperboria.net/
|
|
|
2f8dfd1 |
Source0: https://github.com/cjdelisle/cjdns/archive/%{name}-v%{version}.tar.gz
|
|
|
2f8dfd1 |
Source1: cjdns.README_Fedora.md
|
|
|
1afaf13 |
Source2: cjdns.service
|
|
|
fc4c438 |
# nroff overlay for nodejs-marked
|
|
|
0a751cd |
%if 0%{?use_marked}
|
|
|
fc4c438 |
Source3: https://github.com/kapouer/marked-man/archive/0.7.0.tar.gz#/marked-man-0.7.0.tar.gz
|
|
|
0a751cd |
%endif
|
|
|
d28014f |
# Contributed python API hacked for python3
|
|
|
d28014f |
Source4: python-cjdns-0.1.tar.gz
|
|
|
2f8dfd1 |
# Add targeted selinux policy
|
|
|
2f8dfd1 |
Patch0: cjdns.selinux.patch
|
|
|
2f8dfd1 |
# Allow python2.6 for build. Python is not used during the build
|
|
|
2f8dfd1 |
# process. The python tools allegedly depend on python2.7, but that can
|
|
|
2f8dfd1 |
# be in Requires for the subpackage.
|
|
|
2f8dfd1 |
Patch1: cjdns.el6.patch
|
|
|
2f8dfd1 |
# Fix RLIMIT_NPROC - setuid() bug. In its low priv process, cjdroute calls
|
|
|
2f8dfd1 |
#
|
|
|
2f8dfd1 |
# setrlimit(RLIMIT_NPROC, &(struct rlimit){ 0, 0 })
|
|
|
2f8dfd1 |
#
|
|
|
2f8dfd1 |
# which on recent kernels prevents fork() or exec() after the following
|
|
|
2f8dfd1 |
# setuid(). This is due to changes discussed here:
|
|
|
2f8dfd1 |
#
|
|
|
2f8dfd1 |
# https://lwn.net/Articles/451985/
|
|
|
2f8dfd1 |
#
|
|
|
2f8dfd1 |
# Change defaults generated by cjdroute --genconf
|
|
|
2f8dfd1 |
Patch4: cjdns.genconf.patch
|
|
|
2f8dfd1 |
# Patch contributed init scripts to put cjdroute in /usr/sbin and
|
|
|
2f8dfd1 |
# add additional service options.
|
|
|
2f8dfd1 |
Patch5: cjdns.sbin.patch
|
|
|
2f8dfd1 |
# Patch make.js to use dynamic nacl library
|
|
|
2f8dfd1 |
Patch6: cjdns.dyn.patch
|
|
|
21a248d |
# Patch to use _LINUX_CAPABILITY_3 (cjdns < 18)
|
|
|
cef3e37 |
#Patch7: cjdns.cap3.patch
|
|
|
2f8dfd1 |
# Patch some source files to ignore selected warnings that break gcc6 builds
|
|
|
e8d4b4b |
#Patch8: cjdns.warnings.patch
|
|
|
2f8dfd1 |
# Man pages
|
|
|
2f8dfd1 |
Patch9: cjdns.man.patch
|
|
|
4b865ac |
# Patch some bugs in nodejs tools
|
|
|
4b865ac |
Patch10: cjdns.tools.patch
|
|
|
e380438 |
# Alternate dynamic library patch to use libsodium
|
|
|
e380438 |
Patch11: cjdns.sodium.patch
|
|
|
51ae827 |
# Disable WIP subnode code when SUBNODE not enabled
|
|
|
51ae827 |
Patch12: cjdns.sign.patch
|
|
|
21a248d |
# Recognize ppc64, ppc64le, and s390x arches
|
|
|
8cc225e |
#Patch13: cjdns.ppc64.patch
|
|
|
325b917 |
# getentropy(2) added to glibc in Fedora 26
|
|
|
5c914f7 |
# included in cjdns-20.1
|
|
|
5c914f7 |
#Patch14: cjdns.entropy.patch
|
|
|
02039d0 |
# Fix buffer overrun in JsonBencSerializer.c
|
|
|
5c914f7 |
# included in cjdns-20.1
|
|
|
5c914f7 |
#Patch15: cjdns.benc.patch
|
|
|
02039d0 |
# Specify python2 for systems that default to python3
|
|
|
ac0d93b |
#Patch16: cjdns.python3.patch
|
|
|
fd5592d |
# s390x support for embedded cnacl library from Dan Horák <dan@danny.cz>
|
|
|
9b2cd28 |
# Included upstream since 20.3
|
|
|
9b2cd28 |
#Patch17: cjdns.s390x.patch
|
|
|
85e430e |
# patch build to use system libuv
|
|
|
85e430e |
Patch18: cjdns.libuv.patch
|
|
|
e8d4b4b |
#Patch19: cjdns.fuzz.patch
|
|
|
915cb90 |
# patch to use /proc/sys/kernel/random/uuid instead of sysctl before 20.4
|
|
|
9c6fb6c |
Patch20: cjdns.sysctl.patch
|
|
|
fecb983 |
# gcc-10 no longer allows duplicate globals
|
|
|
fecb983 |
Patch22: cjdns.gcc10.patch
|
|
|
2f8dfd1 |
|
|
|
fc4c438 |
%if %{use_marked}
|
|
|
915cb90 |
BuildRequires: nodejs, nodejs-marked, python3
|
|
|
fc4c438 |
%else
|
|
|
e8d4b4b |
BuildRequires: nodejs, pandoc, python3
|
|
|
fc4c438 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# Automated package review hates explicit BR on make, but it *is* needed
|
|
|
7b61aa8 |
BuildRequires: make gcc
|
|
|
2f8dfd1 |
|
|
|
9da2f5d |
%if !0%{use_embedded}
|
|
|
2f8dfd1 |
# x86_64 and ARM libnacl are not compiled with -fPIC before Fedora release 11.
|
|
|
e380438 |
BuildRequires: %{nacl_name}-devel >= %{nacl_version}
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
%if %{use_systemd}
|
|
|
2f8dfd1 |
# systemd macros are not defined unless systemd is present
|
|
|
2f8dfd1 |
BuildRequires: systemd
|
|
|
2f8dfd1 |
Requires: systemd
|
|
|
2f8dfd1 |
Requires(post): systemd
|
|
|
2f8dfd1 |
Requires(preun): systemd
|
|
|
2f8dfd1 |
Requires(postun): systemd
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
Requires(pre): shadow-utils
|
|
|
d28014f |
|
|
|
85e430e |
%if 0%{use_libuv}
|
|
|
85e430e |
BuildRequires: libuv-devel
|
|
|
85e430e |
%else
|
|
|
915cb90 |
BuildRequires: gyp
|
|
|
4fcbbff |
Provides: bundled(libuv) = 0.11.19
|
|
|
85e430e |
%endif
|
|
|
d28014f |
|
|
|
dcdbe47 |
%if 0%{use_embedded}
|
|
|
dcdbe47 |
Provides: bundled(nacl) = 20110221
|
|
|
dcdbe47 |
%endif
|
|
|
a0a8c86 |
# build system requires nodejs, unfortunately
|
|
|
a0a8c86 |
ExclusiveArch: %{nodejs_arches}
|
|
|
ef43061 |
# Seccomp_test is too slow on koji for this arch
|
|
|
4e0e758 |
#ExcludeArch: armv7hl
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%description
|
|
|
2f8dfd1 |
Cjdns implements an encrypted IPv6 network using public-key cryptography for
|
|
|
2f8dfd1 |
address allocation and a distributed hash table for routing. This provides
|
|
|
2f8dfd1 |
near-zero-configuration networking, and prevents many of the security and
|
|
|
2f8dfd1 |
scalability issues that plague existing networks.
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%package selinux
|
|
|
2f8dfd1 |
Summary: Targeted SELinux policy module for cjdns
|
|
|
2f8dfd1 |
BuildRequires: policycoreutils, checkpolicy, selinux-policy-devel
|
|
|
2f8dfd1 |
Requires: policycoreutils, selinux-policy-targeted
|
|
|
2f8dfd1 |
Requires: %{name} = %{version}-%{release}
|
|
|
2f8dfd1 |
BuildArch: noarch
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%description selinux
|
|
|
2f8dfd1 |
Targeted SELinux policy module for cjdns.
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# FIXME: keep C tools separate?
|
|
|
2f8dfd1 |
%package tools
|
|
|
4b865ac |
Summary: Nodejs tools for cjdns
|
|
|
2f8dfd1 |
Requires: nodejs, %{name} = %{version}-%{release}
|
|
|
2f8dfd1 |
BuildArch: noarch
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%description tools
|
|
|
4b865ac |
Nodejs tools for cjdns. Highlights:
|
|
|
4b865ac |
peerStats show current peer status
|
|
|
4b865ac |
cjdnslog display cjdroute log
|
|
|
4b865ac |
cjdns-traceroute trace route to cjdns IP
|
|
|
4b865ac |
sessionStats show current crypto sessions
|
|
|
2f8dfd1 |
|
|
|
d28014f |
%if %{with python2}
|
|
|
9050885 |
%package -n python2-cjdns
|
|
|
9050885 |
%{?python_provide:%python_provide python2-cjdns}
|
|
|
9050885 |
# Remove before F30
|
|
|
66beed5 |
Provides: %{name}-python = %{version}-%{release}
|
|
|
9050885 |
Obsoletes: %{name}-python < %{version}-%{release}
|
|
|
2f8dfd1 |
Summary: Python tools for cjdns
|
|
|
d142e0f |
%if 0%{?fedora} >= 18
|
|
|
f3dacce |
BuildRequires: python2-rpm-macros
|
|
|
d142e0f |
%else
|
|
|
d142e0f |
BuildRequires: python-rpm-macros
|
|
|
d142e0f |
%endif
|
|
|
4c4b59e |
Requires: python2, %{name} = %{version}-%{release}
|
|
|
2f8dfd1 |
BuildArch: noarch
|
|
|
2f8dfd1 |
|
|
|
9050885 |
%description -n python2-cjdns
|
|
|
2f8dfd1 |
Python tools for cjdns.
|
|
|
d28014f |
%endif
|
|
|
d28014f |
|
|
|
d28014f |
%if %{with python3}
|
|
|
d28014f |
%package -n python3-%{name}
|
|
|
d28014f |
%{?python_provide:%python_provide python3-%{name}}
|
|
|
d28014f |
Summary: Python tools for cjdns
|
|
|
d28014f |
BuildRequires: python3-rpm-macros, python3-devel
|
|
|
d28014f |
Requires: python3, %{name} = %{version}-%{release}
|
|
|
d28014f |
BuildArch: noarch
|
|
|
d28014f |
%if !%{with python2}
|
|
|
8f3e50c |
Obsoletes: python2-%{name} < 20.4-2
|
|
|
d28014f |
%endif
|
|
|
d28014f |
|
|
|
d28014f |
%description -n python3-%{name}
|
|
|
d28014f |
Python tools for cjdns.
|
|
|
d28014f |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%package graph
|
|
|
7ff0fd4 |
Summary: Python peer graph tools for cjdns
|
|
|
d28014f |
%if %{with python3}
|
|
|
d28014f |
Requires: python3-%{name} = %{version}-%{release}
|
|
|
d28014f |
Requires: python3-networkx
|
|
|
d28014f |
%else
|
|
|
f3dacce |
Requires: python2-%{name} = %{version}-%{release}
|
|
|
f3dacce |
%if 0%{?rhel} == 6 || 0%{?rhel} == 7
|
|
|
f3dacce |
Requires: python-networkx
|
|
|
7ff0fd4 |
Requires: python2-matplotlib
|
|
|
f3dacce |
%else
|
|
|
f3dacce |
Requires: python2-networkx
|
|
|
f3dacce |
%endif
|
|
|
d28014f |
%endif
|
|
|
2f8dfd1 |
BuildArch: noarch
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%description graph
|
|
|
7ff0fd4 |
Python peer graph tools for cjdns.
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%prep
|
|
|
2f8dfd1 |
%setup -qn cjdns-%{name}-v%{version}
|
|
|
2f8dfd1 |
%patch0 -b .selinux
|
|
|
2f8dfd1 |
%if 0%{?rhel} == 6
|
|
|
2f8dfd1 |
%patch1 -b .el6
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%patch4 -b .genconf
|
|
|
2f8dfd1 |
%patch5 -b .sbin
|
|
|
2f8dfd1 |
|
|
|
1afaf13 |
cp %{SOURCE2} contrib/systemd
|
|
|
1afaf13 |
|
|
|
fc4c438 |
%if %{use_marked}
|
|
|
fc4c438 |
tar xvfz %{SOURCE3}
|
|
|
fc4c438 |
%endif
|
|
|
fc4c438 |
|
|
|
9da2f5d |
%if 0%{use_embedded}
|
|
|
9da2f5d |
# disable CPU opt
|
|
|
9c6fb6c |
%else
|
|
|
2f8dfd1 |
# use system nacl library if provided.
|
|
|
e380438 |
if test -x %{nacl_lib}; then
|
|
|
e380438 |
%if 0%{use_libsodium}
|
|
|
e380438 |
%patch11 -b .sodium
|
|
|
e380438 |
%else
|
|
|
2f8dfd1 |
%patch6 -b .dyn
|
|
|
e380438 |
%endif
|
|
|
2f8dfd1 |
rm -rf node_build/dependencies/cnacl
|
|
|
2f8dfd1 |
# use static library if system nacl doesn't provide dynamic
|
|
|
2f8dfd1 |
elif test -d %{_includedir}/nacl && test -r %{_libdir}/libnacl.a; then
|
|
|
2f8dfd1 |
cd node_build/dependencies
|
|
|
2f8dfd1 |
rm -rf cnacl
|
|
|
2f8dfd1 |
mkdir -p cnacl/jsbuild
|
|
|
2f8dfd1 |
ln -s %{_libdir}/libnacl.a cnacl/jsbuild
|
|
|
2f8dfd1 |
ln -s %{_includedir}/nacl cnacl/jsbuild/include
|
|
|
2f8dfd1 |
cd -
|
|
|
2f8dfd1 |
fi
|
|
|
51ae827 |
%patch12 -b .sign
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%if !0%{?rhel} || 0%{?rhel} > 6
|
|
|
e8d4b4b |
#patch8 -b .warnings
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%patch9 -b .man
|
|
|
4b865ac |
%patch10 -b .tools
|
|
|
4b7aed7 |
#patch13 -b .ppc64
|
|
|
5c914f7 |
#patch14 -b .entropy
|
|
|
5c914f7 |
#patch15 -b .benc
|
|
|
ac0d93b |
#patch16 -b .python3
|
|
|
85e430e |
%if 0%{use_libuv}
|
|
|
85e430e |
%patch18 -p1 -b .libuv
|
|
|
85e430e |
rm -rf node_build/dependencies/libuv
|
|
|
915cb90 |
%else
|
|
|
915cb90 |
rm -rf node_build/dependencies/libuv/build/gyp # use system gyp
|
|
|
4e0e758 |
%ifarch armv7hl
|
|
|
654b931 |
sed -i -e '/optimizeLevel:/ s/-O0/-O3/' node_build/make.js
|
|
|
f1233d7 |
%else
|
|
|
654b931 |
sed -i -e '/optimizeLevel:/ s/-O0/-O3/' node_build/make.js
|
|
|
85e430e |
%endif
|
|
|
f1233d7 |
%endif
|
|
|
e8d4b4b |
#patch19 -p1 -b .fuzz
|
|
|
915cb90 |
#patch20 -p1 -b .sysctl
|
|
|
df2aefa |
#patch22 -b .gcc10
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
cp %{SOURCE1} README_Fedora.md
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# Remove #!env from python scripts
|
|
|
2f8dfd1 |
chmod a+x contrib/python/cjdnsadmin/cli.py
|
|
|
2f8dfd1 |
find contrib/python/cjdnsadmin ! -executable -name "*.py" |
|
|
|
2f8dfd1 |
xargs sed -e '\,^#!/usr/bin/env, d' -i
|
|
|
2f8dfd1 |
find contrib/python -type f |
|
|
|
2f8dfd1 |
xargs sed -e '1 s,^#!/usr/bin/env ,#!/usr/bin/,' -i
|
|
|
54a6ca2 |
sed -e '$ s,^python ,/usr/bin/python2 ,' -i contrib/python/cjdnsa
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# Remove #!env from nodejs scripts
|
|
|
2f8dfd1 |
find tools -type f | xargs grep -l '^#!\/usr\/bin\/env ' |
|
|
|
2f8dfd1 |
xargs sed -e '1 s,^#!/usr/bin/env ,#!/usr/bin/,' -i
|
|
|
2f8dfd1 |
|
|
|
bba50e3 |
# Fix deprecated Buffer ctor except on EL6
|
|
|
bba50e3 |
%if 0%{?rhel} != 6
|
|
|
bba50e3 |
sed -e '1,$ s/new Buffer/Buffer.from/' -i \
|
|
|
089c1fc |
tools/lib/publicToIp6.js tools/lib/cjdnsadmin/cjdnsadmin.js
|
|
|
bba50e3 |
%endif
|
|
|
bba50e3 |
|
|
|
2f8dfd1 |
# Remove unpackaged code with undeclared licenses
|
|
|
d28014f |
%if !%{with_admin}
|
|
|
2f8dfd1 |
rm -rf contrib/nodejs # GPLv3 and ASL 2.0
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
rm -rf contrib/http # GPLv2 and MIT
|
|
|
2f8dfd1 |
|
|
|
da4d7ba |
cat >cjdns-up.sh <<'EOF'
|
|
|
da4d7ba |
#!/bin/sh
|
|
|
da4d7ba |
|
|
|
da4d7ba |
cjdev="$(cjdns-online -i)" || exit 1
|
|
|
da4d7ba |
|
|
|
da4d7ba |
for s in %{_sysconfdir}/cjdns/up.d/*.sh; do
|
|
|
da4d7ba |
if test -x "$s"; then
|
|
|
da4d7ba |
"$s" up $cjdev
|
|
|
da4d7ba |
fi
|
|
|
da4d7ba |
done
|
|
|
da4d7ba |
EOF
|
|
|
da4d7ba |
|
|
|
da4d7ba |
chmod a+x cjdns-up.sh
|
|
|
da4d7ba |
|
|
|
9da2f5d |
%if %{generic_build}
|
|
|
88f1da1 |
%ifarch s390x
|
|
|
88f1da1 |
sed -i -e 's/-march=native/-mtune=native/' node_build/make.js
|
|
|
88f1da1 |
%else
|
|
|
9da2f5d |
sed -i -e 's/-march=native/-mtune=generic/' node_build/make.js
|
|
|
88f1da1 |
%endif
|
|
|
9da2f5d |
rm node_build/dependencies/cnacl/node_build/plans/*_AVX_plan.json
|
|
|
9da2f5d |
# Leaving SSE2 code in since x86 is secondary arch and pretty much everyone
|
|
|
9da2f5d |
# is going to have SSE2, except things like XO-1 which needs custom build.
|
|
|
9da2f5d |
#rm node_build/dependencies/cnacl/node_build/plans/x86_SSE2_plan.json
|
|
|
9da2f5d |
%endif
|
|
|
9da2f5d |
|
|
|
fc4c438 |
%if !%{use_marked}
|
|
|
e8d4b4b |
for i in contrib/doc/*.md; do
|
|
|
e8d4b4b |
sed -i -e'1,1 s/^/% /' -e'1,1 s/--/|/' -e'2,2d' $i
|
|
|
e8d4b4b |
done
|
|
|
fc4c438 |
%endif
|
|
|
fc4c438 |
|
|
|
089c1fc |
# remove hidden files from node_modules/nthen
|
|
|
089c1fc |
cd node_modules/nthen
|
|
|
089c1fc |
rm -f .f* .j* .t*
|
|
|
089c1fc |
cd -
|
|
|
089c1fc |
|
|
|
d28014f |
# python3 API
|
|
|
d28014f |
%if %{with python3}
|
|
|
d28014f |
tar xvfz %{SOURCE4}
|
|
|
d28014f |
mv python-cjdns-* python-cjdns
|
|
|
d28014f |
%endif
|
|
|
d28014f |
|
|
|
2f8dfd1 |
# FIXME: grep Version_CURRENT_PROTOCOL util/version/Version.h and
|
|
|
2f8dfd1 |
# check that it matches major %%{version}
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%build
|
|
|
d28014f |
|
|
|
d28014f |
# build selinux policy
|
|
|
2f8dfd1 |
cd contrib/selinux
|
|
|
2f8dfd1 |
ln -s /usr/share/selinux/devel/Makefile .
|
|
|
2f8dfd1 |
make
|
|
|
2f8dfd1 |
cd -
|
|
|
d28014f |
%if 0 && %{with python3}
|
|
|
d28014f |
cd python-cjdns
|
|
|
d28014f |
python3 setup.py build
|
|
|
d28014f |
cd -
|
|
|
d28014f |
%endif
|
|
|
5c00600 |
|
|
|
2f8dfd1 |
# nodejs based build system
|
|
|
d5c7931 |
|
|
|
2eea56b |
%if !%{with seccomp}
|
|
|
d5c7931 |
export Seccomp_NO=1
|
|
|
d5c7931 |
%endif
|
|
|
77c2247 |
%if %{with subnode}
|
|
|
77c2247 |
export SUBNODE=1
|
|
|
77c2247 |
%endif
|
|
|
e8ded40 |
NO_TEST=1 CJDNS_RELEASE_VERSION="%{name}-%{version}-%{release}" ./do
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# FIXME: use system libuv on compatible systems
|
|
|
85e430e |
# bundled libuv is 0.11.19 with changes:
|
|
|
2f8dfd1 |
# https://github.com/cjdelisle/cjdns/commits/master/node_build/dependencies/libuv
|
|
|
2f8dfd1 |
|
|
|
6975af8 |
%check
|
|
|
e8ded40 |
build_linux/test_testcjdroute_c all >test.out
|
|
|
6975af8 |
|
|
|
2f8dfd1 |
%install
|
|
|
2f8dfd1 |
%if 0%{?rhel} == 5
|
|
|
2f8dfd1 |
rm -rf %{buildroot} # needed on RHEL5
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# the main switch process
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_sbindir}
|
|
|
2f8dfd1 |
install -p cjdroute %{buildroot}%{_sbindir}
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# init support
|
|
|
2f8dfd1 |
%if %{use_upstart}
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_sysconfdir}/init
|
|
|
2f8dfd1 |
install -pm 644 contrib/upstart/cjdns.conf %{buildroot}%{_sysconfdir}/init
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
%if %{use_systemd}
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_unitdir}
|
|
|
2f8dfd1 |
install -pm 644 contrib/systemd/cjdns*.service %{buildroot}%{_unitdir}
|
|
|
2f8dfd1 |
%endif
|
|
|
da4d7ba |
mkdir -p %{buildroot}%{_sysconfdir}/cjdns/up.d
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# chroot
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}/var/empty/cjdns
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# install selinux modules
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_datadir}/selinux/targeted
|
|
|
2f8dfd1 |
install -pm 644 contrib/selinux/cjdns.pp %{buildroot}%{_datadir}/selinux/targeted
|
|
|
2f8dfd1 |
ln -f contrib/selinux/cjdns.{te,fc} . # for doc dir
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# install c and nodejs tools
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_libexecdir}/cjdns/{node_build,contrib}
|
|
|
ebe5a5a |
install -p publictoip6 privatetopublic mkpasswd makekeys randombytes sybilsim \
|
|
|
2f8dfd1 |
%{buildroot}%{_libexecdir}/cjdns
|
|
|
2f8dfd1 |
rm -f node_modules/nthen/.npmignore
|
|
|
2f8dfd1 |
cp -pr tools node_modules %{buildroot}%{_libexecdir}/cjdns
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%if %{with_admin}
|
|
|
2f8dfd1 |
rm -f contrib/nodejs/admin/.gitignore
|
|
|
2f8dfd1 |
cp -pr contrib/nodejs/admin %{buildroot}%{_libexecdir}/cjdns
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2786520 |
cp -p cjdns-up.sh %{buildroot}%{_libexecdir}/cjdns/cjdns-up
|
|
|
da4d7ba |
|
|
|
d28014f |
# do python setup.py install *before* any other bin installs so we can move
|
|
|
d28014f |
# to libexec. FIXME: pip install might be able to do this more elegantly.
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_bindir}
|
|
|
d28014f |
%if %{with python3}
|
|
|
d28014f |
mkdir -p %{buildroot}%{_libexecdir}/cjdns/python
|
|
|
d28014f |
cd python-cjdns
|
|
|
d28014f |
python3 setup.py install -O1 --root %{buildroot}
|
|
|
d28014f |
cd -
|
|
|
d28014f |
mv %{buildroot}/%{_bindir}/* %{buildroot}/%{_libexecdir}/cjdns/python
|
|
|
d28014f |
|
|
|
d28014f |
# These files are installed via doc and license
|
|
|
d28014f |
rm -f %{buildroot}%{python3_sitelib}/cjdnsadmin/bencode.py.LICENSE.txt
|
|
|
d28014f |
rm -f %{buildroot}%{_libexecdir}/cjdns/python/README.md
|
|
|
d28014f |
rm -f %{buildroot}%{_libexecdir}/cjdns/python/cjdns-dynamic.conf
|
|
|
d28014f |
|
|
|
d28014f |
%endif
|
|
|
d28014f |
|
|
|
d28014f |
# symlinks for selected nodejs tools
|
|
|
2f8dfd1 |
for t in peerStats sessionStats cjdnslog search dumpLinks dumptable \
|
|
|
2f8dfd1 |
dumpRumorMill pathfinderTree pingAll; do
|
|
|
2f8dfd1 |
ln -sf %{_libexecdir}/cjdns/tools/$t %{buildroot}%{_bindir}
|
|
|
2f8dfd1 |
done
|
|
|
4b865ac |
for t in traceroute; do
|
|
|
4b865ac |
ln -sf %{_libexecdir}/cjdns/tools/$t %{buildroot}%{_bindir}/cjdns-$t
|
|
|
4b865ac |
done
|
|
|
2f8dfd1 |
|
|
|
ebe5a5a |
# symlinks for selected C tools that don't conflict with other packages
|
|
|
2f8dfd1 |
for t in publictoip6 randombytes makekeys; do
|
|
|
2f8dfd1 |
ln -sf %{_libexecdir}/cjdns/$t %{buildroot}%{_bindir}
|
|
|
2f8dfd1 |
done
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# cjdns-online script
|
|
|
2f8dfd1 |
install -pm 755 contrib/systemd/cjdns-online.sh \
|
|
|
2f8dfd1 |
%{buildroot}%{_bindir}/cjdns-online
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# man pages
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_mandir}/man5
|
|
|
2f8dfd1 |
mkdir -p %{buildroot}%{_mandir}/man8
|
|
|
2f8dfd1 |
install -pm 644 doc/man/cjdroute.conf.5 %{buildroot}%{_mandir}/man5
|
|
|
2f8dfd1 |
cd contrib/doc
|
|
|
2f8dfd1 |
for m in *.md; do
|
|
|
2f8dfd1 |
case ${m%.md} in
|
|
|
4b865ac |
traceroute) M="1"
|
|
|
fc4c438 |
%{makeman} $m >%{buildroot}%{_mandir}/man$M/cjdns-${m%.md}.$M
|
|
|
4b865ac |
continue ;;
|
|
|
f848c28 |
privatetopublic|sybilsim) M="8" ;;
|
|
|
f848c28 |
*) M="1" ;;
|
|
|
2f8dfd1 |
esac
|
|
|
fc4c438 |
%{makeman} $m >%{buildroot}%{_mandir}/man$M/${m%.md}.$M
|
|
|
2f8dfd1 |
done
|
|
|
2f8dfd1 |
cd -
|
|
|
2f8dfd1 |
|
|
|
d28014f |
%if %{with python2}
|
|
|
2f8dfd1 |
|
|
|
d28014f |
%if !%{with python3}
|
|
|
2f8dfd1 |
# install python tools that pull in networkx for graphing
|
|
|
2f8dfd1 |
cp -pr contrib/python %{buildroot}%{_libexecdir}/cjdns
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# These files are installed via doc and license
|
|
|
2f8dfd1 |
rm %{buildroot}%{_libexecdir}/cjdns/python/README.md
|
|
|
2f8dfd1 |
rm %{buildroot}%{_libexecdir}/cjdns/python/cjdns-dynamic.conf
|
|
|
2f8dfd1 |
rm %{buildroot}%{_libexecdir}/cjdns/python/cjdnsadmin/bencode.py.LICENSE.txt
|
|
|
2f8dfd1 |
|
|
|
d28014f |
%endif
|
|
|
d28014f |
|
|
|
d28014f |
# Install cjdnsadmin to site-packages
|
|
|
f3dacce |
mkdir -p %{buildroot}%{python2_sitelib}
|
|
|
d28014f |
cp -pr contrib/python/cjdnsadmin %{buildroot}%{python2_sitelib}
|
|
|
d28014f |
|
|
|
d28014f |
%endif
|
|
|
f3dacce |
|
|
|
d28014f |
%if %{with python2} || %{with python3}
|
|
|
2f8dfd1 |
# symlink python tools w/o conflict with nodejs tools or needing networkx
|
|
|
2f8dfd1 |
for t in pingAll.py trashroutes \
|
|
|
2f8dfd1 |
getLinks ip6topk pktoip6 cjdnsa searches findnodes; do
|
|
|
2f8dfd1 |
ln -sf %{_libexecdir}/cjdns/python/$t %{buildroot}%{_bindir}
|
|
|
2f8dfd1 |
done
|
|
|
d28014f |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
# symlink python tools that pull in networkx for graphing
|
|
|
2f8dfd1 |
for t in drawgraph dumpgraph graphStats; do
|
|
|
2f8dfd1 |
ln -sf %{_libexecdir}/cjdns/python/$t %{buildroot}%{_bindir}
|
|
|
2f8dfd1 |
done
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%files
|
|
|
2f8dfd1 |
%{!?_licensedir:%global license %%doc}
|
|
|
2f8dfd1 |
%license LICENSE
|
|
|
2f8dfd1 |
%doc README.md README_*.md HACKING.md
|
|
|
2f8dfd1 |
%attr(0100,root,root) /var/empty/cjdns
|
|
|
2f8dfd1 |
%attr(0755,root,root) %{_sbindir}/cjdroute
|
|
|
2f8dfd1 |
%ghost %attr(0600,root,root) %config(missingok,noreplace) %{_sysconfdir}/cjdroute.conf
|
|
|
2f8dfd1 |
%dir %{_libexecdir}/cjdns
|
|
|
2f8dfd1 |
%if %{use_upstart}
|
|
|
2f8dfd1 |
%{_sysconfdir}/init/*
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
%if %{use_systemd}
|
|
|
2f8dfd1 |
%{_unitdir}/*
|
|
|
2f8dfd1 |
%endif
|
|
|
da4d7ba |
%dir %{_sysconfdir}/cjdns/up.d
|
|
|
da4d7ba |
%{_libexecdir}/cjdns/cjdns-up
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/randombytes
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/publictoip6
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/privatetopublic
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/sybilsim
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/makekeys
|
|
|
ebe5a5a |
%{_libexecdir}/cjdns/mkpasswd
|
|
|
2f8dfd1 |
%{_bindir}/randombytes
|
|
|
2f8dfd1 |
%{_bindir}/publictoip6
|
|
|
2f8dfd1 |
%{_bindir}/makekeys
|
|
|
2f8dfd1 |
%{_bindir}/cjdns-online
|
|
|
2f8dfd1 |
%{_mandir}/man5/*
|
|
|
2f8dfd1 |
%{_mandir}/man8/*
|
|
|
4b865ac |
%{_mandir}/man1/cjdns-online.1.gz
|
|
|
4b865ac |
%{_mandir}/man1/cjdroute.1.gz
|
|
|
4b865ac |
%{_mandir}/man1/makekeys.1.gz
|
|
|
4b865ac |
%{_mandir}/man1/publictoip6.1.gz
|
|
|
4b865ac |
%{_mandir}/man1/randombytes.1.gz
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%pre
|
|
|
2f8dfd1 |
getent group cjdns > /dev/null || groupadd -r cjdns
|
|
|
2f8dfd1 |
getent passwd cjdns > /dev/null || /usr/sbin/useradd -g cjdns \
|
|
|
2f8dfd1 |
-c "End to end encrypted IPv6 mesh" \
|
|
|
2f8dfd1 |
-r -d %{_libexecdir}/cjdns -s /sbin/nologin cjdns
|
|
|
2f8dfd1 |
exit 0
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%if %{use_systemd}
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%post
|
|
|
2f8dfd1 |
%systemd_post cjdns.service
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%postun
|
|
|
2f8dfd1 |
%systemd_postun_with_restart cjdns.service
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%preun
|
|
|
2f8dfd1 |
%systemd_preun cjdns.service
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%if %{use_upstart}
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%preun
|
|
|
2f8dfd1 |
if [ "$1" -eq 0 ]; then
|
|
|
2f8dfd1 |
/sbin/initctl stop cjdns
|
|
|
2f8dfd1 |
fi
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%postun
|
|
|
2f8dfd1 |
if [ "$1" -ge 1 ]; then
|
|
|
2f8dfd1 |
/sbin/initctl restart cjdns
|
|
|
2f8dfd1 |
fi
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%files selinux
|
|
|
2f8dfd1 |
%doc cjdns.te cjdns.fc
|
|
|
2f8dfd1 |
%{_datadir}/selinux/targeted/*
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%post selinux
|
|
|
2f8dfd1 |
/usr/sbin/semodule -s targeted -i %{_datadir}/selinux/targeted/cjdns.pp \
|
|
|
2f8dfd1 |
&>/dev/null || :
|
|
|
2f8dfd1 |
%{__restorecon} %{_sbindir}/cjdroute
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%postun selinux
|
|
|
2f8dfd1 |
if [ $1 -eq 0 ] ; then
|
|
|
2f8dfd1 |
/usr/sbin/semodule -s targeted -r cjdns &> /dev/null || :
|
|
|
2f8dfd1 |
fi
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%files tools
|
|
|
2f8dfd1 |
%if %{with_admin}
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/admin
|
|
|
2f8dfd1 |
%endif
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/tools
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/node_build
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/node_modules
|
|
|
2f8dfd1 |
%{_bindir}/peerStats
|
|
|
2f8dfd1 |
%{_bindir}/sessionStats
|
|
|
2f8dfd1 |
%{_bindir}/cjdnslog
|
|
|
2f8dfd1 |
%{_bindir}/dumpRumorMill
|
|
|
2f8dfd1 |
%{_bindir}/dumpLinks
|
|
|
2f8dfd1 |
%{_bindir}/pathfinderTree
|
|
|
2f8dfd1 |
%{_bindir}/dumptable
|
|
|
2f8dfd1 |
%{_bindir}/pingAll
|
|
|
2f8dfd1 |
%{_bindir}/search
|
|
|
4b865ac |
%{_bindir}/cjdns-traceroute
|
|
|
4b865ac |
%{_mandir}/man1/cjdns-traceroute.1.gz
|
|
|
c21bf3f |
%{_mandir}/man1/sessionStats.1.gz
|
|
|
7134b1a |
%{_mandir}/man1/peerStats.1.gz
|
|
|
2e3ea39 |
%{_mandir}/man1/cjdnslog.1.gz
|
|
|
2f8dfd1 |
|
|
|
d28014f |
%if %{with python2}
|
|
|
9050885 |
%files -n python2-cjdns
|
|
|
2f8dfd1 |
%doc contrib/python/README.md contrib/python/cjdns-dynamic.conf
|
|
|
2f8dfd1 |
%license contrib/python/cjdnsadmin/bencode.py.LICENSE.txt
|
|
|
f3dacce |
%{python2_sitelib}/cjdnsadmin
|
|
|
d28014f |
%if !%{with python3}
|
|
|
d28014f |
%dir %{_libexecdir}/cjdns/python
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/cexec
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/cjdnsadminmaker.py*
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/cjdnslog
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/dumptable
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/dynamicEndpoints.py*
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/peerStats
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/sessionStats
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/pingAll.py*
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/trashroutes
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/getLinks
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/ip6topk
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/pktoip6
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/cjdnsa
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/searches
|
|
|
d28014f |
%{_libexecdir}/cjdns/python/findnodes
|
|
|
d28014f |
%{_bindir}/pingAll.py
|
|
|
d28014f |
%{_bindir}/trashroutes
|
|
|
d28014f |
%{_bindir}/getLinks
|
|
|
d28014f |
%{_bindir}/ip6topk
|
|
|
d28014f |
%{_bindir}/pktoip6
|
|
|
d28014f |
%{_bindir}/cjdnsa
|
|
|
d28014f |
%{_bindir}/searches
|
|
|
d28014f |
%{_bindir}/findnodes
|
|
|
d28014f |
%endif
|
|
|
d28014f |
%endif
|
|
|
d28014f |
|
|
|
d28014f |
%if %{with python3}
|
|
|
d28014f |
%files -n python3-cjdns
|
|
|
d28014f |
%doc python-cjdns/README.md python-cjdns/cjdns-dynamic.conf
|
|
|
d28014f |
%license python-cjdns/cjdnsadmin/bencode.py.LICENSE.txt
|
|
|
d28014f |
%{python3_sitelib}/*
|
|
|
2f8dfd1 |
%dir %{_libexecdir}/cjdns/python
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/cexec
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/cjdnsadminmaker.py*
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/cjdnslog
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/dumptable
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/dynamicEndpoints.py*
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/peerStats
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/sessionStats
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/pingAll.py*
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/trashroutes
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/getLinks
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/ip6topk
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/pktoip6
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/cjdnsa
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/searches
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/findnodes
|
|
|
2f8dfd1 |
%{_bindir}/pingAll.py
|
|
|
2f8dfd1 |
%{_bindir}/trashroutes
|
|
|
2f8dfd1 |
%{_bindir}/getLinks
|
|
|
2f8dfd1 |
%{_bindir}/ip6topk
|
|
|
2f8dfd1 |
%{_bindir}/pktoip6
|
|
|
2f8dfd1 |
%{_bindir}/cjdnsa
|
|
|
2f8dfd1 |
%{_bindir}/searches
|
|
|
2f8dfd1 |
%{_bindir}/findnodes
|
|
|
d28014f |
%endif
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%files graph
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/drawgraph
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/dumpgraph
|
|
|
2f8dfd1 |
%{_libexecdir}/cjdns/python/graphStats
|
|
|
2f8dfd1 |
%{_bindir}/drawgraph
|
|
|
2f8dfd1 |
%{_bindir}/dumpgraph
|
|
|
2f8dfd1 |
%{_bindir}/graphStats
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
%changelog
|
|
|
5834abf |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.7-2
|
|
|
5834abf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5834abf |
|
|
|
e8d4b4b |
* Wed Jul 1 2020 Stuart Gathman <stuart@gathman.org> - 20.7-1
|
|
|
e8d4b4b |
- New upstream release
|
|
|
e8d4b4b |
- Use pandoc for manpages
|
|
|
e8d4b4b |
|
|
|
c4f54c8 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 20.6-3
|
|
|
c4f54c8 |
- Rebuilt for Python 3.9
|
|
|
03a9609 |
- disable patch for nodejs-ronn, now included in Fedora
|
|
|
c4f54c8 |
|
|
|
4e0e758 |
* Wed Apr 29 2020 Stuart Gathman <stuart@gathman.org> - 20.6-2
|
|
|
4e0e758 |
- Disable SECCOMP by default for armv7hl instead of excluding arch
|
|
|
4e0e758 |
|
|
|
654b931 |
* Mon Mar 16 2020 Stuart Gathman <stuart@gathman.org> - 20.6-1
|
|
|
654b931 |
- New upstream release
|
|
|
654b931 |
|
|
|
2180d4e |
* Mon Mar 16 2020 Stuart Gathman <stuart@gathman.org> - 20.5-3
|
|
|
2180d4e |
- Rebuilt for Fedora 33
|
|
|
2180d4e |
- Minor doc updates
|
|
|
2180d4e |
|
|
|
e875b12 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.5-2
|
|
|
e875b12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e875b12 |
|
|
|
ac0d93b |
* Wed Jan 22 2020 Stuart Gathman <stuart@gathman.org> - 20.5-1
|
|
|
ac0d93b |
- New upstream release
|
|
|
ac0d93b |
|
|
|
d28014f |
* Wed Oct 2 2019 Stuart Gathman <stuart@gathman.org> - 20.4-2
|
|
|
d28014f |
- Add python3 support for python API
|
|
|
d28014f |
|
|
|
915cb90 |
* Tue Sep 10 2019 Stuart Gathman <stuart@gathman.org> - 20.4-1
|
|
|
915cb90 |
- Update to 20.4
|
|
|
915cb90 |
- Update bundled libuv build to use system gyp for build
|
|
|
915cb90 |
|
|
|
24f2c19 |
* Sat Aug 24 2019 Stuart Gathman <stuart@gathman.org> - 20.3-8
|
|
|
24f2c19 |
- Don't package local copy of ronn
|
|
|
089c1fc |
- Remove hidden files from node_modules/nthen
|
|
|
24f2c19 |
|
|
|
db9c926 |
* Thu Aug 15 2019 Stuart Gathman <stuart@gathman.org> - 20.3-7
|
|
|
baa419d |
- Don't audit /var/lib/sss access bz#1589395
|
|
|
db9c926 |
|
|
|
3a21741 |
* Tue Aug 06 2019 Stuart Gathman <stuart@gathman.org> - 20.3-6
|
|
|
3a21741 |
- Much simpler solution to removing sysctl calls :-)
|
|
|
3a21741 |
|
|
|
fc4c438 |
* Sat Aug 03 2019 Stuart Gathman <stuart@gathman.org> - 20.3-5
|
|
|
fc4c438 |
- Remove deprecated sysctl() call in getUUID (read from /proc/.../random/uuid)
|
|
|
fc4c438 |
- Patch a local copy of ronn to stop calling util.puts/util.debug
|
|
|
fc4c438 |
|
|
|
f16ba58 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20.3-4
|
|
|
f16ba58 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f16ba58 |
|
|
|
e8ded40 |
* Thu May 09 2019 Stuart Gathman <stuart@gathman.org> - 20.3-3
|
|
|
e8ded40 |
- Move running test suite to check
|
|
|
e8ded40 |
|
|
|
561fcd2 |
* Wed May 08 2019 Stuart Gathman <stuart@gathman.org> - 20.3-2
|
|
|
561fcd2 |
- Increase timeout for fuzz tests to allow slower arches to succeed
|
|
|
561fcd2 |
|
|
|
9b2cd28 |
* Wed May 08 2019 Stuart Gathman <stuart@gathman.org> - 20.3-1
|
|
|
9b2cd28 |
- New upstream version 20.3
|
|
|
9b2cd28 |
|
|
|
e404547 |
* Fri May 03 2019 Stuart Gathman <stuart@gathman.org> - 20.2-7
|
|
|
e404547 |
- Option to use system libuv
|
|
|
e404547 |
- Fix scope of Pipe_PATH String_CONST in config.
|
|
|
85e430e |
|
|
|
d9a7cab |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20.2-6
|
|
|
d9a7cab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d9a7cab |
|
|
|
f3dacce |
* Thu Nov 8 2018 Stuart Gathman <stuart@gathman.org> - 20.2-5
|
|
|
f3dacce |
- Install cjdnsadmin python module in site-packages
|
|
|
f3dacce |
- Work around missing python2-networkx Provides in python-networkx bz#1647987
|
|
|
bba50e3 |
- Fix deprecated Buffer ctor in nodejs tools except on el6
|
|
|
f3dacce |
|
|
|
0cee708 |
* Wed Jul 18 2018 Stuart Gathman <stuart@gathman.org> - 20.2-4
|
|
|
4fcbbff |
- cjdns-20.2 bundles libuv-0.11.19
|
|
|
0cee708 |
- disable CPU specific optimization
|
|
|
0cee708 |
|
|
|
ff61106 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20.2-3
|
|
|
ff61106 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4fcbbff |
|
|
|
fd5592d |
* Thu May 31 2018 Stuart Gathman <stuart@gathman.org> - 20.2-2
|
|
|
fd5592d |
- Add cnacl s390x support BZ#1584480
|
|
|
fd5592d |
|
|
|
2d0436c |
* Tue May 22 2018 Stuart Gathman <stuart@gathman.org> - 20.2-1
|
|
|
2d0436c |
- New upstream release BZ#1464671
|
|
|
2d0436c |
|
|
|
ce5db99 |
* Wed Mar 14 2018 Stuart Gathman <stuart@gathman.org> - 20.1-4
|
|
|
8cc225e |
- Explicit python version in Requires
|
|
|
9430219 |
- Fix possible unterminated interface name in ifreq
|
|
|
8cc225e |
|
|
|
366a8ee |
* Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 20.1-3
|
|
|
366a8ee |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
366a8ee |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
366a8ee |
|
|
|
8cc225e |
* Tue Mar 6 2018 Stuart Gathman <stuart@gathman.org> - 20.1-2
|
|
|
499b7b3 |
- selinux: Allow map access to cjdns_exec_t
|
|
|
fbf8dc4 |
- disable subnode by default
|
|
|
499b7b3 |
|
|
|
1afaf13 |
* Wed Feb 21 2018 Stuart Gathman <stuart@gathman.org> - 20.1-1
|
|
|
1afaf13 |
- New upstream release
|
|
|
1afaf13 |
|
|
|
3dea32b |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 19.1-10
|
|
|
3dea32b |
- Escape macros in %%changelog
|
|
|
3dea32b |
|
|
|
04f62b1 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 19.1-9
|
|
|
04f62b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
04f62b1 |
|
|
|
863b68a |
* Mon Oct 02 2017 Remi Collet <remi@fedoraproject.org> - 19.1-8
|
|
|
863b68a |
- rebuild for libsodium
|
|
|
863b68a |
|
|
|
9050885 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 19.1-7
|
|
|
9050885 |
- Python 2 binary package renamed to python2-cjdns
|
|
|
9050885 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
9050885 |
|
|
|
fa1896d |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 19.1-6
|
|
|
fa1896d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
fa1896d |
|
|
|
556f82d |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 19.1-5
|
|
|
556f82d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
556f82d |
|
|
|
ebe5a5a |
* Wed May 24 2017 Stuart D. Gathman <stuart@gathman.org> 19.1-4
|
|
|
ebe5a5a |
- Add calls to sodium_init()
|
|
|
ebe5a5a |
- Include mkpasswd (but not in /usr/bin)
|
|
|
ebe5a5a |
|
|
|
9e8cf09 |
* Fri Feb 24 2017 Stuart D. Gathman <stuart@gathman.org> 19.1-3
|
|
|
9e8cf09 |
- Test and fix --with=subnode
|
|
|
9e8cf09 |
|
|
|
78d1d51 |
* Fri Feb 24 2017 Stuart D. Gathman <stuart@gathman.org> 19.1-2
|
|
|
78d1d51 |
- Adjust for moving in6_ifreq to linux/ipv6.h in kernel-headers-4.11
|
|
|
78d1d51 |
|
|
|
4b7aed7 |
* Fri Feb 24 2017 Stuart D. Gathman <stuart@gathman.org> 19.1-1
|
|
|
4b7aed7 |
- New upstream release
|
|
|
4b7aed7 |
|
|
|
6bfc925 |
* Sat Feb 18 2017 Stuart D. Gathman <stuart@gathman.org> 18-7
|
|
|
02039d0 |
- Fix errors and document nits found by gcc7
|
|
|
02039d0 |
|
|
|
7cf23ef |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 18-6
|
|
|
7cf23ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7cf23ef |
|
|
|
da4d7ba |
* Sat Jan 7 2017 Stuart D. Gathman <stuart@gathman.org> 18-5
|
|
|
3dea32b |
- Run scripts in %%{sysconfdir}/cjdns/up.d when cjdns comes up.
|
|
|
da4d7ba |
|
|
|
982e9e9 |
* Sun Nov 6 2016 Stuart D. Gathman <stuart@gathman.org> 18-4
|
|
|
982e9e9 |
- update cjdns-online man page
|
|
|
5cba6bd |
- Support ppc64, ppc64le, s390x
|
|
|
982e9e9 |
|
|
|
25a0441 |
* Fri Oct 14 2016 Stuart D. Gathman <stuart@gathman.org> 18-3
|
|
|
25a0441 |
- libstdc++ not needed with libsodium
|
|
|
25a0441 |
|
|
|
51ae827 |
* Fri Oct 14 2016 Stuart D. Gathman <stuart@gathman.org> 18-2
|
|
|
51ae827 |
- Remove Sign.c which uses a private API and isn't needed until supernodes.
|
|
|
51ae827 |
- Use libsodium by default: seems best performance of dynamic libraries
|
|
|
51ae827 |
|
|
|
dcdbe47 |
* Wed Oct 12 2016 Stuart D. Gathman <stuart@gathman.org> 18-1
|
|
|
dcdbe47 |
- Update to 18 upstream release
|
|
|
dcdbe47 |
|
|
|
e38adcc |
* Mon Aug 15 2016 Stuart D. Gathman <stuart@gathman.org> 17.4-7
|
|
|
e38adcc |
- Move modprobe to cjdns-loadmodules.service
|
|
|
e38adcc |
|
|
|
9b87ddf |
* Wed Aug 10 2016 Stuart D. Gathman <stuart@gathman.org> 17.4-6
|
|
|
9290198 |
- Fix logic for %%bcond_without seccomp
|
|
|
9b87ddf |
|
|
|
9b87ddf |
* Wed Aug 10 2016 Stuart D. Gathman <stuart@gathman.org> 17.4-5
|
|
|
d560b41 |
- cjdns.service: add CapabilityBoundingSet
|
|
|
d560b41 |
|
|
|
eb9005a |
* Fri Jun 24 2016 Stuart D. Gathman <stuart@gathman.org> 17.4-4
|
|
|
3559534 |
- cjdns-selinux: allow cjdroute to manipulate route table
|
|
|
3559534 |
|
|
|
a92f077 |
* Thu Jun 23 2016 Stuart D. Gathman <stuart@gathman.org> 17.4-3
|
|
|
a92f077 |
- Remove cjdns-resume.service patch, incorporated upstream
|
|
|
a92f077 |
- Add --interface option to cjdns-online.sh
|
|
|
a92f077 |
|
|
|
e8dd73a |
* Thu Jun 23 2016 Stuart D. Gathman <stuart@gathman.org> 17.4-2
|
|
|
e8dd73a |
- Move tool manpages to tool subpackage.
|
|
|
e8dd73a |
|
|
|
cef3e37 |
* Thu Jun 23 2016 Stuart D. Gathman <stuart@gathman.org> 17.4-1
|
|
|
cef3e37 |
- Update to 17.4 upstream release
|
|
|
cef3e37 |
- Remove cap3 patch, as it is incorporated upstream
|
|
|
cef3e37 |
- Remove Constant.js patch, as it is incorporated upstream
|
|
|
cef3e37 |
|
|
|
f1d325d |
* Tue May 3 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-13
|
|
|
f1d325d |
- man page for cjdnslog
|
|
|
f1d325d |
- Fix running on Fedora as well as openVZ. :-P
|
|
|
cef3e37 |
- Make cjdns exclusive to nodejs_arches. Rafael Fonseca <rdossant@redhat.com>
|
|
|
f1d325d |
|
|
|
7e5322a |
* Mon Apr 18 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-12
|
|
|
9d70cba |
- Run modprobe only if /dev/tun not present - fixes running on openVZ
|
|
|
e380438 |
- Select nacl/libsodium with a macro
|
|
|
e380438 |
- Switch back to nacl for platforms that support it
|
|
|
1271acc |
- man page for peerStats
|
|
|
9d70cba |
|
|
|
22e768c |
* Tue Apr 5 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-11
|
|
|
4b865ac |
- Patch some bugs in traceroute and symlink to /usr/bin/cjdns-traceroute
|
|
|
c21bf3f |
- man page for cjdns-traceroute, sessionStats
|
|
|
4b865ac |
- switch to libsodium instead of nacl
|
|
|
4b865ac |
|
|
|
2f8dfd1 |
* Thu Mar 10 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-10
|
|
|
2f8dfd1 |
- Mark nodejs and selinux noarch
|
|
|
2f8dfd1 |
- Remove _isa from noarch subpackages.
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Thu Mar 10 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-9
|
|
|
2f8dfd1 |
- Strip /8 from IPs printed by cjdns-online
|
|
|
2f8dfd1 |
- Add GPL3+ to cjdns-online
|
|
|
2f8dfd1 |
- ghost /etc/cjdroute.conf
|
|
|
2f8dfd1 |
- Include _isa formula in subpackage requires.
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Tue Mar 8 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-8
|
|
|
2f8dfd1 |
- Add release to main package dependencies
|
|
|
2f8dfd1 |
- More man pages
|
|
|
2f8dfd1 |
- Restore missing cjdns-resume.service
|
|
|
2f8dfd1 |
- Add empty config to be owned by package
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Tue Mar 1 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-7
|
|
|
2f8dfd1 |
- Add explicit systemd dependency
|
|
|
2f8dfd1 |
- Add selinux-policy-targeted dependency
|
|
|
2f8dfd1 |
- Add version to main package dependencies
|
|
|
2f8dfd1 |
- Remove use of #!/usr/bin/env in nodejs tools
|
|
|
2f8dfd1 |
- Change all top level define to global
|
|
|
2f8dfd1 |
- Remove workaround for missing -fPIC on libnacl for X86_64 on f22.
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Mon Feb 29 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-6
|
|
|
2f8dfd1 |
- Man pages
|
|
|
2f8dfd1 |
- Move /usr/lib/cjdns to /usr/libexec/cjdns
|
|
|
2f8dfd1 |
- Move all C tools to main package, mark (nodejs) tools noarch
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Wed Feb 24 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-5
|
|
|
2f8dfd1 |
- Add use_embedded option
|
|
|
2f8dfd1 |
- Reorganize with use_systemd, use_upstart
|
|
|
2f8dfd1 |
- Set __restorecon only if not defined
|
|
|
2f8dfd1 |
- Use install instead of cp to set file modes
|
|
|
2f8dfd1 |
- Move randombytes,publictoip6 and /usr/lib/cjdns to main package
|
|
|
2f8dfd1 |
- Fix bad #! lines in contrib/python
|
|
|
2f8dfd1 |
- Patch util/Security.c to call setgroups(0,...) before setuid().
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Fri Feb 12 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-4
|
|
|
2f8dfd1 |
- Add Fedora README
|
|
|
2f8dfd1 |
- No libnacl on EL7 or EPEL7
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Tue Feb 2 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-3
|
|
|
2f8dfd1 |
- Add node_modules to tools
|
|
|
2f8dfd1 |
- Add #pragmas to ignore bogus warnings from gcc6
|
|
|
2f8dfd1 |
- Fix shift of signed int
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Mon Feb 1 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-2
|
|
|
2f8dfd1 |
- Fix extra line in updated sbin patch
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Mon Feb 1 2016 Stuart D. Gathman <stuart@gathman.org> 17.3-1
|
|
|
2f8dfd1 |
- New upstream release
|
|
|
2f8dfd1 |
- Add cjdns-resume.service to restart cjdns on resume from sleep
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Tue Jan 19 2016 Stuart D. Gathman <stuart@gathman.org> 17.2-1
|
|
|
2f8dfd1 |
- New upstream release
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Sat Nov 07 2015 Stuart D. Gathman <stuart@gathman.org> 17.1-3
|
|
|
2f8dfd1 |
- remove defattr
|
|
|
2f8dfd1 |
- TODO: generate default config at install time, not first start
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Wed Nov 04 2015 Stuart D. Gathman <stuart@gathman.org> 17.1-2
|
|
|
2f8dfd1 |
- use dynamic nacl library backported from rawhide
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Tue Nov 03 2015 Stuart D. Gathman <stuart@gathman.org> 17.1-1
|
|
|
2f8dfd1 |
- update to new protocol version
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Tue Oct 27 2015 Stuart D. Gathman <stuart@gathman.org> 16.3-2
|
|
|
2f8dfd1 |
- move graphing tools to graph subpackage: networkx has a lot of dependencies.
|
|
|
2f8dfd1 |
- use embedded nacl only for i686 (which compiles it with -fPIC)
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Fri Oct 16 2015 Stuart D. Gathman <stuart@gathman.org> 16.3-1
|
|
|
2f8dfd1 |
- Allow hostname lookup in selinux policy
|
|
|
2f8dfd1 |
- python tools subpackage
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Sun Oct 4 2015 Stuart D. Gathman <stuart@gathman.org> 16.0-6
|
|
|
2f8dfd1 |
- restorecon after selinux install to initialize cjdroute context
|
|
|
2f8dfd1 |
- remove module_request (to load tun driver) from selinux policy
|
|
|
2f8dfd1 |
- make init scripts load tun driver
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Sun Sep 27 2015 Stuart D. Gathman <stuart@gathman.org> 16.0-5
|
|
|
2f8dfd1 |
- Restart cjdroute on update, stop on uninstall
|
|
|
2f8dfd1 |
- symlink selected tools to bin
|
|
|
2f8dfd1 |
- use /var/empty/cjdns for chroot
|
|
|
2f8dfd1 |
- patch genconf to change chroot and setuser
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Wed Sep 23 2015 Stuart D. Gathman <stuart@gathman.org> 16.0-4
|
|
|
2f8dfd1 |
- Remove doc subpackage - only a meg of docs, and protocol is experimental.
|
|
|
2f8dfd1 |
- Fix for RLIMIT_NPROC - setuid bug.
|
|
|
2f8dfd1 |
- Add setgid to Security.c
|
|
|
2f8dfd1 |
- add contrib/nodejs so tools work
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Wed Sep 23 2015 Stuart D. Gathman <stuart@gathman.org> 16.0-3
|
|
|
2f8dfd1 |
- Add selinux, doc and tools subpackages
|
|
|
2f8dfd1 |
- Support EL6
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Mon Sep 21 2015 Stuart D. Gathman <stuart@gathman.org> 16.0-2
|
|
|
2f8dfd1 |
- nodejs not a runtime dependency of main package
|
|
|
2f8dfd1 |
- move binaries to /usr/bin (good idea?)
|
|
|
2f8dfd1 |
|
|
|
2f8dfd1 |
* Mon Sep 21 2015 Stuart D. Gathman <stuart@gathman.org> 16.0-1
|
|
|
2f8dfd1 |
- Initial RPM
|