diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/images/jlime-opie.bb | 5 | ||||
-rw-r--r-- | packages/libssh/files/libssh_libdir_fix.patch | 13 | ||||
-rw-r--r-- | packages/libssh/libssh_0.11.bb | 2 | ||||
-rw-r--r-- | packages/libssh/libssh_0.2.bb | 28 | ||||
-rw-r--r-- | packages/maemo4/libosso/libosso-dont-use-inline.patch | 47 | ||||
-rw-r--r-- | packages/maemo4/libosso_2.13.bb | 3 | ||||
-rw-r--r-- | packages/mini-httpd/.mini-httpd_1.19.bb.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | packages/mini-httpd/files/init | 70 | ||||
-rw-r--r-- | packages/mini-httpd/files/mini-httpd.conf | 37 | ||||
-rw-r--r-- | packages/mini-httpd/files/new-bindir-mandir.patch | 15 | ||||
-rw-r--r-- | packages/mini-httpd/files/remove-CC.patch | 13 | ||||
-rw-r--r-- | packages/mini-httpd/mini-httpd_1.19.bb | 36 | ||||
-rw-r--r-- | packages/pax-utils/pax-utils-native_0.1.19.bb | 12 | ||||
-rw-r--r-- | packages/pax-utils/pax-utils_0.1.13.bb | 4 | ||||
-rw-r--r-- | packages/pax-utils/pax-utils_0.1.19.bb | 17 | ||||
-rw-r--r-- | packages/v4l2apps/libv4l_0.5.8.bb (renamed from packages/v4l2apps/libv4l_0.5.7.bb) | 0 |
16 files changed, 297 insertions, 5 deletions
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 \ 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} +} 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" diff --git a/packages/mini-httpd/.mini-httpd_1.19.bb.swp b/packages/mini-httpd/.mini-httpd_1.19.bb.swp Binary files differnew file mode 100644 index 0000000000..d384577124 --- /dev/null +++ b/packages/mini-httpd/.mini-httpd_1.19.bb.swp 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 <marv@der-marv.de> + +# 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=<work_dir> + +# We are the web files stored? +data_dir=/etc/mini-httpd + +# Which certificate to use? +#certfile=<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 <raj.khem@gmail.org> +# 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 +} 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 +} + diff --git a/packages/v4l2apps/libv4l_0.5.7.bb b/packages/v4l2apps/libv4l_0.5.8.bb index a53c52f223..a53c52f223 100644 --- a/packages/v4l2apps/libv4l_0.5.7.bb +++ b/packages/v4l2apps/libv4l_0.5.8.bb |