Commit Graph

160 Commits

Author SHA1 Message Date
Martin Jansa
e2e263321c cifs-utils: Add PACKAGECONFIG for cifscreds, cifsupcall
* make files in bindir/sbindir a bit more deterministic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-12-30 13:31:48 +01:00
Martin Jansa
191499a2b5 recipes: Remove PR = r0 from all recipes
* 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-11-01 15:30:48 +01:00
Ting Liu
d79d4b3403 netperf: set _FILE_OFFSET_BITS to 64 to support large files
Without this patch, netperf2.6 can only
support files smaller than 2GB with TCP_SENDFILE item.

Signed-off-by: Ting Liu <b28495@freescale.com>
Tested-by: Jianhua Xie<jianhua.xie@freescale.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-09 09:57:21 -04:00
Joe MacDonald
37660c2e81 openflow: import and tweak
Based on work by David Nyström (meta-virtualization) and Laszlo Papp
(meta-oe).

   - Import OpenFlow 1.0 from meta-virtualization and provide an updated
     version of the recipe for the head of tree in the OpenFlow git
     repository.

   - Minor tweak in both recipes for do_install_append() spacing.

   - Update 'libssl' PACKAGECONFIG flag in both to follow the 'openssl'
     convention used elsewhere in meta-oe.

   - Create common include file for both versioned and git recipes.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-07 13:36:46 -04:00
Paul Eggleton
7e0bdfc5ec lowpan-tools: add git version
The 0.3 release was a year ago and git HEAD contains fixes to make it
work with contiki, so build from git instead of backporting all of the
patches.

Based on a patch by Koen Kooi <koen@dominion.thruhere.net>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-24 09:04:55 -04:00
Ming Liu
1c4921817e vsftpd: change default secure_chroot_dir
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-23 10:07:23 -04:00
Chen Qi
08c4c25787 quagga: fix babeld_option
Fix babeld_option to make babeld start correctly.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-23 09:56:56 -04:00
Martin Jansa
4e396e43d1 libmemcached: Add PACKAGECONFIG for sasl
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-17 19:17:38 +02:00
Martin Jansa
d08092bc30 proftpd: Add PACKAGECONFIG for curses
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-17 19:14:32 +02:00
Andreas Müller
080887cf4a ntp: disable automatic panic shutdown for ntpd
Taken from [1]:

"However, if the difference between the client time and server time is greater
than the panic threshold, which defaults to 1000 s, the daemon will send a
message to the system log and shut down without setting the clock."

On RTC-less or 'fresh' systems with unpredicatble inital date ntpd will stop
with work undone (note: I did NOT find the message mentioned above - so it
took long way to fix). This is a wide use case for using NTP in production:
No need for initial datetime setup by some operator.

[1] http://doc.ntp.org/4.1.1/debug.htm

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-16 10:23:25 -04:00
Fathi Boudra
138f44f9bb fping: add recipe
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-13 12:48:55 -07:00
Khem Raj
87e5240294 inetutils: Remove empty usr/lib
This directory is empty and is flagged by QA checker

ERROR: QA Issue: inetutils: Files/directories were installed but not
shipped
  /usr/lib

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-06 09:36:33 -04:00
Joe MacDonald
c896a9bbdc quagga: fix info-related QA warning
Correct the warning:

   quagga-0.99.21: The /usr/share/info/dir file is not meant to be shipped in a particular package.

Simply remove the installed 'dir' file if info docs are installed.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05 17:05:53 -04:00
Roy.Li
2b5682418c atftp: port a patch from OpenSUSE to fix "Sorcerer's Apprentice Syndrome"(SAS)
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05 09:16:33 -04:00
Khem Raj
728254ca47 atftp, libuio: Update the SRC_URI to match upstream sf.net change
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05 08:52:11 -04:00
Andreas Müller
c98e6d3ffd ntp: enable systemd-timedated control for ntp.service
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05 08:52:11 -04:00
Roy.Li
3d8520a0b4 tftp-hpa: add error check for disk filled up
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-05 08:52:10 -04:00
Laszlo Papp
9f3cea60ed stunnel: Add 4.56 version
Signed-off-by: Laszlo Papp <lpapp@kde.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05 08:52:10 -04:00
Jackie Huang
b79176adb3 remove the unnecessary protocol parameters
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-09-03 16:59:13 +02:00
Roy.Li
d4571b3d94 quagga: two fixes
1. quagga should depend on iproute2, since ip from busybox is not sufficient
2. fix a typOS(should chmod, not chown)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-08-16 11:00:19 -04:00
Joe MacDonald
813368a927 meta-networking: update BBFILE_COLLECTIONS to networking-layer
Adopting the common convention of naming BBFILE_COLLECTIONS to be
<layername>-layer.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-08-16 10:58:56 -04:00
Joe MacDonald
5c3e27684c quagga: backport documentation patch
The latest stable quagga adopted this patch:

   http://git.savannah.gnu.org/gitweb/?p=quagga.git;a=commit;h=b58c90807c9d0bfa9601704c7490a16070906004

to repair a documentation build error.  Trivial backport.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-08-12 09:00:00 -04:00
Colin Walters
2b33380048 cyrus-sasl: Add patches from Debian to fix linking
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-01 11:19:24 -04:00
Joe MacDonald
4a19244565 cyrus-sasl: relocate files to package name dir
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-08-01 11:19:24 -04:00
Martin Jansa
24a2c46d77 ntp: allow to run pkg_postinst_ntpdate in do_rootfs
* read-only rootfs cannot run postinsts on first boot and in this case
  it doesn't really have to as we can create cron task in do_rootfs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-08-01 06:56:25 -04:00
Mihai Prica
fe155a77f3 ebtables: Load ebtables kernel module
Ebtables needs some kernel configs options to work properly. The standard yocto
kernel config includes these as modules. Add code to load the ebtables module.

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-30 14:04:22 -04:00
Martin Jansa
7c6e89d50d cifs-utils: inherit pkgconfig
* it fails in do_configure without it
  configure.ac:99: error: possibly undefined macro: AC_MSG_ERROR
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
  configure.ac:140: error: possibly undefined macro: AC_MSG_WARN
  autoreconf: sysroots/x86_64-linux/usr/bin/autoconf failed with exit status: 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:14 +02:00
Martin Jansa
676a28cb6b quagga: add PACKAGECONFIG for capabilities
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:11 +02:00
Martin Jansa
43d5c3ec0b inetutils: add PACKAGECONFIG for ftp and uucpd
* readline support is autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:09 +02:00
Martin Jansa
59c37fd9ea atftp: add PACKAGECONFIG for pcre, readline, tcp-wrapper
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:09 +02:00
Martin Jansa
29677f802d cifs-utils: add PACKAGECONFIG for libcap
* libcap is autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:08 +02:00
Martin Jansa
930eace5d7 ntp: add PACKAGECONFIG for libcap and readline
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:07:33 +02:00
Roy.Li
441502b68d Upgrade vsftpd to 3.0.0
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-19 11:00:43 -04:00
Roy.Li
fe85f4980e cyrus-sasl: several fixes
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-19 08:26:55 -04:00
Roy.Li
5102691729 bridge-utils: BackPort three patches
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-19 08:26:55 -04:00
Roy.Li
e81ef5153c inetutils: several improvement
1. integrate rexec, rlogin, rsh, telnet, tftpd xinetd startup scripts
2. inherit update-alternatives bbclass, not call update-alternatives directly.
3. package all commands into subpackages

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-17 15:44:38 -04:00
Roy.Li
6c293df99b netcat: integrate two fixes
1. fix a running issue on PPC, since 'char' type has different range of values
on x86 and on PPC.
2. fix a building issue.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-17 15:44:38 -04:00
Roy.Li
186cb2068c ipsec-tools: fix dependencies and enable two configuration
ipsec-tools depends on bison-native
enable ipv6 support by DISTRO_FEATURE, and enable shared library support.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-17 15:44:38 -04:00
Roy.Li
69814da193 zeroconf: The ip is being installed into /sbin as of the latest busybox.
The ip is being installed into /sbin as of the latest busybox, or oe-core.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-17 15:44:23 -04:00
Chunrong Guo
d83f96671c licences: Add netperf license
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-17 15:25:53 -04:00
Martin Jansa
46354a697c vsftpd: add missing dependency on openssl
* 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-07-02 14:39:17 -04:00
Khem Raj
17bd75d60f netcat-openbsd: Update to 1.105
Add the missing dependency on libbsd
it was not building otherwise. libbsd recipes for OE-Core
has been ported please wait until they are applied

| netcat.c:99:24: fatal error: bsd/stdlib.h: No such file or directory
|  #include <bsd/stdlib.h>
|                         ^
| compilation terminated.
| make: *** [netcat.o] Error 1
| make: *** Waiting for unfinished jobs....
| socks.c:41:32: fatal error: bsd/readpassphrase.h: No such file or directory
|  #include <bsd/readpassphrase.h>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-06-28 13:00:07 -04:00
Roy.Li
c21c656bfa cyrus-sasl: Avoid to call AC_TRY_RUN
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-28 09:35:18 -04:00
Jonathan Liu
8fc9ec8c65 cyrus-sasl: move plugin *.so symbolic links to cyrus-sasl package
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-19 14:04:01 -04:00
Paul Barker
f829123963 ipsec-tools: update Upstream-Status for patch
I've been notified that the patch has been accepted upstream.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-06-19 10:20:13 -04:00
Roy.Li
bb84e59036 autofs: two fixes
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-06-18 10:08:23 -04:00
Roy.Li
a4c953b35d arptables: fix the redefinition of 'arpt_get_target' error
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-06-17 09:50:53 -04:00
Khem Raj
4136f35d5b ipsec-tools: Upgrade to 0.8.1 and fix build with gcc 4.8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-06-14 09:07:22 -04:00
Thomas Fitzsimmons
b57465fc8c net-snmp: Backport fix for NETSNMP_NO_SYSTEMD typos
Added Signed-off-by for backport patch refresh.  Bumped PR.

Signed-off-by: Thomas Fitzsimmons <fitzsim@cisco.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-06-10 11:18:38 -04:00
Jukka Rissanen
a289eb906e vpnc: Set RDEPENDS to perl-module-io-file instead of perl
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-15 14:08:13 -04:00