aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
AgeCommit message (Collapse)Author
2014-11-24meta-networking: update LAYERDEPENDSJoe MacDonald
A minor typo was causing LAYERDEPENDS to be overwritten instead of appended to in our layer.conf. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-21postfix: Fix indentationMartin Jansa
* we're using 4 spaces, not mix of tabs and spaces\! Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-21postfix.inc: Remove references to buildmachine paths in target makedefs.outJackie Huang
Fixed the buildpaths QA issue: ERROR: QA Issue: File /work/core2-64-wrs-linux/postfix/2.11.1-r0/packages-split/postfix/etc/postfix/makedefs.out in package contained reference to tmpdir [buildpaths] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-21esmpt: port from openembedded.Bian Naimeng
The esmtp is not longer being maintained since 1.2, but it's used at many distribution now such as Ubuntu trusty(14.04LTS). Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-21libesmtp: port from openembedded.Bian Naimeng
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-20wireshark: update to 1.12.2Armin Kuster
The following vulnerabilities have been fixed. * wnpa-sec-2014-20 SigComp UDVM buffer overflow. (Bug 10662) CVE-2014-8710 * wnpa-sec-2014-21 AMQP crash. (Bug 10582) CVE-2014-8711 * wnpa-sec-2014-22 NCP crashes. (Bug 10552, Bug 10628) CVE-2014-8712, CVE-2014-8713 * wnpa-sec-2014-23 TN5250 infinite loops. (Bug 10596) CVE-2014-8714 Reference: https://www.wireshark.org/docs/relnotes/wireshark-1.12.2.html Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-20polarssl: add dependency opensslKai Kang
polarssl compiles with openssl to build unit test cases. If openssl doesn't exist, native libssl.so will be used. Then causes error: | .../bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/libssl.so: error adding symbols: File in wrong format Add dependency openssl for polarssl to fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-19ptpd: add FSL QorIQ DPAA and eTSEC supportZhenhua Luo
This patch is for Freescale QorIQ DPAA and eTSEC which support 1588 hardware assist module, and mainly uses SO_TIMESTAMPING API for HW timestamp and PHC API. Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-10postfix: create or update aliases.db when using systemdRoy Li
aliases.db should be created by postinstall script, but failed since queue_directory is not includes root dir ${D}: ------ |newaliases: fatal: chdir /var/spool/postfix: No such file or directory ------ initscript will recall newaliases before start postfix daemon, the similar method, which run aliasesdb to create aliases.db when using systemd, is introduced to fix this issue. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-10ssmping: add do_install to ssmpingHongxu Jia
The previous do_install is empty and do nothing. Tweak install doc dir, so the man doc could be installed to /usr/share/man rather than /usr/locale/man. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-10pimd: add do_install to pimdHongxu Jia
The previous do_install is empty and do nothing. Unset variables datadir and mandir, use pimd's default set. So it could install doc files correctly. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-10traceroute: add VPATH to find libraries and avoid host contaminationJackie Huang
Fixed: make[1]: *** No rule to make target '-lm', needed by 'traceroute'. Stop. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-04vpnc: use nativeperl to run perl scriptsJackie Huang
inhert perlnative and make sure we use nativeperl to run perl scripts when compile. fixed: | ./makeman.pl | Can't locate Fatal.pm in @INC Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-04squid: change ksh reference in krb ldap helper to shChong Lu
This solves the following warning: squid-3.4.7: squid requires /bin/bash, /usr/bin/perl, but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-04polarssl: set LIB_INSTALL_DIR to baselibChong Lu
This solves the following warning: polarssl-1.3.8: polarssl: Files/directories were installed but not shipped /usr/lib /usr/lib/libpolarssl.so.1.3.8 /usr/lib/libpolarssl.so.7 /usr/lib/libpolarssl.so /usr/lib/libpolarssl.a /usr/lib/.debug /usr/lib/.debug/libpolarssl.so.1.3.8 [installed-vs-shipped] polarssl-1.3.8: polarssl requires libpolarssl.so.7()(64bit), but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-04net-snmp: fix for Security Advisory - CVE-2014-3565Roy Li
snmplib/mib.c in net-snmp 5.7.0 and earlier, when the -OQ option is used, allows remote attackers to cause a denial of service (snmptrapd crash) via a crafted SNMP trap message, which triggers a conversion to the variable type designated in the MIB file, as demonstrated by a NULL type in an ifMtu trap message. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3565 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-04ntp: make daemon run under ntp:ntpChen Qi
Fix the service so that the ntpd daemon is run under ntp:ntp. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Acked-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-04ntp: add sntp.service for sntp packageChong Lu
This solves the following warning: lib32-ntp-4.2.6p5: lib32-ntp: Files/directories were installed but not shipped /lib/systemd/system/sntp.service [installed-vs-shipped] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-30openvpn: bypass check for /sbin/ip on the hostBen Shelton
In the commit 'openvpn: use default iproute2 path', the configure flag to explicitly set the iproute2 path was removed, since busybox now provides the 'ip' applet at the default path. However, setting this flag is necessary to bypass the configure-time check for /sbin/ip on the host, which will otherwise fail if iproute2 is not installed on the host. Add back the flag (pointing to the correct path), and add a comment to describe why this is necessary. Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30inetutils: inherit texinfoRoy.Li
inherit texinfo to use native command instead of host command Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30squid: Add a PACKAGECONFIG for libnetfilter-conntrackChong.Lu@windriver.com
This solves the following warning: WARNING: QA Issue: squid rdepends on libnetfilter-conntrack, but it isn't a build dependency? [build-deps] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30tcpdump: Add ptestHongjun.Yang
Add ptest supports for tcpdump Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-21radvd: fix daemon start-upChen Qi
1. Fix radvd.service to start daemon correctly. 2. Make the daemon run under 'radvd' user by default. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21wireshark: add PACKAGECONFIG for krb5Jackie Huang
* fixes floating dependency: WARNING: QA Issue: wireshark rdepends on krb5, but it isn't a build dependency? [build-deps] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21ntp: add status for initscriptWenzong Fan
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21net-snmp: add ac_cv_header_valgrind_* to CACHED_CONFIGUREVARSJackie Huang
There have been occasions that net-snmp sees valgrind and then later it's not available, adding this setting ensures determinism by disabling it by default Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21tftp-hpa: fix the empty file writing errorRoy.Li
make write_behind to return 0 if a empty file is written, to distinguish a true writing failure[on which the write_behind will return -1], then the annoying wrong log will disappear. ____ |Error code 3: Disk full or allocation exceeded ----- Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21Revert "tftp-hpa: bug fix on empty file put error"Roy.Li
This reverts commit b2eb21a5fbcb065e84ed582e87de21bdc3082f00. It make 3d8520a0b411[tftp-hpa: add error check for disk filled up] unable to work Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21PolarSSL: update package descriptionEduardo Silva
Signed-off-by: Eduardo Silva <eduardo@monkey.io> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21postfix: remove overriding config config_directoryKang Kai
postfix 2.11.1 adds overriding config check. In postinstall script, it calls command newaliases to read configure file main.cf_2.0. config_directory is set in config main.cf_2.0, but it is an overriding config and warning shows when build an image: WARNING: log_check: There is a warn message in the logfile WARNING: log_check: Matched keyword: [warn] WARNING: log_check: newaliases: warning: /buildarea3/kkang/poky/qemuarm-build/tmp/work/qemuarm-poky-linux-gnueabi/core- image-minimal/1.0-r0/rootfs/etc/postfix/main.cf, line 27: overriding earlier entry: config_directory=/buildarea3/kkang/ poky/qemuarm-build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/postfix Remove config_directory setting in main.cf_2.0 to avoid this warning. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21quagga: remove watchquagga when start with systemdChong.Lu@windriver.com
When we start with sysvinit, watchquagga uses quagga init script to monitor zebra daemon. But we need not do this in systemd environment. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21ebtables: fix for sysvinit and systemdChen Qi
The solution mainly references Fedora20. Extract the common part of the code and install it into ${sbindir}. Add systemd service file. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-16squid: add new recipeJackie Huang
squid is a fully-featured http proxy and web-cache daemon for Linux. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-14ntp: fix path to drift fileWenzong Fan
The default path of ntp drift file is /etc/ntp.drift, ntp daemon maybe fails to create this file since the user ntp is not always permitted to write /etc. Refer to other distributions such as RedHat, Debian, just moving the file to /var/lib/ntp which the home dir of user ntp. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-14ntp: create and package ntp home directoryPeter Bigot
This allows the base recipe and bbappends to reference persistent mutable state such as a drift file. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-10openvpn: use default iproute2 pathpieterg
Since busybox 1.21, the 'ip' applet has the default path (/sbin/ip) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-06PolarSSL: new recipe for polarssl v1.3.8Eduardo Silva
PolarSSL is a lightweight crypto and SSL/TLS library with a strong focus on embedded systems. Signed-off-by: Eduardo Silva <eduardo@monkey.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04quagga: add systemd service fileChong.Lu@windriver.com
Add systemd service for quagga. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04quagga: add subpkgs to RDEPENDSChong.Lu@windriver.com
We need subpkgs to start quagga, so add them to RDEPENDS. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04vsftpd: add systemd service fileChen Qi
Add systemd service for vsftpd. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04vsftpd: fix pkg_postinstChen Qi
Fix pkg_postinst to not exit if "$D" is not empty. Otherwise, postinsts from update-rc.d.bbclass would not run and the symlinks under /etc/rc?.d/ would not be created. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26iscsi-initiator-utils: add recipe fileRoy Li
The package provides the server daemon for the iSCSI protocol, as well as the utility programs used to manage it. iSCSI is a protocol for distributed disk access using SCSI commands sent over Internet Protocol networks Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26radvd: add systemd service fileChen Qi
Add systemd service for for radvd. The unit is disabled by default, just as Fedora20 does. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26ssmping: add recipe for ssmping-0.9.1YangHaibo
Signed-off-by: YangHaibo <b40869@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26tftp-hpa: bug fix on empty file put errorzhangxiao
With the feature that checking the disk filled up, the return value of function write_behind was checked and used to detect the disk status. While for empty file, without data being written, this function will return -1 thus the disk filled up error was miss-raised. Fix it. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26proftpd: fix integer overflow CVE-2013-4359Hongxu Jia
Integrate a patch from proftpd upstream to fix an integer overflow bug described in the CVE-2013-4359, which allows remote attachers to cause a denial of service (memory consumption) attack. Refer: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4359 Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26memcached: add bash to RDEPENDS_memcachedRobert Yang
Bashism: possible bashism in memcached/etc/init.d/memcached line 40 (bash arrays, ${name[0|*|@]}): if [ -r "${FILES[0]}" ]; then possible bashism in memcached/etc/init.d/memcached line 42 (bash arrays, ${name[0|*|@]}): for FILE in "${FILES[@]}"; possible bashism in memcached/etc/init.d/memcached line 53 (should be VAR="${VAR}foo"): CONFIGS+=($NAME) possible bashism in memcached/etc/init.d/memcached line 54 (should be 'b = a'): elif [ "memcached_$2" == "$NAME" ]; possible bashism in memcached/etc/init.d/memcached line 62 (bash arrays, ${name[0|*|@]}): if [ ${#CONFIGS[@]} == 0 ]; possible bashism in memcached/etc/init.d/memcached line 71 (bash arrays, ${name[0|*|@]}): CONFIG_NUM=${#CONFIGS[@]} possible bashism in memcached/etc/init.d/memcached line 72 ('((' should be '$(('): for ((i=0; i < $CONFIG_NUM; i++)); do possible bashism in memcached/etc/init.d/memcached line 73 (bash arrays, ${name[0|*|@]}): NAME=${CONFIGS[${i}]} Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26proftpd: add perl to RDEPENDS_proftpdRobert Yang
Perl: proftpd/usr/bin/ftpasswd:#!/usr/bin/perl proftpd/usr/bin/ftpquota:#!/usr/bin/perl Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26stunnel: add perl to RDEPENDS_stunnelRobert Yang
Perl: stunnel/usr/bin/stunnel3:#!/usr/bin/perl Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26ndisc6: add perl to RDEPENDS_ndisc6-miscRobert Yang
Perl: ndisc6-misc/usr/bin/dnssort:#! /usr/bin/perl Signed-off-by: Robert Yang <liezhi.yang@windriver.com>