%define upstream_name IO-Socket-DNS %define upstream_version 0.021 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 10 Summary: IO::Socket like interface using DNS queries License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/modules/by-module/IO/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Net::DNS) >= 0.670.0 BuildArch: noarch %description I originally used this module for my own purposes and never intended to show anyone, but there have been so many requests that I've decided to release it to the public. Have you ever been away from your home with your computer and needed to use the Internet, but all you can find is a crippled WiFi Access Point that doesn't give full Internet? When you try to visit a website, it asks for an annoying login or asks you to pay money or some other silly thing in order to be able to use the Internet. However, usually if you actually try a dig or nslookup, you'll notice that DNS is working perfectly fine. If so, then this is exactly what you need! It translates TCP connection packets into DNS queries. So now you can finally reach that external SSH server you've been needing to reach, even though your Internet connection is too crippled to connect to it directly. Actually, you can connect to any TCP server, such as a Web server or an SMTP server or a Squid proxy or even a remote SOCKS server. This client module IO::Socket::DNS communicates with the server module IO::Socket::DNS::Server to tunnel the connection for the client using only DNS queries as its transport. The only thing that the Internet Service Provider will see is a bunch of DNS queries. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install %files %doc Changes INSTALL META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* /usr/bin/dnsnetcat /usr/bin/dnsssh /usr/bin/dnstelnet %{_mandir}/man1/dnsnetcat.1* %{_mandir}/man1/dnsssh.1* %{_mandir}/man1/dnstelnet.1* /usr/bin/dnsc /usr/bin/dnsd %{_mandir}/man1/dnsc.1* %{_mandir}/man1/dnsd.1* %changelog * Sun Mar 20 2022 umeabot <umeabot> 0.21.0-10.mga9 + Revision: 1804139 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.21.0-9.mga8 + Revision: 1495152 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 0.21.0-8.mga7 + Revision: 1268830 - Mageia 7 Mass Rebuild * Sun Jun 19 2016 pterjan <pterjan> 0.21.0-7.mga6 + Revision: 1028777 - Rebuild for perl 5.22.2 * Mon Feb 08 2016 umeabot <umeabot> 0.21.0-6.mga6 + Revision: 947648 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.21.0-5.mga5 + Revision: 746100 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.21.0-4.mga5 + Revision: 685076 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.21.0-3.mga4 + Revision: 512326 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.21.0-2.mga3 + Revision: 368534 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Aug 29 2012 kharec <kharec> 0.21.0-1.mga3 + Revision: 285322 - update to 0.021 * Mon Jun 04 2012 kharec <kharec> 0.20.0-1.mga3 + Revision: 253976 - update to 0.020 * Sat Nov 05 2011 kharec <kharec> 0.19.0-1.mga2 + Revision: 163686 - imported package perl-IO-Socket-DNS * Sat Nov 05 2011 cpan2dist 0.019-1mga - initial mageia release, generated with cpan2dist