mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-10 02:50:27 +00:00
Remove RPM spec from contrib as it is now in yggdrasil-network/yggdrasil-package-rpm
This commit is contained in:
parent
d6ee20580d
commit
6ead31fb87
@ -1,47 +0,0 @@
|
|||||||
Name: yggdrasil
|
|
||||||
Version: 0.3.0
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: End-to-end encrypted IPv6 networking
|
|
||||||
|
|
||||||
License: GPLv3
|
|
||||||
URL: https://yggdrasil-network.github.io
|
|
||||||
Source0: https://codeload.github.com/yggdrasil-network/yggdrasil-go/tar.gz/v0.3.0
|
|
||||||
|
|
||||||
%{?systemd_requires}
|
|
||||||
BuildRequires: systemd golang >= 1.11
|
|
||||||
|
|
||||||
%description
|
|
||||||
Yggdrasil is a proof-of-concept to explore a wholly different approach to
|
|
||||||
network routing. Whereas current computer networks depend heavily on very
|
|
||||||
centralised design and configuration, Yggdrasil breaks this mould by making
|
|
||||||
use of a global spanning tree to form a scalable IPv6 encrypted mesh network.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -qn yggdrasil-go-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
./build -t -l "-linkmode=external"
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
|
||||||
mkdir -p %{buildroot}/%{_sysconfdir}/systemd/system
|
|
||||||
install -m 0755 yggdrasil %{buildroot}/%{_bindir}/yggdrasil
|
|
||||||
install -m 0755 yggdrasilctl %{buildroot}/%{_bindir}/yggdrasilctl
|
|
||||||
install -m 0755 contrib/systemd/yggdrasil.service %{buildroot}/%{_sysconfdir}/systemd/system/yggdrasil.service
|
|
||||||
install -m 0755 contrib/systemd/yggdrasil-resume.service %{buildroot}/%{_sysconfdir}/systemd/system/yggdrasil-resume.service
|
|
||||||
|
|
||||||
%files
|
|
||||||
%{_bindir}/yggdrasil
|
|
||||||
%{_bindir}/yggdrasilctl
|
|
||||||
%{_sysconfdir}/systemd/system/yggdrasil.service
|
|
||||||
%{_sysconfdir}/systemd/system/yggdrasil-resume.service
|
|
||||||
|
|
||||||
%post
|
|
||||||
%systemd_post yggdrasil.service
|
|
||||||
|
|
||||||
%preun
|
|
||||||
%systemd_preun yggdrasil.service
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%systemd_postun_with_restart yggdrasil.service
|
|
Loading…
Reference in New Issue
Block a user