Fix invalid option for trafgen -A

This commit is contained in:
wk333 2023-03-14 15:38:55 +08:00
parent 247625ac15
commit b4fcff752a

View File

@ -1,6 +1,6 @@
Name: netsniff-ng
Version: 0.6.8
Release: 1
Release: 2
Summary: Packet sniffing beast
License: GPLv2
URL: http://netsniff-ng.org/
@ -13,6 +13,7 @@ netsniff-ng is a high performance Linux network sniffer for packet inspection. I
%prep
%setup -q
sed -i 's/"d:c:n:t:vJhS:rk:i:o:VRs:P:eE:pu:g:CHQqD:b:"/"d:c:n:t:vJhS:rk:i:o:VRs:P:eE:pu:g:CHQqD:b:A"/g' trafgen.c
%build
export NACL_INC_DIR=$(pkg-config --variable=includedir libsodium )/sodium
@ -32,5 +33,8 @@ make install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR="%{buildroot}"
%{_mandir}/man8/*
%changelog
* Tue Mar 14 2023 wangkai <wangkai385@h-partners.com> - 0.6.8-2
- Fix invalid option for trafgen -A
* Tue Sep 7 2021 zhengyaohui <zhengyaohui1@huawei.com> - 0.6.8-1
- package init