aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
AgeCommit message (Collapse)Author
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>
2013-04-19atftp: move to meta-networking and tweakPaul Eggleton
* Add origin and Upstream-Status to patches * Set SUMMARY instead of DESCRIPTION * Add ${PN}d to PACKAGES instead of atftpd to be consistent with the rest of the recipe Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19vsftpd: move from meta-oe to meta-networking and tweakPaul Eggleton
* Fix stripped file QA warning * Add proper headers to patches (and split makefile.patch into two parts, one of which may be upstreamable) * Use PV in SRC_URI instead of hardcoded version * Move SRC_URI checksums up next to SRC_URI * Set SUMMARY instead of DESCRIPTION Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15autofs: move systemd support from meta-systemd back to meta-networkingMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-25cyrus-sasl2: clean up rpath QA errorsJoe MacDonald
Cleaning QA errors from commit 770b14191143fd89fa18daa4048af1f618debdee Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-21autofs: update to current patchlevelAndreas Oberritter
* Apply all patches from ftp.kernel.org/pub/linux/daemons/autofs/v5/patches-5.0.8/ Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18autofs: Fix build breakage with systemd in DISTRO_FEATUREKhem Raj
When systemd is in distro features we need to translate it into the appropriate PACKAGECONFIG flag Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18autofs: fix QA error when building without systemdJoe MacDonald
Building without systemd enabled results in: WARNING: QA Issue: autofs: Files/directories were installed but not shipped /lib /lib/systemd /lib/systemd/system /lib/systemd/system/autofs.service fix that in the PKGCONFIG way. Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18autofs: fix compile with uclibcAndreas Oberritter
* Backport patch to make yp optional, which uclibc doesn't provide. * Create patch to include linux/nfs.h instead of nfs/nfs.h. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-16cyrus-sasl2: add 2.1.26Marcin Juszkiewicz
I took recipe from OE classic, updated, cleaned and got it build. I use it only as build dependency - did not checked binaries from ${PN}-bin. There are RPATH problems to solve: WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib in file /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/saslpasswd2 WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib in file /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/pluginviewer WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib in file /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/sasldblistusers2 WARNING: QA Issue: package cyrus-sasl contains bad RPATH /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib in file /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl/usr/lib/sasl2/libsasldb.so.3.0.0 Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-04multilib: Fix PN - BPN to make fetch work.Randy MacLeod
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-01-25autofs: fix QA warningsMartin Jansa
autofs-5.0.7: autofs: Files/directories were installed but not shipped /run Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-24autofs: fails to compile with openldap disabledAmy Fong
As of 5.0.6, it appears that changes were introduced so that if you compile with openldap disabled and openldap headers are not available, then autofs fails to build. Since autofs no longer depends on openldap, remove the dependency. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-01-17autofs: do not check for modprobeyanjun.zhu
Reference: http://www.spinics.net/lists/autofs/msg00139.html Loading autofs module is #ifdef'ed in the source, so there is no need to check for /proc (which is only used to load module) or modprobe. Both modprobe and /proc are always in the fixed location so there's no need to check for these to start with. Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-01-10autofs: Remove systemd related things.Noor Ahsan
* Autofs was being inherited from systemd. This class is only present in meta-systemd. So bitbake was giving parse error about systemd class. So removed systemd from inherit and removed SYSTEMD_PACKAGES and SYSTEMD_SERVICE. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-08autofs: Add recipes for 5.0.7Khem Raj
Forward port from OE classic Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-04radvd: change scanner.* file dependencyRoy.Li
generation of scanner.c needs gram.h, not just scanner.o Signed-off-by: Roy.Li <rongqing.li@windriver.com>
2012-12-23meta-openembedded: use correct format of Upstream-StatusMartin Jansa
* some patches have also incorrect value, but e.g. "Unknown" is as good as "Pending" to me Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16meta-networking: Fix erroneous use of "startline" in LIC_FILES_CHKSUMPaul Eggleton
"beginline" is the correct parameter name. Checksums have been updated where necessary (i.e. if the beginning line was something other than the default of 1). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-07pure-ftpd: add new recipe for 1.0.36Paul Eggleton
Based on a patch by Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-05proftpd: fix do_install failure after libexecdir changePaul Eggleton
As of OE-Core commit id 406bd38b4232f9f399ef5ffe0b4fac72ed605a23 libexecdir has been changed to ${libdir}/${BPN}. As we are already deleting ${libdir}/proftpd which is the same as ${libdir}/${BPN} in this case, introduce a check to see if ${libexecdir} still exists before attempting to remove it possibly a second time. This will handle if libexecdir is set to its original value or a custom value in the distro config. Based on a patch by Kevin Strasser <kevin.strasser@linux.intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27proftpd: add from meta-baryonPaul Eggleton
This was originally from OE-Classic. Improvements over the OE-Classic recipe for reference: * Update to 1.3.4b * Add workaround for proftpd host IP resolution * Add initscript, borrowed from Debian with some modifications for compatibility and handling for hardcoded paths * Use autotools.bbclass and remove unnecessary configure options * PARALLEL_MAKE = "" is no longer needed, the bug was fixed in 1.3.3c * Set SUMMARY (which sets DESCRIPTION) and base it on the short description from the website * Use useradd.bbclass to add ftp user/group * Add HOMEPAGE * Add/fix description in some patches and improve recipe indentation * Make LICENSE more accurate * Add LIC_FILES_CHKSUM Some of this work was done by Dexuan Cui <dexuan.cui@intel.com> and Kevin Strasser <kevin.strasser@linux.intel.com>. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>