diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2005-07-02 00:07:11 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-02 00:07:11 +0000 |
commit | c6f1f81249e1358e09c77b192430d883682bf5ca (patch) | |
tree | adc272588186dd52bf42ac052fbdca5ff8e1e785 | |
parent | 402e99710947a5249fba204f6c766ba17b36c4b0 (diff) | |
parent | 615e7d157f3d9cf1e7af5e2084358b9f61d3daaf (diff) |
merge of 3a90bb2a96133732a5f60c88043d4ec81591720c
and 8e63001b71c44d7180fad5cb696c1f236ca499bf
19 files changed, 548 insertions, 188 deletions
diff --git a/conf/distro/openslug.conf b/conf/distro/openslug.conf index a33dce039e..e4b20c0e5f 100644 --- a/conf/distro/openslug.conf +++ b/conf/distro/openslug.conf @@ -12,7 +12,7 @@ FEED_URIS_append_linux += "oe##http://ipkg.nslu2-linux.org/feeds/openslug/oe" #FEED_URIS_append_linux += "unstable##http://ipkg.nslu2-linux.org/feeds/openslug/unstable" DISTRO_NAME = "OpenSlug" -DISTRO_VERSION = "2.0-beta" +DISTRO_VERSION = "2.1-beta" DISTRO_TYPE ?= "beta" TARGET_FPU_local ?= "soft" diff --git a/packages/base-files/base-files/profile b/packages/base-files/base-files/profile index 3de4dfe607..f24fec92ca 100644 --- a/packages/base-files/base-files/profile +++ b/packages/base-files/base-files/profile @@ -2,6 +2,8 @@ # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). PATH="/usr/local/bin:/usr/bin:/bin" +EDITOR="/bin/vi" # needed for packages like cron +TERM="vt100" # Basic terminal capab. For screen etc. if [ "`id -u`" -eq 0 ]; then PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: @@ -18,7 +20,7 @@ if [ -d /etc/profile.d ]; then unset i fi -export PATH PS1 OPIEDIR QPEDIR QTDIR +export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM umask 022 diff --git a/packages/cron/cron-3.0pl1/init b/packages/cron/cron-3.0pl1/init new file mode 100644 index 0000000000..0a4f3e256f --- /dev/null +++ b/packages/cron/cron-3.0pl1/init @@ -0,0 +1,38 @@ +#! /bin/sh +# +# This is an init script for openembedded +# Copy it to /etc/init.d/cron and type +# > update-rc.d cron defaults 60 +# +cron=/usr/sbin/cron +test -x "$cron" || exit 0 + +case "$1" in + start) + echo -n "Starting Vixie-cron" + start-stop-daemon --start --quiet --exec $cron + echo "." + ;; + stop) + echo -n "Stopping Vixie-cron" + start-stop-daemon --stop --quiet --pidfile /var/run/cron.pid + echo "." + ;; + reload|force-reload) + start-stop-daemon --stop --quiet --signal 1 --exec $cron + ;; + restart) + echo -n "Stopping Vixie-cron" + start-stop-daemon --stop --quiet --pidfile /var/run/cron.pid + echo "." + sleep 1 + echo -n "Starting Vixie-cron" + start-stop-daemon --start --quiet --exec $cron + echo "." + ;; + *) + echo "Usage: /etc/init.d/cron {start|stop|reload|restart|force-reload}" + exit 1 +esac + +exit 0
\ No newline at end of file diff --git a/packages/cron/cron-3.0pl1/install-sh b/packages/cron/cron-3.0pl1/install-sh new file mode 100755 index 0000000000..0b65ee871d --- /dev/null +++ b/packages/cron/cron-3.0pl1/install-sh @@ -0,0 +1,323 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2004-10-22.00 + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +chmodcmd="$chmodprog 0755" +chowncmd= +chgrpcmd= +stripcmd= +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src= +dst= +dir_arg= +dstarg= +no_target_directory= + +usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: +-c (ignored) +-d create directories instead of installing files. +-g GROUP $chgrpprog installed files to GROUP. +-m MODE $chmodprog installed files to MODE. +-o USER $chownprog installed files to USER. +-s $stripprog installed files. +-t DIRECTORY install into DIRECTORY. +-T report an error if DSTFILE is a directory. +--help display this help and exit. +--version display version info and exit. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG +" + +while test -n "$1"; do + case $1 in + -c) shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + --help) echo "$usage"; exit 0;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -s) stripcmd=$stripprog + shift + continue;; + + -t) dstarg=$2 + shift + shift + continue;; + + -T) no_target_directory=true + shift + continue;; + + --version) echo "$0 $scriptversion"; exit 0;; + + *) # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + test -n "$dir_arg$dstarg" && break + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done + break;; + esac +done + +if test -z "$1"; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src ;; + esac + + if test -n "$dir_arg"; then + dst=$src + src= + + if test -d "$dst"; then + mkdircmd=: + chmodcmd= + else + mkdircmd=$mkdirprog + fi + else + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dstarg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dstarg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst ;; + esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dstarg: Is a directory" >&2 + exit 1 + fi + dst=$dst/`basename "$src"` + fi + fi + + # This sed command emulates the dirname command. + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` + + # Make sure that the destination directory exists. + + # Skip lots of stat calls in the usual case. + if test ! -d "$dstdir"; then + defaultIFS=' + ' + IFS="${IFS-$defaultIFS}" + + oIFS=$IFS + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + shift + IFS=$oIFS + + pathcomp= + + while test $# -ne 0 ; do + pathcomp=$pathcomp$1 + shift + if test ! -d "$pathcomp"; then + $mkdirprog "$pathcomp" + # mkdir can fail with a `File exist' error in case several + # install-sh are creating the directory concurrently. This + # is OK. + test -d "$pathcomp" || exit + fi + pathcomp=$pathcomp/ + done + fi + + if test -n "$dir_arg"; then + $doit $mkdircmd "$dst" \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } + + else + dstfile=`basename "$dst"` + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + trap '(exit $?); exit' 1 2 13 15 + + # Copy the file name to the temp name. + $doit $cpprog "$src" "$dsttmp" && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && + + # Now rename the file to the real destination. + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ + || { + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + if test -f "$dstdir/$dstfile"; then + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ + || { + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 + (exit 1); exit + } + else + : + fi + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" + } + } + fi || { (exit 1); exit; } +done + +# The final little trick to "correctly" pass the exit status to the exit trap. +{ + (exit 0); exit +} + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/packages/cron/cron_3.0pl1.bb b/packages/cron/cron_3.0pl1.bb index bca3f89180..4e13d4c2c1 100644 --- a/packages/cron/cron_3.0pl1.bb +++ b/packages/cron/cron_3.0pl1.bb @@ -1,15 +1,23 @@ SECTION = "base" DESCRIPTION = "Vixie cron." LICENSE = "cron" +PR="r3" SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \ file://nonrootinstall.patch;patch=1 \ - file://time.patch;patch=1" + file://time.patch;patch=1 \ + file://install-sh \ + file://init" S = "${WORKDIR}/cron${PV}" CFLAGS_append = " -I${S} -DSYS_TIME_H=0" do_install () { install -d ${D}${sbindir} ${D}${bindir} - oe_runmake 'DESTDIR=${D}' install + install -d ${D}${sysconfdir}/init.d/ + install -d ${D}/var/cron/tabs + install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/cron + # This will make the -s option work somewhat portably cross + # platform + STRIPPROG="$STRIP" oe_runmake 'DESTDIR=${D}' INSTALL="${WORKDIR}/install-sh" install chmod ugo+rx ${D}${sbindir}/* ${D}${bindir}/* } diff --git a/packages/linux/openslug-kernel-2.6.11.2/defconfig b/packages/linux/openslug-kernel-2.6.11.2/defconfig index 15cac97e3e..c14c06c32c 100644 --- a/packages/linux/openslug-kernel-2.6.11.2/defconfig +++ b/packages/linux/openslug-kernel-2.6.11.2/defconfig @@ -474,7 +474,7 @@ CONFIG_NETDEVICES=y # CONFIG_DUMMY is not set # CONFIG_BONDING is not set # CONFIG_EQUALIZER is not set -# CONFIG_TUN is not set +CONFIG_TUN=m # CONFIG_ETHERTAP is not set # diff --git a/packages/linux/openslug-kernel-2.6.11.2/nslu2-io.c b/packages/linux/openslug-kernel-2.6.11.2/nslu2-io.c index 8e3ca894c4..d27b6732b0 100644 --- a/packages/linux/openslug-kernel-2.6.11.2/nslu2-io.c +++ b/packages/linux/openslug-kernel-2.6.11.2/nslu2-io.c @@ -65,9 +65,9 @@ #define VERSION "0.1.7" -#define N2RB_MAJOR 60 -#define N2PB_MAJOR 61 -#define N2BZ_MAJOR 62 +#define N2RB_MAJOR 60 //rbuttons +#define N2PB_MAJOR 61 //pbuttons +#define N2BZ_MAJOR 62 //buzzer #define N2LM_MAJOR 126 #define N2PB_IRQ 22 //gpio5 @@ -176,6 +176,9 @@ static struct timer_list n2rb_timer; static struct timer_list n2pb_timer; static struct timer_list n2bz_timer; //beeper +// sysfs class +static struct class_simple *n2lm_class; + //================================================================================================== // // Blinking is handled entirely by the 4 timer handlers. On timeout, the bit in the @@ -693,22 +696,36 @@ static int __init n2iom_init(void) printk(KERN_DEBUG "init_jiffy=%ld\n",init_jiffy); n2iom_initarch(); + n2lm_class = class_simple_create(THIS_MODULE, "nslu2"); + if (register_chrdev(N2RB_MAJOR, "n2_rbm", &n2pb_fops) < NOERR) { printk(KERN_DEBUG "Reset Button Major %d not available\n", N2RB_MAJOR); return -EBUSY; } + else { + class_simple_device_add(n2lm_class, MKDEV(N2RB_MAJOR, 0), NULL, "rbuttons"); + } if (register_chrdev(N2PB_MAJOR, "n2_pbm", &n2rb_fops) < NOERR) { printk(KERN_DEBUG "Power Button Major %d not available\n", N2PB_MAJOR); return -EBUSY; } + else { + class_simple_device_add(n2lm_class, MKDEV(N2PB_MAJOR, 0), NULL, "pbuttons"); + } if (register_chrdev(N2LM_MAJOR, "n2_ledm", &n2lm_fops) < NOERR) { printk(KERN_DEBUG "Led Manager Major %d not available\n", N2LM_MAJOR); return -EBUSY; } + else { + class_simple_device_add(n2lm_class, MKDEV(N2LM_MAJOR, 0), NULL, "leds"); + } if (register_chrdev(N2BZ_MAJOR, "n2_bzm", &n2bz_fops) < NOERR) { printk(KERN_DEBUG "Buzzer Major %d not available\n", N2BZ_MAJOR); return -EBUSY; } + else { + class_simple_device_add(n2lm_class, MKDEV(N2BZ_MAJOR, 0), NULL, "buzzer"); + } if (request_irq(N2RB_IRQ, &n2rb_handler, SA_INTERRUPT, "n2_rb", NULL) < NOERR) { printk(KERN_DEBUG "Reset Button IRQ %d not available\n", N2RB_IRQ); @@ -732,14 +749,20 @@ static void __exit n2iom_exit(void) del_timer(&n2rb_timer); free_irq(N2RB_IRQ,NULL); unregister_chrdev(N2PB_MAJOR, "n2pb"); + class_simple_device_remove(MKDEV(N2PB_MAJOR, 0)); del_timer(&n2pb_timer); free_irq(N2PB_IRQ, NULL); unregister_chrdev(N2RB_MAJOR, "n2rb" ); + class_simple_device_remove(MKDEV(N2RB_MAJOR, 0)); del_timer(&n2lm_rsg_timer); del_timer(&n2lm_rsr_timer); del_timer(&n2lm_d1_timer); del_timer(&n2lm_d2_timer); unregister_chrdev(N2LM_MAJOR, "n2lm" ); + class_simple_device_remove(MKDEV(N2LM_MAJOR, 0)); + unregister_chrdev(N2BZ_MAJOR, "n2bz"); + class_simple_device_remove(MKDEV(N2BZ_MAJOR, 0)); + class_simple_destroy(n2lm_class); } module_init (n2iom_init); diff --git a/packages/linux/unslung-kernel_2.3r25.bb b/packages/linux/unslung-kernel_2.4.22.l2.3r25.bb index 99bf69abf8..99bf69abf8 100644 --- a/packages/linux/unslung-kernel_2.3r25.bb +++ b/packages/linux/unslung-kernel_2.4.22.l2.3r25.bb diff --git a/packages/linux/unslung-kernel_2.3r29.bb b/packages/linux/unslung-kernel_2.4.22.l2.3r29.bb index 604dbd21ba..604dbd21ba 100644 --- a/packages/linux/unslung-kernel_2.3r29.bb +++ b/packages/linux/unslung-kernel_2.4.22.l2.3r29.bb diff --git a/packages/meta/openslug-packages.bb b/packages/meta/openslug-packages.bb index 81bb5a0d0c..ee5f080460 100644 --- a/packages/meta/openslug-packages.bb +++ b/packages/meta/openslug-packages.bb @@ -10,6 +10,7 @@ OPENSLUG_DEVELOPMENT = "\ autoconf \ automake \ bash \ + binutils \ bison \ bzip2 \ coreutils \ @@ -20,6 +21,7 @@ OPENSLUG_DEVELOPMENT = "\ gawk \ gcc \ gdb \ + gnu-config \ grep \ lsof \ m4 \ @@ -40,10 +42,10 @@ OPENSLUG_DEVELOPMENT_append_linux = "\ OPENSLUG_PACKAGES = "\ - atftp \ bash \ bluez-utils-nodbus bridge-utils \ - coreutils cvs\ + coreutils cron \ + cvs\ dnsmasq \ expat \ ftpd-topfield \ @@ -51,6 +53,7 @@ OPENSLUG_PACKAGES = "\ miau microcom mt-daapd mysql \ nail \ openssh \ + openvpn \ ppp puppy pwc \ rsync \ sudo sysfsutils \ @@ -61,7 +64,6 @@ OPENSLUG_PACKAGES = "\ reiserfsprogs reiser4progs \ python \ samba \ - strace \ wget \ unionfs-modules unionfs-utils \ " @@ -75,7 +77,8 @@ OPENSLUG_PACKAGES_append_linux = "\ nfs-utils \ " BROKEN_PACKAGES = "\ - cron \ + atftp \ + strace \ mgetty \ " diff --git a/packages/mysql/mysql_4.1.12.bb b/packages/mysql/mysql_4.1.12.bb index d5e7948458..a1173158ee 100644 --- a/packages/mysql/mysql_4.1.12.bb +++ b/packages/mysql/mysql_4.1.12.bb @@ -2,7 +2,7 @@ DESCRIPTION = "The MySQL Open Source Database System" MAINTAINER = "Chris Larson <kergoth@handhelds.org>" SECTION = "libs" DEPENDS += "ncurses mysql-native" -PR = "r0" +PR = "r1" LICENSE = "GPL" SRC_URI = "http://mirrors.develooper.com/mysql/Downloads/MySQL-4.1/mysql-${PV}.tar.gz \ file://autofoo.patch;patch=1 \ @@ -13,8 +13,9 @@ FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/mysql-${PV}', '${FILE_DIRN inherit autotools + EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR}/gen_lex_hash'" -EXTRA_OECONF = " --with-embedded-server " +EXTRA_OECONF = " --with-embedded-server --prefix=/usr --datadir=/var/share --sysconfdir=/etc --localstatedir=/var/state --disable-dependency-tracking --without-raid --without-debug --with-low-memory --without-query-cache --without-man --without-docs --without-innodb " do_stage() { autotools_stage_includes diff --git a/packages/nis/ypserv_2.15.bb b/packages/nis/ypserv_2.17.bb index 6edb534e8f..6edb534e8f 100644 --- a/packages/nis/ypserv_2.15.bb +++ b/packages/nis/ypserv_2.17.bb diff --git a/packages/openvpn/openvpn_2.0.bb b/packages/openvpn/openvpn_2.0.bb index e67a99c9eb..5ea2e02d69 100644 --- a/packages/openvpn/openvpn_2.0.bb +++ b/packages/openvpn/openvpn_2.0.bb @@ -6,12 +6,14 @@ LICENSE = "GPLv2" PRIORITY = "optional" DEPENDS = "lzo openssl" RDEPENDS = "kernel-module-tun" -PR = "r0" +PR = "r1" SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \ file://openvpn" S = "${WORKDIR}/openvpn-${PV}" +CFLAGS += "-fno-inline" + inherit autotools do_install_append() { diff --git a/packages/samba/files/configure.lfs.patch b/packages/samba/files/configure.lfs.patch new file mode 100644 index 0000000000..f0355ecd8d --- /dev/null +++ b/packages/samba/files/configure.lfs.patch @@ -0,0 +1,12 @@ +--- source/configure.in.virgin 2005-06-27 07:22:15.000000000 +0200 ++++ source/configure.in 2005-06-27 07:23:11.000000000 +0200 +@@ -628,7 +628,8 @@ + #endif + } + ], [LINUX_LFS_SUPPORT=yes], [LINUX_LFS_SUPPORT=no], [LINUX_LFS_SUPPORT=cross]) +- CPPFLAGS="$old_CPPFLAGS" ++# Ugly hack for cross compile. Just set the CPPFLAGS and go on. ++ CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $old_CPPFLAGS" + if test x$LINUX_LFS_SUPPORT = xyes ; then + CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS" + AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support]) diff --git a/packages/samba/files/init b/packages/samba/files/init new file mode 100644 index 0000000000..cb57b17de4 --- /dev/null +++ b/packages/samba/files/init @@ -0,0 +1,58 @@ +#! /bin/sh +# +# This is an init script for openembedded +# Copy it to /etc/init.d/samba and type +# > update-rc.d samba defaults 60 +# + + +smbd=/usr/sbin/smbd +test -x "$smbd" || exit 0 +nmbd=/usr/sbin/nmbd +test -x "$nmbd" || exit 0 + + +case "$1" in + start) + echo -n "Starting Samba: smbd" + start-stop-daemon --start --quiet --exec $smbd + echo -n " nmbd" + start-stop-daemon --start --quiet --exec $nmbd + echo "." + ;; + stop) + echo -n "Stopping Samba: smbd" + start-stop-daemon --stop --quiet --pidfile /var/run/smbd.pid + echo -n " nmbd" + start-stop-daemon --stop --quiet --pidfile /var/run/nmbd.pid + echo "." + ;; + reload|force-reload) + start-stop-daemon --stop --quiet --signal 1 --exec $smbd + start-stop-daemon --stop --quiet --signal 1 --exec $nmbd + ;; + restart) + echo -n "Stopping Samba: smbd" + start-stop-daemon --stop --quiet --pidfile /var/run/smbd.pid + echo -n " nmbd" + start-stop-daemon --stop --quiet --pidfile /var/run/nmbd.pid + echo "" + echo -n "Waiting for samba processes to die off" + for i in 1 2 3 ; + do + sleep 1 + echo -n "." + done + echo "" + echo -n "Starting Samba: smbd" + start-stop-daemon --start --quiet --exec $smbd + echo -n " nmbd" + start-stop-daemon --start --quiet --exec $nmbd + echo "." + ;; + *) + echo "Usage: /etc/init.d/samba {start|stop|reload|restart|force-reload}" + exit 1 +esac + +exit 0
\ No newline at end of file diff --git a/packages/samba/samba.inc b/packages/samba/samba.inc index 9896495f1f..1f38f131e2 100644 --- a/packages/samba/samba.inc +++ b/packages/samba/samba.inc @@ -30,7 +30,7 @@ do_install_append() { ln -sf libsmbclient.so.0 ${D}${libdir}/libsmbclient.so rm -f ${D}${bindir}/*.old rm -f ${D}${sbindir}/*.old - mv mount.cifs ${D}${bindir}/mount.cifs + install -c -m 755 mount.cifs ${D}${bindir}/mount.cifs } do_stage() { diff --git a/packages/samba/samba_3.0.14a.bb b/packages/samba/samba_3.0.14a.bb index 0f18f4b1d4..d58b939399 100644 --- a/packages/samba/samba_3.0.14a.bb +++ b/packages/samba/samba_3.0.14a.bb @@ -1,21 +1,55 @@ -PR = "r1" +PR = "r6" -SRC_URI := "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \ - file://${FILESDIR}/configure.patch;patch=1 \ - file://${FILESDIR}/cifs.patch;patch=1" +# Ugly patch to hack configure.in to set the CPPFLAGS without actually checking for LFS support +# For nslu2. Will probably work for forcing for other archs as well. +LFS_SRC_URI = "" +LFS_SRC_URI_nslu2 = "file://configure.lfs.patch;patch=1" + +SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \ + file://configure.patch;patch=1 \ + file://cifs.patch;patch=1 \ + ${LFS_SRC_URI} \ + file://init \ + " S := ${WORKDIR}/${P}/source include samba.inc -EXTRA_OECONF += "--with-mandir=${mandir}" +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" + +# 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 += "\ + --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}${localstatedir}/log" rm -f ${D}/sbin/mount.smbfs rmdir ${D}/sbin ln -sf smbmount ${D}${bindir}/mount.smbfs + 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.default } PACKAGES =+ "swat" -FILES_swat = "${sbindir}/swat ${prefix}/swat ${libdir}/*.msg" +FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg" FILES_${PN} += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat" +# +# bug fix for samba.inc: +FILES_cifs-doc = "${mandir}/man8/mount.cifs.8" diff --git a/site/armeb-linux b/site/armeb-linux index 3d0a19abf8..89a2a3f104 100644 --- a/site/armeb-linux +++ b/site/armeb-linux @@ -82,94 +82,22 @@ sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes} ac_cv_lib_png_png_create_info_struct=${ac_cv_lib_png_png_create_info_struct=yes} # samba -samba_cv_BROKEN_NISPLUS_INCLUDE_FILES=${samba_cv_BROKEN_NISPLUS_INCLUDE_FILES=yes} -samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS=${samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS=no} -samba_cv_FTRUNCATE_NEEDS_ROOT=${samba_cv_FTRUNCATE_NEEDS_ROOT=no} -samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=${samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no} -samba_cv_HAVE_BROKEN_GETGROUPS=${samba_cv_HAVE_BROKEN_GETGROUPS=no} -samba_cv_HAVE_BROKEN_LINUX_SENDFILE=${samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes} -samba_cv_HAVE_BROKEN_READDIR=${samba_cv_HAVE_BROKEN_READDIR=no} -samba_cv_HAVE_C99_VSNPRINTF=${samba_cv_HAVE_C99_VSNPRINTF=yes} -samba_cv_HAVE_DEV64_T=${samba_cv_HAVE_DEV64_T=no} -samba_cv_HAVE_DEVICE_MAJOR_FN=${samba_cv_HAVE_DEVICE_MAJOR_FN=yes} -samba_cv_HAVE_DEVICE_MINOR_FN=${samba_cv_HAVE_DEVICE_MINOR_FN=yes} -samba_cv_HAVE_DQB_FSOFTLIMIT=${samba_cv_HAVE_DQB_FSOFTLIMIT=no} -samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=${samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=yes} -samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} -samba_cv_HAVE_FTRUNCATE_EXTEND=${samba_cv_HAVE_FTRUNCATE_EXTEND=yes} -samba_cv_HAVE_FUNCTION_MACRO=${samba_cv_HAVE_FUNCTION_MACRO=yes} samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} -samba_cv_HAVE_INO64_T=${samba_cv_HAVE_INO64_T=no} -samba_cv_HAVE_INT16_FROM_RPC_RPC_H=${samba_cv_HAVE_INT16_FROM_RPC_RPC_H=no} -samba_cv_HAVE_INT32_FROM_RPC_RPC_H=${samba_cv_HAVE_INT32_FROM_RPC_RPC_H=no} -samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no} -samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes} -samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=${samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=no} -samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes} -samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes} -samba_cv_HAVE_MMAP=${samba_cv_HAVE_MMAP=yes} -samba_cv_HAVE_NATIVE_ICONV=${samba_cv_HAVE_NATIVE_ICONV=yes} -samba_cv_HAVE_OFF64_T=${samba_cv_HAVE_OFF64_T=no} -samba_cv_HAVE_QUOTACTL_4A=${samba_cv_HAVE_QUOTACTL_4A=yes} -samba_cv_HAVE_ROOT=${samba_cv_HAVE_ROOT=no} -samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT=${samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT=no} -samba_cv_HAVE_SECURE_MKSTEMP=${samba_cv_HAVE_SECURE_MKSTEMP=yes} -samba_cv_HAVE_SENDFILE=${samba_cv_HAVE_SENDFILE=no} -samba_cv_HAVE_SENDFILE64=${samba_cv_HAVE_SENDFILE64=no} -samba_cv_HAVE_SOCK_SIN_LEN=${samba_cv_HAVE_SOCK_SIN_LEN=no} -samba_cv_HAVE_STAT_ST_BLKSIZE=${samba_cv_HAVE_STAT_ST_BLKSIZE=yes} -samba_cv_HAVE_STAT_ST_BLOCKS=${samba_cv_HAVE_STAT_ST_BLOCKS=yes} -samba_cv_HAVE_STRUCT_DIRENT64=${samba_cv_HAVE_STRUCT_DIRENT64=no} -samba_cv_HAVE_STRUCT_FLOCK64=${samba_cv_HAVE_STRUCT_FLOCK64=yes} -samba_cv_HAVE_STRUCT_IF_DQBLK=${samba_cv_HAVE_STRUCT_IF_DQBLK=no} -samba_cv_HAVE_STRUCT_MEM_DQBLK=${samba_cv_HAVE_STRUCT_MEM_DQBLK=no} -samba_cv_HAVE_TRUNCATED_SALT=${samba_cv_HAVE_TRUNCATED_SALT=no} -samba_cv_HAVE_UINT16_FROM_RPC_RPC_H=${samba_cv_HAVE_UINT16_FROM_RPC_RPC_H=no} -samba_cv_HAVE_UINT32_FROM_RPC_RPC_H=${samba_cv_HAVE_UINT32_FROM_RPC_RPC_H=no} -samba_cv_HAVE_UNSIGNED_CHAR=${samba_cv_HAVE_UNSIGNED_CHAR=yes} -samba_cv_HAVE_UTIMBUF=${samba_cv_HAVE_UTIMBUF=yes} -samba_cv_HAVE_UT_UT_ADDR=${samba_cv_HAVE_UT_UT_ADDR=yes} -samba_cv_HAVE_UT_UT_EXIT=${samba_cv_HAVE_UT_UT_EXIT=yes} -samba_cv_HAVE_UT_UT_HOST=${samba_cv_HAVE_UT_UT_HOST=yes} -samba_cv_HAVE_UT_UT_ID=${samba_cv_HAVE_UT_UT_ID=yes} -samba_cv_HAVE_UT_UT_NAME=${samba_cv_HAVE_UT_UT_NAME=yes} -samba_cv_HAVE_UT_UT_PID=${samba_cv_HAVE_UT_UT_PID=yes} -samba_cv_HAVE_UT_UT_TIME=${samba_cv_HAVE_UT_UT_TIME=yes} -samba_cv_HAVE_UT_UT_TV=${samba_cv_HAVE_UT_UT_TV=yes} -samba_cv_HAVE_UT_UT_TYPE=${samba_cv_HAVE_UT_UT_TYPE=yes} -samba_cv_HAVE_UT_UT_USER=${samba_cv_HAVE_UT_UT_USER=yes} -samba_cv_HAVE_UX_UT_SYSLEN=${samba_cv_HAVE_UX_UT_SYSLEN=no} -samba_cv_HAVE_VA_COPY=${samba_cv_HAVE_VA_COPY=yes} -samba_cv_HAVE_WORKING_AF_LOCAL=${samba_cv_HAVE_WORKING_AF_LOCAL=no} -samba_cv_HAVE_Werror=${samba_cv_HAVE_Werror=yes} -samba_cv_PUTUTLINE_RETURNS_UTMP=${samba_cv_PUTUTLINE_RETURNS_UTMP=yes} -samba_cv_QUOTA_WORKS=${samba_cv_QUOTA_WORKS=yes} -samba_cv_REPLACE_GETPASS=${samba_cv_REPLACE_GETPASS=yes} -samba_cv_REPLACE_INET_NTOA=${samba_cv_REPLACE_INET_NTOA=no} -samba_cv_RUN_QUOTA_TESTS=${samba_cv_RUN_QUOTA_TESTS=auto} -samba_cv_SEEKDIR_RETURNS_VOID=${samba_cv_SEEKDIR_RETURNS_VOID=yes} -samba_cv_SIZEOF_INO_T=${samba_cv_SIZEOF_INO_T=yes} -samba_cv_SIZEOF_OFF_T=${samba_cv_SIZEOF_OFF_T=yes} -samba_cv_SYSCONF_SC_NGROUPS_MAX=${samba_cv_SYSCONF_SC_NGROUPS_MAX=yes} -samba_cv_SYSQUOTA_FOUND=${samba_cv_SYSQUOTA_FOUND=yes} -samba_cv_SYSQUOTA_WORKS=${samba_cv_SYSQUOTA_WORKS=yes} -samba_cv_TRY_QUOTAS=${samba_cv_TRY_QUOTAS=no} -samba_cv_TRY_SYS_QUOTAS=${samba_cv_TRY_SYS_QUOTAS=no} +samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} +samba_cv_USE_SETEUID=${samba_cv_USE_SETEUID=yes} samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes} -samba_cv_WITH_QUOTAS=${samba_cv_WITH_QUOTAS=auto} -samba_cv_WITH_SYS_QUOTAS=${samba_cv_WITH_SYS_QUOTAS=auto} -samba_cv_compiler_supports_ll=${samba_cv_compiler_supports_ll=yes} -samba_cv_have_longlong=${samba_cv_have_longlong=yes} +samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes} +samba_cv_USE_SETUIDX=${samba_cv_USE_SETUIDX=yes} samba_cv_have_setresgid=${samba_cv_have_setresgid=yes} samba_cv_have_setresuid=${samba_cv_have_setresuid=yes} -samba_cv_immediate_structures=${samba_cv_immediate_structures=yes} -samba_cv_optimize_out_funcation_calls=${samba_cv_optimize_out_funcation_calls=yes} -samba_cv_sig_atomic_t=${samba_cv_sig_atomic_t=yes} -samba_cv_socklen_t=${samba_cv_socklen_t=yes} -samba_cv_unixsocket=${samba_cv_unixsocket=yes} -samba_cv_volatile=${samba_cv_volatile=yes} +samba_cv_HAVE_SENDFILE=${samba_cv_HAVE_SENDFILE=yes} +samba_cv_HAVE_SENDFILE64=${samba_cv_HAVE_SENDFILE64=yes} +samba_cv_HAVE_SECURE_MKSTEMP=${samba_cv_HAVE_SECURE_MKSTEMP=yes} +samba_cv_HAVE_MMAP=${samba_cv_HAVE_MMAP=yes} +samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes} +samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes} +samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes} # sleepycat db db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} diff --git a/site/armeb-linux-uclibc b/site/armeb-linux-uclibc index 3d0a19abf8..89a2a3f104 100644 --- a/site/armeb-linux-uclibc +++ b/site/armeb-linux-uclibc @@ -82,94 +82,22 @@ sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes} ac_cv_lib_png_png_create_info_struct=${ac_cv_lib_png_png_create_info_struct=yes} # samba -samba_cv_BROKEN_NISPLUS_INCLUDE_FILES=${samba_cv_BROKEN_NISPLUS_INCLUDE_FILES=yes} -samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS=${samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS=no} -samba_cv_FTRUNCATE_NEEDS_ROOT=${samba_cv_FTRUNCATE_NEEDS_ROOT=no} -samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=${samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no} -samba_cv_HAVE_BROKEN_GETGROUPS=${samba_cv_HAVE_BROKEN_GETGROUPS=no} -samba_cv_HAVE_BROKEN_LINUX_SENDFILE=${samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes} -samba_cv_HAVE_BROKEN_READDIR=${samba_cv_HAVE_BROKEN_READDIR=no} -samba_cv_HAVE_C99_VSNPRINTF=${samba_cv_HAVE_C99_VSNPRINTF=yes} -samba_cv_HAVE_DEV64_T=${samba_cv_HAVE_DEV64_T=no} -samba_cv_HAVE_DEVICE_MAJOR_FN=${samba_cv_HAVE_DEVICE_MAJOR_FN=yes} -samba_cv_HAVE_DEVICE_MINOR_FN=${samba_cv_HAVE_DEVICE_MINOR_FN=yes} -samba_cv_HAVE_DQB_FSOFTLIMIT=${samba_cv_HAVE_DQB_FSOFTLIMIT=no} -samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=${samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=yes} -samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} -samba_cv_HAVE_FTRUNCATE_EXTEND=${samba_cv_HAVE_FTRUNCATE_EXTEND=yes} -samba_cv_HAVE_FUNCTION_MACRO=${samba_cv_HAVE_FUNCTION_MACRO=yes} samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} -samba_cv_HAVE_INO64_T=${samba_cv_HAVE_INO64_T=no} -samba_cv_HAVE_INT16_FROM_RPC_RPC_H=${samba_cv_HAVE_INT16_FROM_RPC_RPC_H=no} -samba_cv_HAVE_INT32_FROM_RPC_RPC_H=${samba_cv_HAVE_INT32_FROM_RPC_RPC_H=no} -samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no} -samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes} -samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=${samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=no} -samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes} -samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes} -samba_cv_HAVE_MMAP=${samba_cv_HAVE_MMAP=yes} -samba_cv_HAVE_NATIVE_ICONV=${samba_cv_HAVE_NATIVE_ICONV=yes} -samba_cv_HAVE_OFF64_T=${samba_cv_HAVE_OFF64_T=no} -samba_cv_HAVE_QUOTACTL_4A=${samba_cv_HAVE_QUOTACTL_4A=yes} -samba_cv_HAVE_ROOT=${samba_cv_HAVE_ROOT=no} -samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT=${samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT=no} -samba_cv_HAVE_SECURE_MKSTEMP=${samba_cv_HAVE_SECURE_MKSTEMP=yes} -samba_cv_HAVE_SENDFILE=${samba_cv_HAVE_SENDFILE=no} -samba_cv_HAVE_SENDFILE64=${samba_cv_HAVE_SENDFILE64=no} -samba_cv_HAVE_SOCK_SIN_LEN=${samba_cv_HAVE_SOCK_SIN_LEN=no} -samba_cv_HAVE_STAT_ST_BLKSIZE=${samba_cv_HAVE_STAT_ST_BLKSIZE=yes} -samba_cv_HAVE_STAT_ST_BLOCKS=${samba_cv_HAVE_STAT_ST_BLOCKS=yes} -samba_cv_HAVE_STRUCT_DIRENT64=${samba_cv_HAVE_STRUCT_DIRENT64=no} -samba_cv_HAVE_STRUCT_FLOCK64=${samba_cv_HAVE_STRUCT_FLOCK64=yes} -samba_cv_HAVE_STRUCT_IF_DQBLK=${samba_cv_HAVE_STRUCT_IF_DQBLK=no} -samba_cv_HAVE_STRUCT_MEM_DQBLK=${samba_cv_HAVE_STRUCT_MEM_DQBLK=no} -samba_cv_HAVE_TRUNCATED_SALT=${samba_cv_HAVE_TRUNCATED_SALT=no} -samba_cv_HAVE_UINT16_FROM_RPC_RPC_H=${samba_cv_HAVE_UINT16_FROM_RPC_RPC_H=no} -samba_cv_HAVE_UINT32_FROM_RPC_RPC_H=${samba_cv_HAVE_UINT32_FROM_RPC_RPC_H=no} -samba_cv_HAVE_UNSIGNED_CHAR=${samba_cv_HAVE_UNSIGNED_CHAR=yes} -samba_cv_HAVE_UTIMBUF=${samba_cv_HAVE_UTIMBUF=yes} -samba_cv_HAVE_UT_UT_ADDR=${samba_cv_HAVE_UT_UT_ADDR=yes} -samba_cv_HAVE_UT_UT_EXIT=${samba_cv_HAVE_UT_UT_EXIT=yes} -samba_cv_HAVE_UT_UT_HOST=${samba_cv_HAVE_UT_UT_HOST=yes} -samba_cv_HAVE_UT_UT_ID=${samba_cv_HAVE_UT_UT_ID=yes} -samba_cv_HAVE_UT_UT_NAME=${samba_cv_HAVE_UT_UT_NAME=yes} -samba_cv_HAVE_UT_UT_PID=${samba_cv_HAVE_UT_UT_PID=yes} -samba_cv_HAVE_UT_UT_TIME=${samba_cv_HAVE_UT_UT_TIME=yes} -samba_cv_HAVE_UT_UT_TV=${samba_cv_HAVE_UT_UT_TV=yes} -samba_cv_HAVE_UT_UT_TYPE=${samba_cv_HAVE_UT_UT_TYPE=yes} -samba_cv_HAVE_UT_UT_USER=${samba_cv_HAVE_UT_UT_USER=yes} -samba_cv_HAVE_UX_UT_SYSLEN=${samba_cv_HAVE_UX_UT_SYSLEN=no} -samba_cv_HAVE_VA_COPY=${samba_cv_HAVE_VA_COPY=yes} -samba_cv_HAVE_WORKING_AF_LOCAL=${samba_cv_HAVE_WORKING_AF_LOCAL=no} -samba_cv_HAVE_Werror=${samba_cv_HAVE_Werror=yes} -samba_cv_PUTUTLINE_RETURNS_UTMP=${samba_cv_PUTUTLINE_RETURNS_UTMP=yes} -samba_cv_QUOTA_WORKS=${samba_cv_QUOTA_WORKS=yes} -samba_cv_REPLACE_GETPASS=${samba_cv_REPLACE_GETPASS=yes} -samba_cv_REPLACE_INET_NTOA=${samba_cv_REPLACE_INET_NTOA=no} -samba_cv_RUN_QUOTA_TESTS=${samba_cv_RUN_QUOTA_TESTS=auto} -samba_cv_SEEKDIR_RETURNS_VOID=${samba_cv_SEEKDIR_RETURNS_VOID=yes} -samba_cv_SIZEOF_INO_T=${samba_cv_SIZEOF_INO_T=yes} -samba_cv_SIZEOF_OFF_T=${samba_cv_SIZEOF_OFF_T=yes} -samba_cv_SYSCONF_SC_NGROUPS_MAX=${samba_cv_SYSCONF_SC_NGROUPS_MAX=yes} -samba_cv_SYSQUOTA_FOUND=${samba_cv_SYSQUOTA_FOUND=yes} -samba_cv_SYSQUOTA_WORKS=${samba_cv_SYSQUOTA_WORKS=yes} -samba_cv_TRY_QUOTAS=${samba_cv_TRY_QUOTAS=no} -samba_cv_TRY_SYS_QUOTAS=${samba_cv_TRY_SYS_QUOTAS=no} +samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} +samba_cv_USE_SETEUID=${samba_cv_USE_SETEUID=yes} samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes} -samba_cv_WITH_QUOTAS=${samba_cv_WITH_QUOTAS=auto} -samba_cv_WITH_SYS_QUOTAS=${samba_cv_WITH_SYS_QUOTAS=auto} -samba_cv_compiler_supports_ll=${samba_cv_compiler_supports_ll=yes} -samba_cv_have_longlong=${samba_cv_have_longlong=yes} +samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes} +samba_cv_USE_SETUIDX=${samba_cv_USE_SETUIDX=yes} samba_cv_have_setresgid=${samba_cv_have_setresgid=yes} samba_cv_have_setresuid=${samba_cv_have_setresuid=yes} -samba_cv_immediate_structures=${samba_cv_immediate_structures=yes} -samba_cv_optimize_out_funcation_calls=${samba_cv_optimize_out_funcation_calls=yes} -samba_cv_sig_atomic_t=${samba_cv_sig_atomic_t=yes} -samba_cv_socklen_t=${samba_cv_socklen_t=yes} -samba_cv_unixsocket=${samba_cv_unixsocket=yes} -samba_cv_volatile=${samba_cv_volatile=yes} +samba_cv_HAVE_SENDFILE=${samba_cv_HAVE_SENDFILE=yes} +samba_cv_HAVE_SENDFILE64=${samba_cv_HAVE_SENDFILE64=yes} +samba_cv_HAVE_SECURE_MKSTEMP=${samba_cv_HAVE_SECURE_MKSTEMP=yes} +samba_cv_HAVE_MMAP=${samba_cv_HAVE_MMAP=yes} +samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes} +samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes} +samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes} # sleepycat db db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} |