[oe-commits] [Bug 5479] New: recipe of putty 0.60+2010-02-20

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Tue Oct 5 09:24:44 UTC 2010


show_bug.cgi?id=5479

           Summary: recipe of putty 0.60+2010-02-20
           Product: Openembedded
           Version: org.openembedded.dev
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: bb, patch
          Severity: enhancement
          Priority: P5
         Component: unspecified
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: koreylu at gmail.com
                CC: koreylu at gmail.com
   Estimated Hours: 0.0


A recipe of putty 0.60+2010-02-20.

Difference from the existing recipe 0.58+cvs-20060814:

* a newer version
* splited to 3 packages: putty, pterm, putty-tools
* inherit autotools, doesn't use qmake
* doesn't conflict with another ssh client

diff --git a/recipes/putty/putty-0.60+2010-02-20/configure.ac.patch
b/recipes/putty/putty-0.60+2010-02-20/configure.ac.patch
new file mode 100644
index 0000000..9297039
--- /dev/null
+++ b/recipes/putty/putty-0.60+2010-02-20/configure.ac.patch
@@ -0,0 +1,26 @@
+diff -purN putty-0.60-2010-02-20.orig/unix/configure.ac
putty-0.60-2010-02-20/unix/configure.ac
+--- putty-0.60-2010-02-20.orig/unix/configure.ac    2010-02-21
06:35:58.000000000 +0800
++++ putty-0.60-2010-02-20/unix/configure.ac    2010-10-05 12:09:07.000000000
+0800
+@@ -27,9 +27,9 @@ if test "$with_gssapi" != "no"; then
+   AC_CHECK_HEADERS([gssapi/gssapi.h])
+ fi
+ 
+-# Look for both GTK 1 and GTK 2.
+-AM_PATH_GTK([1.2.0], [gtk=1], [gtk=none])
+-AM_PATH_GTK_2_0([2.0.0], [gtk=2], [])
++# Look for GTK 2 only.
++#AM_PATH_GTK([1.2.0], [gtk=1], [gtk=none])
++AM_PATH_GTK_2_0([2.0.0], [gtk=2], [gtk=none])
+ if test "$gtk" = "none"; then
+   all_targets="all-cli"
+ else
+@@ -51,7 +51,8 @@ if test "$with_gssapi" != "no"; then
+   AC_SEARCH_LIBS([gss_init_sec_context], [gssapi gssapi_krb5 gss])
+ fi
+ 
+-AC_CHECK_LIB(X11, XOpenDisplay)
++# This is not necessary, but leads to an extra dependency.
++#AC_CHECK_LIB(X11, XOpenDisplay)
+ 
+ AC_CHECK_FUNCS([getaddrinfo ptsname setresuid strsignal updwtmpx])
+ 
diff --git a/recipes/putty/putty_0.60+2010-02-20.bb
b/recipes/putty/putty_0.60+2010-02-20.bb
new file mode 100644
index 0000000..51d2f42
--- /dev/null
+++ b/recipes/putty/putty_0.60+2010-02-20.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "PuTTY the Telnet/SSH client"
+SECTION = "network"
+LICENSE = "MIT"
+
+PR = "r0"
+
+DEPENDS = "gtk+"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/p/putty/putty_${PV}.orig.tar.gz \
+           file://configure.ac.patch;striplevel=2"
+SRC_URI[md5sum] = "6a3894e1e92bc93216d71c99c6eaf8fd"
+SRC_URI[sha256sum] =
"ff721a95bc5ed6a9d96eada558872bde2bea82ae48b56805ab4d86ec47931398"
+
+S = "${WORKDIR}/putty-0.60-2010-02-20/unix"
+
+inherit autotools
+
+PACKAGES += "pterm pterm-dbg putty-tools putty-tools-dbg"
+
+FILES_${PN} = "${bindir}/putty ${bindir}/puttytel"
+FILES_${PN}-dbg = "${bindir}/.debug/putty ${bindir}/.debug/puttytel"
+FILES_pterm = "${bindir}/pterm"
+FILES_pterm-dbg = "${bindir}/.debug/pterm"
+FILES_putty-tools = "${bindir}/plink ${bindir}/pscp ${bindir}/psftp
${bindir}/puttygen"
+FILES_putty-tools-dbg = "${bindir}/.debug/plink ${bindir}/.debug/pscp
${bindir}/.debug/psftp ${bindir}/.debug/puttygen"
+
+SECTION_pterm = "network"
+SECTION_pterm-dbg = "devel"
+SECTION_putty-tools = "console/network"
+SECTION_putty-tools-dbg = "devel"
+
+RDEPENDS_${PN} = "putty-tools"
+
+RRECOMMENDS_pterm-dbg = "pterm"
+RRECOMMENDS_putty-tools-dbg = "putty-tools"

-- 
Configure bugmail: userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list