aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
AgeCommit message (Collapse)Author
2014-07-22vsftpd: fix install warningWenzong Fan
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>
2014-07-20postfix: add new recipeJackie Huang
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>
2014-06-29tftp-hpa: fix a build failureRoy Li
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>
2014-06-24ptpd: update to 2.3.0Franklin S. Cooper Jr
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-21recipes: add missing pkgconfig class inheritsRichard Purdie
* 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>
2014-06-15tftp-hpa: bug fix on separated CR and LFZhang Xiao
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>
2014-06-15vblade: inherit autotools-brokensepRobert Yang
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>
2014-06-15tftp-hpa: inherit autotools-brokensepRobert Yang
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>
2014-06-15autofs: inherit autotools-brokensepRobert Yang
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>
2014-06-15cyrus-sasl: inherit autotools-brokensepRobert Yang
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>
2014-06-15proftpd: inherit autotools-brokensepRobert Yang
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>
2014-06-13radvd: fix install issue for S!=BMartin Jansa
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>
2014-04-24radvd.init: fix path to radvd.conf sampleWenzong Fan
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>
2014-04-20atftp: include whole sysconfdir in PNMartin Jansa
* 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>
2014-03-14radvd: eliminate confusing warnings when stop serviceLiang Li
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>
2014-02-23recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET
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>
2014-02-12proftpd: move the runing created file under /var/runRoy Li
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>
2014-01-22radvd: update to 1.9.8Kang Kai
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>
2013-12-09proftpd: use /bin/false as the login shell and add home-dirRoy Li
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>
2013-11-29ntp: comment out the invalid serverRoy Li
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>
2013-11-27proftpd: move pidfile from /var/ to /var/run/Roy Li
/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>
2013-11-25proftpd: Convert proftpd group to system scopeQiang Chen
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>
2013-11-04autofs: correct QA issues with orphaned systemd filesJoe MacDonald
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>
2013-11-01recipes: Remove PR = r0 from all recipesMartin Jansa
* 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>
2013-10-31radvd: fix pkg_postinstChen Qi
`/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>
2013-10-31cyrus-sasl: remove the unnecessary pkg_postinstChen Qi
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>
2013-10-31cyrus-sasl: ensure size_t is defined for use by sasl.hMark Asselstine
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>
2013-10-29tftpd-hpa: update default tftpboot locationJoe MacDonald
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>
2013-10-24autofs: fix do_install failure and remove unused /var/run directoryChen Qi
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>
2013-10-18vsftpd: use quotes to wrap variableRoy Li
"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>
2013-10-18autofs: change DESCRIPTION to SUMMARYAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-18autofs: pass systemd directory to configureAndreas Oberritter
Otherwise, configure will try to auto-detect using host paths. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-18tftpd-hpa: fix premature exitDavid Turgeon
standalone daemon exits as recipe installs file as tftpd-hpa * Changed script so it can consult /etc/default, as daemon name may be subject to change. * Changed the default name to match the recipe Signed-off-by: David Turgeon <david.turgeon@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-23vsftpd: change default secure_chroot_dirMing Liu
Change default value of secure_chroot_dir to /var/run/vsftpd/empty, add volatiles entry for it, to ensure it won't fail to start with error: "500 OOPS: vsftpd: not found: directory given in 'secure_chroot_dir':/var/share/empty" This shows up in both standalone mode or started by xined. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-17proftpd: Add PACKAGECONFIG for cursesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-05atftp: port a patch from OpenSUSE to fix "Sorcerer's Apprentice Syndrome"(SAS)Roy.Li
Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05atftp, libuio: Update the SRC_URI to match upstream sf.net changeKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05tftp-hpa: add error check for disk filled upRoy.Li
Add error check when the write-buffer is finally flushed to the file, the caller can detect if the disk filled up (or had an i/o error) and return a NOSAPCE nak to the other side. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-03remove the unnecessary protocol parametersJackie Huang
It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-01cyrus-sasl: Add patches from Debian to fix linkingColin Walters
This fixes the build on at least Fedora 19 x86_64 as a host; we were trying to link a non-PIC static object into a shared library. Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-08-01cyrus-sasl: relocate files to package name dirJoe MacDonald
A minor bit of reorganization of the cyrus-sasl recipe directory in preparation for a build fix. Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-30atftp: add PACKAGECONFIG for pcre, readline, tcp-wrapperMartin Jansa
* it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-19Upgrade vsftpd to 3.0.0Roy.Li
Upgrade vsftpd to 3.0.0 with below modification: 1. more strict access limitation, like: do not allow anonymous access 2. use vsftpd.ftpusers and vsftpd.user_list to confine user access 3. enable pam if DISTRO_FEATURE includes pam 4. enable tcp-wrapper 5. install vsftpd.conf with 0600 permission, not 0755 Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-19cyrus-sasl: several fixesRoy.Li
1. Fix hardcoded libdir 2. configure cyrus-sasl based on PACKAGECONFIG 3. create user by inherit useradd 4. add -fPIC to CFLAG to fix the below building failure: ld: ../sasldb/.libs/libsasldb.a(db_berkeley.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC ../sasldb/.libs/libsasldb.a(db_berkeley.o): could not read symbols: Bad value The cause is that libsasldb.a is built twice since {.c.o: and .c.lo} co-exist, one with -fPIC, other without -fPIC. if no -fPIC library follows behind, this error will appear. so we enable -fPIC no matter whatever objects are built. 5. The version of db in oe-core is 5.0 Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-02vsftpd: add missing dependency on opensslMartin Jansa
* Fails without openssl in sysroot: | i586-webos-linux-gcc -m32 -march=i586 --sysroot=/OE/sysroots/qemux86 -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o opts.o ssl.o sslslave.o ptracesandbox.o ftppolicy.o sysutil.o sysdeputil.o -lssl -lcrypto -lnsl -lresolv -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lcrypt -lcap | /OE/sysroots/x86_64-linux/usr/libexec/i586-webos-linux/gcc/i586-webos-linux/4.7.2/ld: cannot find -lssl | /OE/sysroots/x86_64-linux/usr/libexec/i586-webos-linux/gcc/i586-webos-linux/4.7.2/ld: cannot find -lcrypto | collect2: error: ld returned 1 exit status Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-06-28cyrus-sasl: Avoid to call AC_TRY_RUNRoy.Li
If the gssapi libraries are compiled before cyrus-sasl, configure will call AC_TRY_RUN to check if gssapi libraries support SPNEGO, but calling AC_TRY_RUN will fail on cross-compile environment. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-06-19cyrus-sasl: move plugin *.so symbolic links to cyrus-sasl packageJonathan Liu
The Cyrus SASL plugins are loaded without their version number so the plugin *.so symbolic links need to be placed in the cyrus-sasl package rather than the cyrus-sasl-dev package. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-06-18autofs: two fixesRoy.Li
autofs's lib sources have a dependency on a number of files that are generated by rpcgen during buildtime. fix a typo in configure.in Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-15proftpd: pack missing filesAndreas Müller
WARNING: QA Issue: proftpd: Files/directories were installed but not shipped /home /home/ftp /home/ftp/pub Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-10proftpd: remove postinst - directory can be setup offline in do_installAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>