summaryrefslogtreecommitdiffstats
path: root/meta-networking
Commit message (Collapse)AuthorAgeFilesLines
* vlan: Create 1.9 versionLauren Post2014-03-151-0/+25
| | | | | | | VLAN provides vconfig utility Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ipsec-tools: Don't link against libflPaul Barker2014-03-142-1/+88
| | | | | | | | | | | | | We can remove all references to yywrap by adding "%option noyywrap" statements to each flex source file which doesn't override yywrap. After this, we no longer need to link against libfl and so no longer get errors about undefined references to yylex. Also change the dependency on flex to flex-native as we no longer need libfl compiled for the target - the lexer is now self-contained. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Joe MacDonald <joe@deserted.net>
* ntp: Moving relevant files from /usr/bin to /usr/sbinXufeng Zhang2014-03-145-15/+15
| | | | | | | | | | | | | "--with-binsubdir" controls whether we use bin_PROGRAMS or sbin_PROGRAMS while installing executable files in ntp Makefile, in order to install all the relevant files in /usr/sbin instead of /usr/bin, we can pass "--with-binsubdir=sbin" in ntp configure cmdline. Accordingly, updating the path for the files which are contained in rpm packages. Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* ntp: Running ntpd daemon as ntp:ntpXufeng Zhang2014-03-142-2/+6
| | | | | | | | Adding ntp:ntp(user:group) to system and running ntpd dameon as ntp:ntp. Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* strongswan: update verion to 5.1.1Jackie Huang2014-03-143-36/+143
| | | | | | | | | | | | * Add a patch to fix the function parameter. * Add PACKAGECONFIG for optional packages instead of explicitly disable, and set sqlite and curl as default. * Remove the split package strongswan-plugins. * Add configure option --without-lib-prefix so it doesn't search for libraries in includedir and libdir to avoid QA error. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* netcf: fix offline rebuilding failedHongxu Jia2014-03-142-2/+38
| | | | | | | | | | | | | | | The netcf downloaded gnulib source to ${S} at the configure time, while the network disconnected, if sstate cache was cleaned, the netcf rebuilding failed. Added a new recipe named 'gnulib' to download gnulib source to ${GITDIR} and populate it to the staging data dir. So netcf could specify this local directory where gnulib sources reside to save the bandwidth downloading. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* crda: fix udev ruleJavier Viguera2014-03-141-1/+1
| | | | | | | | | | | | | | | | | | | The SBINDIR variable in makefile's install rule needs to have a trailing slash so the path to the 'crda' binary in the udev rule is correct. Otherwise the udev rule has a wrong path: KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="/usr/sbincrda" and at runtime udev complains: failed to execute '/usr/sbincrda' when a regulatory domain event is triggered. Signed-off-by: Javier Viguera <javier.viguera@digi.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Joe MacDonald <joe@deserted.net>
* radvd: eliminate confusing warnings when stop serviceLiang Li2014-03-141-0/+4
| | | | | | | | | | | | | | | When run 'service radvd stop' in case radvd is not started/running, we'll get warnings like this: Stopping radvd: no /usr/sbin/radvd found; none killed /etc/init.d/radvd: warning: cannot restore settings radvd. We could by pass these OPs by just check if the service is running or not so eliminate possible warnings. Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* bridge-utils: fix the no brctl error when enable multilibRoy Li2014-03-141-1/+0
| | | | | | | | | | | | update-alternatives.bbclass does not create the brctl symbolic links for multilib, since the wrong use of PN generates /usr/sbin/brctl.lib32-bridge-utils, not /usr/sbin/brctl.bridge-utils; In fact, no need to rename brctl by calling mv, since update-alternatives will handle it Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* dovecot: fix the DEPENDS on lzmaRobert Yang2014-03-111-1/+1
| | | | | | | DEPENDS on lzma should be xz Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-2317-17/+21
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* quagga: close the stdout/stderr as in other daemonsRoy Li2014-02-232-0/+51
| | | | | | | | | | | | | Once babald becomes a background daemon, it should not output information to stdout, so need to close stdout. In fact, other daemons close their stdout when they run into background, like ospfd, isisd and bgpd, by calling daemon() which is in lib/daemon.c Closing the stdout can fix a tee hang issue { #/usr/sbin/babeld -d |tee tmp } Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libnetfilter-log: add newrecipe for version 1.0.1Matthieu Crapet2014-02-141-0/+14
| | | | | | | | | | | This library is usefull for userspace netfilter log messages (c.f. iptables and -j NFLOG target). libnetfilter-conntrack, libnetfilter-cttimeout, libnetfilter-cthelper and libnetfilter-queue are already available since december of 2012. Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* proftpd: move the runing created file under /var/runRoy Li2014-02-122-0/+40
| | | | | | 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>
* quagga: fix a typOSRoy Li2014-02-121-1/+1
| | | | | | | 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>
* inetutils: disable rpathRoy Li2014-02-121-0/+1
| | | | | | | | | | | | | | 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>
* radvd: update to 1.9.8Kang Kai2014-01-225-34/+21
| | | | | | | | | | 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>
* inetutils: fix libreadline path to fix QA errorsTing Liu2014-01-221-1/+1
| | | | | | | | | | | | | 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>
* netcf: hardcode --with-driver=redhat for target buildTing Liu2014-01-221-0/+1
| | | | | | | | | | | 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>
* ipsec-tools: fix unrecognised --without-gssapi optionTing Liu2014-01-221-1/+0
| | | | | Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ntp: Fix the installed but not shipped issue of a systemd units fileStefan Herbrechtsmeier2014-01-221-1/+3
| | | | | | | | | | | | 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>
* dovecot: add 2.2.10Koen Kooi2014-01-152-0/+135
| | | | | | | Dovecot is an IMAP server. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fetchmail: add 6.3.26Koen Kooi2014-01-151-0/+18
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nis: inherit pkgconfigRoy Li2014-01-101-1/+1
| | | | | | nis needs pkgconfig to check some dependencies, like DBUS Signed-off-by: Roy Li <rongqing.li@windriver.com>
* inetutils: fix compile error when PATH_PROCNET_DEV is undefinedEric BENARD2014-01-082-0/+27
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* curlpp add package with c++ curl bindingsulf@emagii.com2013-12-212-0/+125
| | | | | Signed-off-by: Ulf Samuelsson <ulf@emagii.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* proftpd: use /bin/false as the login shell and add home-dirRoy Li2013-12-092-1/+30
| | | | | | | | | 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>
* inetutils: correct QA issue (unrecognized configure option)Joe MacDonald2013-12-041-2/+0
| | | | | | | | 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>
* inetutils: add --with-libreadline-prefix to avoid host contaminationJackie Huang2013-12-041-0/+1
| | | | | | | | 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>
* inetutils: use new update-alternatives syntaxJackie Huang2013-12-041-10/+10
| | | | | | | | | | 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>
* ntpd: update config file commentsJoe MacDonald2013-11-291-3/+4
| | | | | | | | | 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>
* ntp: comment out the invalid serverRoy Li2013-11-292-1/+4
| | | | | | | | | | | | | 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>
* tcpdump: correct QA issue (unrecognized configure option)Joe MacDonald2013-11-281-1/+1
| | | | | | WARNING: QA Issue: tcpdump: configure was passed unrecognised options: --disable-rpath Signed-off-by: Joe MacDonald <joe@deserted.net>
* tcpreplay: add recipeZongchun Yu2013-11-284-0/+146
| | | | | | | | | 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>
* tcpdump: move from meta-oe to meta-networkingZongchun Yu2013-11-285-0/+177
| | | | | Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* proftpd: move pidfile from /var/ to /var/run/Roy Li2013-11-272-0/+40
| | | | | | | | | /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>
* quagga: Backport a patch to fix extract.pl for cross compilationRoy Li2013-11-272-1/+34
| | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* quagga: add pam support for vtyshHongxu Jia2013-11-262-1/+25
| | | | | | | | 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>
* quagga: Fix watchquagga initscript problem.Bopeng Liu2013-11-261-2/+7
| | | | | | | 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>
* quagga: Avoid duplicate connected address adding to the listXufeng Zhang2013-11-262-1/+57
| | | | | | | | | | | | | | | | 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>
* quagga: use /bin/false as the login shellRobert Yang2013-11-261-1/+1
| | | | | | | | 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>
* ntpd: make start-stop-daemon command available for ntpdQiang Chen2013-11-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* ntp: fix 60-ntpd.list pathRoy Li2013-11-261-3/+2
| | | | | | | | | | 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>
* lowpan-tools: fix do_install failurePaul Eggleton2013-11-252-1/+43
| | | | | | | | 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>
* proftpd: Convert proftpd group to system scopeQiang Chen2013-11-251-1/+1
| | | | | | | | | | 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>
* snort: add recipeChunrong Guo2013-11-205-0/+340
| | | | | | | | *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>
* barnyard2: add recipeChunrong Guo2013-11-202-0/+42
| | | | | | | *Barnyard2 is a output system for Snort Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* libdnet: add recipeChunrong Guo2013-11-201-0/+14
| | | | | | | | *dumb networking library *snort depends libdnet Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* accel-ppp: fix qa issue 'found library in wrong location' while multilib ↵Hongxu Jia2013-11-181-0/+9
| | | | | | | | | | | | | | | | 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>
* dnsmasq: uprev to 2.6.3Bruce Ashfield2013-11-063-6/+12
| | | | | | | | | | | | | | | | 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>