N
NiceOS Build Portal
Enterprise build observability for published NiceOS package builds.

input/hev-socks5-tunnel.spec

raw · 2.9 KiB

Name:           hev-socks5-tunnel
Version:        2.15.0
Release:        1%{?dist}
Summary:        Lightweight tun2socks client over a SOCKS5 proxy
Summary(ru):    Лёгкий tun2socks-клиент через SOCKS5-прокси

License:        MIT AND BSD-3-Clause
URL:            https://github.com/heiher/hev-socks5-tunnel
Source0:        https://github.com/heiher/hev-socks5-tunnel/releases/download/%{version}/%{name}-%{version}.tar.xz

Packager:       NICE SOFT GROUP LLC (ООО "НАЙС СОФТ ГРУПП") 5024245440 <niceos@ncsgp.ru>
Vendor:         NiceSOFT
Distribution:   NiceOS.Core
BugURL:         https://bugs.niceos.ru/
VCS:            https://git.niceos.ru/niceos/%{name}

BuildRequires:  gcc
BuildRequires:  glibc-devel
BuildRequires:  kernel-headers
BuildRequires:  make

%description
HevSocks5Tunnel is a lightweight, fast and reliable tun2socks client for routing
traffic through a SOCKS5 proxy. The package provides the %{name} executable and
a sample configuration file.

%description -l ru
HevSocks5Tunnel — лёгкий, быстрый и надёжный tun2socks-клиент для маршрутизации
трафика через SOCKS5-прокси. Пакет содержит исполняемый файл %{name} и пример
файла конфигурации.

%prep
%autosetup

%build
%set_build_flags
%make_build

# RU: Ниже сохранены исходные присваивания переменных (после сборки) без изменений,
# RU: чтобы не затронуть исходную логику сборки.
# EN: The following variable assignments (after build) are kept verbatim,
# EN: to avoid altering the original build logic.
exec
PP="%{__cpp}"
CC="%{__cc}"
AR="%{__ar}"
STRIP=:
REV_ID=%{version}
LFLAGS="%{build_ldflags}"

%install
install -Dpm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
install -Dpm0644 conf/main.yml %{buildroot}%{_sysconfdir}/%{name}/main.yml

%files
%license LICENSE
%license src/core/LICENSE
%license third-part/hev-task-system/LICENSE
%license third-part/lwip/LICENSE
%license third-part/yaml/LICENSE
%doc README.md
%{_bindir}/%{name}
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/main.yml

%changelog
* Sun May 24 2026 NiceOS Team <support@niceos.ru> - 2.15.0-1
- EN: - Update hev-socks5-tunnel to 2.15.0
- Upstream changes: TCP Fast Open support; Android NDK r30 build fix; macOS IPv6 connection fix; XCFramework header layout adjustment.
- RU: - Обновить hev-socks5-tunnel до 2.15.0
- Изменения upstream: поддержка TCP Fast Open; исправление сборки под Android NDK r30; исправление подключения к IPv6 на macOS; перенос заголовков в подкаталог для XCFramework.


* Wed Apr 22 2026 NiceOS Team <niceos@ncsgp.ru> - 2.14.4-1
- Initial build for NiceOS (Первая сборка для НАЙС.ОС)