[putty] Initial import (#846348)

Jaroslav Škarvada jskarvad at fedoraproject.org
Wed Sep 26 19:02:02 UTC 2012


commit eeb52997aa3036a255d9488c128a94a105d2e068
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Wed Sep 26 21:01:14 2012 +0200

    Initial import (#846348)

 .gitignore        |    5 +--
 dead.package      |    1 -
 putty-perms.patch |   11 ++++
 putty.desktop     |    9 +++
 putty.spec        |  140 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 6 files changed, 162 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7e319b9..30bc175 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
-putty-0.60.tar.gz
-putty-0.60.tar.gz.RSA
-/putty-8991.tar.bz2
-/putty-20100910.tar.bz2
+putty-*.tar.gz
diff --git a/putty-perms.patch b/putty-perms.patch
new file mode 100644
index 0000000..b9ba76f
--- /dev/null
+++ b/putty-perms.patch
@@ -0,0 +1,11 @@
+--- putty-20100504/unix/uxmisc.c.org	2010-05-19 15:39:00.927479235 +0800
++++ putty-20100504/unix/uxmisc.c	2010-05-19 15:39:32.027256092 +0800
+@@ -144,7 +144,7 @@
+ 	assert(mode[0] == 'w');	       /* is_private is meaningless for read,
+ 					  and tricky for append */
+ 	fd = open(filename.path, O_WRONLY | O_CREAT | O_TRUNC,
+-		      0700);
++		      0600);
+ 	if (fd < 0)
+ 	    return NULL;
+ 	return fdopen(fd, mode);
diff --git a/putty.desktop b/putty.desktop
new file mode 100644
index 0000000..3a1e5b7
--- /dev/null
+++ b/putty.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Putty
+Comment=A SSH, Telnet and Rlogin client
+Exec=putty
+Icon=putty
+Terminal=false
+Type=Application
+Categories=Network;RemoteAccess;
+StartupNotify=true
diff --git a/putty.spec b/putty.spec
new file mode 100644
index 0000000..555a5a6
--- /dev/null
+++ b/putty.spec
@@ -0,0 +1,140 @@
+Name:		putty
+Version:	0.62
+Release:	2%{?dist}
+Summary:	SSH, Telnet and Rlogin client
+License:	MIT
+Group:		Applications/Internet
+URL:		http://www.chiark.greenend.org.uk/~sgtatham/putty/
+Source0:	http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz
+Source2:	%{name}.desktop
+# By default create new files as non-executables
+Patch0:		putty-perms.patch
+BuildRequires:	gtk2-devel krb5-devel halibut desktop-file-utils
+
+%description
+Putty is a SSH, Telnet & Rlogin client - this time for Linux.
+
+%prep
+
+%setup -q
+%patch0 -p1
+
+%build
+./mkfiles.pl
+make -C doc
+pushd unix
+%{__sed} -i -e "s/-O2 -Wall -Werror/$RPM_OPT_FLAGS/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-32.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-32.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/putty.png
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc LICENCE html
+%{_bindir}/*
+%{_mandir}/man1/*.1*
+%{_datadir}/applications/*
+%{_datadir}/pixmaps/%{name}.png
+
+
+%changelog
+* Wed Sep 19 2012 Jaroslav Škarvada <jskarvad at redhat.com> - 0.62-2
+- Generated icon from sources
+
+* Tue Aug  7 2012 Jaroslav Škarvada <jskarvad at redhat.com> - 0.62-1
+- New version
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.60-9.20100910svn
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 0.60-8.20100910svn
+- Rebuild for new libpng
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.60-7.20100910svn
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Sep 10 2010 Mark Chappell <tremble at fedoraproject.org> - 0.60-6.20100910svn
+- Bump version in line with packaging specs
+
+* Fri Sep 10 2010 Mark Chappell <tremble at fedoraproject.org> - 0.60-6.8991svn
+- Update to latest GTK2 version from SVN (r8991)
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.60-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.60-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Feb 13 2008 Patrick "Jima" Laughton <jima at beer.tclug.org> 0.60-3
+- Bump-n-build for GCC 4.3
+
+* Tue Aug 21 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 0.60-2
+- Rebuild for BuildID
+
+* Mon Apr 30 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 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 <jima at beer.tclug.org> 0.59-1
+- New upstream version
+- Macro-ized Source filenames
+- Cleanup of spaces/tabs to eliminate rpmlint warnings
+
+* Mon Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.58-3
+- Rebuild for FC6
+
+* Wed May 03 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.58-2
+- rebuild
+
+* Tue Apr 19 2005 Adrian Reber <adrian at lisas.de> - 0.58-1
+- Updated to 0.58
+
+* Tue Feb 29 2005 Adrian Reber <adrian at lisas.de> - 0.57-2
+- fix build with gcc4
+
+* Mon Feb 21 2005 Adrian Reber <adrian at lisas.de> - 0.57-1
+- Updated to 0.57
+
+* Tue Oct 28 2004 Adrian Reber <adrian at lisas.de> - 0.56-0.fdr.1
+- Updated to 0.56 (bug #2209)
+
+* Fri Aug  6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.55-0.fdr.2
+- Fix URL and source location.
+
+* Thu Aug 05 2004 Andreas Pfaffeneder <fedora at zuhause-local.de> 0:0.55.fdr.1
+- Update to 0.55 due to security problem (CORE-2004-0705).
+
+* Mon Nov 18 2003 Andreas Pfaffeneder <fedora at zuhause-local.de> 0:0.0-0.fdr.2.20030821
+- Add desktop-file-utils to build requires
+
+* Sun Aug 24 2003 Adrian Reber <adrian at lisas.de> 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 <fedora at zuhause-local.de> 0:0.0-0.fdr.0.20030821
+- Quick and dirty spec for cvs of putty
diff --git a/sources b/sources
new file mode 100644
index 0000000..003fbb4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1344b606a680a9036df0fc3a05e62e71  putty-0.62.tar.gz


More information about the scm-commits mailing list