aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support
AgeCommit message (Collapse)Author
2014-04-24ntp: fix hardcode to /usr/bin/perlWenzong Fan
This patch properly uses the path variables and fixes ntptrace and ntp-wait, just in case perl is not installed with the hardcode path. Signed-off-by: Rahat Mahbub <rahat.mahbub@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24dnsmasq: update to 2.68Christian Ziethén
Fixes a bug with libvirt and DHCP, which is fixed in 2.66. "Handle the situation where libc headers define SO_REUSEPORT, but the kernel in use doesn't, to cope with the introduction of this option to Linux. Thanks to Rich Felker for the bug report." Signed-off-by: Christian Ziethén <Christian.Ziethen@enea.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24dovecot: add libcap dependencyKoen Kooi
This fixes: dovecot/dovecot/latest lost dependency on libcap Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24stunnel: fix configure ssl parameterJavier Viguera
'--with-ssl=DIR' configure parameter expects the location of the libraries and include files in the sysroot. This means the directory containing the 'lib' and 'include' subdirectories, not the include directory itself. This fixes an error at configure time: checking <local-path>/tmp/sysroots/ccimx6adpt/usr/include/include/openssl/engine.h usability... no (notice duplicated include entry in above line) Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24ntp : Add cap to default PACKAGECONFIG options.Philip Balister
If ntp is built without libcap, it refuses to start with the following message: Starting ntpd: /usr/sbin/ntpd: The ``user'' option has been disabled -- built without --enable-clockctl or --enable-linuxcaps ntpd - NTP daemon program - Ver. 4.2.6p5 USAGE: ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]... By adding cap to the PACKAGECONFIG the default runs. In the future, someone could add an option for using clockctl. Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-20ipsec-tools: Update patch statusPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-02stunnel: fix SRC_URIJavier Viguera
Trying to build stunnel fails with: ERROR 404: Not Found. Seems that after the new release (5.x) they have moved the old tarball under a 'archive/4.x' subdirectory. Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-27netcf: fix gnulib not found in sysroots while using a shared sstate cacheHongxu Jia
... ./bootstrap: Bootstrapping from checked-out netcf sources... ./bootstrap: consider installing git-merge-changelog from gnulib ./bootstrap: line 641: tmp/sysroots/qemux86/usr/share/gnulib/gnulib-tool: No such file or directory ... The gnulib source was incorrectly populated to ${STAGING_DATADIR}. While the build shared an existed sstate cache, the gnulib's ${SYSROOT_DESTDIR} was empty, the gnulib source code was not found in sysroots. We should use do_install task to install them to ${D}, and the default do_populate_sysroot task will populate them to ${STAGING_DATADIR}. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-03-27traceroute: filter-out patches dirRobert Yang
The $(subdirs) contains all the dirs under the ${B}, and this one: do_unpack[cleandirs] = "${S}/patches" will create a "patches" dir, then there will be compile errors, filter out the patches will fix the problem. Note: poky doesn't have this problem since it separates the ${S} and ${B} Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-03-27traceroute: fix alternate nameJoe Slater
traceroute6 for the name is misleading and will interfere with traceroute6 in iputils making an alternate link to the traceroute6 binary, so we change the name to traceroute. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-03-14ipsec-tools: Don't link against libflPaul Barker
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>
2014-03-14ntp: Moving relevant files from /usr/bin to /usr/sbinXufeng Zhang
"--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>
2014-03-14ntp: Running ntpd daemon as ntp:ntpXufeng Zhang
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>
2014-03-14strongswan: update verion to 5.1.1Jackie Huang
* 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>
2014-03-14netcf: fix offline rebuilding failedHongxu Jia
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>
2014-03-14bridge-utils: fix the no brctl error when enable multilibRoy Li
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>
2014-03-11dovecot: fix the DEPENDS on lzmaRobert Yang
DEPENDS on lzma should be xz Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET
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>
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>
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-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-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-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-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-29lowpan-tools: configure python files installation pathRoy Li
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>
2013-10-25macchanger: fix PN -> BPN in FILES_${PN} for multilibsRoy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-24cifs-utils: add --ignore-fail-on-non-empty for rmdirRobert Yang
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>
2013-10-09netperf: set _FILE_OFFSET_BITS to 64 to support large filesTing Liu
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>
2013-09-24lowpan-tools: add git versionPaul Eggleton
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>
2013-09-17libmemcached: Add PACKAGECONFIG for saslMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-16ntp: disable automatic panic shutdown for ntpdAndreas Müller
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>
2013-09-13fping: add recipeFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05ntp: enable systemd-timedated control for ntp.serviceAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05stunnel: Add 4.56 versionLaszlo Papp
Signed-off-by: Laszlo Papp <lpapp@kde.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-08-01ntp: allow to run pkg_postinst_ntpdate in do_rootfsMartin Jansa
* 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>