Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37811627
en ru br
ALT Linux repos
S:20230411-alt1

Group :: Other
RPM: hxtools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:    hxtools
Version: 20210803
Release: alt2

Summary: A collection of several tools
License: GPLv2+ or LGPLv2 or LGPLv3
Group: Other
URL: http://inai.de/projects/hxtools/
# VCS: https://git.inai.de/hxtools

Source: %name-%version.tar

BuildRequires: gcc-c++
BuildRequires: libHX-devel

%description
hxtools contains several tools for different tasks written by Jan Engelhardt.

Currently only these tools are included in package:

* fd0ssh - pipe for password-over-stdin support to ssh
* ofl - Open file lister (replaces fuser and lsof -m)

%package -n ofl
Summary: Open file lister (replaces fuser and lsof -m)
Group: Monitoring
License: WTFPL

%description -n ofl
Lists all processes that have directories or files open or in use within path.
Additionally it can send a signal to these processes to free up a mountpoint
for example.

%package -n fd0ssh
Summary: pipe for password-over-stdin support to ssh
Group: Other
License: LGPL-2.1 or LGPL-3.0

%description -n fd0ssh
This is a wrapper for ssh which reads the password from stdin and sets things
up so that ssh will recall the wrapper to get the password, which will be read
from the parent process using a pipe.

%prep
%setup

%build
%autoreconf
%configure
%make_build -C sadmin ofl fd0ssh

%install
# ofl
install -Dpm0755 sadmin/ofl %buildroot%_bindir/ofl
install -Dpm0644 doc/ofl.1 %buildroot%_man1dir/ofl.1
# fd0ssh
install -Dpm0755 sadmin/fd0ssh %buildroot%_bindir/fd0ssh
install -Dpm0644 doc/fd0ssh.1 %buildroot%_man1dir/fd0ssh.1

%files -n ofl
%_bindir/ofl
%_man1dir/ofl.1*

%files -n fd0ssh
%_bindir/fd0ssh
%_man1dir/fd0ssh.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin