summaryrefslogtreecommitdiffstats
path: root/meta-networking
Commit message (Collapse)AuthorAgeFilesLines
* quagga: backport a patch from 0.99.22 to fix "no ip address" commandRoy Li2013-11-062-1/+66
| | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* crda: correct QA issues with sbindirJoe MacDonald2013-11-061-1/+1
| | | | | | | | | | | | | | | | | | regdbdump and crda are installed in /sbin/ and still link against stuff in /usr/lib, causing QA warnings / errors: WARNING: QA Issue: crda: /sbin/regdbdump, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00000000dead1000) WARNING: QA Issue: crda: /sbin/regdbdump, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00000000dead3000) WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00000000dead1000) WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libnl-genl-3.so.200 => /usr/lib64/libnl-genl-3.so.200 (0x00000000dead2000) WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libnl-3.so.200 => /usr/lib64/libnl-3.so.200 (0x00000000dead3000) WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libnl-nf-3.so.200 => /usr/lib64/libnl-nf-3.so.200 (0x00000000dead4000) WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libnl-route-3.so.200 => /usr/lib64/libnl-route-3.so.200 (0x00000000dead5000) WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00000000dead7000) relocate them to /usr/sbin to squelch the warning. Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: correct QA issues with orphaned systemd filesJoe MacDonald2013-11-042-2/+49
| | | | | | | | | | | | | | | | If we build a project without systemd support on a system that has systemd enabled, the following QA items get flagged: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/autofs.service Trying to keep the solution to the problem as contained as possible in a way that may be accepted up-stream by adding an optional parameter to the --with-systemd flag. Signed-off-by: Joe MacDonald <joe@deserted.net>
* recipes: Remove PR = r0 from all recipesMartin Jansa2013-11-017-7/+0
| | | | | | | | | | | * Remove all PR = "r0" from all .bb files in meta-oe repo. This was done with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i * We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cifs-utils: Add PACKAGECONFIG for cifscreds, cifsupcallMartin Jansa2013-11-011-0/+4
| | | | | | | * make files in bindir/sbindir a bit more deterministic Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* bridge-utils: inherit update-alternatives to avoid duplicate codeChen Qi2013-10-311-9/+5
| | | | | | | Inherit update-alternatives to avoid duplicate code. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* ndisc6: chmod in do_install and remove unnecessary pkg_postinstChen Qi2013-10-311-10/+4
| | | | | | | | We can use chmod to set the SUID bit for applications in the do_install task. If we do so, the pkg_postinsts are no longer needed. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* quagga: fix pkg_postinstChen Qi2013-10-311-9/+19
| | | | | | | | | | | | This patch mainly involves two changes. 1. Create necessary files at do_install task. Add these configuration files to the CONFFILES variable. 2. Move the `chmod' and `chown' commands to do_install task. After these two changes, qugga can run successfully at rootfs time. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* radvd: fix pkg_postinstChen Qi2013-10-311-1/+3
| | | | | | | | | `/etc/init.d/populate-volatile.sh update' only needs to run in case of an on-target installation. And it should have a prerequisite that the script is executable. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* cyrus-sasl: remove the unnecessary pkg_postinstChen Qi2013-10-311-5/+0
| | | | | | | | | | | | | | saslpasswd2 is used by an administrator to set a user's sasl password, setting a default one in pkg_postinst in not only unnecessary but also inappropriate. Besides, running saslpasswd2 takes a significant amount of time to finish, so this pkg_postinst will make the first boot take longer time. According to the above two reasons, the patch remove the pkg_postint. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* cyrus-sasl: ensure size_t is defined for use by sasl.hMark Asselstine2013-10-312-0/+32
| | | | | | | | | | | | While making use of the cyrus-sasl library an external application will most likely include sasl.h which will cause compilation failures if steps haven't been taken to define size_t. This should not be the responsibility of the application building against the sasl library but rather handled already in sasl.h. Here we ensure sasl.h has the proper includes to have size_t defined before it is used. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* quagga/ripd: Fix two bugs after received SIGHUP signalXufeng Zhang2013-10-312-1/+52
| | | | | | | | | | | | | | | | There are two problems for ripd implementation after received SIGHUP signal: 1). ripd didn't clean up ifp->connected list before reload configuration file which makes the same advertise packet being sent multiple times(depends on how many SIGHUP was recieved). 2). ripd reset ri->split_horizon flag to RIP_NO_SPLIT_HORIZON during restart which is different from the flag when ripd is firstly started up, leading to unnecessary route to be advertised. [YOCTO #5266] Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* lowpan-tools: configure python files installation pathRoy Li2013-10-291-1/+3
| | | | | | | | | configure python files installation path or else it will use the default value /usr/lib/python*, which is wrong on 64bit and multilibs enabled system Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* tftpd-hpa: update default tftpboot locationJoe MacDonald2013-10-291-1/+1
| | | | | | | | | The tftp-hpa package installs /var/lib/tftpboot and tftpd-hpa is configured to use that directory, but the default points at /svc/tftpboot. Correct that so the default points to a location that exists when the package is installed. Signed-off-by: Joe MacDonald <joe@deserted.net>
* macchanger: fix PN -> BPN in FILES_${PN} for multilibsRoy Li2013-10-251-3/+3
| | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* cifs-utils: add --ignore-fail-on-non-empty for rmdirRobert Yang2013-10-241-1/+1
| | | | | | | | Add --ignore-fail-on-non-empty for rmdir in case there are files in the directories. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: fix do_install failure and remove unused /var/run directoryChen Qi2013-10-241-1/+6
| | | | | | | | | | | | | | | | | If ${D}/run doesn't exist, the following statement will have non-zero exit code, which leads to do_install failure. test -d ${D}/run && rmdir ${D}/run Modify it to use the if statement to make the do_install task succeed no matter ${D}/run exists or not. Also, this patch removes the unused /var/run directory. Leaving that directory there will result in /run directory created before splitting package, which in turn lead to 'installed-vs-shipped' QA error or QA warning. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* vsftpd: use quotes to wrap variableRoy Li2013-10-181-1/+1
| | | | | | | | | | "test -z ${PAMLIB}" in do_install() may report error if ${PAMLIB} has space chars. This commit added double quotes to wrap it in case of errors. Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: change DESCRIPTION to SUMMARYAndreas Oberritter2013-10-181-1/+1
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: pass systemd directory to configureAndreas Oberritter2013-10-181-0/+1
| | | | | | | Otherwise, configure will try to auto-detect using host paths. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
* tftpd-hpa: fix premature exitDavid Turgeon2013-10-181-6/+7
| | | | | | | | | | | standalone daemon exits as recipe installs file as tftpd-hpa * Changed script so it can consult /etc/default, as daemon name may be subject to change. * Changed the default name to match the recipe Signed-off-by: David Turgeon <david.turgeon@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* netperf: set _FILE_OFFSET_BITS to 64 to support large filesTing Liu2013-10-091-0/+5
| | | | | | | | | | Without this patch, netperf2.6 can only support files smaller than 2GB with TCP_SENDFILE item. Signed-off-by: Ting Liu <b28495@freescale.com> Tested-by: Jianhua Xie<jianhua.xie@freescale.com> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Joe MacDonald <joe@deserted.net>
* openflow: import and tweakJoe MacDonald2013-10-073-0/+43
| | | | | | | | | | | | | | | | | | Based on work by David Nyström (meta-virtualization) and Laszlo Papp (meta-oe). - Import OpenFlow 1.0 from meta-virtualization and provide an updated version of the recipe for the head of tree in the OpenFlow git repository. - Minor tweak in both recipes for do_install_append() spacing. - Update 'libssl' PACKAGECONFIG flag in both to follow the 'openssl' convention used elsewhere in meta-oe. - Create common include file for both versioned and git recipes. Signed-off-by: Joe MacDonald <joe@deserted.net>
* lowpan-tools: add git versionPaul Eggleton2013-09-241-0/+25
| | | | | | | | | | | The 0.3 release was a year ago and git HEAD contains fixes to make it work with contiki, so build from git instead of backporting all of the patches. Based on a patch by Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* vsftpd: change default secure_chroot_dirMing Liu2013-09-233-1/+61
| | | | | | | | | | | Change default value of secure_chroot_dir to /var/run/vsftpd/empty, add volatiles entry for it, to ensure it won't fail to start with error: "500 OOPS: vsftpd: not found: directory given in 'secure_chroot_dir':/var/share/empty" This shows up in both standalone mode or started by xined. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* quagga: fix babeld_optionChen Qi2013-09-231-1/+1
| | | | | | | Fix babeld_option to make babeld start correctly. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* libmemcached: Add PACKAGECONFIG for saslMartin Jansa2013-09-171-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* proftpd: Add PACKAGECONFIG for cursesMartin Jansa2013-09-171-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ntp: disable automatic panic shutdown for ntpdAndreas Müller2013-09-161-1/+1
| | | | | | | | | | | | | | | | | | Taken from [1]: "However, if the difference between the client time and server time is greater than the panic threshold, which defaults to 1000 s, the daemon will send a message to the system log and shut down without setting the clock." On RTC-less or 'fresh' systems with unpredicatble inital date ntpd will stop with work undone (note: I did NOT find the message mentioned above - so it took long way to fix). This is a wide use case for using NTP in production: No need for initial datetime setup by some operator. [1] http://doc.ntp.org/4.1.1/debug.htm Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* fping: add recipeFathi Boudra2013-09-131-0/+25
| | | | | Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
* inetutils: Remove empty usr/libKhem Raj2013-09-061-0/+2
| | | | | | | | | | | This directory is empty and is flagged by QA checker ERROR: QA Issue: inetutils: Files/directories were installed but not shipped /usr/lib Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* quagga: fix info-related QA warningJoe MacDonald2013-09-051-0/+4
| | | | | | | | | | Correct the warning: quagga-0.99.21: The /usr/share/info/dir file is not meant to be shipped in a particular package. Simply remove the installed 'dir' file if info docs are installed. Signed-off-by: Joe MacDonald <joe@deserted.net>
* atftp: port a patch from OpenSUSE to fix "Sorcerer's Apprentice Syndrome"(SAS)Roy.Li2013-09-052-0/+95
| | | | | Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* atftp, libuio: Update the SRC_URI to match upstream sf.net changeKhem Raj2013-09-051-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* ntp: enable systemd-timedated control for ntp.serviceAndreas Müller2013-09-052-0/+6
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* tftp-hpa: add error check for disk filled upRoy.Li2013-09-052-1/+84
| | | | | | | | | Add error check when the write-buffer is finally flushed to the file, the caller can detect if the disk filled up (or had an i/o error) and return a NOSAPCE nak to the other side. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* stunnel: Add 4.56 versionLaszlo Papp2013-09-051-0/+14
| | | | | Signed-off-by: Laszlo Papp <lpapp@kde.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
* remove the unnecessary protocol parametersJackie Huang2013-09-031-1/+1
| | | | | | | | | It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* quagga: two fixesRoy.Li2013-08-161-3/+6
| | | | | | | | 1. quagga should depend on iproute2, since ip from busybox is not sufficient 2. fix a typOS(should chmod, not chown) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* meta-networking: update BBFILE_COLLECTIONS to networking-layerJoe MacDonald2013-08-161-5/+5
| | | | | | | Adopting the common convention of naming BBFILE_COLLECTIONS to be <layername>-layer. Signed-off-by: Joe MacDonald <joe@deserted.net>
* quagga: backport documentation patchJoe MacDonald2013-08-122-0/+63
| | | | | | | | | | The latest stable quagga adopted this patch: http://git.savannah.gnu.org/gitweb/?p=quagga.git;a=commit;h=b58c90807c9d0bfa9601704c7490a16070906004 to repair a documentation build error. Trivial backport. Signed-off-by: Joe MacDonald <joe@deserted.net>
* cyrus-sasl: Add patches from Debian to fix linkingColin Walters2013-08-013-1/+45
| | | | | | | | This fixes the build on at least Fedora 19 x86_64 as a host; we were trying to link a non-PIC static object into a shared library. Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* cyrus-sasl: relocate files to package name dirJoe MacDonald2013-08-012-0/+0
| | | | | | | A minor bit of reorganization of the cyrus-sasl recipe directory in preparation for a build fix. Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* ntp: allow to run pkg_postinst_ntpdate in do_rootfsMartin Jansa2013-08-011-7/+3
| | | | | | | | * read-only rootfs cannot run postinsts on first boot and in this case it doesn't really have to as we can create cron task in do_rootfs Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* ebtables: Load ebtables kernel moduleMihai Prica2013-07-301-1/+4
| | | | | | | | Ebtables needs some kernel configs options to work properly. The standard yocto kernel config includes these as modules. Add code to load the ebtables module. Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* cifs-utils: inherit pkgconfigMartin Jansa2013-07-301-1/+1
| | | | | | | | | | | * it fails in do_configure without it configure.ac:99: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:140: error: possibly undefined macro: AC_MSG_WARN autoreconf: sysroots/x86_64-linux/usr/bin/autoconf failed with exit status: 1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* quagga: add PACKAGECONFIG for capabilitiesMartin Jansa2013-07-301-0/+3
| | | | | | | * it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* inetutils: add PACKAGECONFIG for ftp and uucpdMartin Jansa2013-07-301-0/+5
| | | | | | | * readline support is autodetected from sysroot * add PACKAGECONFIG to make it deterministic Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* atftp: add PACKAGECONFIG for pcre, readline, tcp-wrapperMartin Jansa2013-07-301-0/+5
| | | | | | * it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cifs-utils: add PACKAGECONFIG for libcapMartin Jansa2013-07-301-0/+3
| | | | | | * libcap is autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>