aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
AgeCommit message (Collapse)Author
2014-02-12proftpd: move the runing created file under /var/runRoy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-02-12quagga: fix a typOSRoy Li
it should be CPP, not cpp; this typOS makes vtysh unable to work. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-02-12inetutils: disable rpathRoy Li
The rpath, which configuration computers, is a host-related path in cross-compile environment; In fact, need to not add rpath into elf file. WARNING: QA Issue: package inetutils-ftp contains bad RPATH /buildarea/build/new/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64 in file /buildarea/build/new/bitbake_build/tmp/work/x86_64-wrs-linux/inetutils/1.9.1-r1/packages-split/inetutils-ftp/usr/bin/ftp.inetutils Signed-off-by: Roy Li <rongqing.li@windriver.com> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-01-22radvd: update to 1.9.8Kang Kai
Update radvd to version 1.9.8 * remove change-scanner-dependency.patch which is merged * add 'status' subcommand for radvd.init Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22inetutils: fix libreadline path to fix QA errorsTing Liu
If wrong path set, inetutils configure script will add a absolute rpath, which result in the below QA errors: | ERROR: QA Issue: package inetutils-ftp contains bad RPATH | ERROR: QA Issue: package inetutils-telnet contains bad RPATH | ERROR: QA Issue: package inetutils-telnetd contains bad RPATH | ERROR: QA run found fatal errors. Please consider fixing them. | ERROR: Function failed: do_package_qa Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22netcf: hardcode --with-driver=redhat for target buildTing Liu
The configure script of netcf checks the HOST setup to identify the network interface. This means it checks for Red Hat, SuSE, debian, Ubuntu, etc. As this is an embedded cross build, it doesn't seem to make sense to check the HOST in the first place to determine info for the TARGET. Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22ipsec-tools: fix unrecognised --without-gssapi optionTing Liu
Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22ntp: Fix the installed but not shipped issue of a systemd units fileStefan Herbrechtsmeier
We will get the following ERROR/WARN if we enable systemd and the installed-vs-shipped check in QA: ERROR: QA Issue: ntp: Files/directories were installed but not shipped /lib/systemd/ntp-units.d /lib/systemd/ntp-units.d/60-ntpd.list Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-15dovecot: add 2.2.10Koen Kooi
Dovecot is an IMAP server. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-15fetchmail: add 6.3.26Koen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-10nis: inherit pkgconfigRoy Li
nis needs pkgconfig to check some dependencies, like DBUS Signed-off-by: Roy Li <rongqing.li@windriver.com>
2014-01-08inetutils: fix compile error when PATH_PROCNET_DEV is undefinedEric BENARD
Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-12-21curlpp add package with c++ curl bindingsulf@emagii.com
Signed-off-by: Ulf Samuelsson <ulf@emagii.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-09proftpd: use /bin/false as the login shell and add home-dirRoy Li
Use /bin/false as the login shell, just like what Ubuntu does, otherwise there might be secure issue; add /var/lib/ftp as user ftp home-dir. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-12-04inetutils: correct QA issue (unrecognized configure option)Joe MacDonald
WARNING: QA Issue: inetutils: configure was passed unrecognised options: --with-path-login --with-path-procnet-dev Neither of these appear to be valid for inetutils-1.9.1, so remove them. Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-12-04inetutils: add --with-libreadline-prefix to avoid host contaminationJackie Huang
Fix the do_rootfs error: | Computing transaction...error: Can't install inetutils-telnetd-1.9.1-r1.1@i686: no package provides libreadline.so.5 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-12-04inetutils: use new update-alternatives syntaxJackie Huang
Correct the usage of alternative link and target: ALTERNATIVE_LINK_NAME[name] = "target" ALTERNATIVE_TARGET[name] = "target" Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-29ntpd: update config file commentsJoe MacDonald
The default ntp.conf file does the right thing but one of the comments is a bit misleading based on the active parts of the file changing a few times. Update the comment to accurately describe what is happening in the configuration file and what a user should do next. Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-29ntp: comment out the invalid serverRoy Li
When ntpd starts, it will create a daemon to connect this invalid server, and fail, then ntpd will create other daemon to connect the local-only (127.127.1.0) server. The users should be aware that they need to configure the correct ntp servers, a invalid server will lead to a redundant daemon, so it is better to comment this example server to wait user to configure Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-28tcpdump: correct QA issue (unrecognized configure option)Joe MacDonald
WARNING: QA Issue: tcpdump: configure was passed unrecognised options: --disable-rpath Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-28tcpreplay: add recipeZongchun Yu
tcpreplay - a suite of GPLv3 licensed tools for UNIX operating systems which gives you the ability to use previously captured traffic in libpcap format to test a variety of network devices. Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-28tcpdump: move from meta-oe to meta-networkingZongchun Yu
Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-27proftpd: move pidfile from /var/ to /var/run/Roy Li
/var/run/ is more suitable to store pidfile for OE, and this fixes "/etc/init.d/proftpd stop" failure too, since this script assumes the pidfile is under /var/run Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-27quagga: Backport a patch to fix extract.pl for cross compilationRoy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26quagga: add pam support for vtyshHongxu Jia
According to DISTRO_FEATURES to add pam support for quagga, and import configure file from Fedora. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26quagga: Fix watchquagga initscript problem.Bopeng Liu
Change the default config file for making watchquagga can startup successful Signed-off-by: Bopeng Liu <Bopeng.Liu@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26quagga: Avoid duplicate connected address adding to the listXufeng Zhang
commit 27ba970b9("quagga/ripd: Fix two bugs after received SIGHUP signal") introduces an regression: ifp->connected list is cleaned up when ripd is restarting, however, for interface addresses which are not specified in ripd configuration file, they are never to be added into ifp->connected again, this will lead to some abnormal behavior for route advertising. Instead of cleaning up the ifp->connected list to avoid duplicated connected address being added into this list, we can check this condition during interface address adding process and return early when an identical address has already been added. Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26quagga: use /bin/false as the login shellRobert Yang
Use /bin/false as the login shell, just like what Ubuntu does, otherwise there might be secure issue. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26ntpd: make start-stop-daemon command available for ntpdQiang Chen
If ntpd script is being called by a non-root user using sudo, it will fail as follows: /etc/init.d/ntpd restart Stopping ntpd: /etc/init.d/ntpd: line 29: start-stop-daemon: command not found done Starting ntpd: /etc/init.d/ntpd: line 24: start-stop-daemon: command not found done This is because /etc/init.d/ntpd calls start-stop-daemon which is in /sbin (not in the default path for non-root users) Explicitly configure the PATH to include /sbin. Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Reworked to set PATH instead of hardcode the location of start-stop-daemon Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26ntp: fix 60-ntpd.list pathRoy Li
60-ntpd.list should be installed into the same path as ntp systemd service file, like Fedora core; Orignal path refers http://www.freedesktop.org/wiki/Software/systemd/timedated/, but where systemd_unitdir is assumed as /usr/lib/systemd, not /lib/systemd Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-25lowpan-tools: fix do_install failurePaul Eggleton
We don't have a proper help2man so building the manpages fails; just disable building them to fix this as we do elsewhere. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-25proftpd: Convert proftpd group to system scopeQiang Chen
Proftpd is meant to be a system user, not a normal user of the system so lets pass the correct parameters to the system. Just add --system param when creating ftp group. Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-20snort: add recipeChunrong Guo
*snort - a free lightweight network intrusion detection system for UNIX and Windows Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-20barnyard2: add recipeChunrong Guo
*Barnyard2 is a output system for Snort Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-20libdnet: add recipeChunrong Guo
*dumb networking library *snort depends libdnet Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-18accel-ppp: fix qa issue 'found library in wrong location' while multilib ↵Hongxu Jia
enabled on qemux86-64 While multilib enabled on qemux86-64, accel-ppp-lib should be installed to '${baselib}/accel-ppp', but the accel-ppp's CMakeLists.txt hardcoded to install to 'lib/accel-ppp', such as: ... INSTALL(TARGETS log_file LIBRARY DESTINATION lib/accel-ppp ) ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-06dnsmasq: uprev to 2.6.3Bruce Ashfield
A minimum dnsmasq version of 2.5.9 is required deal with IPv6 link local addresses. So instead of just going to the minimum version, we can go all the way to 2.6.3. As part of this update, the following changes have been made in addition to the pure version update: - PR is dropped in favour of PRSERVER functionality - dhcp_release is added to the default build, since it is used in the cleanup phase for virtual machines. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-06netcf: move from meta-virtualization to meta-networkingBruce Ashfield
netcf was orginally introduced in meta-virtualization, since it provides functionality required by libvirt, but it is otherwise not bound to virtualization. So we can move it to meta-networking, and in the process uprev to the the latest 0.2.3 functinality. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-06quagga: backport a patch from 0.99.22 to fix "no ip address" commandRoy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-06crda: correct QA issues with sbindirJoe MacDonald
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>
2013-11-04autofs: correct QA issues with orphaned systemd filesJoe MacDonald
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>
2013-11-01recipes: Remove PR = r0 from all recipesMartin Jansa
* 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>
2013-11-01cifs-utils: Add PACKAGECONFIG for cifscreds, cifsupcallMartin Jansa
* 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>
2013-10-31bridge-utils: inherit update-alternatives to avoid duplicate codeChen Qi
Inherit update-alternatives to avoid duplicate code. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-31ndisc6: chmod in do_install and remove unnecessary pkg_postinstChen Qi
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>
2013-10-31quagga: fix pkg_postinstChen Qi
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>
2013-10-31radvd: fix pkg_postinstChen Qi
`/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>
2013-10-31cyrus-sasl: remove the unnecessary pkg_postinstChen Qi
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>
2013-10-31cyrus-sasl: ensure size_t is defined for use by sasl.hMark Asselstine
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>
2013-10-31quagga/ripd: Fix two bugs after received SIGHUP signalXufeng Zhang
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>