mirror of
https://abf.rosa.ru/djam/spoofdpi.git
synced 2025-02-23 17:52:54 +00:00
Update version to 0.10.6
This commit is contained in:
parent
53388aa35b
commit
66e55f4ac5
2 changed files with 10 additions and 10 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
v0.10.4.tar.gz: 6deec878c22b99324b50c5e02ed79f18214fab7b
|
||||
spoofdpi-0.10.6.tar.gz: 7b2f2163102b6ac23cfb55eea37629cd9873e0e9
|
||||
|
|
|
@ -4,13 +4,15 @@
|
|||
|
||||
Summary: A simple and fast software designed to bypass Deep Packet Inspection
|
||||
Name: spoofdpi
|
||||
Version: 0.10.4
|
||||
Version: 0.10.6
|
||||
Release: 1
|
||||
License: BSD
|
||||
Group: Text tools
|
||||
License: Apache-2.0
|
||||
Group: Networking/Other
|
||||
Url: https://github.com/xvzc/SpoofDPI
|
||||
Source0: https://github.com/xvzc/SpoofDPI/archive/refs/tags/v%{version}.tar.gz
|
||||
Source0: https://github.com/xvzc/SpoofDPI/archive/refs/tags/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
|
||||
Source1: spoof-dpi.service
|
||||
# use 'go mod vendor' command and archive vendor directory
|
||||
Source2: vendor.tar.gz
|
||||
BuildRequires: golang
|
||||
Provides: SpoofDPI = %{EVRD}
|
||||
|
||||
|
@ -24,19 +26,17 @@ A simple and fast software designed to bypass Deep Packet Inspection
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{oname}-%{version}
|
||||
%autosetup -p1 -n %{oname}-%{version} -a2
|
||||
|
||||
%build
|
||||
mkdir -p src/github.com/xvzc
|
||||
ln -s ../../../ src/github.com/xvzc/SpoofDPI
|
||||
export GOPATH=$(pwd):%{gopath}
|
||||
|
||||
pushd cmd/spoof-dpi
|
||||
%gobuild -o ../../bin/spoof-dpi
|
||||
popd
|
||||
%gobuild -o ./bin/spoof-dpi ./cmd/spoof-dpi
|
||||
|
||||
%install
|
||||
install -d %{buildroot}/%{_bindir}/
|
||||
install -m 0755 bin/spoof-dpi %{buildroot}/%{_bindir}/
|
||||
install -d %{buildroot}/%{_userunitdir}
|
||||
install -m 0644 %{S:1} %{buildroot}/%{_userunitdir}
|
||||
install -m 0644 %{SOURCE1} %{buildroot}/%{_userunitdir}
|
||||
|
|
Loading…
Add table
Reference in a new issue