Группа :: Сети/Прочее
Пакет: udp2raw-tunnel
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: udp2raw-tunnel
Version: 20230206.0
Release: alt1
Summary: UDP over TCP/ICMP/UDP tunnel
# The following files are adapted from PolarSSL 1.3.19 (GPL-2.0)
# lib/md5.cpp
# lib/aes_acc/aesarm_table.h
# lib/aes_acc/aesni.c
# lib/aes_acc/aesacc.c
# lib/aes_acc/aesni.h
# The following file is adapted from PolarSSL and is licenced under Apache-2.0 OR GPL-2.0
# lib/pbkdf2-sha1.cpp
# Bundled libev is licenced under GPL-3.0+ or BSD-2-Clause
License: MIT
Group: Networking/Other
Url: https://github.com/wangyu-/udp2raw-tunnel
# Source-url: https://github.com/wangyu-/udp2raw-tunnel/archive/%version.tar.gz
Source: %name-%version.tar
BuildRequires: gcc-c++
Requires: iptables
%description
A tunnel which turns UDP traffic into encrypted UDP/FakeTCP/ICMP traffic
by using raw sockets that can help bypass UDP firewalls (or
unstable UDP environments).
%prep
%setup
%__subst 's|-ggdb||' makefile
%__subst 's|-static||' makefile
%__subst 's|$(shell git rev-parse HEAD)|%version|g' makefile
%__subst 's/\r$//' doc/README.zh-cn.md
%build
export OPT='%optflags'
%make_build
%install
install -D -m 0755 udp2raw %buildroot/%_bindir/udp2raw
install -D -m 0644 example.conf %buildroot/%_sysconfdir/udp2raw/example.conf
%files
%doc LICENSE.md
%doc README.md doc/*
%dir %_sysconfdir/udp2raw
%config(noreplace) %_sysconfdir/udp2raw/example.conf
%_bindir/udp2raw
%changelog
…
Полный changelog можно просмотреть здесь
Version: 20230206.0
Release: alt1
Summary: UDP over TCP/ICMP/UDP tunnel
# The following files are adapted from PolarSSL 1.3.19 (GPL-2.0)
# lib/md5.cpp
# lib/aes_acc/aesarm_table.h
# lib/aes_acc/aesni.c
# lib/aes_acc/aesacc.c
# lib/aes_acc/aesni.h
# The following file is adapted from PolarSSL and is licenced under Apache-2.0 OR GPL-2.0
# lib/pbkdf2-sha1.cpp
# Bundled libev is licenced under GPL-3.0+ or BSD-2-Clause
License: MIT
Group: Networking/Other
Url: https://github.com/wangyu-/udp2raw-tunnel
# Source-url: https://github.com/wangyu-/udp2raw-tunnel/archive/%version.tar.gz
Source: %name-%version.tar
BuildRequires: gcc-c++
Requires: iptables
%description
A tunnel which turns UDP traffic into encrypted UDP/FakeTCP/ICMP traffic
by using raw sockets that can help bypass UDP firewalls (or
unstable UDP environments).
%prep
%setup
%__subst 's|-ggdb||' makefile
%__subst 's|-static||' makefile
%__subst 's|$(shell git rev-parse HEAD)|%version|g' makefile
%__subst 's/\r$//' doc/README.zh-cn.md
%build
export OPT='%optflags'
%make_build
%install
install -D -m 0755 udp2raw %buildroot/%_bindir/udp2raw
install -D -m 0644 example.conf %buildroot/%_sysconfdir/udp2raw/example.conf
%files
%doc LICENSE.md
%doc README.md doc/*
%dir %_sysconfdir/udp2raw
%config(noreplace) %_sysconfdir/udp2raw/example.conf
%_bindir/udp2raw
%changelog
…
Полный changelog можно просмотреть здесь