Репозитории ALT
Группа :: Мониторинг
Пакет: lsof
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: lsof
Version: 4.93.2
Release: alt1
Packager: Victor Forsiuk <force at altlinux.org>
Summary: Lists files open by processes
License: Free
Group: Monitoring
URL: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
# This is REPACKAGED upstream source, read README.lsof.maintainer!
#Source: lsof-%version.tar.bz2
# Repackaged file is picked from http://pkgs.fedoraproject.org/repo/pkgs/lsof
Source: %name-%version.tar.xz
Source1: README.lsof.maintainer
%description
Lsof's name stands for LiSt Open Files, and it does just that. It lists
information about files that are open by the processes running on a UNIX
system.
%prep
%setup
%build
%add_optflags -DHASSECURITY -Dlint
#export LSOF_VSTR=2.6.16
./Configure -n linux
%make_build DEBUG="%optflags"
sed -e '/.so .\/00DIALECTS/d' \
-e 's,.so ./version,.ds VN %version,' \
Lsof.8 > lsof.8
%install
install -pD lsof %buildroot%_sbindir/lsof
install -pD -m644 lsof.8 %buildroot%_man8dir/lsof.8
mkdir -p %buildroot%_bindir
ln -rs %buildroot%_sbindir/lsof %buildroot%_bindir/
%files
%_sbindir/lsof
%_bindir/lsof
%_man8dir/lsof*
%doc 00*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 4.93.2
Release: alt1
Packager: Victor Forsiuk <force at altlinux.org>
Summary: Lists files open by processes
License: Free
Group: Monitoring
URL: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
# This is REPACKAGED upstream source, read README.lsof.maintainer!
#Source: lsof-%version.tar.bz2
# Repackaged file is picked from http://pkgs.fedoraproject.org/repo/pkgs/lsof
Source: %name-%version.tar.xz
Source1: README.lsof.maintainer
%description
Lsof's name stands for LiSt Open Files, and it does just that. It lists
information about files that are open by the processes running on a UNIX
system.
%prep
%setup
%build
%add_optflags -DHASSECURITY -Dlint
#export LSOF_VSTR=2.6.16
./Configure -n linux
%make_build DEBUG="%optflags"
sed -e '/.so .\/00DIALECTS/d' \
-e 's,.so ./version,.ds VN %version,' \
Lsof.8 > lsof.8
%install
install -pD lsof %buildroot%_sbindir/lsof
install -pD -m644 lsof.8 %buildroot%_man8dir/lsof.8
mkdir -p %buildroot%_bindir
ln -rs %buildroot%_sbindir/lsof %buildroot%_bindir/
%files
%_sbindir/lsof
%_bindir/lsof
%_man8dir/lsof*
%doc 00*
%changelog
…
Полный changelog можно просмотреть здесь