summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
Commit message (Collapse)AuthorAgeFilesLines
* squid: serveral missing security fixesArmin Kuster2016-02-085-0/+692
| | | | | | | | | | | | | | SQUID-2015:2 - Does not affect Squid-3.4 and older versions are not vulnerable. CVE-2015-5400 CVE-2015-3455 CVE-2014-7142 CVE-2014-7141 CVE-2014-6270 see http://www.squid-cache.org/Advisories/ Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* opensaf: RDEPENDS on python and bashRobert Yang2015-08-031-0/+2
| | | | | | | | | | | | | | | | | | | | python: opensaf/usr/share/opensaf/samples/immsv/immom_python/immom.py bash: opensaf/usr/share/opensaf/immxml/verify.sh opensaf/usr/share/opensaf/immxml/immxml-modify-config opensaf/usr/share/opensaf/immxml/immxml-configure opensaf/usr/share/opensaf/immxml/immxml-clustersize opensaf/usr/share/opensaf/immxml/immxml-nodegen opensaf/usr/share/opensaf/samples/INSTALL opensaf/usr/share/opensaf/samples/smfsv/campaigns/smf-verify opensaf/usr/lib/opensaf/configure_tipc Signed-off-by: Robert Yang <liezhi.yang@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: get rid of useless codeBian Naimeng2015-03-111-1/+0
| | | | | | | | We should set group of ${localstatedir}/lib/postfix to 'nogroup' not 'postfix', actually it's done at the below, so remove this useless code. Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: add link file /usr/lib/sendmailKang Kai2015-03-101-0/+5
| | | | | | | | | | | | | | | | | | | Link file /usr/lib/sendmail points to /usr/sbin/sendmail is required by LSB core test according to Linux FHS[Ref2]: "For historical reasons, /usr/lib/sendmail must be a symbolic link to /usr/sbin/sendmail if the latter exists." The linke file was provided by package lsb before, but should be provided by packages which provides command sendmail such as msmtp, postfix and esmtp etc. Refs: 1 http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/normativerefs.html#STD. 2 http://www.pathname.com/fhs/pub/fhs-2.3.html#SPECIFICOPTIONS13 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>
* ptpd: use pkgconfigJoe MacDonald2015-02-272-1/+37
| | | | | | | pcap-config should not be used for determining how to build against libpcap in a yocto environment. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: fix bug of main.cf_2.0Bian Naimeng2015-02-231-1/+1
| | | | | | | | ${exec_prefix}/libexec/${PN} => ${libexecdir} 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>
* postfix: don't hard-code PATH in service fileBian Naimeng2015-02-232-6/+8
| | | | | | 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>
* ptpd: add systemd supportedBian Naimeng2015-02-233-2/+36
| | | | | | 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>
* cyrus-sasl: add systemd supported for saslauthdBian Naimeng2015-02-233-2/+52
| | | | | | 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>
* cyrus-sasl: remove trailing slash from plugin directory pathBian Naimeng2015-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifying the plugin directory with a trailing '/' hit this failure in the install rule: ... snip ... install-exec-local: $(INSTALLOSX) @if test "$(plugindir)" != "$(prefix)/lib/sasl2"; then \ echo "********************************************************"; \ echo "* WARNING:"; \ echo "* Plugins are being installed into $(prefix)/lib/sasl2,"; \ echo "* but the library will look for them in $(plugindir)."; \ echo "* You need to make sure that the plugins will eventually"; \ echo "* be in $(plugindir) -- the easiest way is to make a"; \ echo "* symbolic link from $(plugindir) to $(prefix)/lib/sasl2,"; \ echo "* but this may not be appropriate for your site, so this"; \ echo "* installation procedure won't do it for you."; \ echo "*"; \ echo "* If you don't want to do this for some reason, you can"; \ echo "* set the location where the library will look for plugins"; \ echo "* by setting the environment variable SASL_PATH to the path"; \ echo "* the library should use."; \ echo "********************************************************"; \ fi Work around that. 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>
* proftpd: add systemd supportRoy Li2015-02-112-1/+19
| | | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: instead ${exec_prefix}/libexec/${PN} by ${libexecdir}Bian Naimeng2015-02-111-4/+4
| | | | | | 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>
* postfix: start the postfix daemon by default when init is systemdRoy Li2015-02-111-1/+0
| | | | | | | | | postfix should be started by default, so that the root user can receive mail, and if init is not systemd, it is started by default Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: fix the iscsid path in iscsid.confRoy Li2015-01-261-0/+2
| | | | | | | | iscsid is installed into ${sbindir}, which is /usr/sbin, not /sbin/, so fix it in /etc/iscsi/iscsid.conf Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* opensaf: update SRC_URI and install actionsJoe MacDonald2015-01-261-3/+5
| | | | | | | | | | | The default configuration for OpenSAF creates /run and /var/lock during install time. Tweak the recipe to use ${localstatedir} as other recipes do, and clean up at the end of do_install. Swap the hard-coded SRC_URI with ${SOURCEFORGE_MIRROR} while we're at it. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opensaf: add recipeBian Naimeng2015-01-262-0/+51
| | | | | | | | OpenSAF is an open source implementation of the SAF AIS specification 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>
* ncftp: use BPN in SRC_URIRobert Yang2015-01-071-1/+1
| | | | | | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* dnrd: fix SRC_URIRobert Yang2015-01-051-1/+1
| | | | | | | | | | | Fixed: ERROR: Function failed: Fetcher failure for URL: 'http://ncu.dl.sourceforge.net/project/dnrd/dnrd/2.20.3/dnrd-2.20.3.tar.gz'. Unable to fetch URL from any source. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: update to 1.3.5Armin Kuster2014-12-296-301/+156
| | | | | | | | | | | | dropped proftpd-sftp.patch as it is included in update. combined make.patch, move-pidfile-to-var-run.patch, move-runfile-to-var-run.patch into build_fixup Added several packagesconfig options (too much eggnog) 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>
* dnrd: Add new recipeQian Lei2014-12-294-0/+166
| | | | | | | | | | | dnrd is a proxying nameserver. It forwards DNS queries to the appropriate nameserver, but can also act as the primary nameserver for a subnet behind a firewall. It also has features such as caching DNS requests, support for DNS servers, cache poisoning prevention, TCP support, etc. Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* lldpad: Add new recipeQian Lei2014-12-191-0/+23
| | | | | | | | LLDPAD contains the Linux user space daemon and configuration tool for Intel LLDP Agent with Enhanced Ethernet support for the Data Center. Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ncftp: add new recipeLi xin2014-12-161-0/+22
| | | | | | | | ncftp is a sophisticated console ftp client. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Revert "open-iscsi: add recipe"Joe MacDonald2014-12-023-78/+0
| | | | | | This reverts commit 97cffc1f247be7eedd061a142d9c366b63f691ed. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* open-iscsi: add recipeLi xin2014-11-303-0/+78
| | | | | | | | | Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: Fix indentationMartin Jansa2014-11-211-143/+143
| | | | | | * we're using 4 spaces, not mix of tabs and spaces\! Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* postfix.inc: Remove references to buildmachine paths in target makedefs.outJackie Huang2014-11-211-0/+5
| | | | | | | | | | | 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>
* ptpd: add FSL QorIQ DPAA and eTSEC supportZhenhua Luo2014-11-192-1/+624
| | | | | | | | | | 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>
* postfix: create or update aliases.db when using systemdRoy Li2014-11-103-0/+24
| | | | | | | | | | | | | | 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>
* squid: change ksh reference in krb ldap helper to shChong Lu2014-11-043-30/+41
| | | | | | | | | | 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>
* squid: Add a PACKAGECONFIG for libnetfilter-conntrackChong.Lu@windriver.com2014-10-301-0/+2
| | | | | | | | | | 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>
* radvd: fix daemon start-upChen Qi2014-10-213-5/+7
| | | | | | | | 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>
* tftp-hpa: fix the empty file writing errorRoy.Li2014-10-212-0/+40
| | | | | | | | | | | 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>
* Revert "tftp-hpa: bug fix on empty file put error"Roy.Li2014-10-212-34/+0
| | | | | | | | | 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>
* postfix: remove overriding config config_directoryKang Kai2014-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* squid: add new recipeJackie Huang2014-10-169-0/+296
| | | | | | | 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>
* vsftpd: add systemd service fileChen Qi2014-10-042-1/+18
| | | | | | | Add systemd service for vsftpd. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vsftpd: fix pkg_postinstChen Qi2014-10-041-5/+4
| | | | | | | | | 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>
* iscsi-initiator-utils: add recipe fileRoy Li2014-09-268-0/+524
| | | | | | | | | | 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>
* radvd: add systemd service fileChen Qi2014-09-262-1/+27
| | | | | | | | 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>
* tftp-hpa: bug fix on empty file put errorzhangxiao2014-09-262-0/+34
| | | | | | | | | | 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>
* proftpd: fix integer overflow CVE-2013-4359Hongxu Jia2014-09-262-1/+144
| | | | | | | | | | | | | 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>
* proftpd: add perl to RDEPENDS_proftpdRobert Yang2014-09-261-0/+2
| | | | | | | | Perl: proftpd/usr/bin/ftpasswd:#!/usr/bin/perl proftpd/usr/bin/ftpquota:#!/usr/bin/perl Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* autofs: remove bashismRobert Yang2014-09-262-0/+121
| | | | | | The autofs.init can work with /bin/sh in busybox, so remove bashsim. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* radvd: update to 1.14Joe Slater2014-09-232-6/+6
| | | | | | | | No changes except to source version. 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>
* vftpd: update to version 3.0.2Joe Slater2014-09-237-2/+3
| | | | | | | | No changes other than source checksum. 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>
* ptpd: update to version 2.3.1-rc2Joe Slater2014-09-231-4/+14
| | | | | | | | | | | | Add a little processing to find correct directory for source upstream. Update LIC_FILES_CHKSUM since the latest package doesn't include a COPYRIGHT file anymore. 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>
* autofs: uprev it to 5.1.0Roy Li2014-08-2157-3931/+176
| | | | | | | | | | 1. Uprev it to 5.1.0, add remove the unneed patches 2. fix a building failure since not include stdarg.h 3. using pkg-config to check xml and krb5 4. force STRIP to empty to not strip the file Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vsftpd: fix install warningWenzong Fan2014-07-221-1/+15
| | | | | | | | | | WARNING: QA Issue: vsftpd: Files/directories were installed but not shipped /run /run/vsftpd /run/vsftpd/empty Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* postfix: add new recipeJackie Huang2014-07-209-0/+646
| | | | | | | | | | | | Postfix is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program. Postfix attempts to be fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tftp-hpa: fix a build failureRoy Li2014-06-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | AR is defined as "ar cq" in MCONFIG.in, then "cq" is no longer needed in Makefile of common and libs subdir. #grep AR MCONFIG.in AR = ar cq # #grep AR common/Makefile $(AR) $(LIB) $(OBJS) # But MCONFIG maybe not able to be generated by MCONFIG.in, common/Makefile allows this condition [Note the - before include] #grep MCONFIG common/Makefile -include ../MCONFIG # then AR from building environment is used, but it not included the parameter "cq", and lead to below error, so add the "cq" to AR to fix this issue. i586-wrs-linux-ar libcommon.a tftpsubs. i586-wrs-linux-ar: two different operation options specified Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>