Репозиторий Sisyphus
Последнее обновление: 17 сентября 2019 | Пакетов: 17435 | Посещений: 15108611
en ru br
Репозитории ALT
S:4.9.2-alt1
5.1: 3.9.8-alt1
4.1: 3.9.7-alt1
4.0: 3.9.7-alt1
+updates:3.9.7-alt1
3.0: 3.8.2-alt3
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: tcpdump

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: tcpdump
Version: 3.8.2
Release: alt3
Serial: 1

Summary: A network traffic monitoring tool
License: BSD
Group: Monitoring
Url: http://www.tcpdump.org

Source: %url/release/%name-%version.tar.bz2

Patch1: %name-3.8.2-cvs-configure.patch
Patch2: %name-3.8.2-cvs-20050427-fixes.patch

Patch11: %name-3.7.1-rh-alt-portnumbers.patch
Patch12: %name-3.8.1-alt-configure-shared.patch
Patch13: %name-3.8.2-alt-configure.patch
Patch14: %name-3.8.2-alt-droppriv.patch
Patch15: %name-3.8.3-deb-man.patch
Patch16: %name-3.8.3-deb-ipv6cp.patch

Requires(post): shadow-utils
Requires: /var/resolv

# Automatically added by buildreq on Thu Feb 27 2003

BuildRequires: libpcap-devel libssl-devel

%description
Tcpdump is a command-line tool for monitoring network traffic.  Tcpdump
can capture and display the packet headers on a particular network
interface or on all interfaces.  Tcpdump can display all of the packet
headers, or just the ones that match particular criteria.

Install %name if you need a program to monitor network traffic.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%__subst s/des_cbc_encrypt/DES_cbc_encrypt/ configure.in

find -type d -name CVS -print0 |
xargs -r0 %__rm -rf --
find -type f \( -name .cvsignore -o -name \*.orig \) -print0 |
xargs -r0 %__rm -f --

%build
autoreconf -fisv
%add_optflags -D_GNU_SOURCE
export \
ac_cv_header_smi_h=no \
ac_cv_lib_smi_smiInit=no \
ac_cv_lib_dnet_dnet_htoa=no \
#
%configure --enable-ipv6
%make_build CCOPT="$RPM_OPT_FLAGS"
bzip2 -9kf CHANGES

%install
%__mkdir_p $RPM_BUILD_ROOT%_datadir/%name
%makeinstall
%__install -p -m755 *.awk $RPM_BUILD_ROOT%_datadir/%name/

%post
/usr/sbin/groupadd -r -f tcpdump
/usr/sbin/useradd -r -g tcpdump -d /dev/null -s /dev/null -n tcpdump >/dev/null 2>&1 ||:

%files
%_sbindir/*
%_datadir/%name
%_mandir/man?/*
%doc CHANGES.bz2 CREDITS README TODO

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin