summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/busybox/busybox.inc2
-rw-r--r--packages/busybox/busybox_1.11.3.bb2
-rw-r--r--packages/busybox/busybox_1.13.2.bb2
-rw-r--r--packages/cwiid/cwiid_0.6.00.bb1
-rw-r--r--packages/gnuradio/gnuradio.inc57
-rw-r--r--packages/gnuradio/gnuradio_3.0.4.bb2
-rw-r--r--packages/gnuradio/gnuradio_3.1.2.bb2
-rw-r--r--packages/gnuradio/gnuradio_3.1.3.bb2
-rw-r--r--packages/krb/files/fix-uclibc-ruserpass-collision.patch673
-rw-r--r--packages/krb/krb5_1.6.3.bb95
-rw-r--r--packages/libwiimote/libwiimote_0.4.bb3
-rw-r--r--packages/python/python-coherence_0.6.0.bb13
-rw-r--r--packages/samba/files/smb.conf266
-rw-r--r--packages/samba/samba-3.0.34/uclibc-strlcpy-strlcat.patch46
-rw-r--r--packages/samba/samba.inc51
-rw-r--r--packages/samba/samba_3.0.23c.bb46
-rw-r--r--packages/samba/samba_3.0.34.bb55
-rw-r--r--packages/samba/samba_3.2.7.bb60
-rw-r--r--packages/socketcan/socketcan-modules_svn.bb13
-rw-r--r--packages/tasks/task-python-everything.bb3
-rw-r--r--packages/uclibc/uclibc-0.9.30/n1200/uClibc.machine53
-rw-r--r--packages/watchdog/files/init33
-rw-r--r--packages/watchdog/watchdog_5.4.bb17
23 files changed, 1312 insertions, 185 deletions
diff --git a/packages/busybox/busybox.inc b/packages/busybox/busybox.inc
index cdc59b4006..4b195d5584 100644
--- a/packages/busybox/busybox.inc
+++ b/packages/busybox/busybox.inc
@@ -179,7 +179,7 @@ PACKAGES =+ "${PN}-mdev"
FILES_${PN}-mdev = "${sysconfdir}/mdev ${sysconfdir}/mdev.conf ${sysconfdir}/init.d/mdev"
RDEPENDS_${PN}-mdev += "${PN}"
-pkg_postinst_mdev() {
+pkg_postinst_${PN}-mdev() {
if test "x$D" != "x"; then
OPT="-r $D"
else
diff --git a/packages/busybox/busybox_1.11.3.bb b/packages/busybox/busybox_1.11.3.bb
index df710970db..c006e31e91 100644
--- a/packages/busybox/busybox_1.11.3.bb
+++ b/packages/busybox/busybox_1.11.3.bb
@@ -1,5 +1,5 @@
require busybox.inc
-PR = "r11"
+PR = "r12"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
diff --git a/packages/busybox/busybox_1.13.2.bb b/packages/busybox/busybox_1.13.2.bb
index d316b16472..c8aac79d6d 100644
--- a/packages/busybox/busybox_1.13.2.bb
+++ b/packages/busybox/busybox_1.13.2.bb
@@ -1,6 +1,6 @@
require busybox.inc
-PR = "r8"
+PR = "r9"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
diff --git a/packages/cwiid/cwiid_0.6.00.bb b/packages/cwiid/cwiid_0.6.00.bb
index c35676e465..2f7f93d062 100644
--- a/packages/cwiid/cwiid_0.6.00.bb
+++ b/packages/cwiid/cwiid_0.6.00.bb
@@ -1,5 +1,6 @@
DESCRIPTION = "wiimote library + tools"
LICENSE = "GPLv2"
+HOMEPAGE = "http://abstrakraft.org/cwiid/"
PR = "r0"
diff --git a/packages/gnuradio/gnuradio.inc b/packages/gnuradio/gnuradio.inc
index 30a4ee8154..65cfa4072c 100644
--- a/packages/gnuradio/gnuradio.inc
+++ b/packages/gnuradio/gnuradio.inc
@@ -2,14 +2,7 @@ DESCRIPTION = "GNU Radio"
SECTION = "apps"
PRIORITY = "optional"
LICENSE = "GPL"
-DEPENDS = " guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy"
-
-RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs python-lang python-textutils \
- python-shell python-pickle python-compiler python-pkgutil python-pydoc python-mmap \
- python-netclient python-unittest python-difflib python-pprint python-numpy \
- "
-
-RDEPENDS_gnuradio-usrp = "python-core"
+DEPENDS = "guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy"
inherit distutils-base autotools pkgconfig
@@ -19,34 +12,42 @@ export HOST_SYS=${MULTIMACH_TARGET_SYS}
CXXFLAGS_powerpc += "-lstdc++"
EXTRA_OECONF = " \
- --disable-gr-atsc \
- --enable-gr-video-sdl \
- --enable-gr-audio-alsa \
- --enable-gr-audio-jack \
- --enable-gr-audio-oss \
- --enable-mblock \
- --disable-html-docs \
- PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/python2.5 \
- "
+ --disable-gr-atsc \
+ --enable-gr-video-sdl \
+ --enable-gr-audio-alsa \
+ --enable-gr-audio-jack \
+ --enable-gr-audio-oss \
+ --enable-mblock \
+ --disable-html-docs \
+ PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR} \
+"
do_configure_prepend() {
-if [ -e ${WORKDIR}/acinclude.m4 ] ; then
- cp ${WORKDIR}/acinclude.m4 ${S}
-fi
+ if [ -e ${WORKDIR}/acinclude.m4 ] ; then
+ cp ${WORKDIR}/acinclude.m4 ${S}
+ fi
}
do_configure_append() {
- find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
+ find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
}
-PACKAGES =+ "libpmt libpmt-qa \
- libmblock libmblock-qa \
- libgr-audio-alsa libgr-audio-oss libgr-audio-jack\
- libusrp libusrp-inband libusrp-inband-qa \
- libgromnithread \
- libgnuradio-core libgnuradio-core-qa \
- gnuradio-usrp-dbg gnuradio-usrp gnuradio-examples"
+RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs python-lang python-textutils \
+ python-shell python-pickle python-compiler python-pkgutil python-pydoc python-mmap \
+ python-netclient python-unittest python-difflib python-pprint python-numpy \
+"
+
+RDEPENDS_gnuradio-usrp = "python-core"
+PACKAGES =+ "\
+ libpmt libpmt-qa \
+ libmblock libmblock-qa \
+ libgr-audio-alsa libgr-audio-oss libgr-audio-jack\
+ libusrp libusrp-inband libusrp-inband-qa \
+ libgromnithread \
+ libgnuradio-core libgnuradio-core-qa \
+ gnuradio-usrp-dbg gnuradio-usrp gnuradio-examples \
+"
FILES_gnuradio-examples = "${datadir}/gnuradio/examples"
diff --git a/packages/gnuradio/gnuradio_3.0.4.bb b/packages/gnuradio/gnuradio_3.0.4.bb
index 9bf605b982..8a3e25bedb 100644
--- a/packages/gnuradio/gnuradio_3.0.4.bb
+++ b/packages/gnuradio/gnuradio_3.0.4.bb
@@ -1,6 +1,6 @@
require gnuradio.inc
-PR = "r3"
+PR = "r4"
SRC_URI = "ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-${PV}.tar.gz \
file://no-trellis-doc.patch;patch=1 \
diff --git a/packages/gnuradio/gnuradio_3.1.2.bb b/packages/gnuradio/gnuradio_3.1.2.bb
index 62e5f3cdc7..3a6b977288 100644
--- a/packages/gnuradio/gnuradio_3.1.2.bb
+++ b/packages/gnuradio/gnuradio_3.1.2.bb
@@ -1,6 +1,6 @@
require gnuradio.inc
-PR = "r6"
+PR = "r7"
SRC_URI = "ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-${PV}.tar.gz \
file://no-trellis-doc.patch;patch=1 \
diff --git a/packages/gnuradio/gnuradio_3.1.3.bb b/packages/gnuradio/gnuradio_3.1.3.bb
index b6b7d4a041..17089dd487 100644
--- a/packages/gnuradio/gnuradio_3.1.3.bb
+++ b/packages/gnuradio/gnuradio_3.1.3.bb
@@ -1,6 +1,6 @@
require gnuradio.inc
-PR = "r2"
+PR = "r3"
SRC_URI = "ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-${PV}.tar.gz \
# file://gnuradio-libusb.patch;patch=1 \
diff --git a/packages/krb/files/fix-uclibc-ruserpass-collision.patch b/packages/krb/files/fix-uclibc-ruserpass-collision.patch
new file mode 100644
index 0000000000..b98baf93e3
--- /dev/null
+++ b/packages/krb/files/fix-uclibc-ruserpass-collision.patch
@@ -0,0 +1,673 @@
+diff -urN src.old//appl/gssftp/ftp/ftp.c src//appl/gssftp/ftp/ftp.c
+--- src.old//appl/gssftp/ftp/ftp.c 2006-10-15 09:43:30.000000000 +0100
++++ src//appl/gssftp/ftp/ftp.c 2009-01-26 18:55:18.300386663 +0000
+@@ -327,7 +327,7 @@
+ int n, aflag = 0;
+
+ l_user = pass = l_acct = 0;
+- if (ruserpass(host, &l_user, &pass, &l_acct) < 0) {
++ if (rkuserpass(host, &l_user, &pass, &l_acct) < 0) {
+ code = -1;
+ return(0);
+ }
+diff -urN src.old//appl/gssftp/ftp/ftp_var.h src//appl/gssftp/ftp/ftp_var.h
+--- src.old//appl/gssftp/ftp/ftp_var.h 2003-06-16 20:02:01.000000000 +0100
++++ src//appl/gssftp/ftp/ftp_var.h 2009-01-26 18:55:30.484695949 +0000
+@@ -270,8 +270,8 @@
+ struct cmd *getcmd (char *);
+
+
+-/* ruserpass.c */
+-int ruserpass (char *, char **, char **, char **);
++/* rkuserpass.c */
++int rkuserpass (char *, char **, char **, char **);
+
+ /* radix.h */
+ int radix_encode (unsigned char *, unsigned char *, int *, int);
+diff -urN src.old//appl/gssftp/ftp/Makefile.in src//appl/gssftp/ftp/Makefile.in
+--- src.old//appl/gssftp/ftp/Makefile.in 2006-12-19 00:12:32.000000000 +0000
++++ src//appl/gssftp/ftp/Makefile.in 2009-01-26 18:55:57.322361169 +0000
+@@ -12,14 +12,14 @@
+ SRCS = $(srcdir)/cmds.c $(srcdir)/cmdtab.c $(srcdir)/domacro.c \
+ $(srcdir)/ftp.c $(srcdir)/getpass.c $(srcdir)/glob.c \
+ $(srcdir)/main.c $(srcdir)/radix.c \
+- $(srcdir)/ruserpass.c $(srcdir)/secure.c
++ $(srcdir)/rkuserpass.c $(srcdir)/secure.c
+
+
+ OBJS = $(OUTPRE)cmds.$(OBJEXT) $(OUTPRE)cmdtab.$(OBJEXT) \
+ $(OUTPRE)domacro.$(OBJEXT) $(OUTPRE)ftp.$(OBJEXT) \
+ $(OUTPRE)getpass.$(OBJEXT) $(OUTPRE)glob.$(OBJEXT) \
+ $(OUTPRE)main.$(OBJEXT) $(OUTPRE)radix.$(OBJEXT) \
+- $(OUTPRE)ruserpass.$(OBJEXT) $(OUTPRE)secure.$(OBJEXT)
++ $(OUTPRE)rkuserpass.$(OBJEXT) $(OUTPRE)secure.$(OBJEXT)
+
+ LOCALINCLUDES = -I$(srcdir)/.. -I$(srcdir) @KRB4_INCLUDES@
+
+@@ -54,7 +54,7 @@
+ done
+
+ ftp.o cmds.o main.o: $(srcdir)/../arpa/ftp.h
+-ftp.o cmds.o cmdtab.o domacro.o main.o ruserpass.o: $(srcdir)/ftp_var.h
++ftp.o cmds.o cmdtab.o domacro.o main.o rkuserpass.o: $(srcdir)/ftp_var.h
+ secure.o: secure.h
+
+ cmds.o: $(srcdir)/cmds.c
+@@ -64,7 +64,7 @@
+ glob.o: $(srcdir)/glob.c
+ main.o: $(srcdir)/main.c
+ pclose.o: $(srcdir)/pclose.c
+-ruserpass.o: $(srcdir)/ruserpass.c
++rkuserpass.o: $(srcdir)/rkuserpass.c
+ domacro.o: $(srcdir)/domacro.c
+ radix.o: $(srcdir)/radix.c
+ secure.o: $(srcdir)/secure.c
+@@ -96,7 +96,7 @@
+ $(SRCTOP)/include/port-sockets.h $(srcdir)/../arpa/ftp.h \
+ ftp_var.h main.c
+ $(OUTPRE)radix.$(OBJEXT): ftp_var.h radix.c
+-$(OUTPRE)ruserpass.$(OBJEXT): ftp_var.h ruserpass.c
++$(OUTPRE)rkuserpass.$(OBJEXT): ftp_var.h rkuserpass.c
+ $(OUTPRE)secure.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
+ $(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssapi/gssapi_generic.h \
+ $(KRB_ERR_H_DEP) $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) \
+diff -urN src.old//appl/gssftp/ftp/rkuserpass.c src//appl/gssftp/ftp/rkuserpass.c
+--- src.old//appl/gssftp/ftp/rkuserpass.c 1970-01-01 01:00:00.000000000 +0100
++++ src//appl/gssftp/ftp/rkuserpass.c 2009-01-26 18:54:57.899256052 +0000
+@@ -0,0 +1,296 @@
++/*
++ * Copyright (c) 1985 Regents of the University of California.
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ * notice, this list of conditions and the following disclaimer in the
++ * documentation and/or other materials provided with the distribution.
++ * 3. All advertising materials mentioning features or use of this software
++ * must display the following acknowledgement:
++ * This product includes software developed by the University of
++ * California, Berkeley and its contributors.
++ * 4. Neither the name of the University nor the names of its contributors
++ * may be used to endorse or promote products derived from this software
++ * without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ */
++
++#ifndef lint
++static char sccsid[] = "@(#)rkuserpass.c 5.3 (Berkeley) 3/1/91";
++#endif /* not lint */
++
++#include <sys/types.h>
++#include <stdio.h>
++#include <string.h>
++#ifdef HAVE_STDLIB_H
++#include <stdlib.h>
++#endif
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++#include <ctype.h>
++#include <sys/stat.h>
++#include <errno.h>
++#include "ftp_var.h"
++
++#ifdef _WIN32
++#include <win-mac.h>
++#endif
++
++#ifndef MAXHOSTNAMELEN
++#define MAXHOSTNAMELEN 64
++#endif
++
++static int token (void);
++static FILE *cfile;
++
++#define DEFAULT 1
++#define LOGIN 2
++#define PASSWD 3
++#define ACCOUNT 4
++#define MACDEF 5
++#define ID 10
++#define MACH 11
++
++static char tokval[100];
++
++static struct toktab {
++ char *tokstr;
++ int tval;
++} toktab[]= {
++ { "default", DEFAULT },
++ { "login", LOGIN },
++ { "password", PASSWD },
++ { "passwd", PASSWD },
++ { "account", ACCOUNT },
++ { "machine", MACH },
++ { "macdef", MACDEF },
++ { NULL, 0 }
++};
++
++
++static int
++token()
++{
++ char *cp;
++ int c;
++ struct toktab *t;
++
++ if (feof(cfile))
++ return (0);
++ while ((c = getc(cfile)) != EOF &&
++ (c == '\n' || c == '\t' || c == ' ' || c == ','))
++ continue;
++ if (c == EOF)
++ return (0);
++ cp = tokval;
++ if (c == '"') {
++ while ((c = getc(cfile)) != EOF && c != '"') {
++ if (c == '\\')
++ c = getc(cfile);
++ *cp++ = c;
++ }
++ } else {
++ *cp++ = c;
++ while ((c = getc(cfile)) != EOF
++ && c != '\n' && c != '\t' && c != ' ' && c != ',') {
++ if (c == '\\')
++ c = getc(cfile);
++ *cp++ = c;
++ }
++ }
++ *cp = 0;
++ if (tokval[0] == 0)
++ return (0);
++ for (t = toktab; t->tokstr; t++)
++ if (!strcmp(t->tokstr, tokval))
++ return (t->tval);
++ return (ID);
++}
++
++int
++rkuserpass(host, aname, apass, aacct)
++ char *host, **aname, **apass, **aacct;
++{
++ char *hdir, buf[FTP_BUFSIZ], *tmp;
++ char myname[MAXHOSTNAMELEN + 1], *mydomain;
++ int t, i, c, usedefault = 0;
++ struct stat stb;
++
++ hdir = getenv("HOME");
++ if (hdir == NULL)
++ hdir = ".";
++ (void) sprintf(buf, "%s/.netrc", hdir);
++ cfile = fopen(buf, "r");
++ if (cfile == NULL) {
++ if (errno != ENOENT)
++ perror(buf);
++ return(0);
++ }
++ if (gethostname(myname, sizeof(myname)) < 0)
++ myname[0] = '\0';
++ if ((mydomain = strchr(myname, '.')) == NULL)
++ mydomain = "";
++next:
++ while ((t = token())) switch(t) {
++
++ case DEFAULT:
++ usedefault = 1;
++ /* FALL THROUGH */
++
++ case MACH:
++ if (!usedefault) {
++ if (token() != ID)
++ continue;
++ /*
++ * Allow match either for user's input host name
++ * or official hostname. Also allow match of
++ * incompletely-specified host in local domain.
++ */
++ if (strcasecmp(host, tokval) == 0)
++ goto match;
++ if (strcasecmp(hostname, tokval) == 0)
++ goto match;
++ if ((tmp = strchr(hostname, '.')) != NULL &&
++ strcasecmp(tmp, mydomain) == 0 &&
++ strncasecmp(hostname, tokval,
++ (unsigned) (tmp-hostname)) == 0 &&
++ tokval[tmp - hostname] == '\0')
++ goto match;
++ if ((tmp = strchr(host, '.')) != NULL &&
++ strcasecmp(tmp, mydomain) == 0 &&
++ strncasecmp(host, tokval,
++ (unsigned ) (tmp - host)) == 0 &&
++ tokval[tmp - host] == '\0')
++ goto match;
++ continue;
++ }
++ match:
++ while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
++
++ case LOGIN:
++ if (token()) {
++ if (*aname == 0) {
++ *aname = malloc((unsigned) strlen(tokval) + 1);
++ (void) strcpy(*aname, tokval);
++ } else {
++ if (strcmp(*aname, tokval))
++ goto next;
++ }
++ }
++ break;
++ case PASSWD:
++ if (strcmp(*aname, "anonymous") &&
++ fstat(fileno(cfile), &stb) >= 0 &&
++ (stb.st_mode & 077) != 0) {
++ fprintf(stderr, "Error - .netrc file not correct mode.\n");
++ fprintf(stderr, "Remove password or correct mode.\n");
++ goto bad;
++ }
++ if (token() && *apass == 0) {
++ *apass = malloc((unsigned) strlen(tokval) + 1);
++ (void) strcpy(*apass, tokval);
++ }
++ break;
++ case ACCOUNT:
++ if (fstat(fileno(cfile), &stb) >= 0
++ && (stb.st_mode & 077) != 0) {
++ fprintf(stderr, "Error - .netrc file not correct mode.\n");
++ fprintf(stderr, "Remove account or correct mode.\n");
++ goto bad;
++ }
++ if (token() && *aacct == 0) {
++ *aacct = malloc((unsigned) strlen(tokval) + 1);
++ (void) strcpy(*aacct, tokval);
++ }
++ break;
++ case MACDEF:
++ if (proxy) {
++ (void) fclose(cfile);
++ return(0);
++ }
++ while ((c = getc(cfile)) != EOF)
++ if (c != ' ' && c != '\t')
++ break;
++ if (c == EOF || c == '\n') {
++ printf("Missing macdef name argument.\n");
++ goto bad;
++ }
++ if (macnum == 16) {
++ printf("Limit of 16 macros have already been defined\n");
++ goto bad;
++ }
++ tmp = macros[macnum].mac_name;
++ *tmp++ = c;
++ for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
++ !isspace(c); ++i) {
++ *tmp++ = c;
++ }
++ if (c == EOF) {
++ printf("Macro definition missing null line terminator.\n");
++ goto bad;
++ }
++ *tmp = '\0';
++ if (c != '\n') {
++ while ((c=getc(cfile)) != EOF && c != '\n');
++ }
++ if (c == EOF) {
++ printf("Macro definition missing null line terminator.\n");
++ goto bad;
++ }
++ if (macnum == 0) {
++ macros[macnum].mac_start = macbuf;
++ }
++ else {
++ macros[macnum].mac_start = macros[macnum-1].mac_end + 1;
++ }
++ tmp = macros[macnum].mac_start;
++ while (tmp != macbuf + 4096) {
++ if ((c=getc(cfile)) == EOF) {
++ printf("Macro definition missing null line terminator.\n");
++ goto bad;
++ }
++ *tmp = c;
++ if (*tmp == '\n') {
++ if (*(tmp-1) == '\0') {
++ macros[macnum++].mac_end = tmp - 1;
++ break;
++ }
++ *tmp = '\0';
++ }
++ tmp++;
++ }
++ if (tmp == macbuf + 4096) {
++ printf("4K macro buffer exceeded\n");
++ goto bad;
++ }
++ break;
++ default:
++ fprintf(stderr, "Unknown .netrc keyword %s\n", tokval);
++ break;
++ }
++ goto done;
++ }
++done:
++ (void) fclose(cfile);
++ return(0);
++bad:
++ (void) fclose(cfile);
++ return(-1);
++}
+diff -urN src.old//appl/gssftp/ftp/ruserpass.c src//appl/gssftp/ftp/ruserpass.c
+--- src.old//appl/gssftp/ftp/ruserpass.c 2001-10-10 04:18:22.000000000 +0100
++++ src//appl/gssftp/ftp/ruserpass.c 1970-01-01 01:00:00.000000000 +0100
+@@ -1,296 +0,0 @@
+-/*
+- * Copyright (c) 1985 Regents of the University of California.
+- * All rights reserved.
+- *
+- * Redistribution and use in source and binary forms, with or without
+- * modification, are permitted provided that the following conditions
+- * are met:
+- * 1. Redistributions of source code must retain the above copyright
+- * notice, this list of conditions and the following disclaimer.
+- * 2. Redistributions in binary form must reproduce the above copyright
+- * notice, this list of conditions and the following disclaimer in the
+- * documentation and/or other materials provided with the distribution.
+- * 3. All advertising materials mentioning features or use of this software
+- * must display the following acknowledgement:
+- * This product includes software developed by the University of
+- * California, Berkeley and its contributors.
+- * 4. Neither the name of the University nor the names of its contributors
+- * may be used to endorse or promote products derived from this software
+- * without specific prior written permission.
+- *
+- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+- * SUCH DAMAGE.
+- */
+-
+-#ifndef lint
+-static char sccsid[] = "@(#)ruserpass.c 5.3 (Berkeley) 3/1/91";
+-#endif /* not lint */
+-
+-#include <sys/types.h>
+-#include <stdio.h>
+-#include <string.h>
+-#ifdef HAVE_STDLIB_H
+-#include <stdlib.h>
+-#endif
+-#ifdef HAVE_UNISTD_H
+-#include <unistd.h>
+-#endif
+-#include <ctype.h>
+-#include <sys/stat.h>
+-#include <errno.h>
+-#include "ftp_var.h"
+-
+-#ifdef _WIN32
+-#include <win-mac.h>
+-#endif
+-
+-#ifndef MAXHOSTNAMELEN
+-#define MAXHOSTNAMELEN 64
+-#endif
+-
+-static int token (void);
+-static FILE *cfile;
+-
+-#define DEFAULT 1
+-#define LOGIN 2
+-#define PASSWD 3
+-#define ACCOUNT 4
+-#define MACDEF 5
+-#define ID 10
+-#define MACH 11
+-
+-static char tokval[100];
+-
+-static struct toktab {
+- char *tokstr;
+- int tval;
+-} toktab[]= {
+- { "default", DEFAULT },
+- { "login", LOGIN },
+- { "password", PASSWD },
+- { "passwd", PASSWD },
+- { "account", ACCOUNT },
+- { "machine", MACH },
+- { "macdef", MACDEF },
+- { NULL, 0 }
+-};
+-
+-
+-static int
+-token()
+-{
+- char *cp;
+- int c;
+- struct toktab *t;
+-
+- if (feof(cfile))
+- return (0);
+- while ((c = getc(cfile)) != EOF &&
+- (c == '\n' || c == '\t' || c == ' ' || c == ','))
+- continue;
+- if (c == EOF)
+- return (0);
+- cp = tokval;
+- if (c == '"') {
+- while ((c = getc(cfile)) != EOF && c != '"') {
+- if (c == '\\')
+- c = getc(cfile);
+- *cp++ = c;
+- }
+- } else {
+- *cp++ = c;
+- while ((c = getc(cfile)) != EOF
+- && c != '\n' && c != '\t' && c != ' ' && c != ',') {
+- if (c == '\\')
+- c = getc(cfile);
+- *cp++ = c;
+- }
+- }
+- *cp = 0;
+- if (tokval[0] == 0)
+- return (0);
+- for (t = toktab; t->tokstr; t++)
+- if (!strcmp(t->tokstr, tokval))
+- return (t->tval);
+- return (ID);
+-}
+-
+-int
+-ruserpass(host, aname, apass, aacct)
+- char *host, **aname, **apass, **aacct;
+-{
+- char *hdir, buf[FTP_BUFSIZ], *tmp;
+- char myname[MAXHOSTNAMELEN + 1], *mydomain;
+- int t, i, c, usedefault = 0;
+- struct stat stb;
+-
+- hdir = getenv("HOME");
+- if (hdir == NULL)
+- hdir = ".";
+- (void) sprintf(buf, "%s/.netrc", hdir);
+- cfile = fopen(buf, "r");
+- if (cfile == NULL) {
+- if (errno != ENOENT)
+- perror(buf);
+- return(0);
+- }
+- if (gethostname(myname, sizeof(myname)) < 0)
+- myname[0] = '\0';
+- if ((mydomain = strchr(myname, '.')) == NULL)
+- mydomain = "";
+-next:
+- while ((t = token())) switch(t) {
+-
+- case DEFAULT:
+- usedefault = 1;
+- /* FALL THROUGH */
+-
+- case MACH:
+- if (!usedefault) {
+- if (token() != ID)
+- continue;
+- /*
+- * Allow match either for user's input host name
+- * or official hostname. Also allow match of
+- * incompletely-specified host in local domain.
+- */
+- if (strcasecmp(host, tokval) == 0)
+- goto match;
+- if (strcasecmp(hostname, tokval) == 0)
+- goto match;
+- if ((tmp = strchr(hostname, '.')) != NULL &&
+- strcasecmp(tmp, mydomain) == 0 &&
+- strncasecmp(hostname, tokval,
+- (unsigned) (tmp-hostname)) == 0 &&
+- tokval[tmp - hostname] == '\0')
+- goto match;
+- if ((tmp = strchr(host, '.')) != NULL &&
+- strcasecmp(tmp, mydomain) == 0 &&
+- strncasecmp(host, tokval,
+- (unsigned ) (tmp - host)) == 0 &&
+- tokval[tmp - host] == '\0')
+- goto match;
+- continue;
+- }
+- match:
+- while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
+-
+- case LOGIN:
+- if (token()) {
+- if (*aname == 0) {
+- *aname = malloc((unsigned) strlen(tokval) + 1);
+- (void) strcpy(*aname, tokval);
+- } else {
+- if (strcmp(*aname, tokval))
+- goto next;
+- }
+- }
+- break;
+- case PASSWD:
+- if (strcmp(*aname, "anonymous") &&
+- fstat(fileno(cfile), &stb) >= 0 &&
+- (stb.st_mode & 077) != 0) {
+- fprintf(stderr, "Error - .netrc file not correct mode.\n");
+- fprintf(stderr, "Remove password or correct mode.\n");
+- goto bad;
+- }
+- if (token() && *apass == 0) {
+- *apass = malloc((unsigned) strlen(tokval) + 1);
+- (void) strcpy(*apass, tokval);
+- }
+- break;
+- case ACCOUNT:
+- if (fstat(fileno(cfile), &stb) >= 0
+- && (stb.st_mode & 077) != 0) {
+- fprintf(stderr, "Error - .netrc file not correct mode.\n");
+- fprintf(stderr, "Remove account or correct mode.\n");
+- goto bad;
+- }
+- if (token() && *aacct == 0) {
+- *aacct = malloc((unsigned) strlen(tokval) + 1);
+- (void) strcpy(*aacct, tokval);
+- }
+- break;
+- case MACDEF:
+- if (proxy) {
+- (void) fclose(cfile);
+- return(0);
+- }
+- while ((c = getc(cfile)) != EOF)
+- if (c != ' ' && c != '\t')
+- break;
+- if (c == EOF || c == '\n') {
+- printf("Missing macdef name argument.\n");
+- goto bad;
+- }
+- if (macnum == 16) {
+- printf("Limit of 16 macros have already been defined\n");
+- goto bad;
+- }
+- tmp = macros[macnum].mac_name;
+- *tmp++ = c;
+- for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
+- !isspace(c); ++i) {
+- *tmp++ = c;
+- }
+- if (c == EOF) {
+- printf("Macro definition missing null line terminator.\n");
+- goto bad;
+- }
+- *tmp = '\0';
+- if (c != '\n') {
+- while ((c=getc(cfile)) != EOF && c != '\n');
+- }
+- if (c == EOF) {
+- printf("Macro definition missing null line terminator.\n");
+- goto bad;
+- }
+- if (macnum == 0) {
+- macros[macnum].mac_start = macbuf;
+- }
+- else {
+- macros[macnum].mac_start = macros[macnum-1].mac_end + 1;
+- }
+- tmp = macros[macnum].mac_start;
+- while (tmp != macbuf + 4096) {
+- if ((c=getc(cfile)) == EOF) {
+- printf("Macro definition missing null line terminator.\n");
+- goto bad;
+- }
+- *tmp = c;
+- if (*tmp == '\n') {
+- if (*(tmp-1) == '\0') {
+- macros[macnum++].mac_end = tmp - 1;
+- break;
+- }
+- *tmp = '\0';
+- }
+- tmp++;
+- }
+- if (tmp == macbuf + 4096) {
+- printf("4K macro buffer exceeded\n");
+- goto bad;
+- }
+- break;
+- default:
+- fprintf(stderr, "Unknown .netrc keyword %s\n", tokval);
+- break;
+- }
+- goto done;
+- }
+-done:
+- (void) fclose(cfile);
+- return(0);
+-bad:
+- (void) fclose(cfile);
+- return(-1);
+-}
diff --git a/packages/krb/krb5_1.6.3.bb b/packages/krb/krb5_1.6.3.bb
new file mode 100644
index 0000000000..b13e5f15b1
--- /dev/null
+++ b/packages/krb/krb5_1.6.3.bb
@@ -0,0 +1,95 @@
+DESCRIPTION = "A network authentication protocol"
+HOMEPAGE = "http://web.mit.edu/Kerberos/"
+SECTION = "console/network"
+PR = "r4"
+LICENSE = "MIT"
+DEPENDS = "perl-native ncurses e2fsprogs-libs"
+
+inherit autotools binconfig
+
+SRC_URI = "http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.3-signed.tar \
+ file://fix-uclibc-ruserpass-collision.patch"
+S = "${WORKDIR}/${PN}-${PV}/src/"
+
+# Will clean this up...
+EXTRA_OECONF += " krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes \
+ ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \
+ ac_cv_file__etc_TIMEZONE=no --with-system-et"
+CFLAGS_append += "-DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et"
+LDFLAGS_append += "-lpthread"
+
+FILES_${PN}-doc += /usr/share/examples
+
+do_configure() {
+ tar xzf ${WORKDIR}/krb5-1.6.3.tar.gz -C ${WORKDIR}/
+ patch -p1 < ${WORKDIR}/fix-uclibc-ruserpass-collision.patch
+ oe_runconf
+}
+
+do_install_append () {
+ mv ${D}${bindir}/ftp ${D}${bindir}/ftp.${PN}
+ mv ${D}${sbindir}/ftpd ${D}${sbindir}/ftpd.${PN}
+ mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN}
+ mv ${D}${sbindir}/telnetd ${D}${sbindir}/telnetd.${PN}
+}
+
+pkg_postinst_${PN} () {
+#!/bin/sh
+ update-alternatives --install ${bindir}/ftp ftp ftp.${PN} 100
+ update-alternatives --install ${sbindir}/ftpd ftpd ftpd.${PN} 100
+ update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
+ update-alternatives --install ${sbindir}/telnetd telnetd telnetd.${PN} 100
+}
+
+pkg_prerm_${PN} () {
+#!/bin/sh
+ update-alternatives --remove ftp ftp.${PN} 100
+ update-alternatives --remove ftpd ftpd.${PN} 100
+ update-alternatives --remove telnet telnet.${PN} 100
+ update-alternatives --remove telnetd telnetd.${PN} 100
+}
+
+do_stage() {
+ oe_libinstall -so -C util/support libkrb5support ${STAGING_LIBDIR}
+ oe_libinstall -so -C util/et libcom_err ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/crypto libk5crypto ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/krb5 libkrb5 ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/des425 libdes425 ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/krb4 libkrb4 ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/gssapi libgssapi_krb5 ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/rpc libgssrpc ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/kdb libkdb5 ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/kadm5/clnt libkadm5clnt ${STAGING_LIBDIR}
+ oe_libinstall -so -C lib/kadm5/srv libkadm5srv ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}/krb5
+ for X in krb5.h locate_plugin.h
+ do
+ install -m 0644 ${S}/include/krb5/$X ${STAGING_INCDIR}/krb5/$X
+ done
+
+ install -d ${STAGING_INCDIR}/gssapi
+ for X in gssapi_generic.h gssapi.h gssapi_krb5.h
+ do
+ install -m 0644 ${S}/include/gssapi/$X ${STAGING_INCDIR}/gssapi/$X
+ done
+ install -m 0644 ${S}/lib/gssapi/mechglue/mechglue.h ${STAGING_INCDIR}/gssapi/mechglue.h
+
+ install -d ${STAGING_INCDIR}/kerberosIV
+ for X in krb.h des.h mit-copyright.h krb_err.h kadm_err.h
+ do
+ install -m 0644 ${S}/include/kerberosIV/$X ${STAGING_INCDIR}/kerberosIV/$X
+ done
+
+ install -d ${STAGING_INCDIR}/gssrpc
+ for X in auth.h auth_gss.h auth_gssapi.h auth_unix.h clnt.h netdb.h pmap_clnt.h pmap_prot.h pmap_rmt.h rename.h rpc.h rpc_msg.h svc.h svc_auth.h xdr.h types.h
+ do
+ install -m 0644 ${S}/include/gssrpc/$X ${STAGING_INCDIR}/gssrpc/$X
+ done
+
+ # com_err.h needs to be added here if you choose to use this builtin
+ for X in krb5.h profile.h gssapi.h
+ do
+ install -m 0644 ${S}/include/$X ${STAGING_INCDIR}/$X
+ done
+}
diff --git a/packages/libwiimote/libwiimote_0.4.bb b/packages/libwiimote/libwiimote_0.4.bb
index 8bb76192f0..ea794940dd 100644
--- a/packages/libwiimote/libwiimote_0.4.bb
+++ b/packages/libwiimote/libwiimote_0.4.bb
@@ -1,7 +1,8 @@
DESCRIPTION = "wiimote access library"
LICENSE = "GPLv2"
+HOMEPAGE = "http://sourceforge.net/projects/libwiimote/"
-PR = "r0"
+PR = "r1"
inherit autotools
diff --git a/packages/python/python-coherence_0.6.0.bb b/packages/python/python-coherence_0.6.0.bb
new file mode 100644
index 0000000000..f22d1039c2
--- /dev/null
+++ b/packages/python/python-coherence_0.6.0.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Coherence is a DLNA/UPnP mediaserver + backends"
+SECTION = "python/devel"
+LICENSE = "MIT"
+HOMEPAGE = "http://coherence.beebits.net/wiki"
+PR = "r0"
+
+inherit setuptools
+
+SRC_URI = "http://coherence.beebits.net/download/Coherence-${PV}.tar.gz"
+S = "${WORKDIR}/Coherence-${PV}"
+
+FILES_${PN} += "${datadir}"
+
diff --git a/packages/samba/files/smb.conf b/packages/samba/files/smb.conf
new file mode 100644
index 0000000000..3854621c3e
--- /dev/null
+++ b/packages/samba/files/smb.conf
@@ -0,0 +1,266 @@
+# This is the main Samba configuration file. You should read the
+# smb.conf(5) manual page in order to understand the options listed
+# here. Samba has a huge number of configurable options (perhaps too
+# many!) most of which are not shown in this example
+#
+# For a step to step guide on installing, configuring and using samba,
+# read the Samba-HOWTO-Collection. This may be obtained from:
+# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
+#
+# Many working examples of smb.conf files can be found in the
+# Samba-Guide which is generated daily and can be downloaded from:
+# http://www.samba.org/samba/docs/Samba-Guide.pdf
+#
+# Any line which starts with a ; (semi-colon) or a # (hash)
+# is a comment and is ignored. In this example we will use a #
+# for commentry and a ; for parts of the config file that you
+# may wish to enable
+#
+# NOTE: Whenever you modify this file you should run the command "testparm"
+# to check that you have not made any basic syntactic errors.
+#
+#======================= Global Settings =====================================
+[global]
+
+# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
+ workgroup = MYGROUP
+
+# server string is the equivalent of the NT Description field
+ server string = Samba Server
+
+# Security mode. Defines in which mode Samba will operate. Possible
+# values are share, user, server, domain and ads. Most people will want
+# user level security. See the Samba-HOWTO-Collection for details.
+ security = user
+
+# This option is important for security. It allows you to restrict
+# connections to machines which are on your local network. The
+# following example restricts access to two C class networks and
+# the "loopback" interface. For more examples of the syntax see
+# the smb.conf man page
+; hosts allow = 192.168.1. 192.168.2. 127.
+
+# If you want to automatically load your printer list rather
+# than setting them up individually then you'll need this
+ load printers = yes
+
+# you may wish to override the location of the printcap file
+; printcap name = /etc/printcap
+
+# on SystemV system setting printcap name to lpstat should allow
+# you to automatically obtain a printer list from the SystemV spool
+# system
+; printcap name = lpstat
+
+# It should not be necessary to specify the print system type unless
+# it is non-standard. Currently supported print systems include:
+# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
+; printing = cups
+
+# Uncomment this if you want a guest account, you must add this to /etc/passwd
+# otherwise the user "nobody" is used
+; guest account = pcguest
+
+# this tells Samba to use a separate log file for each machine
+# that connects
+ log file = /var/log/samba/log.%m
+
+# Put a capping on the size of the log files (in Kb).
+ max log size = 50
+
+# Use password server option only with security = server
+# The argument list may include:
+# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
+# or to auto-locate the domain controller/s
+# password server = *
+; password server = <NT-Server-Name>
+
+# Use the realm option only with security = ads
+# Specifies the Active Directory realm the host is part of
+; realm = MY_REALM
+
+# Backend to store user information in. New installations should
+# use either tdbsam or ldapsam. smbpasswd is available for backwards
+# compatibility. tdbsam requires no further configuration.
+; passdb backend = tdbsam
+
+# Using the following line enables you to customise your configuration
+# on a per machine basis. The %m gets replaced with the netbios name
+# of the machine that is connecting.
+# Note: Consider carefully the location in the configuration file of
+# this line. The included file is read at that point.
+; include = /usr/local/samba/lib/smb.conf.%m
+
+# Configure Samba to use multiple interfaces
+# If you have multiple network interfaces then you must list them
+# here. See the man page for details.
+; interfaces = 192.168.12.2/24 192.168.13.2/24
+
+# Browser Control Options:
+# set local master to no if you don't want Samba to become a master
+# browser on your network. Otherwise the normal election rules apply
+; local master = no
+
+# OS Level determines the precedence of this server in master browser
+# elections. The default value should be reasonable
+; os level = 33
+
+# Domain Master specifies Samba to be the Domain Master Browser. This
+# allows Samba to collate browse lists between subnets. Don't use this
+# if you already have a Windows NT domain controller doing this job
+; domain master = yes
+
+# Preferred Master causes Samba to force a local browser election on startup
+# and gives it a slightly higher chance of winning the election
+; preferred master = yes
+
+# Enable this if you want Samba to be a domain logon server for
+# Windows95 workstations.
+; domain logons = yes
+
+# if you enable domain logons then you may want a per-machine or
+# per user logon script
+# run a specific logon batch file per workstation (machine)
+; logon script = %m.bat
+# run a specific logon batch file per username
+; logon script = %U.bat
+
+# Where to store roving profiles (only for Win95 and WinNT)
+# %L substitutes for this servers netbios name, %U is username
+# You must uncomment the [Profiles] share below
+; logon path = \\%L\Profiles\%U
+
+# Windows Internet Name Serving Support Section:
+# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
+; wins support = yes
+
+# WINS Server - Tells the NMBD components of Samba to be a WINS Client
+# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
+; wins server = w.x.y.z
+
+# WINS Proxy - Tells Samba to answer name resolution queries on
+# behalf of a non WINS capable client, for this to work there must be
+# at least one WINS Server on the network. The default is NO.
+; wins proxy = yes
+
+# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
+# via DNS nslookups. The default is NO.
+ dns proxy = no
+
+# These scripts are used on a domain controller or stand-alone
+# machine to add or delete corresponding unix accounts
+; add user script = /usr/sbin/useradd %u
+; add group script = /usr/sbin/groupadd %g
+; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
+; delete user script = /usr/sbin/userdel %u
+; delete user from group script = /usr/sbin/deluser %u %g
+; delete group script = /usr/sbin/groupdel %g
+
+
+#============================ Share Definitions ==============================
+[homes]
+ comment = Home Directories
+ browseable = no
+ writable = yes
+
+# Un-comment the following and create the netlogon directory for Domain Logons
+; [netlogon]
+; comment = Network Logon Service
+; path = /usr/local/samba/lib/netlogon
+; guest ok = yes
+; writable = no
+; share modes = no
+
+
+# Un-comment the following to provide a specific roving profile share
+# the default is to use the user's home directory
+;[Profiles]
+; path = /usr/local/samba/profiles
+; browseable = no
+; guest ok = yes
+
+
+# NOTE: If you have a BSD-style print system there is no need to
+# specifically define each individual printer
+[printers]
+ comment = All Printers
+ path = /var/spool/samba
+ browseable = no
+# Set public = yes to allow user 'guest account' to print
+ guest ok = no
+ writable = no
+ printable = yes
+
+# This one is useful for people to share files
+;[tmp]
+; comment = Temporary file space
+; path = /tmp
+; read only = no
+; public = yes
+
+# A publicly accessible directory, but read only, except for people in
+# the "staff" group
+;[public]
+; comment = Public Stuff
+; path = /home/samba
+; public = yes
+; writable = yes
+; printable = no
+; write list = @staff
+
+# Other examples.
+#
+# A private printer, usable only by fred. Spool data will be placed in fred's
+# home directory. Note that fred must have write access to the spool directory,
+# wherever it is.
+;[fredsprn]
+; comment = Fred's Printer
+; valid users = fred
+; path = /homes/fred
+; printer = freds_printer
+; public = no
+# A private directory, usable only by fred. Note that fred requires write
+# access to the directory.
+;[fredsdir]
+; comment = Fred's Service
+; path = /usr/somewhere/private
+; valid users = fred
+; public = no
+; writable = yes
+; printable = no
+
+# a service which has a different directory for each machine that connects
+# this allows you to tailor configurations to incoming machines. You could
+# also use the %U option to tailor it by user name.
+# The %m gets replaced with the machine name that is connecting.
+;[pchome]
+; comment = PC Directories
+; path = /usr/pc/%m
+; public = no
+; writable = yes
+
+# A publicly accessible directory, read/write to all users. Note that all files
+# created in the directory by users will be owned by the default user, so
+# any user with access can delete any other user's files. Obviously this
+# directory must be writable by the default user. Another user could of course
+# be specified, in which case all files would be owned by that user instead.
+;[public]
+; path = /usr/somewhere/else/public
+; public = yes
+; only guest = yes
+; writable = yes
+; printable = no
+
+# The following two entries demonstrate how to share a directory so that two
+# users can place files there that will be owned by the specific users. In this
+# setup, the directory should be writable by both users and should have the
+# sticky bit set on it to prevent abuse. Obviously this could be extended to
+# as many users as required.
+;[myshare]
+; comment = Mary's and Fred's stuff
+; path = /usr/somewhere/shared
+; valid users = mary fred
+; public = no
+; writable = yes
+; printable = no
+; create mask = 0765
diff --git a/packages/samba/samba-3.0.34/uclibc-strlcpy-strlcat.patch b/packages/samba/samba-3.0.34/uclibc-strlcpy-strlcat.patch
new file mode 100644
index 0000000000..b10a1b1084
--- /dev/null
+++ b/packages/samba/samba-3.0.34/uclibc-strlcpy-strlcat.patch
@@ -0,0 +1,46 @@
+diff --git source.old/client/mount.cifs.c source/client/mount.cifs.c
+index 3b56e5f..b7a76c6 100644
+--- source.old/client/mount.cifs.c
++++ source/client/mount.cifs.c
+@@ -56,6 +56,10 @@
+ #endif /* _SAMBA_BUILD_ */
+ #endif /* MOUNT_CIFS_VENDOR_SUFFIX */
+
++#ifdef _SAMBA_BUILD_
++#include "include/config.h"
++#endif
++
+ #ifndef MS_MOVE
+ #define MS_MOVE 8192
+ #endif
+@@ -94,6 +98,8 @@ char * prefixpath = NULL;
+
+ /* like strncpy but does not 0 fill the buffer and always null
+ * terminates. bufsize is the size of the destination buffer */
++
++#ifndef HAVE_STRLCPY
+ static size_t strlcpy(char *d, const char *s, size_t bufsize)
+ {
+ size_t len = strlen(s);
+@@ -104,10 +110,13 @@ static size_t strlcpy(char *d, const char *s, size_t bufsize)
+ d[len] = 0;
+ return ret;
+ }
++#endif
+
+ /* like strncat but does not 0 fill the buffer and always null
+ * terminates. bufsize is the length of the buffer, which should
+ * be one more than the maximum resulting string length */
++
++#ifndef HAVE_STRLCAT
+ static size_t strlcat(char *d, const char *s, size_t bufsize)
+ {
+ size_t len1 = strlen(d);
+@@ -126,6 +135,7 @@ static size_t strlcat(char *d, const char *s, size_t bufsize)
+ }
+ return ret;
+ }
++#endif
+
+ /* BB finish BB
+
diff --git a/packages/samba/samba.inc b/packages/samba/samba.inc
index be8c2e26e8..85ac612de6 100644
--- a/packages/samba/samba.inc
+++ b/packages/samba/samba.inc
@@ -3,23 +3,53 @@ LICENSE = "GPL"
DEPENDS = "readline virtual/libiconv"
SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
- file://configure.patch;patch=1"
+ file://configure.patch;patch=1 \
+ file://config-lfs.patch;patch=1 \
+ file://quota.patch;patch=1;pnum=0 \
+ file://smb.conf \
+ file://init"
S = "${WORKDIR}/samba-${PV}/source"
-inherit autotools
+inherit autotools update-rc.d
-EXTRA_OECONF='--disable-cups --with-readline=${STAGING_LIBDIR}/.. \
+# The file system settings --foodir=dirfoo and overridden unconditionally
+# in the samba config by --with-foodir=dirfoo - even if the --with is not
+# specified! Fix that here. Set the privatedir to /etc/samba/private.
+EXTRA_OECONF='--disable-cups \
+ --with-readline=${STAGING_LIBDIR}/.. \
--with-libiconv=${STAGING_LIBDIR}/.. \
- --without-ads --without-automount --with-smbmount'
+ --without-automount \
+ --with-smbmount \
+ --with-configdir=${sysconfdir}/samba \
+ --with-privatedir=${sysconfdir}/samba/private \
+ --with-lockdir=${localstatedir}/lock \
+ --with-piddir=${localstatedir}/run \
+ --with-logfilebase=${localstatedir}/log \
+ --with-libdir=${libdir} \
+ --with-mandir=${mandir} \
+ --with-swatdir=${datadir}/swat \
+ samba_cv_struct_timespec=yes'
-PACKAGES =+ "libsmbclient libsmbclient-dev cifs cifs-doc smbfs smbfs-doc"
-FILES_smbfs = "${bindir}/smbmount ${bindir}/smbumount ${bindir}/smbmnt ${base_sbindir}/mount.smbfs ${base_sbindir}/mount.smb"
-FILES_smbfs-doc = "${mandir}/man8/smbmount.8 ${mandir}/man8/smbumount.8 ${mandir}/man8/smbmnt.8"
+INITSCRIPT_NAME = "samba"
+# No dependencies, goes in at level 20 (NOTE: take care with the
+# level, later levels put the shutdown later too - see the links
+# in rc6.d, the shutdown must precede network shutdown).
+INITSCRIPT_PARAMS = "defaults"
+CONFFILES_${PN} = "${sysconfdir}/samba/smb.conf"
+
+PACKAGES =+ "libsmbclient libsmbclient-dev cifs cifs-doc smbfs smbfs-doc swat"
FILES_cifs = "${base_sbindir}/mount.cifs ${base_sbindir}/umount.cifs"
FILES_cifs-doc = "${mandir}/man8/mount.cifs.8 ${mandir}/man8/umount.cifs.8"
FILES_libsmbclient = "${libdir}/libsmbclient.so.*"
FILES_libsmbclient-dev = "${libdir}/libsmbclient.so ${includedir}"
+FILES_smbfs = "${bindir}/smbmount ${bindir}/smbumount ${bindir}/smbmnt ${base_sbindir}/mount.smbfs ${base_sbindir}/mount.smb"
+FILES_smbfs-doc = "${mandir}/man8/smbmount.8 ${mandir}/man8/smbumount.8 ${mandir}/man8/smbmnt.8"
+FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"
+FILES_${PN} += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat \
+ ${libdir}/auth/*.so ${libdir}/security/*.so"
+FILES_${PN}-dbg += "${libdir}/vfs/.debug/*.so ${libdir}/charset/.debug/*.so \
+ ${libdir}/auth/.debug/*.so ${libdir}/security/.debug/*.so"
do_configure_prepend () {
./script/mkversion.sh
@@ -45,6 +75,13 @@ do_install_append() {
rm -f ${D}${sbindir}/*.old
[ -f ${D}${sbindir}/mount.cifs ] && mv ${D}${sbindir}/mount.cifs ${D}${base_sbindir}/
[ -f ${D}${sbindir}/umount.cifs ] && mv ${D}${sbindir}/umount.cifs ${D}${base_sbindir}/
+
+ install -d "${D}/var/log/samba"
+ install -d "${D}${sysconfdir}/init.d"
+ install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/samba
+ install -d "${D}${sysconfdir}/samba"
+ install -c -m 644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf
+ install -d ${D}/var/spool/samba
}
do_stage() {
diff --git a/packages/samba/samba_3.0.23c.bb b/packages/samba/samba_3.0.23c.bb
index 0051c5e00a..3a2cfd30aa 100644
--- a/packages/samba/samba_3.0.23c.bb
+++ b/packages/samba/samba_3.0.23c.bb
@@ -1,35 +1,13 @@
require samba.inc
-inherit update-rc.d
PR = "r4"
-SRC_URI += "file://config-lfs.patch;patch=1 \
- file://init \
- file://quota.patch;patch=1;pnum=0 \
- file://cifs.patch;patch=1 \
- "
+SRC_URI += "file://cifs.patch;patch=1 \
+ "
-INITSCRIPT_NAME = "samba"
-# No dependencies, goes in at level 20 (NOTE: take care with the
-# level, later levels put the shutdown later too - see the links
-# in rc6.d, the shutdown must precede network shutdown).
-INITSCRIPT_PARAMS = "defaults"
-CONFFILES_${PN} = "${sysconfdir}/samba/smb.conf"
-
-# The file system settings --foodir=dirfoo and overridden unconditionally
-# in the samba config by --with-foodir=dirfoo - even if the --with is not
-# specified! Fix that here. Set the privatedir to /etc/samba/private.
EXTRA_OECONF += "\
- samba_cv_struct_timespec=yes \
- --with-configdir=${sysconfdir}/samba \
- --with-privatedir=${sysconfdir}/samba/private \
- --with-lockdir=${localstatedir}/lock \
- --with-piddir=${localstatedir}/run \
- --with-logfilebase=${localstatedir}/log \
- --with-libdir=${libdir} \
- --with-mandir=${mandir} \
- --with-swatdir=${datadir}/swat \
- "
+ --without-ads \
+ "
do_compile () {
oe_runmake proto_exists
@@ -37,23 +15,7 @@ do_compile () {
${CC} client/mount.cifs.c -o mount.cifs
}
-do_install_append() {
- install -d "${D}${localstatedir}/log"
- install -d "${D}${sysconfdir}/init.d"
- install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/samba
- install -d "${D}${sysconfdir}/samba"
- install -c -m 644 ../examples/smb.conf.default ${D}${sysconfdir}/samba/smb.conf
-}
-
do_stage() {
install -m 0644 include/libsmbclient.h ${STAGING_INCDIR}
oe_libinstall -C bin -a -so libsmbclient ${STAGING_LIBDIR}
}
-
-PACKAGES =+ "swat"
-
-FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"
-FILES_${PN} += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat ${libdir}/auth/*.so"
-#
-# bug fix for samba.inc:
-FILES_cifs-doc += "${mandir}/man8/mount.cifs.8"
diff --git a/packages/samba/samba_3.0.34.bb b/packages/samba/samba_3.0.34.bb
index 13107fee69..ecd11badcc 100644
--- a/packages/samba/samba_3.0.34.bb
+++ b/packages/samba/samba_3.0.34.bb
@@ -1,61 +1,18 @@
require samba.inc
-inherit update-rc.d
-PR = "r1"
+PR = "r2"
-SRC_URI += "file://config-lfs.patch;patch=1 \
- file://quota.patch;patch=1;pnum=0 \
- file://init \
- file://smb.conf \
- "
+SRC_URI_append_linux-uclibc = " \
+ file://uclibc-strlcpy-strlcat.patch;patch=1"
+SRC_URI_append_linux-uclibcgnueabi = " \
+ file://uclibc-strlcpy-strlcat.patch;patch=1"
-# file://cifs.patch;patch=1 \
-
-INITSCRIPT_NAME = "samba"
-# No dependencies, goes in at level 20 (NOTE: take care with the
-# level, later levels put the shutdown later too - see the links
-# in rc6.d, the shutdown must precede network shutdown).
-INITSCRIPT_PARAMS = "defaults"
-CONFFILES_${PN} = "${sysconfdir}/samba/smb.conf"
-
-# The file system settings --foodir=dirfoo and overridden unconditionally
-# in the samba config by --with-foodir=dirfoo - even if the --with is not
-# specified! Fix that here. Set the privatedir to /etc/samba/private.
EXTRA_OECONF += "\
+ --without-ads \
SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
- samba_cv_struct_timespec=yes \
- --with-configdir=${sysconfdir}/samba \
- --with-privatedir=${sysconfdir}/samba/private \
- --with-lockdir=${localstatedir}/lock \
- --with-piddir=${localstatedir}/run \
- --with-logfilebase=${localstatedir}/log \
- --with-libdir=${libdir} \
- --with-mandir=${mandir} \
- --with-swatdir=${datadir}/swat \
"
-do_install_append() {
- install -d "${D}/var/log/samba"
- install -d "${D}${sysconfdir}/init.d"
- install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/samba
- install -d "${D}${sysconfdir}/samba"
- install -c -m 644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf
- install -d ${D}/var/spool/samba
-}
-
do_stage() {
install -m 0644 include/libsmbclient.h ${STAGING_INCDIR}
oe_libinstall -C bin -a -so libsmbclient ${STAGING_LIBDIR}
}
-
-PACKAGES =+ "swat"
-
-FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"
-FILES_${PN} += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat \
- ${libdir}/auth/*.so ${libdir}/security/*.so"
-FILES_${PN}-dbg += "${libdir}/vfs/.debug/*.so ${libdir}/charset/.debug/*.so \
- ${libdir}/auth/.debug/*.so ${libdir}/security/.debug/*.so"
-
-#
-# bug fix for samba.inc:
-FILES_cifs-doc += "${mandir}/man8/mount.cifs.8"
diff --git a/packages/samba/samba_3.2.7.bb b/packages/samba/samba_3.2.7.bb
index ec51568313..3653a5dfe3 100644
--- a/packages/samba/samba_3.2.7.bb
+++ b/packages/samba/samba_3.2.7.bb
@@ -1,69 +1,27 @@
require samba.inc
-inherit update-rc.d
-PR = "r0"
-
-SRC_URI += "file://config-lfs.patch;patch=1 \
- file://quota.patch;patch=1;pnum=0 \
- file://config-h.patch;patch=1 \
+PR = "r1"
+DEPENDS += " openldap krb5"
+SRC_URI += "file://config-h.patch;patch=1 \
file://mtab.patch;patch=1 \
- file://init \
- file://smb.conf \
"
-# file://cifs.patch;patch=1 \
-
-INITSCRIPT_NAME = "samba"
-# No dependencies, goes in at level 20 (NOTE: take care with the
-# level, later levels put the shutdown later too - see the links
-# in rc6.d, the shutdown must precede network shutdown).
-INITSCRIPT_PARAMS = "defaults"
-CONFFILES_${PN} = "${sysconfdir}/samba/smb.conf"
-
-# The file system settings --foodir=dirfoo and overridden unconditionally
-# in the samba config by --with-foodir=dirfoo - even if the --with is not
-# specified! Fix that here. Set the privatedir to /etc/samba/private.
EXTRA_OECONF += "\
SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
- samba_cv_struct_timespec=yes \
linux_getgrouplist_ok=no \
samba_cv_HAVE_BROKEN_GETGROUPS=no \
samba_cv_HAVE_FTRUNCATE_EXTEND=yes \
- ac_cv_path_KRB5CONFIG=no \
+ ac_cv_path_KRB5CONFIG=${STAGING_BINDIR_CROSS}/krb5-config \
samba_cv_have_setresuid=yes \
samba_cv_have_setresgid=yes \
- --with-configdir=${sysconfdir}/samba \
- --with-privatedir=${sysconfdir}/samba/private \
- --with-lockdir=${localstatedir}/lock \
- --with-piddir=${localstatedir}/run \
- --with-logfilebase=${localstatedir}/log \
- --with-libdir=${libdir} \
- --with-mandir=${mandir} \
- --with-swatdir=${datadir}/swat \
+ samba_cv_HAVE_WRFILE_KEYTAB=yes \
+ smb_krb5_cv_enctype_to_string_takes_krb5_context_arg=yes \
+ smb_krb5_cv_enctype_to_string_takes_size_t_arg=yes \
+ --with-krb5=${STAGING_LIBDIR} \
+ --with-ads \
"
do_configure() {
oe_runconf
}
-
-do_install_append() {
- install -d "${D}/var/log/samba"
- install -d "${D}${sysconfdir}/init.d"
- install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/samba
- install -d "${D}${sysconfdir}/samba"
- install -c -m 644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf
- install -d ${D}/var/spool/samba
-}
-
-PACKAGES =+ "swat"
-
-FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"
-FILES_${PN} += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat \
- ${libdir}/auth/*.so ${libdir}/security/*.so"
-FILES_${PN}-dbg += "${libdir}/vfs/.debug/*.so ${libdir}/charset/.debug/*.so \
- ${libdir}/auth/.debug/*.so ${libdir}/security/.debug/*.so"
-
-#
-# bug fix for samba.inc:
-FILES_cifs-doc += "${mandir}/man8/mount.cifs.8"
diff --git a/packages/socketcan/socketcan-modules_svn.bb b/packages/socketcan/socketcan-modules_svn.bb
new file mode 100644
index 0000000000..ce0493127e
--- /dev/null
+++ b/packages/socketcan/socketcan-modules_svn.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Socketcan kernel modules"
+HOMEPAGE = "http://developer.berlios.de/projects/socketcan/"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+DEPENDS = "virtual/kernel"
+PV = "0.0+svnr${SRCREV}"
+
+SRC_URI = "svn://svn.berlios.de/socketcan/trunk;module=kernel;proto=svn"
+
+S = "${WORKDIR}/kernel/2.6"
+
+inherit module
+
diff --git a/packages/tasks/task-python-everything.bb b/packages/tasks/task-python-everything.bb
index a311c9932d..de3c555a83 100644
--- a/packages/tasks/task-python-everything.bb
+++ b/packages/tasks/task-python-everything.bb
@@ -2,11 +2,12 @@ DESCRIPTION= "Everything Python"
HOMEPAGE = "http://www.vanille.de/projects/python.spy"
LICENSE = "MIT"
PV = "2.6"
-PR = "ml41"
+PR = "ml42"
RDEPENDS = "\
python-ao \
python-cheetah \
+ python-coherence \
python-connexion \
python-constraint \
python-daap \
diff --git a/packages/uclibc/uclibc-0.9.30/n1200/uClibc.machine b/packages/uclibc/uclibc-0.9.30/n1200/uClibc.machine
new file mode 100644
index 0000000000..23ca904520
--- /dev/null
+++ b/packages/uclibc/uclibc-0.9.30/n1200/uClibc.machine
@@ -0,0 +1,53 @@
+#
+# Automatically generated make config: don't edit
+# Sun May 13 11:25:50 2007
+#
+# TARGET_alpha is not set
+# TARGET_arm is not set
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# TARGET_e1 is not set
+# TARGET_frv is not set
+# TARGET_h8300 is not set
+# TARGET_hppa is not set
+# TARGET_i386 is not set
+# TARGET_i960 is not set
+# TARGET_ia64 is not set
+# TARGET_m68k is not set
+# TARGET_microblaze is not set
+# TARGET_mips is not set
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+TARGET_powerpc=y
+# TARGET_sh is not set
+# TARGET_sh64 is not set
+# TARGET_sparc is not set
+# TARGET_v850 is not set
+# TARGET_vax is not set
+# TARGET_x86_64 is not set
+
+#
+# Target Architecture Features and Options
+#
+TARGET_ARCH="powerpc"
+FORCE_OPTIONS_FOR_ARCH=y
+CONFIG_CLASSIC=y
+# CONFIG_E500 is not set
+TARGET_SUBARCH="classic"
+
+#
+# Using ELF file format
+#
+ARCH_BIG_ENDIAN=y
+
+#
+# Using Big Endian
+#
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+UCLIBC_HAS_FLOATS=y
+UCLIBC_HAS_FPU=y
+DO_C99_MATH=y
+KERNEL_HEADERS="/stuff/build/tmp/cross/powerpc-angstrom-linux-uclibc/include"
+HAVE_DOT_CONFIG=y
+
diff --git a/packages/watchdog/files/init b/packages/watchdog/files/init
new file mode 100644
index 0000000000..f42797e00d
--- /dev/null
+++ b/packages/watchdog/files/init
@@ -0,0 +1,33 @@
+#!/bin/sh
+DAEMON="/usr/sbin/watchdog"
+NAME="watchdog"
+DESC="watchdog daemon"
+OPTIONS=""
+
+test -f $DAEMON || exit 0
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: $NAME... "
+ start-stop-daemon -S -x $DAEMON -- $OPTIONS
+ echo "done."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: $NAME... "
+ start-stop-daemon -K -x $DAEMON
+ echo "done."
+ ;;
+ restart)
+ echo "Restarting $DESC: $NAME... "
+ $0 stop
+ sleep 1
+ $0 start
+ echo "done."
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/packages/watchdog/watchdog_5.4.bb b/packages/watchdog/watchdog_5.4.bb
new file mode 100644
index 0000000000..ec4cea42a7
--- /dev/null
+++ b/packages/watchdog/watchdog_5.4.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "System watchdog daemon"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://www.ibiblio.org/pub/Linux/system/daemons/watchdog/${PN}-${PV}.tar.gz \
+ file://init"
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "watchdog"
+INITSCRIPT_PARAMS = "defaults 10"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/watchdog
+}
+