Group :: Sistema/Servidores
RPM: vpn-ws
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: vpn-ws
Version: 0.2
Release: alt4
Summary: A VPN system over websockets
License: MIT
Group: System/Servers
Url: https://github.com/unbit/vpn-ws
Source: %name-%version.tar
BuildRequires: openssl-devel
%description
This is the client/server implementation of a layer-2 software switch able to route packets over websockets connections.
The daemon is meant to be run behind nginx, apache, the uWSGI http router or a HTTP/HTTPS proxy able to speak the uwsgi
protocol and to manage websockets connections.
%prep
%setup
sed -i 's/\(-Wall\)/\1 -fcommon/' Makefile
%build
%make_build
%install
mkdir -p %buildroot/%_sbindir/
cp vpn-ws* %buildroot/%_sbindir/
mkdir -p %buildroot/%_sysconfdir/vpn-ws-client
mkdir -p %buildroot/%systemd_unitdir
cp altlinux/*.service %buildroot/%systemd_unitdir/
%files
%doc README.md
%_sbindir/*
%config(noreplace) %_sysconfdir/vpn-ws-client/
%systemd_unitdir/vpn-ws*.service
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.2
Release: alt4
Summary: A VPN system over websockets
License: MIT
Group: System/Servers
Url: https://github.com/unbit/vpn-ws
Source: %name-%version.tar
BuildRequires: openssl-devel
%description
This is the client/server implementation of a layer-2 software switch able to route packets over websockets connections.
The daemon is meant to be run behind nginx, apache, the uWSGI http router or a HTTP/HTTPS proxy able to speak the uwsgi
protocol and to manage websockets connections.
%prep
%setup
sed -i 's/\(-Wall\)/\1 -fcommon/' Makefile
%build
%make_build
%install
mkdir -p %buildroot/%_sbindir/
cp vpn-ws* %buildroot/%_sbindir/
mkdir -p %buildroot/%_sysconfdir/vpn-ws-client
mkdir -p %buildroot/%systemd_unitdir
cp altlinux/*.service %buildroot/%systemd_unitdir/
%files
%doc README.md
%_sbindir/*
%config(noreplace) %_sysconfdir/vpn-ws-client/
%systemd_unitdir/vpn-ws*.service
%changelog
…
Todas as alterações você pod ver aqui