Commit Graph

74 Commits

Author SHA1 Message Date
Stephano Cetola 98fb6af59a fix missing packageconfig for samba with sysvinit
Building samba with sysvinit currently throws a QA warning about
"invalid PACKAGECONFIG: sysv". This fixes that issue.

Signed-off-by: Stephano Cetola <stephanoc@gmail.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>
2016-04-17 11:43:16 -07:00
Wenzong Fan 8e06bcef67 samba: add PACKAGECONFIG for valgrind
* Add configure options '--without-valgrind'
* Disable valgrind by default since it doesn't build for all targets

This fixes build errors:

  ../source3/include/includes.h:156:31: fatal error: \
    valgrind/memcheck.h: No such file or directory
  compilation terminated.

Signed-off-by: Wenzong Fan <wenzong.fan@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>
2016-01-29 20:24:34 -08:00
Jens Rehsack e4c37719db samba: fix typo distinguishing between plain sysv init and lsb init
During fix for distinguishing between lsb flavoured sysv init and pure, on the
rocks version, author introduced a typo.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-14 11:22:11 +01:00
mike.looijmans@topic.nl 8e9cc02476 samba: Fix typo in PACKAGECONFIG for "acl" and "aio"
There's a "-" too many in PACKAGECONFIG[acl] and PACKAGECONFIG[aio]
resulting in errors like this if built without acl:
  waf: error: no such option: ---without-acl-support

Remove the extra "-" to fix the issue.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-14 11:22:10 +01:00
Roy Li 05d787e42f ufw: improve RRECOMMENDS
ufw needs lots of netfilter module to run

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-12-20 14:10:00 -08:00
Martin Jansa e155307338 samba: add dependency on libbsd cyrus-sasl and PACKAGECONFIG for dmapi
* dmapi is in meta-filesystems
* hopefully fixes:
  WARN: samba: samba rdepends on cyrus-sasl, but it isn't a build dependency?
  WARN: samba: samba rdepends on dmapi, but it isn't a build dependency?
  WARN: samba: samba rdepends on libbsd, but it isn't a build dependency?
  WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
  WARN: samba: samba-python rdepends on libbsd, but it isn't a build dependency?

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-16 21:57:48 +01:00
Martin Jansa 89163f1a8f samba, ctdb, libldb, libtdb, libtevent, talloc: move to meta-networking
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-16 21:57:47 +01:00
Martin Jansa 6d7a4d6a81 snort: fix indentation
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 10:47:20 +01:00
Zhiquan Li f08b9e8e7d snort: fix m4 causes out of memory during configure
There is an incorrect m4_define() in configure.in which will result in an
infinite recursion, and it doesn't make sense, since snort 2.9.7 it has been
commented out. We follow this solution to fix it.

Signed-off-by: Zhiquan Li <zhiquan.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 10:47:20 +01:00
Martin Jansa 29e99a67da vpnc, arptables, lirc, debootstrap, log4cpp, python-ldap: drop unused variable PRIORITY
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:22 +02:00
Ioan-Adrian Ratiu 6233934a50 meta-networking: recipes-connectivity: add relayd recipe
relayd is a daemon to relay and dynamically redirect incoming
connections to a target host.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-10-21 15:59:03 -04:00
Qi.Chen@windriver.com 395519075d inetutils: fix rcp to work with large file
This issue occurs When we copy file by rcp command between target and host,
if the file > 2GB, it will fail.
The cause is that it used incorrect data type on file size in sink() of rcp.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-10-21 12:13:03 -04:00
Kai Kang 43188cd974 inetutils: add package config pam
Add package config pam for inetutils. And only check pam_appl.h when pam
is enabled.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-09-14 10:40:35 -04:00
Jagadeesh Krishnanjanappa 7e1de2f5c3 lftp: add new recipe
LFTP is a sophisticated file transfer program with command line interface.
It supports FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols.
Every operation in lftp is reliable, that is any non-fatal error is handled and
the operation is retried automatically. So if downloading breaks, it will be
restarted from the point automatically.

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-09-11 10:39:09 -04:00
Kai Kang 55713b8c15 inetutils: 1.9.2 -> 1.9.4
Upgrade inetutils from 1.9.2 to 1.9.4.

* add homepage
* update inetutils/version.patch

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>

Conflicts:
	meta-networking/recipes-connectivity/inetutils/inetutils/telnetd-Fix-deadlock-on-cleanup.patch
2015-08-19 20:43:30 -04:00
Li xin 6aa74f9fca crda: upgrade 3.13 -> 3.18
Dropped backported patches(commit-id):
-crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch(2cabb258)
-crda-Fix-the-linking-order-to-avoid-compilation-erro.patch(fefefdb2)

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>
2015-08-06 11:01:39 -04:00
Roy Li c12b9596af inetutils: fix tcpd path in xinetd configuration file
tcpd from tcp-wrapper is installed into /usr/sbin/, not /usr/bin/
using sed to dynamical update the path to add the robust

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-07-16 13:27:02 -04:00
Li Wang 279b7cd97d inetutils: move daemon servers from bin to sbin directory
move daemon servers from bin to sbin directory:
tftpd, telnetd, rshd, rexecd and rlogind

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-07-15 15:23:27 -04:00
Joe Slater 8621b51850 drbd ufw linux-atm: correct certain packaging error
The named packages explicitly install some items under /lib,
but the recipes assume they are in base_libdir.  We change
the recipes.

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>
2015-07-06 15:27:52 -04:00
Roy Li 01ffc1f2b2 mbedtls: upgrade to 1.3.10
1. PolarSSL is now rebranded as mbed TLS.
2. upgrade to include CVE-2015-1182 fix:
   http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1182

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-06-05 22:18:30 -04:00
Joe MacDonald 8980f0d2a2 meta-networking: standardize SECTION values
SECTION has been used inconsistently throughout the recipes in this layer.
Convert them to all use the same convention.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-06-05 20:42:25 -04:00
Armin Kuster 0850d63009 daq: move recipe to meta-networking
ERROR: Nothing PROVIDES 'libdnet' (but /home/akuster/oss/clean/meta-openembedded/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb DEPENDS on or otherwise requires it). Close matches:
 libnet
 libnewt
 libidn
ERROR: Required build target 'daq' has no buildable providers.
Missing or unbuildable dependency chain was: ['daq', 'libdnet']

world build fails for meta-oe.

move daq to meta-networking where snort and libdnet both reside.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-05-11 11:01:35 +02:00
Andreas Oberritter ac4e327ee7 vpnc: don't rdepend on kernel-module-tun
Kernel modules may be built-in, so rrecommend it instead.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-04-15 21:52:47 -04:00
lchristina26 c667c7dc68 wolfssl: change name from cyassl to wolfssl, update to version 3.4.0
CyaSSL is now called wolfSSL. Recipe updates included RPROVIDE and
PROVIDE lines, with updates to sha/md5 sums.

Signed-off-by: lchristina26 <leah@wolfssl.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-04-15 10:23:49 -04:00
Javier Viguera 9584c59d39 crda: move libnl, libgcrypt to DEPENDS
crda has a build time dependence on libgcrypt, so move the dependence
from RDEPENDS to DEPENDS.

Otherwise the build fails with:

reglib.c:28:20: fatal error: gcrypt.h: No such file or directory

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-03-10 18:24:36 -04:00
Bian Naimeng ff9e0b95aa vlan: install vconfig into /sbin same as Ubuntu and Fedora.
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>
2015-03-10 18:13:27 -04:00
Hugo Vasconcelos Saldanha 7fc8172e3d crda: upgrade to 3.13
CRDA has been relicensed under the copyleft-next license.
Regulatory bins license remains ISC.

There is an new internal library called libreg.so which was
placed in the same directory of the regulatory bin. The call
to make was adjusted accordingly.

Remove version 1.1.3.

Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-02-23 13:21:07 -05:00
Joe MacDonald 13670f904b snort: blacklist
Details: http://errors.yoctoproject.org/Errors/Details/8936/

The configure failure can cause an OOM on the system, so we will shut this
down immediately.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-02-19 11:09:04 -05:00
Dmitry Eremin-Solenikov e6e25bcaf7 vlan: don't try to include files from ${HOME}/linux/include
vlan sources explicitly adds ~/linux/include to compiler include path.
If that directory does exist, this leads to various issues. Drop this
explicit exclude path.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-01-26 09:45:13 -05:00
lchristina26 25daf5fc3d cyassl: add version 3.3.0, remove version 3.1.0
Signed-off-by: Leah <lchristina26@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-05 13:25:12 +01:00
Joe MacDonald 2cc1bd9dd0 ufw: Uncomplicated Firewall recipe
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-12-03 16:39:50 -05:00
Wenzong Fan b3caf13a8e sethdlc: fix host contamination
* Clean INCLUDES to fix the host contamination errors:

  In file included from /usr/src/linux/include/linux/posix_types.h:47:0,
  from /usr/src/linux/include/linux/types.h:17,
  from /usr/src/linux/include/linux/if.h:22,
  from sethdlc.c:23:
  /usr/src/linux/include/asm-generic/posix_types.h:91:3: \
    error: conflicting types for '__kernel_fsid_t'
  } __kernel_fsid_t;
  ^
  .../tmp/sysroots/qemumips/usr/include/asm/posix_types.h:26:3: \
    note: previous declaration of '__kernel_fsid_t' was here
  } __kernel_fsid_t;
  ^

* Correct LIC_FILES_CHKSUM to checkout license infos from sethdl.c
  instead of Makefile.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-30 15:45:47 -05:00
Kai Kang 84d2f0a979 polarssl: add dependency openssl
polarssl compiles with openssl to build unit test cases. If openssl
doesn't exist, native libssl.so will be used. Then causes error:

| .../bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/libssl.so: error adding symbols: File in wrong format

Add dependency openssl for polarssl to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-20 14:51:11 -05:00
Jackie Huang 34ca3aeef1 vpnc: use nativeperl to run perl scripts
inhert perlnative and make sure we use nativeperl
to run perl scripts when compile.

fixed:
| ./makeman.pl
| Can't locate Fatal.pm in @INC

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-11-04 16:02:44 -05:00
Chong Lu c1958c2171 polarssl: set LIB_INSTALL_DIR to baselib
This solves the following warning:

polarssl-1.3.8: polarssl: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/libpolarssl.so.1.3.8
  /usr/lib/libpolarssl.so.7
  /usr/lib/libpolarssl.so
  /usr/lib/libpolarssl.a
  /usr/lib/.debug
  /usr/lib/.debug/libpolarssl.so.1.3.8 [installed-vs-shipped]
polarssl-1.3.8: polarssl requires libpolarssl.so.7()(64bit), 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>
2014-11-04 16:02:44 -05:00
Roy.Li e3f2ac1d1b inetutils: inherit texinfo
inherit texinfo to use native command instead of host command

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 09:00:09 +01:00
Eduardo Silva 4851bb16c3 PolarSSL: update package description
Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21 14:44:45 -04:00
Eduardo Silva bde313a105 PolarSSL: new recipe for polarssl v1.3.8
PolarSSL is a lightweight crypto and SSL/TLS library with a strong
focus on embedded systems.

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-06 01:07:52 +02:00
Roy Li a39f60d812 inetutils: uprev to 1.9.2
1. remove unneeded patches:
 inetutils-1.9.1/disable-pre-ANSI-compilers.patch
 inetutils-1.9.1/remove-gets.patch
2. Update the version from 1.9.1 to 1.9.2 in version.patch
3. remove PR

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-09-08 16:57:27 -04:00
lchristina26 5f532a928c cyassl: add recipe
Signed-off-by: Leah Thompson <lchristina26@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-15 17:07:45 +02:00
Ting Liu 61362da811 inetutils: not use auto-detected login for telnetd
Below error appears as login was auto-detected by default:
| telnetd: /usr/bin/login -p -h 192.168.2.1 : No such file or directory.
| Connection closed by foreign host.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-13 23:28:06 +02:00
Martin Jansa 98d1178cb0 snort: add dependency on util-linux
* fixes floating dependency:
  WARNING: QA Issue: snort rdepends on util-linux-libuuid but it isn't a build dependency? [build-deps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 10:59:24 +02:00
Roy.Li b8baf820be snort: do not hardcode the libdir
libdir is defined as ${pref_exec}/lib/, but we want it to support multilib path

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-30 09:21:05 +02:00
Martin Jansa 1e1b6d19ef snort: move files from 'files' to 'snort' for faster lookup
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-24 15:31:51 +02:00
Martin Jansa 26279f3350 snort: add openssl PACKAGECONFIG
* otherwise the result isn't deterministic
  WARN: packages/armv5te-oe-linux-gnueabi/snort/snort/latest lost dependency on  libcrypto

* enable it by default, disabling currently doesn't work, because there are --with flags for
  openssl, but then configure.in still checks for sha.h header with
  AC_CHECK_HEADERS([openssl/sha.h],, SHA_H="no")
  and autodetects it, I'll leave patching configure to someone who
  is actually using snort (this issue was reported many times and
  nobody seems to care).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-24 15:31:51 +02:00
Martin Jansa f2ec214f09 snort: add missing pkgconfig inherit
* otherwise m4 eats all memory and is killed by OOMK
  [1051138.019784] Out of memory: Kill process 26264 (m4) score 860 or sacrifice child
  [1051138.019788] Killed process 26264 (m4) total-vm:23062712kB, anon-rss:15066516kB, file-rss:100kB

* very strange, but m4 and snort sometimes have strange side-effects,
  from first google result:
  http://www.hipforums.com/newforums/showthread.php?t=466568

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-24 15:31:51 +02:00
Martin Jansa bdd5aeeee7 sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-25 15:54:30 +02:00
Maxim Uvarov 69cbc366c5 update snort to 2.9.6.0
1. looks like snort dropped reference to barnyard2. At least it's missing in configure.
Also download link to barnyard2 is not available now. Drop this package.
2. update snort version from 2.9.4.6 to 2.9.6.0.
3. fix libdnet paths.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-06-03 21:57:28 -04:00
Jackie Huang bc969d3705 inetutils: add -dbg packages for tftpd, telnetd and rshd
The packages tftpd, telnetd and rshd conflict with the ones
provided by netkit, so add the corresponding -dbg packages
for them to avoid the following confliction between the dbg
package of inetutils and netkit:

error: file /usr/sbin/.debug/in.rexecd conflicts between attempted installs of inetutils-dbg-1.9.1-r1.0.armv7a_vfp_neon and netkit-rsh-dbg-0.17-r0.0.armv7a_vfp_neon
error: file /usr/sbin/.debug/in.telnetd conflicts between attempted installs of inetutils-dbg-1.9.1-r1.0.armv7a_vfp_neon and netkit-telnet-dbg-0.17-r0.0.armv7a_vfp_neon

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-02 11:18:54 -04:00
Chunrong Guo 6226023a2e sethdlc : add recipe
* sethdlc: get/set Linux HDLC packet radio modem driver port information
   * sethdlc is  a  program designed to set and/or report the configuration
     information associated with a soundcard radio modem port. This information
     includes  the  modem type, what I/O port, IRQ and DMA channel a particular
     modem port is using, and where to output a transmitter  keying (PTT) signal.

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-03-27 15:41:12 -04:00