Merge bk://openembedded@openembedded.bkbits.net/packages
authorMichael Lauer <mickey@vanille-media.de>
Wed, 30 Jun 2004 13:36:54 +0000 (13:36 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 30 Jun 2004 13:36:54 +0000 (13:36 +0000)
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages

2004/06/30 15:36:17+02:00 uni-frankfurt.de!mickey
add keyring, a password storage application for Opie/Qtopia

2004/06/30 15:34:48+02:00 uni-frankfurt.de!mickey
make putty use a library for shared code

BKrev: 40e2c1f6mz6pJJMDyK1L2C6OjcKQ5A

keyring/keyring_0.6.8.oe [moved from putty/putty-cvs/lib.pro with 100% similarity]
meta/task-bootstrap.oe
putty/putty/lib.pro [moved from putty/putty-cvs/plink.pro with 100% similarity]
putty/putty/plink.pro [moved from putty/putty-cvs/pscp.pro with 100% similarity]
putty/putty/pscp.pro [moved from putty/putty-cvs/psftp.pro with 100% similarity]
putty/putty/psftp.pro [new file with mode: 0644]
putty/putty_0.54.oe [deleted file]
putty/putty_cvs.oe

index 37a01d0..ac89b72 100644 (file)
@@ -1,7 +1,7 @@
-PR = "r1"
-
 DESCRIPTION = "Core packages required for a basic installation"
 MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+PR = "r2"
+
 ALLOW_EMPTY = 1
 PACKAGES = "${PN}"
 
@@ -15,6 +15,5 @@ RDEPENDS = 'base-files base-passwd busybox \
        netbase resolvconf sysvinit tinylogin \
        ${BOOTSTRAP_EXTRA_RDEPENDS}'
 
-RRECOMMENDS = 'dropbear lrzsz putty-scp putty-sftp putty-ssh \
-       portmap \
+RRECOMMENDS = 'dropbear lrzsz putty portmap \
        ${BOOTSTRAP_EXTRA_RRECOMMENDS}'
diff --git a/putty/putty/psftp.pro b/putty/putty/psftp.pro
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/putty/putty_0.54.oe b/putty/putty_0.54.oe
deleted file mode 100644 (file)
index fb5a41b..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-DESCRIPTION = "PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms"
-SECTION = "net"
-
-SRC_URI = "http://the.earth.li/~sgtatham/putty/latest/putty-${PV}.tar.gz"
-
-TARGETS = "plink pscp psftp puttygen"
-
-do_compile() {
-       cd unix && oe_runmake -f Makefile.gtk ${TARGETS} CC="${CC}" CFLAGS="${CFLAGS} -I. -I.. -I../charset"
-}
-
-do_install() {
-       install -d ${D}/${bindir}/
-       install -m 0755 unix/plink ${D}/${bindir}/ssh
-       install -m 0755 unix/pscp ${D}/${bindir}/scp
-       install -m 0755 unix/psftp ${D}/${bindir}/sftp
-       install -m 0755 unix/puttygen ${D}/${bindir}/puttygen
-}
-
-PACKAGES = "putty-ssh putty-scp putty-sftp putty-gen"
-FILES_putty = ""
-FILES_putty-ssh = "${bindir}/ssh"
-FILES_putty-scp = "${bindir}/scp"
-FILES_putty-sftp = "${bindir}/sftp"
-FILES_putty-gen = "${bindir}/puttygen"
-
index 5132b43..a504c66 100644 (file)
@@ -1,33 +1,42 @@
 DESCRIPTION = "PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms"
 SECTION = "net"
 
-SRC_URI = "cvs://cvsuser:anonymous@cvs.tartarus.org/home/cvs;module=putty;date=${CVSDATE}"
+SRC_URI = "cvs://cvsuser:anonymous@cvs.tartarus.org/home/cvs;module=putty;date=${CVSDATE} \
+          file://lib.pro \
+          file://plink.pro \
+          file://pscp.pro \
+          file://psftp.pro"
 
-TARGETS = "plink pscp psftp puttygen"
+TARGETS = "lib plink pscp psftp"
 PV = "0.54-cvs-${CVSDATE}"
 
 S = "${WORKDIR}/putty"
 
+inherit qmake-base
+
 do_configure() {
-       perl mkfiles.pl
+       for t in ${TARGETS}
+       do
+               install -m 0644 ${WORKDIR}/$t.pro .
+       done
+       cd charset && perl sbcsgen.pl
 }
 
 do_compile() {
-       cd unix && oe_runmake -f Makefile.gtk ${TARGETS} CC="${CC}" CFLAGS="${CFLAGS} -I. -I.. -I../charset"
+       for t in ${TARGETS}
+       do
+               rm -f Makefile
+               qmake -makefile -o Makefile -spec ${QMAKESPEC} $t.pro
+               oe_runmake
+       done
 }
 
 do_install() {
+       install -d ${D}/${libdir}
+       oe_libinstall -so libputty ${D}/${libdir}
        install -d ${D}/${bindir}/
-       install -m 0755 unix/plink ${D}/${bindir}/ssh
-       install -m 0755 unix/pscp ${D}/${bindir}/scp
-       install -m 0755 unix/psftp ${D}/${bindir}/sftp
-       install -m 0755 unix/puttygen ${D}/${bindir}/puttygen
+       install -m 0755 plink ${D}/${bindir}/ssh
+       install -m 0755 pscp ${D}/${bindir}/scp
+       install -m 0755 psftp ${D}/${bindir}/sftp
 }
 
-PACKAGES = "putty-ssh putty-scp putty-sftp putty-gen"
-FILES_putty = ""
-FILES_putty-ssh = "${bindir}/ssh"
-FILES_putty-scp = "${bindir}/scp"
-FILES_putty-sftp = "${bindir}/sftp"
-FILES_putty-gen = "${bindir}/puttygen"
-