%global srcversion 1.8 Name: tsocks Version: %{srcversion}beta5 Release: 1%{?dist} Summary: Library for catching network connections, redirecting them on a SOCKS server License: GPLv2+ URL: http://tsocks.sourceforge.net/ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch: tsocks_remove_static_lib.patch Patch: tsocks_fix_lib_path.patch Patch: tsocks_script_validation_error.patch Patch: tsocks_documentation_update.patch Patch: tsocks-1.8-soname.patch Patch: tsocks_fix_man_typo.patch Patch: tsocks_include_missing_tools.patch BuildRequires: gcc BuildRequires: make %description tsocks is designed for use in machines which are firewalled from the Internet. It avoids the need to recompile applications like lynx or telnet so they can use SOCKS to reach the Internet. It behaves much like the SOCKSified TCP/IP stacks seen on other platforms. tsocks is a library to allow transparent SOCKS proxying. It wraps the normal connect() function. When a connection is attempted, it consults the configuration file (which is defined at configure time but defaults to /etc/tsocks.conf) and determines if the IP address specified is local. If it is not, the library redirects the connection to a SOCKS server specified in the configuration file. It then negotiates that connection with the SOCKS server and passes the connection back to the calling program. %prep %autosetup -n %{name}-%{srcversion} -p1 %build %configure %make_build %install %make_install %files %license COPYING %doc ChangeLog FAQ TODO tsocks.conf.simple.example tsocks.conf.complex.example %{_mandir}/man?/* %{_bindir}/* %{_libdir}/libtsocks* %changelog * Thu Aug 25 2022 Davide Cavalca - 1.8beta5-1 - Unretire package - Add missing BuildRequires - Update spec to the current guidelines * Sat Jul 27 2019 Fedora Release Engineering - 1.8-0.23.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 1.8-0.22.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.8-0.21.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.8-0.20.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.8-0.19.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.8-0.18.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.8-0.17.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 1.8-0.16.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 1.8-0.15.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 18 2014 Fedora Release Engineering - 1.8-0.14.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.8-0.13.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.8-0.12.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 1.8-0.11.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 22 2012 Fedora Release Engineering - 1.8-0.10.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.8-0.9.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri May 13 2011 Jean-Francois Saucier - 1.8-0.8.beta5 - Fix a typo in the man page - Include the missing tools inspectsocks and validateconf * Thu Feb 17 2011 Rex Dieter 1.8-0.7.beta5 - avoid odd rpm dep mismatches by explictly specifying a soname for libtsocks * Wed Feb 09 2011 Fedora Release Engineering - 1.8-0.6.beta5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 6 2010 Jean-Francois Saucier - 1.8-0.5.beta5 - Fix the library path problem more cleanly - Fix bash script validation to handle the no argument case - Change patch name to reflect guidelines - Fix documentation to reflect patch modifications - Remove INSTALL from packaged files * Mon Dec 14 2009 Jean-Francois Saucier - 1.8-0.4.beta5 - Fix the library path problem on x86_64 and ppc64 - Elaborate the summary and description fields * Sat Dec 5 2009 Jean-Francois Saucier - 1.8-0.3.beta5 - Fix as per the recommendations on bug #543566 * Thu Dec 3 2009 Jean-Francois Saucier - 1.8-0.2.beta5 - Fix Source0 URL as per the guidelines * Tue Dec 1 2009 Jean-Francois Saucier - 1.8-0.1.beta5 - Initial build for Fedora