Name: putty Version: 0.73 Release: 3%{?dist} Summary: SSH, Telnet and Rlogin client License: MIT Group: Applications/Internet URL: https://www.chiark.greenend.org.uk/~sgtatham/putty/ Source0: https://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz Source2: %{name}.desktop Patch0: putty-0.73-compile-fix.patch BuildRequires: gtk2-devel, krb5-devel, desktop-file-utils BuildRequires: ImageMagick, perl-Digest-SHA, python2-devel, coreutils BuildRequires: sed, findutils, gcc, make, autoconf, automake %description Putty is a SSH, Telnet & Rlogin GUI client - this time for Linux. %package tools Summary: %{name} console tools License: MIT Group: Applications/Multimedia Requires: glibc Provides: %{name}-tools %description tools Various console tools for putty. %prep %setup -q %patch0 -p1 -b .compile-fix # fix python shebangs find . -type f -name "*.py" -exec sed -i '/^#!/ s|.*|#!%{__python2}|' {} \; %build ./mkfiles.pl ./mkauto.sh pushd unix %{__sed} -i -e "s|-O2 -Wall -Werror|$RPM_OPT_FLAGS -DXDG_DEFAULT|g" \ -e "s,/usr/local,%{_prefix},g" \ Makefile.gtk ln -s Makefile.gtk Makefile popd make %{?_smp_mflags} VER=-DSNAPSHOT=%{version} -C unix make -C icons putty-48.png %install rm -rf $RPM_BUILD_ROOT install -d html install -pm 0644 doc/*.html html make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} INSTALL="install -p" -C unix desktop-file-install \ --vendor "" \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE2} install -m644 -D -p icons/putty-48.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/putty.png %files %doc LICENCE html %{_bindir}/{pterm,putty,puttytel,pageant} %{_mandir}/man1/{pterm.1.gz,putty.1.gz,puttytel.1.gz,pageant.1.gz} %{_datadir}/applications/* %{_datadir}/pixmaps/%{name}.png %files tools %doc LICENCE %{_bindir}/{plink,pscp,psftp,puttygen} %{_mandir}/man1/{plink.1.gz,pscp.1.gz,psftp.1.gz,puttygen.1.gz} %changelog * Sat Feb 29 2020 Dmitriy Pomerantsev - 0.73-3 - Dependency fix * Fri Jan 24 2020 Dmitriy Pomerantsev - 0.73-2 - CentOS 8 / Fedora 31 build fix - Splitted to GUI and console package * Mon Sep 30 2019 Jaroslav Škarvada - 0.73-1 - New version Resolves: rhbz#1756746 * Fri Aug 16 2019 Jaroslav Škarvada - 0.72-1 - New version Resolves: rhbz#1742144 * Fri Jul 26 2019 Fedora Release Engineering - 0.71-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Mar 18 2019 Jaroslav Škarvada - 0.71-1 - New version Resolves: rhbz#1689559 * Sat Feb 02 2019 Fedora Release Engineering - 0.70-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 20 2018 Jaroslav Škarvada - 0.70-8 - Fixed FTBFS Resolves: rhbz#1605526 * Fri Jul 13 2018 Fedora Release Engineering - 0.70-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 19 2018 Iryna Shcherbina - 0.70-6 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Mon Feb 19 2018 Ondřej Lysoněk - 0.70-5 - Add gcc to BuildRequires * Fri Feb 09 2018 Fedora Release Engineering - 0.70-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.70-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.70-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 10 2017 Jaroslav Škarvada - 0.70-1 - New version Resolves: rhbz#1468324 Resolves: rhbz#1468324 - Dropped gtk2-compile-fix patch (not needed) * Wed May 3 2017 Jaroslav Škarvada - 0.69-1 - New version Resolves: rhbz#1446835 * Thu Feb 23 2017 Jaroslav Škarvada - 0.68-1 - New version Resolves: rhbz#1425642 - Dropped add-xdg-support patch (upstreamed) - Minor specfile cleanup * Sat Feb 11 2017 Fedora Release Engineering - 0.67-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 28 2016 Ondřej Lysoněk - 0.67-2 - Added support for XDG Resolves: rhbz#1154304 * Mon Mar 7 2016 Jaroslav Škarvada - 0.67-1 - New version Resolves: rhbz#1314985 * Thu Feb 04 2016 Fedora Release Engineering - 0.66-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Jaroslav Škarvada - 0.66-1 - New version Resolves: rhbz#1279881 * Mon Nov 9 2015 Jaroslav Škarvada - 0.65-2 - Fixed integer overflow and buffer underrun in erase characters (ECH) handling Resolves: CVE-2015-5309 * Mon Jul 27 2015 Jaroslav Škarvada - 0.65-1 - New version Resolves: rhbz#1246753 * Thu Jun 18 2015 Fedora Release Engineering - 0.64-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Mar 3 2015 Jaroslav Škarvada - 0.64-1 - New version Resolves: CVE-2015-2157 * Tue Nov 11 2014 Jaroslav Škarvada - 0.63-4 - Increased icon size to 48x48 Resolves: rhbz#1157564 * Sun Aug 17 2014 Fedora Release Engineering - 0.63-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.63-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Aug 12 2013 Jaroslav Škarvada - 0.63-1 - New version Resolves: rhbz#995610 - Dropped perms, CVE-2013-4852, CVE-2013-4206, CVE-2013-4207, CVE-2013-4208 patches (all in upstream) * Thu Aug 8 2013 Jaroslav Škarvada - 0.62-7 - Fixed a heap-corrupting buffer underrun bug in the modmul function Resolves: CVE-2013-4206 - Fixed a buffer overflow vulnerability in the calculation of modular inverses when verifying a DSA signature Resolves: CVE-2013-4207 - Fixed problem when private keys are left in memory after being used by PuTTY tools Resolves: CVE-2013-4208 * Mon Aug 5 2013 Jaroslav Škarvada - 0.62-6 - Fixed integer overflow Resolves: CVE-2013-4852 - Fixed bogus dates in changelog (best estimated) * Sun Aug 04 2013 Fedora Release Engineering - 0.62-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.62-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Sep 26 2012 Jaroslav Škarvada - 0.62-3 - Added missing ImageMagick BuildRequires * Wed Sep 19 2012 Jaroslav Škarvada - 0.62-2 - Generated icon from sources * Tue Aug 7 2012 Jaroslav Škarvada - 0.62-1 - New version * Sat Jan 14 2012 Fedora Release Engineering - 0.60-9.20100910svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.60-8.20100910svn - Rebuild for new libpng * Wed Feb 09 2011 Fedora Release Engineering - 0.60-7.20100910svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Sep 10 2010 Mark Chappell - 0.60-6.20100910svn - Bump version in line with packaging specs * Fri Sep 10 2010 Mark Chappell - 0.60-6.8991svn - Update to latest GTK2 version from SVN (r8991) * Sun Jul 26 2009 Fedora Release Engineering - 0.60-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.60-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 13 2008 Patrick "Jima" Laughton 0.60-3 - Bump-n-build for GCC 4.3 * Tue Aug 21 2007 Patrick "Jima" Laughton 0.60-2 - Rebuild for BuildID * Mon Apr 30 2007 Patrick "Jima" Laughton 0.60-1 - New upstream version (mostly bugfixes) - Previous release pre-emptively fixed CVE-2006-7162/BZ#231726 - Added patch to make "private" files (keys/logs) non-executable * Thu Jan 25 2007 Patrick "Jima" Laughton 0.59-1 - New upstream version - Macro-ized Source filenames - Cleanup of spaces/tabs to eliminate rpmlint warnings * Sun Aug 27 2006 Michael J. Knox - 0.58-3 - Rebuild for FC6 * Wed May 03 2006 Michael J. Knox - 0.58-2 - rebuild * Tue Apr 19 2005 Adrian Reber - 0.58-1 - Updated to 0.58 * Tue Mar 01 2005 Adrian Reber - 0.57-2 - fix build with gcc4 * Mon Feb 21 2005 Adrian Reber - 0.57-1 - Updated to 0.57 * Tue Oct 26 2004 Adrian Reber - 0.56-0.fdr.1 - Updated to 0.56 (bug #2209) * Fri Aug 6 2004 Ville Skyttä - 0:0.55-0.fdr.2 - Fix URL and source location. * Thu Aug 05 2004 Andreas Pfaffeneder 0:0.55.fdr.1 - Update to 0.55 due to security problem (CORE-2004-0705). * Tue Nov 18 2003 Andreas Pfaffeneder 0:0.0-0.fdr.2.20030821 - Add desktop-file-utils to build requires * Sun Aug 24 2003 Adrian Reber 0:0.0-0.fdr.1.20030821 - now honouring $RPM_OPT_FLAGS - moved make to the build section; binaries are now stripped - inserted _smp_mflags - using makeinstall - created a icon for the menu entry - optimized the category of the .desktop file from Internet to Network - more fedorafication * Thu Aug 21 2003 Andreas Pfaffeneder 0:0.0-0.fdr.0.20030821 - Quick and dirty spec for cvs of putty