Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042379
en ru br
ALT Linux repos
S:2.3.0-alt3.git67cee6c

Group :: Security/Networking
RPM: torsocks

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: torsocks
Version: 2.3.0
Release: alt3.git67cee6c

Summary: Use SOCKS-friendly applications with Tor
Group: Security/Networking
License: %gpl2only
Url: https://gitweb.torproject.org/torsocks.git
Packager: Vladimir Didenko <cow at altlinux.ru>

Source: %name-%version.tar
Source1: %name.bash_completion
Source2: torify

BuildRequires(pre): rpm-build-licenses
BuildRequires: autoconf-archive
Requires: tor

%description
Torsocks allows you to use most SOCKS-friendly applications in a safe way
with Tor. It ensures that DNS requests are handled safely and explicitly
rejects UDP traffic from the application you are using.

%prep
%setup -q

%build
%autoreconf
%configure --disable-static
%make_build

%install
%makeinstall_std

mkdir -p %buildroot/etc/bash_completion.d
install -p -m644 %SOURCE1 %buildroot%_sysconfdir/bash_completion.d/%name
install -p -m755 %SOURCE2 %buildroot%_bindir/torify

%files
%doc ChangeLog gpl-2.0.txt LICENSE README.md
%{_bindir}/%name
%{_bindir}/torify
%{_mandir}/man1/%name.1.*
%{_mandir}/man5/%name.conf.5.*
%{_mandir}/man8/%name.8.*
%dir %{_libdir}/%name
# torsocks requires this file so it has not been placed in -devel subpackage
%{_libdir}/%name/lib%name.so
%{_libdir}/%name/lib%name.so.0*
%exclude %{_libdir}/%name/lib%name.la
%config(noreplace) %{_sysconfdir}/bash_completion.d/%name
%config(noreplace) %{_sysconfdir}/tor/%name.conf
%exclude %_datadir/doc/%name

%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