From 814ae94b92cf9ba9dceb1b70e2af58680a7eaab7 Mon Sep 17 00:00:00 2001 From: Tim 'timtim' Ellis Date: Sat, 14 Feb 2009 19:21:42 +0000 Subject: libv4l: 0.5.7.bb -> 0.5.8 --- packages/v4l2apps/libv4l_0.5.7.bb | 16 ---------------- packages/v4l2apps/libv4l_0.5.8.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 packages/v4l2apps/libv4l_0.5.7.bb create mode 100644 packages/v4l2apps/libv4l_0.5.8.bb (limited to 'packages') diff --git a/packages/v4l2apps/libv4l_0.5.7.bb b/packages/v4l2apps/libv4l_0.5.7.bb deleted file mode 100644 index a53c52f223..0000000000 --- a/packages/v4l2apps/libv4l_0.5.7.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices." -LICENSE = "LGPLv2" - -SRC_URI = "http://people.atrpms.net/~hdegoede/libv4l-${PV}.tar.gz" - -inherit pkgconfig - -export PREFIX="${prefix}" - -do_install() { - oe_runmake DESTDIR="${D}" install -} - -do_stage() { - oe_runmake DESTDIR="${STAGING_DIR_TARGET}" install -} diff --git a/packages/v4l2apps/libv4l_0.5.8.bb b/packages/v4l2apps/libv4l_0.5.8.bb new file mode 100644 index 0000000000..a53c52f223 --- /dev/null +++ b/packages/v4l2apps/libv4l_0.5.8.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices." +LICENSE = "LGPLv2" + +SRC_URI = "http://people.atrpms.net/~hdegoede/libv4l-${PV}.tar.gz" + +inherit pkgconfig + +export PREFIX="${prefix}" + +do_install() { + oe_runmake DESTDIR="${D}" install +} + +do_stage() { + oe_runmake DESTDIR="${STAGING_DIR_TARGET}" install +} -- cgit v1.2.3 From 51fb74e2857910bc85c2dcf88b15d2e2707b743e Mon Sep 17 00:00:00 2001 From: Lynn Lin Date: Sat, 14 Feb 2009 14:11:58 -0800 Subject: Signed-off-by: Khem Raj libssh_0.2.bb: New recipe libssh_0.11.bb: Reduce priority so that libssh_0.2.bb can be picked up. * Some how oe_runmake called with make -j4 did not work for me thats why I used non parallel make. --- packages/libssh/files/libssh_libdir_fix.patch | 13 +++++++++++++ packages/libssh/libssh_0.11.bb | 2 ++ packages/libssh/libssh_0.2.bb | 28 +++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 packages/libssh/files/libssh_libdir_fix.patch create mode 100644 packages/libssh/libssh_0.2.bb (limited to 'packages') diff --git a/packages/libssh/files/libssh_libdir_fix.patch b/packages/libssh/files/libssh_libdir_fix.patch new file mode 100644 index 0000000000..a9fcce79e3 --- /dev/null +++ b/packages/libssh/files/libssh_libdir_fix.patch @@ -0,0 +1,13 @@ +diff -NurpP --minimal libssh-0.2/libssh/Makefile.in libssh-0.2-libdir/libssh/Makefile.in +--- libssh-0.2/libssh/Makefile.in 2006-12-29 23:03:59.000000000 +0800 ++++ libssh-0.2-libdir/libssh/Makefile.in 2008-10-13 10:04:13.000000000 +0800 +@@ -15,7 +15,7 @@ exec_prefix = @exec_prefix@ + bindir = $(exec_prefix)/bin + incldir= $(prefix)/include + infodir = $(prefix)/info +-libdir = $(prefix)/lib/ ++libdir = $(prefix)/lib + mandir = $(prefix)/man/man1 + + CC = @CC@ + diff --git a/packages/libssh/libssh_0.11.bb b/packages/libssh/libssh_0.11.bb index ab6949f409..833567ebb0 100644 --- a/packages/libssh/libssh_0.11.bb +++ b/packages/libssh/libssh_0.11.bb @@ -6,6 +6,8 @@ includes SFTP support, and a sample SSH client is provided." DEPENDS = "openssl" LICENSE = "LGPL" +DEFAULT_PREFERENCE="-1" + SRC_URI = "http://www.0xbadc0de.be/libssh/libssh-${PV}.tgz" inherit autotools diff --git a/packages/libssh/libssh_0.2.bb b/packages/libssh/libssh_0.2.bb new file mode 100644 index 0000000000..b776094018 --- /dev/null +++ b/packages/libssh/libssh_0.2.bb @@ -0,0 +1,28 @@ +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "The SSH library is a C library to authenticate in a \ +simple manner to one or more SSH servers. The goal of this project \ +is to provide a library much simpler to use than OpenSSHs one. It \ +includes SFTP support, and a sample SSH client is provided." + +HOMEPAGE = "http://0xbadc0de.be/wiki/libssh:libssh" +LICENSE = "LGPL" +SECTION = "libs" +DEPENDS = "openssl" +SRC_URI = "http://www.0xbadc0de.be/libssh/libssh-${PV}.tgz \ + file://libssh_libdir_fix.patch;patch=1 \ + " +inherit autotools + +EXTRA_OECONF = "--cache-file=${S}/config.cache" +do_compile () { + oenote make "$@" + make "$@" || die "oe_runmake failed" +} +do_stage () { + install -d ${STAGING_INCDIR}/libssh + for i in crypto.h libssh.h sftp.h ssh2.h; do + install -m 0644 ${S}/include/libssh/$i ${STAGING_INCDIR}/libssh/ + done + oe_libinstall -so -C libssh libssh ${STAGING_LIBDIR} +} -- cgit v1.2.3 From 4549df49dc7e4a34be6d91fc48b8d52c29879683 Mon Sep 17 00:00:00 2001 From: Lynn Lin Date: Sat, 14 Feb 2009 14:33:28 -0800 Subject: Signed-off-by: Khem Raj jlime-opie.bb: Replace task-bootstrap with task-base --- packages/images/jlime-opie.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/images/jlime-opie.bb b/packages/images/jlime-opie.bb index 7d98f98a32..bb9ad73f20 100644 --- a/packages/images/jlime-opie.bb +++ b/packages/images/jlime-opie.bb @@ -1,10 +1,11 @@ +PR = "r1" IMAGE_LINGUAS = "" -DEPENDS = "task-bootstrap task-opie" +DEPENDS = "task-base task-opie" extra_stuff = '${@base_conditional("ROOT_FLASH_SIZE", "24", "", "task-opie-extra-games task-opie-extra-apps task-opie-extra-styles konqueror-embedded",d)}' -IMAGE_INSTALL = "task-bootstrap task-opie-base task-opie-base-applets \ +IMAGE_INSTALL = "task-base task-opie-base task-opie-base-applets \ task-opie-base-inputmethods task-opie-base-apps \ task-opie-base-settings task-opie-base-decorations \ task-opie-base-styles task-opie-base-pim \ -- cgit v1.2.3 From ab736f37e3e4ffc6ae9114fb50c2f505c2a7302d Mon Sep 17 00:00:00 2001 From: Claudio Mignanti Date: Sat, 14 Feb 2009 15:04:53 -0800 Subject: Signed-off-by: Khem Raj pax-utils: Add version 0.1.19 recipes and use gentoo mirror for sources. --- packages/pax-utils/pax-utils-native_0.1.19.bb | 12 ++++++++++++ packages/pax-utils/pax-utils_0.1.13.bb | 4 ++-- packages/pax-utils/pax-utils_0.1.19.bb | 17 +++++++++++++++++ 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 packages/pax-utils/pax-utils-native_0.1.19.bb create mode 100644 packages/pax-utils/pax-utils_0.1.19.bb (limited to 'packages') diff --git a/packages/pax-utils/pax-utils-native_0.1.19.bb b/packages/pax-utils/pax-utils-native_0.1.19.bb new file mode 100644 index 0000000000..5a56c01aa4 --- /dev/null +++ b/packages/pax-utils/pax-utils-native_0.1.19.bb @@ -0,0 +1,12 @@ +inherit native + +require pax-utils_${PV}.bb + +do_stage() { + oe_runmake PREFIX=${STAGING_DIR_HOST}${layout_prefix} install +} + +do_install() { + : +} + diff --git a/packages/pax-utils/pax-utils_0.1.13.bb b/packages/pax-utils/pax-utils_0.1.13.bb index 9a350844d0..c704d288b8 100644 --- a/packages/pax-utils/pax-utils_0.1.13.bb +++ b/packages/pax-utils/pax-utils_0.1.13.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Various ELF utilities" HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" LICENSE = "GPLv2" - -SRC_URI = "http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.bz2" +PR = "r1" +SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.bz2" S = "${WORKDIR}/pax-utils-${PV}" CPPFLAGS += "-D_GNU_SOURCE " diff --git a/packages/pax-utils/pax-utils_0.1.19.bb b/packages/pax-utils/pax-utils_0.1.19.bb new file mode 100644 index 0000000000..bd657d7997 --- /dev/null +++ b/packages/pax-utils/pax-utils_0.1.19.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Various ELF utilities" +HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" +LICENSE = "GPLv2" + +SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.bz2" +S = "${WORKDIR}/pax-utils-${PV}" + +CPPFLAGS += "-D_GNU_SOURCE " + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake DESTDIR=${D} install +} + -- cgit v1.2.3 From 3e57b182e19ea69bb05f2622c3e367799d5d1c38 Mon Sep 17 00:00:00 2001 From: Gregoire Gentil Date: Sat, 14 Feb 2009 15:41:13 -0800 Subject: Signed-off-by: Khem Raj libosso_2.13.bb: Replace inline hidden attribute with static functions. --- .../maemo4/libosso/libosso-dont-use-inline.patch | 47 ++++++++++++++++++++++ packages/maemo4/libosso_2.13.bb | 3 +- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 packages/maemo4/libosso/libosso-dont-use-inline.patch (limited to 'packages') diff --git a/packages/maemo4/libosso/libosso-dont-use-inline.patch b/packages/maemo4/libosso/libosso-dont-use-inline.patch new file mode 100644 index 0000000000..d3878308c2 --- /dev/null +++ b/packages/maemo4/libosso/libosso-dont-use-inline.patch @@ -0,0 +1,47 @@ +--- libosso-2.13/src/osso-init.c.orig 2008-09-22 12:56:49.000000000 -0700 ++++ libosso-2.13/src/osso-init.c 2008-09-22 12:57:22.000000000 -0700 +@@ -657,7 +657,8 @@ + return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; + } + +-inline int __attribute__ ((visibility("hidden"))) ++//inline int __attribute__ ((visibility("hidden"))) ++static int + muali_convert_msgtype(int t) + { + switch (t) { +--- libosso-2.13/src/osso-internal.h.orig 2008-09-22 12:57:39.000000000 -0700 ++++ libosso-2.13/src/osso-internal.h 2008-09-22 12:58:13.000000000 -0700 +@@ -209,7 +209,8 @@ + # define dprint(f, a...) + # endif /* LIBOSSO_DEBUG */ + +-inline int __attribute__ ((visibility("hidden"))) ++//inline int __attribute__ ((visibility("hidden"))) ++static int + muali_convert_msgtype(int t); + + muali_arg_t* _get_muali_args(DBusMessageIter *iter); +@@ -297,7 +298,8 @@ + _muali_parse_id(const char *id, muali_bus_type *bus, char *sender, + int *serial); + +-inline void __attribute__ ((visibility("hidden"))) ++//inline void __attribute__ ((visibility("hidden"))) ++static void + _muali_make_id(muali_bus_type bus, const char *sender, int serial, char *id); + + #endif /* OSSO_INTERNAL_H_ */ +--- libosso-2.13/src/osso-rpc.c.orig 2008-09-22 12:58:53.000000000 -0700 ++++ libosso-2.13/src/osso-rpc.c 2008-09-22 12:59:42.000000000 -0700 +@@ -1026,7 +1026,8 @@ + *serial = atoi(buf); + } + +-inline void __attribute__ ((visibility("hidden"))) ++//inline void __attribute__ ((visibility("hidden"))) ++static void + _muali_make_id(muali_bus_type bus, const char *sender, int serial, char *id) + { + snprintf(id, MAX_MSGID_LEN, "%d,%s,%d", bus, sender, serial); + diff --git a/packages/maemo4/libosso_2.13.bb b/packages/maemo4/libosso_2.13.bb index 1920e29d3a..25ee9aac15 100644 --- a/packages/maemo4/libosso_2.13.bb +++ b/packages/maemo4/libosso_2.13.bb @@ -1,10 +1,11 @@ require libosso.inc -PR = "r0" +PR = "r1" SRC_URI = "\ http://repository.maemo.org/pool/maemo4.0/free/source/libo/${PN}/${PN}_${PV}-1.1fix.tar.gz \ file://libosso-buildfix.patch;patch=1 \ + file://libosso-dont-use-inline.patch;patch=1 \ " PACKAGES += "${PN}-outo ${PN}-outo-dev ${PN}-outo-dbg ${PN}-outo-bin-dbg ${PN}-outo-bin" -- cgit v1.2.3 From fef3375fcfc10d047f7b54416ee19062f78ae07b Mon Sep 17 00:00:00 2001 From: Lynn Lin Date: Sat, 14 Feb 2009 18:35:07 -0800 Subject: Signed-off-by: Khem Raj mini-httpd: New recipe. --- packages/mini-httpd/.mini-httpd_1.19.bb.swp | Bin 0 -> 12288 bytes packages/mini-httpd/files/init | 70 ++++++++++++++++++++++ packages/mini-httpd/files/mini-httpd.conf | 37 ++++++++++++ packages/mini-httpd/files/new-bindir-mandir.patch | 15 +++++ packages/mini-httpd/files/remove-CC.patch | 13 ++++ packages/mini-httpd/mini-httpd_1.19.bb | 36 +++++++++++ 6 files changed, 171 insertions(+) create mode 100644 packages/mini-httpd/.mini-httpd_1.19.bb.swp create mode 100644 packages/mini-httpd/files/init create mode 100644 packages/mini-httpd/files/mini-httpd.conf create mode 100644 packages/mini-httpd/files/new-bindir-mandir.patch create mode 100644 packages/mini-httpd/files/remove-CC.patch create mode 100644 packages/mini-httpd/mini-httpd_1.19.bb (limited to 'packages') diff --git a/packages/mini-httpd/.mini-httpd_1.19.bb.swp b/packages/mini-httpd/.mini-httpd_1.19.bb.swp new file mode 100644 index 0000000000..d384577124 Binary files /dev/null and b/packages/mini-httpd/.mini-httpd_1.19.bb.swp differ diff --git a/packages/mini-httpd/files/init b/packages/mini-httpd/files/init new file mode 100644 index 0000000000..5e9b176eb9 --- /dev/null +++ b/packages/mini-httpd/files/init @@ -0,0 +1,70 @@ +#! /bin/sh + +# Globals +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/mini_httpd +NAME=mini-httpd +DESC="web server" +# Additional options that are passed to the Daemon. +DAEMON_OPTS="-C /etc/mini-httpd.conf" + +test -x $DAEMON || exit 0 + +# Include mini-httpd defaults if available +if [ -f /etc/default/mini-httpd ] +then + . /etc/default/mini-httpd +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + + stop) + echo -n "Stopping $DESC: " + # Get pid number + if [ -e /var/run/$NAME.pid ] + then + PID=`cat /var/run/$NAME.pid` + if [ -d /proc/$PID ] + then + start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid + else + # we need to remove the pidfile manually + if [ -e /var/run/$NAME.pid ] + then + rm -f /var/run/$NAME.pid + fi + fi + fi + echo "$NAME." + ;; + + restart|force-reload) + echo -n "Restarting $DESC: " + if [ "$START" = "0" ] + then + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS + fi + sleep 1 + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 + diff --git a/packages/mini-httpd/files/mini-httpd.conf b/packages/mini-httpd/files/mini-httpd.conf new file mode 100644 index 0000000000..cb4150c3d9 --- /dev/null +++ b/packages/mini-httpd/files/mini-httpd.conf @@ -0,0 +1,37 @@ +# Example config for mini_httpd. +# Author: Marvin Stark + +# Uncomment this line for turning on ssl support. +#ssl + +# On which host mini_httpd should bind? +host=0.0.0.0 + +# On which port mini_httpd should listen? +port=80 + +# Which user mini_httpd should use? +user=nobody + +# Run in chroot mode? +#chroot # yes +nochroot # no + +# Working directory of mini_httpd. +#dir= + +# We are the web files stored? +data_dir=/etc/mini-httpd + +# Which certificate to use? +#certfile= + +# Which logfile to use? +logfile=/var/log/mini-httpd.log + +# Which pidfile to use? +pidfile=/var/run/mini-httpd.pid + +# Which charset to use? +charset=iso-8859-1 + diff --git a/packages/mini-httpd/files/new-bindir-mandir.patch b/packages/mini-httpd/files/new-bindir-mandir.patch new file mode 100644 index 0000000000..7d48cd1685 --- /dev/null +++ b/packages/mini-httpd/files/new-bindir-mandir.patch @@ -0,0 +1,15 @@ +diff -NurpP --minimal mini_httpd-1.19/Makefile mini_httpd-1.19-new/Makefile +--- mini_httpd-1.19/Makefile 2002-11-02 07:02:57.000000000 +0800 ++++ mini_httpd-1.19-new/Makefile 2008-10-06 15:43:52.000000000 +0800 +@@ -20,8 +20,8 @@ CRYPT_LIB = -lcrypt + #SSL_LIBS = -L${SSL_TREE}/lib -lssl -lcrypto + + +-BINDIR = /usr/local/sbin +-MANDIR = /usr/local/man ++BINDIR = /usr/sbin ++MANDIR = /usr/share/man + CC = gcc + CDEFS = ${SSL_DEFS} ${SSL_INC} + CFLAGS = -O ${CDEFS} + diff --git a/packages/mini-httpd/files/remove-CC.patch b/packages/mini-httpd/files/remove-CC.patch new file mode 100644 index 0000000000..0fddcd7cb6 --- /dev/null +++ b/packages/mini-httpd/files/remove-CC.patch @@ -0,0 +1,13 @@ +diff -NurpP --minimal mini_httpd-1.19/Makefile mini_httpd-1.19-new/Makefile +--- mini_httpd-1.19/Makefile 2008-10-06 15:45:44.000000000 +0800 ++++ mini_httpd-1.19-new/Makefile 2008-10-06 15:46:11.000000000 +0800 +@@ -22,7 +22,7 @@ CRYPT_LIB = -lcrypt + + BINDIR = /usr/sbin + MANDIR = /usr/share/man +-CC = gcc ++#CC = gcc + CDEFS = ${SSL_DEFS} ${SSL_INC} + CFLAGS = -O ${CDEFS} + #CFLAGS = -g ${CDEFS} + diff --git a/packages/mini-httpd/mini-httpd_1.19.bb b/packages/mini-httpd/mini-httpd_1.19.bb new file mode 100644 index 0000000000..6ca44e79ee --- /dev/null +++ b/packages/mini-httpd/mini-httpd_1.19.bb @@ -0,0 +1,36 @@ +# Copyright (C) 2009 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "mini_httpd is a small HTTP server. \ + It implements all the basic features of an HTTP server \ + It can also be configured to do SSL/HTTPS and IPv6. \ + " +HOMEPAGE = "http://www.acme.com/software/mini_httpd/" +LICENSE = "BSD" +SECTION = "net" +DEPENDS = "openssl" +PR = "r0" + +SRC_URI="http://www.acme.com/software/mini_httpd/mini_httpd-${PV}.tar.gz \ + file://new-bindir-mandir.patch;patch=1 \ + file://remove-CC.patch;patch=1 \ + file://mini-httpd.conf \ + file://init \ + " + +INITSCRIPT_NAME = "mini_httpd" +INITSCRIPT_PARAMS = "defaults" + +S = "${WORKDIR}/mini_httpd-${PV}" + + +inherit autotools update-rc.d + +do_install () { + install -d ${D}${sysconfdir} + install -d ${D}${sysconfdir}/init.d + install -d ${D}${sysconfdir}/mini-httpd + install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/mini_httpd + install -m 0755 ${WORKDIR}/mini-httpd.conf ${D}${sysconfdir}/mini-httpd.conf + oe_runmake 'BINDIR=${D}${sbindir}' 'MANDIR=${D}${mandir}' install +} -- cgit v1.2.3