Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37755872
en ru br
ALT Linux repositórios
S:1.0-alt1rc9.qa1
5.0: 0.95-alt5
4.1: 0.95-alt5
4.0: 0.95-alt5
3.0: 0.95-alt5

Group :: Monitoramento
RPM: ipaudit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: ipaudit
Version: 0.95
Release: alt5
Copyright: GPL
Group: Monitoring
Source: %{name}-%{version}.tgz
Patch: ipaudit-errno.patch
Summary: IPAUDIT (Jan 12, 2000)
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildRequires: libpcap-devel


%description
IPAUDIT listens to a network device in promiscuis mode, and records
of every 'connection', each conversation between two ip addresses.  A unique
connection is determined by the ip addresses of the two machines, the
protocol used between them and the port numbers (if they are communicating
via udp or tcp).

It uses a hash table to keep track of the number of bytes and packets
in both directions.  When IPAUDIT receives a signal SIGTERM (kill)
or SIGINT (kill -2, usually the same as a Control-C), it stops collecting
data and write the tabulated results.
 
%prep
%setup -q -n %{name}-%{version}
%patch -p 1

%build
%make_build
# all

%install
rm -rf $RPM_BUILD_ROOT
#install -m 755 -D dnslist $RPM_BUILD_ROOT/usr/bin/dnslist
#install -m 755 -D icf $RPM_BUILD_ROOT/usr/bin/icf
#install -m 755 -D ipf $RPM_BUILD_ROOT/usr/bin/ipf
install -m 744 -D src/beta/dcalc $RPM_BUILD_ROOT/usr/bin/dcalc
install -m 744 -D src/beta/pdate $RPM_BUILD_ROOT/usr/bin/pdate
install -m 755 -D src/ipaudit $RPM_BUILD_ROOT/usr/bin/ipaudit
install -m 755 -D src/ipstrings $RPM_BUILD_ROOT/usr/bin/ipstrings
install -m 755 -D src/total $RPM_BUILD_ROOT/usr/bin/total
install -m 755 -D man/man1/ipaudit.1 $RPM_BUILD_ROOT/usr/share/man/man1/ipaudit.1
install -m 755 -D man/man1/ipstrings.1 $RPM_BUILD_ROOT/usr/share/man/man1/ipstrings.1
install -m 755 -D man/man1/total.1 $RPM_BUILD_ROOT/usr/share/man/man1/total.1

%clean

%files
%doc README CHANGELOG CONTENTS INSTALL
#/usr/bin/dnslist
#/usr/bin/icf
#/usr/bin/ipf
/usr/bin/dcalc
/usr/bin/pdate
/usr/bin/ipaudit
/usr/bin/ipstrings
/usr/bin/total
/usr/share/man/man1/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009