summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
Commit message (Collapse)AuthorAgeFilesLines
...
* cyrus-sasl: do not set CLEANBROKENQi.Chen@windriver.com2018-09-101-1/+0
| | | | | | | | | | | | | | | | | | | | | A previous commit set CLEANBROKEN to "1" to claim to fix the following error. Fixed rebuild error: configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm .././config.cache' and start over configure: error: ./configure failed for saslauthd However, I'm still seeing these errors! The actual problem is about autotools.bbclass not cleaning things up. It just uses 'make clean' while maybe 'make distclean' and 'rm -f ${B}/config.cache' also needs to be there. In fact, setting CLEANBROKEN will do no cleanup except removing some .la files. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openhpi: Upgrade to 3.8.0Khem Raj2018-09-0915-215/+291
| | | | | | | | * Add patches to fix build with OpenSSL 1.1.x * Forward patches and drop ones not needed anymore * openhpi: Fix build with musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: add sendmail to ALTERNATIVE_${PN}Mingli Yu2018-09-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are several packages provide ${sbindir}/sendmail and should add sendmail to ALTERNATIVE_${PN} to make it work well. And the sendmail is removed from ALTERNATIVE_${PN} in below commit: === commit 7b500488115c67d657312135b48027a1c26e0955 Author: Lei Maohui <leimaohui@cn.fujitsu.com> Date: Fri Aug 17 18:19:53 2018 -0700 postfix,esmtp: Fix confilct error in do_rootfs Error: Transaction check error: file /usr/bin/mailq conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 file /usr/bin/newaliases conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> === Add it back to make sendmail works normally before adding it back: # mime-construct --to root --subject mail-20826 --encoding 7bit --string mail_content sendmail: account default not found: no configuration file available Error closing sendmail: non-zero exit (78) at /usr/bin/mime-construct line 572. # echo $? 78 After adding it back: # mime-construct --to root --subject mail-20826 --encoding 7bit --string mail_content # echo $? 0 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cyrus-sasl: Update to 2.1.27-rc7Khem Raj2018-09-057-105/+89
| | | | | | | | | | This update also fixes build failures with openSSL 1.1.x Drop patches which are not required anymore Backport a proposed patch to fix build on musl Readjust configure options since some of the options are not available anymore Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cyrus-sasl: CLEANBROKEN = "1"Robert Yang2018-08-281-0/+2
| | | | | | | | | | Fixed rebuild error: configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm .././config.cache' and start over configure: error: ./configure failed for saslauthd Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: Do not use pkg.m4 from build hostKhem Raj2018-08-242-0/+30
| | | | | | | | When build host does not have this macro file the build fails, we therefore make sure that the file is used from native sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: specify fifodir and flagdirYi Zhao2018-08-241-1/+2
| | | | | | | | Explicitly specify the fifodir and flagdir to ${localstatedir}/run. Remove the line for fixing typo since it had been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Exclude non-buildable recipes from world for musl buildKhem Raj2018-08-201-0/+2
| | | | | | | These recipes need to be fixed for musl, until they are needed on musl lets remove them from world builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix,esmtp: Fix confilct error in do_rootfsLei Maohui2018-08-191-3/+4
| | | | | | | | | Error: Transaction check error: file /usr/bin/mailq conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 file /usr/bin/newaliases conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pure-ftpd: fix build with glibc-2.28Martin Jansa2018-08-161-1/+1
| | | | | | | | | | | | * fixes: ../../pure-ftpd-1.0.42/src/pure-pw.c:243: error: undefined reference to 'crypt' ../../pure-ftpd-1.0.42/src/pure-pw.c:257: error: undefined reference to 'crypt' ../../pure-ftpd-1.0.42/src/pure-pw.c:272: error: undefined reference to 'crypt' ../../pure-ftpd-1.0.42/src/pure-pw.c:282: error: undefined reference to 'crypt' collect2: error: ld returned 1 exit status Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: upgrade 5.1.2 -> 5.1.4Changqing Li2018-07-273-78/+2
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openhpi: close socket in saHpiSessionCloseOvidiu Panait2018-07-122-0/+38
| | | | | | | | | | | | Upstream issue: https://github.com/open-hpi/openhpi/issues/1918 The saHpiSessionClose doesn't close the socket and leaks the file descriptor. Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.2.2 -> 3.2.6Yi Zhao2018-07-042-4/+6
| | | | | | | | | | License-Update: The postfix is distributed with a dual license since 3.2.5: IBM Public License 1.0 and Eclipse Public License 2.0. Recipients can choose to take the software under the license of their choice. Those who are more comfortable with the IPL can continue with that license. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* squid: Fix build with gcc8Khem Raj2018-06-243-0/+548
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opensaf: Upgrade to 5.18.04Khem Raj2018-06-249-59/+86
| | | | | | | fix strncpy overflow errors seen with gcc8 refresh patches with devtool Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opensaf:Modified PACKAGECONFIG to fix the following error:leimaohui2018-06-201-2/+3
| | | | | | | | | | configure: error: Package requirements (libvirt) were not met: | | No package 'libvirt' found Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Update to latestKhem Raj2018-06-183-66/+1
| | | | | | | Remove patches for gcc8 issues which are now fixed upstream but differently Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Remove useless file makedeps.out of postfixchangqing.li@windriver.com2018-06-051-6/+2
| | | | | | | | file /etc/postfix/makedeps.out is useless, remove it. makedeps.out is intermediate file that documents how Postfix was built for your machine. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Update to latest masterKhem Raj2018-06-019-195/+75
| | | | | | | - Fix build with gcc8 and musl - Drop already upstreamed patched Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cyrus-sasl: add UPSTREAM_CHECK_REGEXYi Zhao2018-05-301-0/+2
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vblade: add UPSTREAM_CHECK_URIYi Zhao2018-05-291-0/+2
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vsftpd: add UPSTREAM_CHECK_URIYi Zhao2018-05-291-0/+3
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: add UPSTREAM_CHECK_URIYi Zhao2018-05-291-0/+2
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* radvd: Fix missing yacc error.Noor Ahsan2018-05-291-1/+1
| | | | | | | | * Following error apprear in do configure. Fix it by adding bison-native in DEPENDS. ../radvd-2.17/ylwrap: line 176: yacc: command not found Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Depend on external libnslKhem Raj2018-05-171-3/+1
| | | | | | | Glibc has dropped libnsl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* ippool: Adjust for glibc dropping rpc supportKhem Raj2018-05-172-223/+16
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* squid: Upgrade to 3.5.27Khem Raj2018-05-173-76/+2
| | | | | | | Drop upstreamed/backported patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* opensaf: Fix warnings found with gcc8Khem Raj2018-05-174-1/+250
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* postfix: remove host references from makedefs.outSlater, Joseph2018-05-171-0/+1
| | | | | | | Several -I definitions contain the value of ${STAGING_DIR_TARGET} which should be removed to reference directories on the target. Signed-off-by: Joe Slater <joe.slater@windriver.com>
* openhpi: refresh patchesArmin Kuster2018-04-135-32/+31
| | | | | | | | | | | | | | | | | | | | | | | | WARNING: openhpi-3.6.1-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch openhpi-use-serial-tests-config-needed-by-ptest.patch patching file configure.ac Hunk #1 succeeded at 7 with fuzz 2. Now at patch openhpi-use-serial-tests-config-needed-by-ptest.patch Signed-off-by: Armin Kuster <akuster808@gmail.com>
* autofs: refresh patchesArmin Kuster2018-04-1317-135/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | WARNING: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: checking file configure.in checking file daemon/module.c Hunk #1 succeeded at 19 with fuzz 2 (offset 1 line). Hunk #2 succeeded at 55 with fuzz 2 (offset 1 line). checking file include/automount.h Hunk #1 succeeded at 51 (offset 1 line). WARNING: among others Signed-off-by: Armin Kuster <akuster808@gmail.com>
* squid: refresh patchesArmin Kuster2018-04-1310-96/+102
| | | | | | | | | | | | | | | | | | | | | | | ARNING: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: checking file configure.ac Hunk #1 succeeded at 27 with fuzz 1 (offset 8 lines). and others Signed-off-by: Armin Kuster <akuster808@gmail.com>
* vsftpd: refresh patchesArmin Kuster2018-04-139-55/+105
| | | | | | | | | | | | | | | | | | | | | | | WARNING: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: checking file Makefile Hunk #1 succeeded at 29 with fuzz 1 (offset 5 lines). and others Signed-off-by: Armin Kuster <akuster808@gmail.com>
* cyrus-sasl: fix systemd related settingChen Qi2018-04-081-2/+2
| | | | | | | | | The service file belongs to ${PN}-bin instead of ${PN}, fix things accordingly. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Acked-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* keepalived: Upgrade from 1.3.5 -> 1.4.2Khem Raj2018-04-061-3/+2
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: adapt pkg_postinst to postinst_interceptSlater, Joseph2018-04-061-5/+10
| | | | | | | | | Request delay to first boot if newaliases fails on host. Check for linuxstdbase before we might fail. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* opensaf: Upgrade to 5.18.02Khem Raj2018-04-062-21/+17
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: Upgrade to 2.0.876Khem Raj2018-04-0416-557/+191
| | | | | | | | Fix build with musl along the way Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: fix generating aliases db filesYi Zhao2018-02-053-11/+10
| | | | | | | | | | | | | | When generating aliases db files, the newaliases tries to chdir /var/spool/postfix on the host. It would cause a failure if the host doesn't install postfix: newaliases: fatal: chdir /var/spool/postfix: No such file or directory Move this step from do_install to pkg_postinst to make sure newaliases and postmap run during the image creation. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: CVE-2017-17840Zhixiong Chi2018-02-048-0/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | Backport CVE patches from the github upstream: https://github.com/open-iscsi/open-iscsi commit as follows: e313bd648a4c8a9526421e270eb597a5de1e0c7f b9c33683bdc0aed28ffe31c3f3d50bf5cdf519ea be58eed849f5457bb49b79e94aa6a26971ba6deb 5504053cc08df38d8d85032fa1691e363dfcfb92 85f647c4300a888bb6cbc27f33138549cab617e3 a7a96131bd2ea342f6def0e46be514baf8037ae8 59ede2cf4eee8729a4221000a5d1ecdd312a31ac https://nvd.nist.gov/vuln/detail/CVE-2017-17840 A local attacker can cause the iscsiuio server to abort or potentially execute code by sending messages with incorrect lengths, which (due to lack of checking) can lead to buffer overflows, and result in aborts (with overflow checking enabled) or code execution. The process_iscsid_broadcast function in iscsiuio/src/unix/iscsid_ipc.c does not validate the payload length before a write operation Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: drop NATIVE_INSTALL_WORKSArmin Kuster2018-01-081-2/+0
| | | | | | | | | | | This variable hasn't been used in a very long time, so there's no need to be setting it here. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Hand applied Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: remove the distro_features_checkJackie Huang2018-01-081-3/+1
| | | | | | | | | open-isns supports both systemd and sysvinit now, so remove the distro_features_check. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: check file existence before movingJackie Huang2018-01-081-1/+3
| | | | | | | | | | Check the file existence before moving to avoid the error: | mv: cannot stat /<build_dir>/git/utils/fwparam_ibft/prom_lex.l: | No such file or directory Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: virtual/db isn't used by core, change to dbRoss Burton2018-01-081-2/+2
| | | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* cyrus-sasl: virtual/db isn't used by core, change to dbRoss Burton2018-01-081-1/+1
| | | | | Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: fix send mail failure and eliminate warningYi Zhao2018-01-083-26/+22
| | | | | | | | | | | | | | | | | | | * Update main.cf for postfix 3.x to eliminate startup warning * Set daemon_directory from ${libexecdir} to ${libexecdir}/postfix * Using absolute path for newaliases and postmap to generate the correct db file in pkg_postinst * Remove duplicate SRC_URI lines in postfix_3.2.2.bb (LOCAL REV: NOT UPSTREAM) -- will sent to oe-devel later Signed-off-by: Yi Zhao <yi.zhao@windriver.com> * Move use of newaliases and postmap on host to install phase because absolute path might not exist at rootfs build time. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* lldpd: Update to version 0.9.8Fabio Berton2017-10-112-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove json packageconfig. See commit: https://github.com/vincentbernat/lldpd/commit/06987a24ce053cbb57f8853bbf544bc7c067c8aa - Add patch to use mkdir from /bin/mkdir in systemd service. - Update from lldpd (0.9.8) * Changes: + "Station" capability is only set if no other bit is set. + Use ethtool to get permanent address for bonds and teams. This might provide different results than the previous method. Some devices may still use the previous method. + Don't run ethtool as root. Kernels older than 2.6.19 won't get link information anymore. + Add "configure system hostname ." option to not use a FQDN for system name. + Add "-f json0" to provide a more regular/machine-parsable output to JSON output, even when not compiled with --enable-json0. * Fixes: + Handle team interfaces like a bond. Real MAC address cannot be retrieved yet. - Updates from lldpd (0.9.7) * Changes: + Attach remote TTL to port instead of chassis. + JSON support is now built-in and unconditionally enabled. Use --enable-json0 to keep the pre-0.9.2 json-c format. + When logging to syslog and daemonizing, don't log to stderr. + vxlan interfaces are now ignored as they are multi-point interfaces. + Maximum number of neighbors for an interface is increased from 4 to 32. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* opensaf: Upgrade to 5.17.07Khem Raj2017-09-224-46/+160
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openhpi: Fix build with muslKhem Raj2017-09-223-5/+84
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: Fix build with muslKhem Raj2017-09-222-0/+30
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>