Group :: Monitoramento
RPM: lft
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: lft
Version: 2.31
Release: alt1
Summary: Alternative traceroute tool for network (reverse) engineers
License: VOSTROM Public License for Open Source
Group: Monitoring
Url: http://oppleman.com/lft
Source0: %name-%version.tar.gz
Source1: %name.control
Packager: Michael Shigorin <mike at altlinux.ru>
# Automatically added by buildreq on Mon Jan 17 2005
BuildRequires: hostinfo libpcap-devel
Obsoletes: fft
%description
LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that
often works much faster (than the commonly-used Van Jacobson method) and
goes through many configurations of packet-filter based firewalls. More
importantly, LFT implements numerous other features including AS number
lookups, loose source routing, netblock name lookups, et al.
%prep
%setup
%build
%configure
%make_build
%install
%makeinstall DESTDIR="%buildroot%_bindir" MANDIR="%buildroot%_man8dir"
%__install -pD -m755 %SOURCE1 %buildroot%_sysconfdir/control.d/facilities/%name
%pre
/usr/sbin/groupadd -r -f netadmin >/dev/null 2>&1
[ $1 -eq 1 ] || /usr/sbin/control-dump %name
%post
if [ $1 -ge 2 ]; then
/usr/sbin/control-restore %name
else
/usr/sbin/control %name netadmin
fi
%files
%_bindir/*
%_man8dir/*
%config %_sysconfdir/control.d/facilities/%name
%doc CHANGELOG COPYING README TODO lft-manpage.html
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.31
Release: alt1
Summary: Alternative traceroute tool for network (reverse) engineers
License: VOSTROM Public License for Open Source
Group: Monitoring
Url: http://oppleman.com/lft
Source0: %name-%version.tar.gz
Source1: %name.control
Packager: Michael Shigorin <mike at altlinux.ru>
# Automatically added by buildreq on Mon Jan 17 2005
BuildRequires: hostinfo libpcap-devel
Obsoletes: fft
%description
LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that
often works much faster (than the commonly-used Van Jacobson method) and
goes through many configurations of packet-filter based firewalls. More
importantly, LFT implements numerous other features including AS number
lookups, loose source routing, netblock name lookups, et al.
%prep
%setup
%build
%configure
%make_build
%install
%makeinstall DESTDIR="%buildroot%_bindir" MANDIR="%buildroot%_man8dir"
%__install -pD -m755 %SOURCE1 %buildroot%_sysconfdir/control.d/facilities/%name
%pre
/usr/sbin/groupadd -r -f netadmin >/dev/null 2>&1
[ $1 -eq 1 ] || /usr/sbin/control-dump %name
%post
if [ $1 -ge 2 ]; then
/usr/sbin/control-restore %name
else
/usr/sbin/control %name netadmin
fi
%files
%_bindir/*
%_man8dir/*
%config %_sysconfdir/control.d/facilities/%name
%doc CHANGELOG COPYING README TODO lft-manpage.html
%changelog
…
Todas as alterações você pod ver aqui