summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
Commit message (Collapse)AuthorAgeFilesLines
* ptpd: disable libpcap detection via pcap-configStefan Agner2015-05-311-2/+2
| | | | | | | | | | | | | | | | | | When the host system provides pcap-config, the configure scripts detect that and add a bogous CPPFLAG: checking for pcap-config... /usr/bin/pcap-config checking if we want to build with libpcap support... yes, pcap-config ... PCAP_CPPFLAGS = -I/usr/include Which down the line can lead to compile errors due to wrong headers being included. Fix this issue by using --with-pcap-config=no which prevents detection using pcap-config but does "guessing", which works fine for OE. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* postfix.inc: Remove references to buildmachine paths in target makedefs.outJackie Huang2014-12-261-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> Signed-off-by: Armin Kuster <akuster808@gmail.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>
* ptpd: update to 2.3.0Franklin S. Cooper Jr2014-06-242-47/+11
| | | | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* recipes: add missing pkgconfig class inheritsRichard Purdie2014-06-211-1/+1
| | | | | | | | * These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tftp-hpa: bug fix on separated CR and LFZhang Xiao2014-06-152-0/+39
| | | | | | | | | In ascii mode, if the CR and LF was separated into different transfer blocks, This LF will be just dropped instead of replacing the previous CR. Add a checking on the first character to fix it. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* vblade: inherit autotools-brokensepRobert Yang2014-06-151-1/+1
| | | | | | | | | It needs autotools-brokensep, otherwise do_install error: install: cannot stat `vblade-20/vblade': No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tftp-hpa: inherit autotools-brokensepRobert Yang2014-06-151-1/+1
| | | | | | | | | It needs autotools-brokensep, otherwise do_install error: make: *** No rule to make target `install'. Stop. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: inherit autotools-brokensepRobert Yang2014-06-151-1/+1
| | | | | | | | Otherwise do_configure failed: sed: can't read configure.in: No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* cyrus-sasl: inherit autotools-brokensepRobert Yang2014-06-151-1/+1
| | | | | | | | | It needs autotools-brokensep, otherwise do_configure error: sed: can't read sasldb/db_berkeley.c: No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: inherit autotools-brokensepRobert Yang2014-06-151-1/+1
| | | | | | | | | It needs autotools-brokensep, otherwise do_compile error: proftpd-1.3.4b/include/version.h:1:24: fatal error: buildstamp.h: No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* radvd: fix install issue for S!=BMartin Jansa2014-06-131-1/+1
| | | | | | | Some files are in "S" that are needed for install. Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* radvd.init: fix path to radvd.conf sampleWenzong Fan2014-04-241-1/+1
| | | | | | | | Correct the information that printed by radvd initscript. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* atftp: include whole sysconfdir in PNMartin Jansa2014-04-201-1/+1
| | | | | | | | | * when sysv script is removed QA warn is shown: atftp-0.7.1+gitAUTOINC+be3291a18c: atftp: Files/directories were installed but not shipped /etc empty dir doesn't cost much, so just include it Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* radvd: eliminate confusing warnings when stop serviceLiang Li2014-03-141-0/+4
| | | | | | | | | | | | | | | When run 'service radvd stop' in case radvd is not started/running, we'll get warnings like this: Stopping radvd: no /usr/sbin/radvd found; none killed /etc/init.d/radvd: warning: cannot restore settings radvd. We could by pass these OPs by just check if the service is running or not so eliminate possible warnings. Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-233-3/+4
| | | | | | | | | | | | | 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>
* proftpd: move the runing created file under /var/runRoy Li2014-02-122-0/+40
| | | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Joe MacDonald <joe@deserted.net>
* radvd: update to 1.9.8Kang Kai2014-01-225-34/+21
| | | | | | | | | | Update radvd to version 1.9.8 * remove change-scanner-dependency.patch which is merged * add 'status' subcommand for radvd.init Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* proftpd: use /bin/false as the login shell and add home-dirRoy Li2013-12-092-1/+30
| | | | | | | | | Use /bin/false as the login shell, just like what Ubuntu does, otherwise there might be secure issue; add /var/lib/ftp as user ftp home-dir. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* ntp: comment out the invalid serverRoy Li2013-11-291-0/+1
| | | | | | | | | | | | | 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>
* proftpd: move pidfile from /var/ to /var/run/Roy Li2013-11-272-0/+40
| | | | | | | | | /var/run/ is more suitable to store pidfile for OE, and this fixes "/etc/init.d/proftpd stop" failure too, since this script assumes the pidfile is under /var/run Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* proftpd: Convert proftpd group to system scopeQiang Chen2013-11-251-1/+1
| | | | | | | | | | Proftpd is meant to be a system user, not a normal user of the system so lets pass the correct parameters to the system. Just add --system param when creating ftp group. Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: correct QA issues with orphaned systemd filesJoe MacDonald2013-11-042-2/+49
| | | | | | | | | | | | | | | | If we build a project without systemd support on a system that has systemd enabled, the following QA items get flagged: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/autofs.service Trying to keep the solution to the problem as contained as possible in a way that may be accepted up-stream by adding an optional parameter to the --with-systemd flag. Signed-off-by: Joe MacDonald <joe@deserted.net>
* recipes: Remove PR = r0 from all recipesMartin Jansa2013-11-012-2/+0
| | | | | | | | | | | * 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>
* radvd: fix pkg_postinstChen Qi2013-10-311-1/+3
| | | | | | | | | `/etc/init.d/populate-volatile.sh update' only needs to run in case of an on-target installation. And it should have a prerequisite that the script is executable. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* cyrus-sasl: remove the unnecessary pkg_postinstChen Qi2013-10-311-5/+0
| | | | | | | | | | | | | | saslpasswd2 is used by an administrator to set a user's sasl password, setting a default one in pkg_postinst in not only unnecessary but also inappropriate. Besides, running saslpasswd2 takes a significant amount of time to finish, so this pkg_postinst will make the first boot take longer time. According to the above two reasons, the patch remove the pkg_postint. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* cyrus-sasl: ensure size_t is defined for use by sasl.hMark Asselstine2013-10-312-0/+32
| | | | | | | | | | | | While making use of the cyrus-sasl library an external application will most likely include sasl.h which will cause compilation failures if steps haven't been taken to define size_t. This should not be the responsibility of the application building against the sasl library but rather handled already in sasl.h. Here we ensure sasl.h has the proper includes to have size_t defined before it is used. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* tftpd-hpa: update default tftpboot locationJoe MacDonald2013-10-291-1/+1
| | | | | | | | | The tftp-hpa package installs /var/lib/tftpboot and tftpd-hpa is configured to use that directory, but the default points at /svc/tftpboot. Correct that so the default points to a location that exists when the package is installed. Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: fix do_install failure and remove unused /var/run directoryChen Qi2013-10-241-1/+6
| | | | | | | | | | | | | | | | | If ${D}/run doesn't exist, the following statement will have non-zero exit code, which leads to do_install failure. test -d ${D}/run && rmdir ${D}/run Modify it to use the if statement to make the do_install task succeed no matter ${D}/run exists or not. Also, this patch removes the unused /var/run directory. Leaving that directory there will result in /run directory created before splitting package, which in turn lead to 'installed-vs-shipped' QA error or QA warning. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* vsftpd: use quotes to wrap variableRoy Li2013-10-181-1/+1
| | | | | | | | | | "test -z ${PAMLIB}" in do_install() may report error if ${PAMLIB} has space chars. This commit added double quotes to wrap it in case of errors. Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>