Mageia Bugzilla – Attachment 3683 Details for
Bug 9591
pcapfix, a tool for reparing the broken pcap files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
pcapfix spec file
pcapfix.spec (text/plain), 1.12 KB, created by
Olivier Delaune
on 2013-04-02 20:10:25 CEST
(
hide
)
Description:
pcapfix spec file
Filename:
MIME Type:
Creator:
Olivier Delaune
Created:
2013-04-02 20:10:25 CEST
Size:
1.12 KB
patch
obsolete
>%define name pcapfix >%define version 0.7.2 >%define release %mkrel 1 > >Summary: An utility for repairing the broken pcap files >Name: %{name} >Version: %{version} >Release: %{release} >Source0: http://f00l.de/pcapfix/%{name}-%{version}.tar.gz >Url: http://f00l.de/pcapfix/ >License: GPLv3 >Group: Monitoring >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot > >%description >pcapfix is a repair tool for corrupted pcap files. It checks for an intact pcap >global header and repairs it if there are any corrupted bytes. If one is not >present, one is created and added to the beginning of the file. It then tries >to find pcap packet headers, and checks and repairs them. > >%prep >%setup -q > >%build >%__cc %{optflags} -o pcapfix pcapfix.c > >%install >%__install -D -m0755 pcapfix "%{buildroot}%{_bindir}/pcapfix" >%__install -D -m0644 pcapfix.1 "%{buildroot}%{_mandir}/man1/pcapfix.1" > >%clean >%{?buildroot:%__rm -rf "%{buildroot}"} > >%files >%defattr(-,root,root) >%doc Changelog LICENSE README TODO >%{_bindir}/pcapfix >%doc %{_mandir}/man1/pcapfix.1* > >%changelog >* Tue Apr 2 2013 Olivier Delaune <olivier.delaune@wanadoo.fr> 0.7.2-1.mga2 >- Package creation
%define name pcapfix %define version 0.7.2 %define release %mkrel 1 Summary: An utility for repairing the broken pcap files Name: %{name} Version: %{version} Release: %{release} Source0: http://f00l.de/pcapfix/%{name}-%{version}.tar.gz Url: http://f00l.de/pcapfix/ License: GPLv3 Group: Monitoring BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description pcapfix is a repair tool for corrupted pcap files. It checks for an intact pcap global header and repairs it if there are any corrupted bytes. If one is not present, one is created and added to the beginning of the file. It then tries to find pcap packet headers, and checks and repairs them. %prep %setup -q %build %__cc %{optflags} -o pcapfix pcapfix.c %install %__install -D -m0755 pcapfix "%{buildroot}%{_bindir}/pcapfix" %__install -D -m0644 pcapfix.1 "%{buildroot}%{_mandir}/man1/pcapfix.1" %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changelog LICENSE README TODO %{_bindir}/pcapfix %doc %{_mandir}/man1/pcapfix.1* %changelog * Tue Apr 2 2013 Olivier Delaune <olivier.delaune@wanadoo.fr> 0.7.2-1.mga2 - Package creation
View Attachment As Raw
Actions:
View
Attachments on
bug 9591
: 3683