summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
Commit message (Collapse)AuthorAgeFilesLines
* opensaf: fix QA Issuedengke.du@windriver.com2017-09-211-9/+5
| | | | | | | | | Move the do_sysvinit_install contents to do_install_append. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* postfix: add dependency icuKai Kang2017-01-291-2/+2
| | | | | | | | | | | | | | It calls icu-config to detect icu support in file makedefs of postfix. The compile results are different depends on whether icu has been built already. postfix should provide Unicode support, so add dependency icu to solve the problem. 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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tftp-hpa: fix ALTERNATIVE_PRIORITY to avoid conflictChen Qi2017-01-291-1/+1
| | | | | | | | | | Fix ALTERNATIVE_PRIORITY to avoid the same priority of the 'tftp' utility with that from busybox. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* squid: disable gnu atomic operations for mipselJackie Huang2017-01-291-0/+1
| | | | | | | | | | | | | | | Disable GNU atomic operations for mipsel since it's not supported. Refer to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56300: There is no hardware support for 8 bytes atomic operations on 32-bit MIPS targets. 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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* vblade: fix QA warning for GNU_HASHYi Zhao2016-11-292-1/+22
| | | | | | | | | | | Add LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit f08e9d4c7ca1e9261484e4ffedd27370109d2bba) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* iscsi-initiator-utils: fix postinstall and systemd service fileQi.Chen@windriver.com2016-11-293-16/+24
| | | | | | | | | | | Fix postinstall and systemd service file so that the postinstall script does not fail at rootfs time. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit 816c723aa5b4c106dcc37815a5691173f9f02af1) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* atftp: fixes musl libc buildMing Liu2016-10-203-0/+92
| | | | | | | | | The patches derive from buildroot: https://git.busybox.net/buildroot/commit/?id=ef33c008e3c5048d1442f8b0f6336db2fa8d79a1 Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* squid: fix ptest failureYi Zhao2016-10-201-0/+3
| | | | | | | | | | | | Fix error when run ptest on target: cp: cannot stat '/usr/bin/true': No such file or directory make: *** [Makefile:1120: squid-conf-tests] Error 1 The correct path should be /bin/true on target. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* squid: specify sysconfdir and logdirYi Zhao2016-10-203-5/+17
| | | | | | | | | | The default sysconfdir is /etc and logdir is /var/logs. Set sysconfdir and logdir when configure, replace them with /etc/squid and /var/log/squid. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* vsftpd: allow sysinfo() in the seccomp sandboxMingli Yu2016-09-122-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow sysinfo() in the seccomp sandbox otherwise comes below OOPS: priv_sock_get_cmd as the syscall sysinfo() not allowed tnftp 192.168.1.1 Connected to 192.168.1.1. 220 (vsFTPd 3.0.3) Name (192.168.1.1:root): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> prompt Interactive mode off. ftp> mget small* OOPS: priv_sock_get_cmd * use "strace -ff /usr/sbin/vsftpd" to track in both seccomp sandbox on and seccomp sandbox off (add seccomp_sandbox=NO in /etc/vsftpd.conf) scenarios when type the commands at ftp client as above, the ftp connection at server side ends up each time with SIGSYS when call sysinfo() syscall in seccomp sandbox on case, so we need to add sysinfo() in the seccomp sandbox if still use seccomp sandbox for vsftpd * The issue still exists in other distribution, Please check https://bugzilla.redhat.com/show_bug.cgi?id=845980 for details And check ftp://195.220.108.108/linux/fedora/linux/updates/\ 24/SRPMS/p/proftpd-1.3.5b-2.fc24.src.rpm for fedora, there is even a patch vsftpd-3.0.2-seccomp.patch as below to turn off seccomp sandbox for vsftpd by default which also means fedora doesn't limit the syscall any more by default. From dd86a1c28f11fa67b1263d5dc79fa9953629d30d Mon Sep 17 00:00:00 2001 From: Martin Sehnoutka <msehnout@redhat.com> Date: Fri, 8 Apr 2016 15:03:16 +0200 Subject: [PATCH 1/7] vsftpd-3.0.2-seccomp --- tunables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tunables.c b/tunables.c index 93f85b1..b024be4 100644 --- a/tunables.c +++ b/tunables.c @@ -232,7 +232,7 @@ tunables_load_defaults() tunable_isolate_network = 1; tunable_ftp_enable = 1; tunable_http_enable = 0; - tunable_seccomp_sandbox = 1; + tunable_seccomp_sandbox = 0; tunable_allow_writeable_chroot = 0; tunable_accept_timeout = 60; Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: remove the script ftpmailMingli Yu2016-09-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove the ftpmail script to avoid confusion about it fails to run because it lacks a dependency on Mail/Sendmail.pm which is not shipped by default. Also it has not been maintained for more than 10 years as http://search.cpan.org/~mivkovic/Mail-Sendmail/Sendmail.pm. * And it's bad to add the dependency perl module Mail/Sendmail.pm as it's too old and also send email to Proftp-devel@lists.sourceforge.net to ask guidance about ftpmail as below: Q: In my environment, the ftpmail fails to run as it lacks the dependency on Mail/Sendmail.pm which is not shipped by default and also not maintained more than 10 years as http://search.cpan.org/~mivkovic/Mail-Sendmail/Sendmail.pm. A: Patches for updates to the ftpmail script are highly encouraged! If the Mail-Sendmail package is not to your preference, what would you suggest/prefer using instead? We don't plan to do more improvements about the perl module Mail-Sendmail now since it's not something we, or other distros apparently need as other distribution also not include the ftpmail script. * The ftpmail is initially added as a perl script to send an email notification when upload proftpd log as below commit in https://github.com/proftpd/proftpd.git: commit 8d602d4bf01ef0c6464c7a16dbbe570a0322dc17 Author: castaglia <castaglia> Date: Thu Mar 6 03:06:14 2008 +0000 Added ftpmail, a Perl script which reads a TransferLog FIFO and sends automatic email notifications for uploads. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* squid: don't do squid-conf-tests at build timeJackie Huang2016-09-052-0/+69
| | | | | | | | | | | | | | * squid-conf-tests is a test to run "squid -k parse -f" to perse the config files, which should not be run at build time since we are cross compiling, so remove it when compiling test-suite * Fix the directories of the conf files for squid-conf-tests so that it can run on the target and add it for ptest 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>
* tftp-hpa: control ipv6 support based on DISTRO_FEATURESJackie Huang2016-09-051-0/+3
| | | | | | | | | Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. 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>
* squid: control ipv6 support based on DISTRO_FEATURESJackie Huang2016-09-051-0/+2
| | | | | | | | | Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. 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>
* cyrus-sasl: control ipv6 support based on DISTRO_FEATURESJackie Huang2016-09-051-0/+2
| | | | | | | | | Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. 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>
* squid: add missing patch headerYi Zhao2016-09-051-0/+7
| | | | | | | | | | Add upstream-status and signed-off-by line to the patch to obey the recommendations: http://openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: 3.0.3 -> 3.1.1Mingli Yu2016-09-052-4/+4
| | | | | | | | * Upgrade postfix from 3.0.3 to 3.1.1 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-oe: remove trailing spacesMartin Jansa2016-08-221-2/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: fix indentationMartin Jansa2016-08-225-20/+20
| | | | | | | | * remove tabs which sneaked in since last cleanup * meta-oe layers are using consistent indentation with 4 spaces, see http://www.openembedded.org/wiki/Styleguide Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* proftpd: 1.3.5a -> 1.3.5bMingli Yu2016-08-163-315/+2
| | | | | | | | | * Upgrade proftpd from 1.3.5a to 1.3.5b * Remove two backport patches Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* radvd: 2.11 -> 2.14Kai Kang2016-08-162-5/+5
| | | | | | | | Upgrade radvd from 2.11 to 2.14. 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>
* opensaf: make sure /etc/init.d/opensafd existDai Caiyun2016-08-161-1/+11
| | | | | | | | | | when disable sysvinit and specify "systemd" in DISTRO_FEATURES, the recipe "inhert systemd" will delete "/etc/init.d/opensafd",but "/etc/init.d/opensafd" is needed to start opensafd.service. Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: fix system account login failureMingli Yu2016-08-161-0/+9
| | | | | | | | | | When pam is enabled, 1, Customize the proftpd.conf to use pam to authenticate 2, Add proftpd pam configuration file /etc/pam.d/proftpd Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* squid: fix configure host contaminationYue Tao2016-08-162-0/+32
| | | | | | | | | | | | | | | | | | | | | | When configuring squid with --enable-esi option, the following error was observed: [snip] checking libxml/parser.h usability... no checking libxml/parser.h presence... no checking for libxml/parser.h... no configure: Failed to find libxml2 header file libxml/parser.h [snip] ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. [snip] It tried to search libxml header file in host path. Set the SYSROOT to avoid this host contamination. Signed-off-by: Yue Tao <yue.tao@windriver.com> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: return stderr to syslogJoe MacDonald2016-08-051-0/+1
| | | | | | | Commit f8dd8cde90c4d6c945177117953e7123e1401236 removed the StandardError option from the proftpd service file, re-introduce it. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: clean the host path in prxsJackie Huang2016-08-051-0/+5
| | | | | | | | | prxs (PRoftpd eXtenSion tool) is a perl script, in which the host path should be avoided. 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>
* proftpd: fix PACKAGECONFIG settingsJoe Slater2016-08-051-3/+4
| | | | | | | | | | | When using '??=' to set a variable, '+=' will cause the '??=' value to be discarded. We change how PACKAGECONFIG is defined. We also do not make sia support a default since it is not likely to be available. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: start at boot timeJoe Slater2016-08-051-2/+6
| | | | | | | | | Add information to proftpd.service so that it will be started at boot time. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* squid: upgrade to 3.5.20Jackie Huang2016-08-054-116/+12
| | | | | | | | | | | * Remove the blacklist since the issue is gone with new version * Remove two CVE patches which have been fixed: - CVE-2016-3947 and CVE-2016-4553 * Rebased the patch for ptest. 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>
* atftp: do not create user nobodyJoe Slater2016-08-051-4/+1
| | | | | | | | | | | The recipe for atftp inherits useradd.bbclass and re-creates the user nobody as a "system" user. This is not correct and is in vain because this new definition will not be created on the target. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: Fix rootfs creation errorsDai Caiyun2016-06-011-0/+5
| | | | | | | | | | | | | 1) error: file /usr/share/man/man1/mailq.1 from install of postfix-doc conflicts with file from package esmtp-doc 2) error: file /usr/share/man/man1/newaliases.1 from install of postfix-doc conflicts with file from package esmtp-doc 3) error: file /usr/share/man/man1/sendmail.1 from install of postfix-doc conflicts with file from package esmtp-doc Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* opensaf: update to 5.0.0Armin Kuster2016-06-011-20/+17
| | | | | | | | clean up to meet style guide Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* squid: CVE-2016-4553Catalin Enache2016-06-012-0/+52
| | | | | | | | | | | | | | | | client_side.cc in Squid before 3.5.18 and 4.x before 4.0.10 does not properly ignore the Host header when absolute-URI is provided, which allows remote attackers to conduct cache-poisoning attacks via an HTTP request. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-4553 Backported upstream patch: http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-14039.patch Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: fix mod_tls build issueCatalin Enache2016-05-182-0/+65
| | | | | | | | | Backported upstream commit: https://github.com/proftpd/proftpd/commit/253e6ef6a4fde5545111f7c439a9692afecc597b Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* squid: CVE-2016-3947Catalin Enache2016-05-052-0/+49
| | | | | | | | | | | | | | | Heap-based buffer overflow in the Icmp6::Recv function in icmp/Icmp6.cc in the pinger in Squid before 3.5.16 and 4.x before 4.0.8 allows remote servers to cause a denial of service (performance degradation or transition failures) or write sensitive information to log files via an ICMPv6 packet. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3947 Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: use bb.utils.contains() instead of base_contains()Ross Burton2016-05-056-23/+23
| | | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: CVE-2016-3125Catalin Enache2016-05-052-0/+248
| | | | | | | | | | | | | | The mod_tls module in ProFTPD before 1.3.5b and 1.3.6 before 1.3.6rc2 does not properly handle the TLSDHParamFile directive, which might cause a weaker than intended Diffie-Hellman (DH) key to be used and consequently allow attackers to have unspecified impact via unknown vectors. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3125 Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* lldpd: Update to version 0.9.2Fabio Berton2016-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new release has following changes since version 0.9.0: lldpd (0.9.2) Change: - Ability to add/remove/replace custom TLV from lldpcli. - LLDP-MED capabilities are displayed differently in lldpcli. - Limit the maximum depth (5) when trying to apply a VLAN. - Change JSON output format when using json-c to match Jansson output. - Integration tests for the major parts of lldpd, including use of address and leak sanitizer. Fix: - LLDP-MED POE TLV are now displayed in lldpcli. - Ignore lower link when it is in another namespace. - Fix various problems with interfaces being enslaved. - Fix a memory leak when modifying port-related settings. lldpd (0.9.1) Change: - Rework packaging for OS X to make it work with El Capitan. To simplify a bit, it is not possible anymore to build fat binaries. Latest version of OS X supporting 32bit was 10.6. Fix: - By default, when using port alias as description, use port name as port ID. - Miscellaneous fixes with netlink cache. - Ensure large netlink messages can be received. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* cyrus-sasl: Drop unneeded group additionRichard Purdie2016-04-191-1/+0
| | | | | | | | | | | | | | The mail group is provided by base-passwd so would always be present. Therefore drop the uneeded group addition from this recipe. This works around the recent user cleanup code improvements which meant this started causing failures for people. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* lldpd: fix PN -> BPN SRC_URI for multilib buildRandy MacLeod2016-03-021-1/+1
| | | | | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ncftp: fix build failures with ccdvJackie Huang2016-02-292-1/+38
| | | | | | | | | | | | | | | | ccdv is an internal tool to reduce the deluge Make output to make finding actual problems easier and it is intended to be invoked from Makefiles only, it doesn't work for the cross compiling, so compile it with $BUILD_CC and corresponding CFLAGS. And I think we don't need to enable it by default to reduce our Make output, so add a PACKAGECONFIG for it but disable it by default. 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>
* postfix: fix clean broken issueHongxu Jia2016-02-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | There is a build failure while rebuilding postfix ... | NOTE: make -e MAKEFLAGS= OPT= DEBUG= OPTS= clean | make -f Makefile.in MAKELEVEL= Makefiles | (echo "# Do not edit -- this file documents how Postfix was built for your machine.";/bin/sh makedefs) >makedefs.tmp | No <db.h> include file found. | Install the appropriate db*-devel package first. | Makefile.in:31: recipe for target 'Makefiles' failed | make: *** [Makefiles] Error 1 | Makefile:21: recipe for target 'Makefiles' failed | make: *** [Makefiles] Error 2 | ERROR: oe_runmake failed | ERROR: Function failed: do_configure (log file is located at tmp/work/ core2-64-wrs-linux/postfix/3.0.2-r0/temp/do_configure/log.do_configure.12848) ... 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>
* lldpd: use bash-completion.bbclassGeorge McCollister2016-02-291-7/+2
| | | | | | | | Use bash-completion.bbclass to package bash completions. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* dnrd: blacklistJoe MacDonald2016-02-221-0/+2
| | | | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* lldpd: Update to version 0.9.0Fabio Berton2016-02-221-2/+2
| | | | | | | | | | | | The new release has following changes since version 0.7.19: - client: fix segfault when displaying some information - build: add some integration tests Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* vsftpd: Explicitly set EXTRA_OEMAKE as requiredMike Crowe2016-02-221-0/+2
| | | | | | | | | | This recipe currently relies on EXTRA_OEMAKE having been to set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* squid: BlacklistMartin Jansa2016-02-221-0/+3
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* opensaf: 4.6.0 -> 4.7.0Dai Caiyun2016-01-263-148/+2
| | | | | | | | | | | 1) Upgrade opensaf from 4.6.0 to 4.7.0. 2) Delete two patches,since they are not needed any more. Revert_imma_client_node_replyPending_to_unsigned_char.patch Fix_GCC_5.1.0_compiler_warning.patch Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: 3.0.2 -> 3.0.3Dai Caiyun2016-01-202-4/+4
| | | | | | | | Upgrade postfix from 3.0.2 to 3.0.3. Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix.inc: fix start postfix failed while hostname is numericHongxu Jia2016-01-054-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | While hostname is numeric, start postfix failed ... root@qemux86-64:~# hostname 1.2.3.4 root@qemux86-64:~# systemctl restart postfix |Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details. root@qemux86-64:~# systemctl status postfix -l Dec 02 08:05:40 1.2.3.4 aliasesdb[535]: /usr/sbin/postconf: fatal: unable to use my own hostname Dec 02 08:05:41 1.2.3.4 aliasesdb[535]: newaliases: warning: valid_hostname: numeric hostname: 1.2.3.4 Dec 02 08:05:41 1.2.3.4 postfix/sendmail[537]: warning: valid_hostname: numeric hostname: 1.2.3.4 Dec 02 08:05:41 1.2.3.4 aliasesdb[535]: newaliases: fatal: unable to use my own hostname Dec 02 08:05:42 1.2.3.4 postfix[540]: warning: valid_hostname: numeric hostname: 1.2.3.4 Dec 02 08:05:42 1.2.3.4 postfix[540]: fatal: unable to use my own hostname ... Refer meta/recipes-core/initscripts/initscripts-1.0/hostname.sh in oe-core, add check_hostname.sh and invoke it before postfix start, if the hostname is invalid, set "localhost" to main.cf. 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>