220 Commits

Author SHA1 Message Date
Joe MacDonald
2d6c355a55 autofs: fix QA error when building without systemd
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-18 15:13:52 -04:00
Andreas Oberritter
9641d4dff4 autofs: fix compile with uclibc
* 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-03-18 15:13:52 -04:00
Wenzong Fan
68a3728972 meta-networking: Add LAYERVERSION and LAYERDEPENDS
Add LAYERVERSION and LAYERDEPENDS to layer.conf

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18 15:13:52 -04:00
Jesse Zhang
b6070c7f7a pptp-linux: Add dependency to fix parallel build
Add dependency on the generated config.h file for pptp.c and version.c.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18 15:13:52 -04:00
Felipe F. Tonello
84ea543373 macchanger: added 1.5.0 recipe
This is a useful utility to manipulate the mac address of a device.

Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-25 09:59:56 -05:00
Jackie Huang
a7c6fcebee ebtables: move ebtables-save to sbindir to avoid QA issue
Fix the QA issue:
WARNING: QA Issue: ebtables: Found a reference to /usr/ in
    /path/to/tmp/work/x86_64-wrs-linux/ebtables-2.0.10-4-r1/packages-split/ebtables/sbin/ebtables-save
WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-25 09:59:45 -05:00
Marcin Juszkiewicz
770b141911 cyrus-sasl2: add 2.1.26
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-16 05:55:00 +01:00
Joe Slater
5346f2f092 arptables: defeat multi-job for install
CQID: 399299

The make install target is not parallel job
safe, but doesn't do all that much, so we
limit make to one job for that.

The make target is of the form

install: x y z

Unfortunately, z depends on y, so if z is started
before y (almost) completes, we will fail.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-14 22:49:03 -05:00
Aws Ismail
a3f1c77cf5 accel-ppp: resolve QA warnings and satisfy multilib
Create -libs and -dbg splits to include .so and .debug
files, respectively to resolve the QA warning:
lib64-accel-ppp rdepends on lib64-accel-ppp-dev when
multilib is being used.

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-14 22:46:38 -05:00
Aws Ismail
86c9e56cec netcat-openbsd: resolve multilib issues.
Make recipe changes to enable successfull building
when multilib is being used.

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-14 22:46:38 -05:00
Aws Ismail
f67ed326aa traceroute: resolve multilib issues
Make recipe changes to enable successfull building
when multilib is being used.

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-14 22:46:38 -05:00
yanjun.zhu
f12d0b66f4 netcat: call out glib-2.0 dependency
When do_compile, netcat-openbsd needs the dependence of glib-2.0.

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-04 10:56:41 -05:00
Randy MacLeod
7448ece404 multilib: Fix PN - BPN to make fetch work.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-04 10:52:13 -05:00
Khem Raj
ed0557d136 ebtables, arptables: add perl as runtime dependency
Fixes errors like

| Computing transaction...error: Can't install
arptables-0.0.3+4-r0.0@ppce500v2: no package provides /usr/bin/perl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-27 23:54:09 +01:00
Martin Jansa
3409e2ff98 autofs: fix QA warnings
autofs-5.0.7: autofs: Files/directories were installed but not shipped
  /run

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-25 13:11:47 +01:00
Amy Fong
b7ff6ac09a autofs: fails to compile with openldap disabled
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-24 10:35:49 -05:00
Koen Kooi
d116a1f163 znc: add git version
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-22 13:17:55 +01:00
Koen Kooi
eb9c2482b4 accel-ppp: add 1.7.3 + fixes from git
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-22 13:17:55 +01:00
Koen Kooi
946ea0f946 iftop: add 1.0pre2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-22 13:17:55 +01:00
Morgan Little
9ba54f4d78 traceroute: Remove bashisms
* remove the pushd/popd parts of do_install
   * fix broken symlinks to manpages

Signed-off-by: Morgan Little <morgan.little@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-01-18 08:56:14 -05:00
Khem Raj
26debc05d8 netcat_0.7.1.bb: Fix build with new versions of autotools
autoconf and automake got updates which need these changes
see patch header for details

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-01-18 07:35:28 -05:00
yanjun.zhu
1edcda74a8 autofs: do not check for modprobe
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-17 09:10:40 -05:00
Noor Ahsan
734398aa23 autofs: Remove systemd related things.
* 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-10 11:59:58 +01:00
Roy.Li
c9a18a8845 ntp: fix license to kill a warning
LICENSE is case sensitive

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-01-09 09:34:47 -05:00
Khem Raj
1db7387892 ndisc6: Forward port recipe from OE classic
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:44 -08:00
Khem Raj
5d56edf7a7 nis: Import recipes from OE classic
Update to latest versions while at it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:44 -08:00
Khem Raj
4c735f36f6 autofs: Add recipes for 5.0.7
Forward port from OE classic

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:33 -08:00
Khem Raj
eca536954a ebtables: Fix segfault by linking with no-as-needed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-07 14:43:14 -08:00
Khem Raj
9aa5364601 arptables: Import recipe from OE-Classic and update to latest
Make LICENSE more specific
Add LIC_FILES_CHKSUM

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-07 14:43:14 -08:00
Lei Yang
7bbb2e57c3 Add netcat-bsd into meta-networking for meta-virutalization libvirt virt-test
The netcat-openbsd in meta-virtualization layer has bugs.
This update version will fix "nc: Protocol no available." error.
As bruce point, we want to keep netcat in the meta-networking,
which meta-virtualization will depend on,and this patch will let
netcat-openbsd with low priority to install

Signed-off-by: Lei Yang <lei.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-01-07 15:20:37 -05:00
Andrei Gherzan
cd5f284730 layer.conf: Use .= for adding to BBPATH and += to BBFILES
Fixes parsing errors which is appearing after this commit to
meta-openembedded

http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e

This triggers
exception NameError: name 'base_contains' is not defined
without this change

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
2013-01-04 15:12:20 -05:00
Roy.Li
e269762ff4 radvd: change scanner.* file dependency
generation of scanner.c needs gram.h, not just scanner.o

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
2013-01-04 15:12:20 -05:00
Martin Jansa
580fd6c743 meta-openembedded: use correct format of Upstream-Status
* 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-23 09:40:44 +01:00
Paul Eggleton
c9bac6e84f meta-networking: Fix erroneous use of "startline" in LIC_FILES_CHKSUM
"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-16 21:11:43 +01:00
Martin Jansa
a88d613e35 vpnc: import from OE-classic
* needed for exalt
* fix LICENSE
* add LIC_FILES_CHKSUM
* .inc merged to .bb and cleaned files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-10 19:05:52 +01:00
Paul Eggleton
2cde4ab536 pptp-linux: add from OE-Classic, update and tidy up
* Update to 1.7.2
* Drop unnecessary override of do_compile
* Make LICENSE more accurate
* Add LIC_FILES_CHKSUM
* Add SUMMARY
* Minor formatting/ordering tweaks

Based on a patch by Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:29 -05:00
Paul Eggleton
e4259f59e3 pure-ftpd: add new recipe for 1.0.36
Based on a patch by Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:29 -05:00
Paul Eggleton
c71a08cea8 ebtables: add from OE-Classic, update and tidy up
* Update to 2.0.10-4
* Handle hardcoded paths in initscript
* Add LIC_FILES_CHKSUM
* Set SUMMARY (which sets DESCRIPTION)
* Drop PRIORITY
* Minor formatting/ordering tweaks

Based on a patch by Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:29 -05:00
Paul Eggleton
612119a4c2 conntrack-tools: add from OE-Classic, update and tidy up
* Update to version 1.4.0 and add additional dependencies
* Handle hardcoded paths in initscripts
* Add LSB header to initscript
* Make LICENSE more specific
* Add LIC_FILES_CHKSUM
* Set SUMMARY (which sets DESCRIPTION)

Based on a patch by Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:29 -05:00
Paul Eggleton
9d2cd30424 libnetfilter-queue: add new recipe for version 1.0.2
This library is needed by recent versions of conntrack-tools.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:29 -05:00
Paul Eggleton
7c808668fb libnetfilter-cthelper: add new recipe for version 1.0.0
This library is needed by recent versions of conntrack-tools.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:28 -05:00
Paul Eggleton
3fc004b443 libnetfilter-cttimeout: add new recipe for version 1.0.0
This library is needed by recent versions of conntrack-tools.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:28 -05:00
Paul Eggleton
591c1e19ed libnetfilter-conntrack: add from OE-Classic and update
* Update to version 1.0.2
* Add SUMMARY and tweak DESCRIPTION
* Add HOMEPAGE
* Add dependency on libmnl

Based on a patch by Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:28 -05:00
Paul Eggleton
20b9b8a89e libmnl: add new recipe for version 1.0.3
This library is required by recent versions of some the libnetfilter*
libraries.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:28 -05:00
Paul Eggleton
3664f5a75e libnfnetlink: move to meta-networking and update to 1.0.1
* Fix SRC_URI checksum to not be version-specific
* Refer to new COPYING file in LIC_FILES_CHKSUM (previously none was
  distributed)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:28 -05:00
Paul Eggleton
3d61c970a1 netcat: add from OE-Classic
Changes from the OE-Classic recipe:
* Use ALTERNATIVE_${PN} instead of ALTERNATIVE_NAME
* Add LIC_FILES_CHKSUM
* Move SRC_URI checksums underneath SRC_URI

Based on a patch by Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-07 16:20:27 -05:00
Paul Eggleton
c75fc2573b proftpd: fix do_install failure after libexecdir change
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-12-05 14:13:21 -05:00
Joe MacDonald
85ab35f4ed netperf: Correct license flags
From: Mark Hatle <mark.hatle@windriver.com>

   I was helping someone with building netperf from meta-networking last
   night, and stumbled on what I think is a bug.

   SUMMARY = "A networking benchmarking tool"
   DESCRIPTION = "Network performance benchmark including tests for TCP,
   UDP, sockets, ATM and more."
   SECTION = "console/network"
   HOMEPAGE = "http://www.netperf.org/"
   LICENSE = "netperf"
   LICENSE_FLAGS = "commercial"

   In the above, the LICENSE_FLAGS are set to 'commercial'.  I think this
   is incorrect.  It should be set to 'non-commercial'.

   There is a subtle difference between them which is why I think it's a
   bug...

   commercial -- there are some commercial requirements necessary to use
   this recipe in a commercial device... you are responsible for
   understanding them and doing whatever is necessary... (for
   non-commercial devices you can likely use it...)

   non-commercial -- this item is restricted to non-commercial users only.
   As in the case of netperf, the license says it's only for
   non-commercial use.

   So anyway, my suggestion is to simply change the value of the flag.

Reported-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2012-11-30 11:49:56 -05:00
Paul Eggleton
2428998262 mtr: add from OE-Classic, update and tidy up
* Update to 0.82
* Add ncurses to DEPENDS
* Add patch to fix configure with standard autotools_do_configure
* Add SUMMARY
* Add LIC_FILES_CHKSUM

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:59 -05:00
Paul Eggleton
3d851fe4ce proftpd: add from meta-baryon
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>
2012-11-27 14:43:59 -05:00