nebula/nebula.spec
Richard Rahl 3fa51dd4a6 Accepting request 1174692 from home:rrahl0:upgrades
- update to version 1.9.0:
    * This release adds a new setting default_local_cidr_any that defaults to
      true to match previous behavior, but will default to false in the next
      release (1.10)
    * Added example service script for OpenRC
    * The SSH daemon now supports inlined host keys
    * The SSH daemon now supports certificates with sshd.trusted_cas
    * Config setting tun.unsafe_routes is now reloadable
    * Support for the deprecated local_range option has been removed
    * Remove the TCP round trip tracking metrics, as they never had correct data
    * Fixed a potential deadlock introduced in 1.8.1
    * Fixed support for Linux when IPv6 has been disabled at the OS level
    * DNS will return NXDOMAIN now when there are no results
    * Allow :: in lighthouse.dns.host
    * Capitalization of NotAfter fixed in DNS TXT response
    * Don't log invalid certificates. It is untrusted data and can cause a large
      volume of logs

OBS-URL: https://build.opensuse.org/request/show/1174692
OBS-URL: https://build.opensuse.org/package/show/network:vpn/nebula?expand=0&rev=3
2024-05-16 23:16:34 +00:00

85 lines
2.2 KiB
RPMSpec

#
# spec file for package nebula
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: nebula
Version: 1.9.0
Release: 0
Summary: A scalable overlay networking tool
License: MIT
URL: https://github.com/slackhq/nebula
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source2: %{name}.service
Patch0: enable-pie.patch
BuildRequires: git-core
BuildRequires: golang-packaging
BuildRequires: zstd
BuildRequires: golang(API) = 1.22
%description
Nebula is a scalable overlay networking tool with a focus on performance,
simplicity and security. It lets you seamlessly connect computers anywhere
in the world. It can be used to connect a small number of computers,
but is also able to connect tens of thousands of computers.
%package cert
Summary: Seperate %{name}-cert package
%description cert
This package only includes the %{name}-cert binary.
%prep
%autosetup -p1 -a1
%build
%make_build
%install
install -Dm0755 -t %{buildroot}%{_sbindir} nebula
install -Dm0755 -t %{buildroot}%{_bindir} nebula-cert
install -Dm0644 -t %{buildroot}%{_unitdir} %{SOURCE2}
install -d %{buildroot}%{_sysconfdir}/%{name}
%pre
%service_add_pre %{name}.service
%post
%service_add_post %{name}.service
%preun
%service_del_preun %{name}.service
%postun
%service_del_postun %{name}.service
%check
%make_build test
%files
%license LICENSE
%doc AUTHORS CHANGELOG.md LOGGING.md README.md SECURITY.md examples/config.yml
%{_sbindir}/%{name}
%{_unitdir}/%{name}.service
%{_sysconfdir}/%{name}
%files cert
%license LICENSE
%{_bindir}/%{name}-cert
%changelog