Commit Graph

1232 Commits

Author SHA1 Message Date
Roy Li
61d61c4eb8 ifenslave: add recipes
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-13 23:28:05 +02:00
Christopher Larson
7bb14206a2 dnsmasq: add packageconfigs for idn, conntrack, lua
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-13 23:28:04 +02:00
Christopher Larson
f1e112fa68 dnsmasq: look for lua.pc, not lua5.1.pc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-13 23:28:04 +02:00
Christopher Larson
a46abacebd dnsmasq: move parallel make patch to .bb, add upstream-status
Patches really belong in the recipe, not the .inc, given patches are generally
version-bound.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-13 23:28:03 +02:00
Christopher Larson
e87a84abd4 dnsmasq: obey CFLAGS & LDFLAGS
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-13 23:28:03 +02:00
Christopher Larson
7ba7f53075 dnsmasq: add missing inherit pkgconfig
dnsmasq runs pkg-config to get cflags/libs for its dependencies.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-13 23:28:03 +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
Martin Jansa
62435508cf stunnel: add dependency on zlib and tcp-wrappers
* fixes floating dependency:
  stunnel/stunnel/latest lost dependency on  libwrap zlib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 10:59:23 +02:00
Roy Li
8f84267086 netcf: init script should be installed under /etc/init.d/
init script should be installed under /etc/init.d/, not /etc/rc.d/init.d

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10 16:07:18 +02:00
Shrikant Bobade
3740ef2638 dnsmasq: fix parallel make failure
The dnsmasq target depends on .configured and $(objs). .configured does an rm
-f *.o. Yet the only thing telling make to build the .configured target before
the $(objs) target was the order of the dependencies of the dnsmasq target. We
can't rely on that order when doing a paralllel make build, so add an explicit
rule to enforce that order.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10 16:07:17 +02:00
Joe MacDonald
a9636f77ac wireshark: update configuration and epoch
Commit 6d781369 warranted a PE bump but didn't include it.  Update it,
correct a typo in EXTRA_OECONF and explicitly disable c-ares resolver at
the same time.

Acked-by: Armin Kuster <akuster@mvista.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-08-06 19:51:59 -04:00
Joe MacDonald
7a3f8a76cb wireshark: update README instructions
Minor tweaks to the README to make the email suggestion follow the format
used in other meta-openembedded README files and adding clarification on
building wireshark in a GUI environment.

Acked-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-08-06 11:24:28 -04:00
Joe MacDonald
96ef73e772 README: Update layer dependencies
There are a few recipes in meta-networking that depend unconditionally on
components in meta-oe, so indicate that in the README.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-08-06 09:38:17 -04:00
Joe MacDonald
6d7813692a wireshark: update to latest stable version
Version 1.12.0 is out, update the SRC_URI and associated variables.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-08-06 09:28:33 -04:00
Xufeng Zhang
c1094b8af7 znc: Fix for CVE-2013-2130
ZNC 1.0 allows remote authenticated users to cause a denial of service
(NULL pointer reference and crash) via a crafted request to the (1) editnetwork,
(2) editchan, (3) addchan, or (4) delchan page in modules/webadmin.cpp.
Per: http://cwe.mitre.org/data/definitions/476.html
CWE-476: NULL Pointer Dereference

Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-05 16:23:58 -04:00
Yue Tao
71bb2dc7c3 quagga: Security Advisory - quagga - CVE-2013-2236
Stack-based buffer overflow in the new_msg_lsa_change_notify function in
the OSPFD API (ospf_api.c) in Quagga before 0.99.22.2, when
--enable-opaque-lsa and the -a command line option are used, allows
remote attackers to cause a denial of service (crash) via a large LSA.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-2236

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-05 16:23:58 -04:00
Yue Tao
18bea20781 strongswan: Security Advisory - strongswan - CVE-2014-2891
strongSwan before 5.1.2 allows remote attackers to cause a denial of
service (NULL pointer dereference and IKE daemon crash) via a crafted
ID_DER_ASN1_DN ID payload.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-2891

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-05 16:23:58 -04:00
Armin Kuster
967f16750a wireshark: fix build depends
This should address issues found in test-dependencies 2014-07-25

wireshark/wireshark/latest lost dependency on  libcap libnl libnl-genl libnl-nf libnl-route portaudio-v19 sbc

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-01 14:23:45 +02:00
Richard Purdie
abc0dc14b1 wireshark: Add missing pkgconfig dependency
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-01 14:23:45 +02:00
Armin Kuster
6d92fd5d68 wireshark: fix build for arm
* Backported Arm build fix

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-01 14:23:45 +02:00
Armin Kuster
9bfdcec408 wireshark: Add recipe 1.12.0-rc2
* Inital wireshark support on gtk+, gtk3
* README with additional info

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-01 14:23:44 +02:00
Roy Li
2d7c7956bd tnftp: add openssl PACKAGECONFIG and inherit pkgconfig
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-30 09:35:44 +02:00
Ting Liu
280f4c9aea ipsec-tools: enable Dead Peer Detection and NAT traversal
* Dead peer detection (DPD) is a method that network devices use to verify
  the current existence and availability of other peer devices.
* NAT traversal (sometimes abbreviated as NAT-T) is a general term for
  techniques that establish and maintain Internet protocol connections
  traversing network address translation (NAT) gateways

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-30 09:35:44 +02:00
Roy Li
2ea5feedac ipsec-tools: several fixes
1. use PACKAGECONFIG
2. add three patches which will add the address check, to avoid SEGFAULT

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
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
Roy Li
042f9a89c6 openvpn: not use the hardcoded libdir
it will lead to QA failure, since .debug dir can not be installed into dbg package

    ERROR: QA Issue: non debug package contains .debug directory: openvpn path
    /work/core2-64-wrs-linux/openvpn/2.3.4-r0/packages-split/openvpn/usr/lib64i
    /openvpn/plugins/.debug/openvpn-plugin-down-root.so [debug-files]

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-30 09:21:04 +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
6ef51f43d5 lksctp-tools: blacklist because it fails to link against sctp_connectx symbol
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-24 15:31:50 +02:00
Richard Tollerton
f647f319fc openvpn: update and enable iproute2 support
- Added .bb for version 2.3.4.
- The download URL was broken; it's changed to reflect where the website
  points to.
- Force use of iproute2, which is generally recommended when running
  OpenVPN as an unprivileged user. Ref:
  http://community.openvpn.net/openvpn/wiki/UnprivilegedUser
- Explicitly add libpam to DEPENDS if pam is enabled, and disable the
  auth-pam plugin if pam is not enabled.
- Pass the path to the 'ip' utility to the configure script to keep it
  from trying to find it on the host.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-22 00:01:58 +02:00
Richard Purdie
8dc1763bac mtr: Use "foreign" automake strictness
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-22 00:01:56 +02:00
Richard Purdie
d4591958f4 rp-pppoe: Use "foreign" automake strictness
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-22 00:01:55 +02:00
Richard Purdie
5161b267c7 memcached: Use "foreign" automake strictness
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-22 00:01:55 +02:00
Richard Purdie
a846cd69f7 ipsec-tools: Use "foreign" automake strictness
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-22 00:01:54 +02:00
Wenzong Fan
27981cbef1 vsftpd: fix install warning
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-22 00:01:47 +02:00
Roy Li
be2a243700 Uprev tcpdump to 4.5.1
1. update the patch tcpdump_configure_no_-O2.patch
2. do not check libdlpi dependence on cross-compile, or else it will
cause do_qa_configure to fail.
3. do not check libpcap dependence, since the libpcap has been added
into DEPENDS, or else it will cause do_qa_configure to fail
4. make the check of getaddrinfo work on cross-compile

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-07-20 23:57:27 -04:00
Roy Li
fb70d44934 tnftp: add tnftp recipes file
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-07-20 23:57:27 -04:00
Jackie Huang
96acc14b6c postfix: add new recipe
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-07-20 23:30:19 -04:00
Roy Li
6a613feba9 aoetools: fix the SRC_URI
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:57:40 +02:00
Robert Yang
c587fa5546 meta-networking: fix no newline at end of file
Add a '\n' to the last line of the file to fix:

No newline at end of file

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:57:27 +02:00
Robert Yang
fb71368dfa meta-networking: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:56:59 +02:00
Richard Purdie
d04099e94b recipes: Add missing pkgconfig dependencies
These recipes were all missing pkgconfig dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:53:55 +02:00
Amy Fong
87bbe91686 Uprev memcached from upstream
memcached 1.4.15 has some configuration errors:
configure:5798: error: cannot run test program while cross compiling

Uprev has the needed fix for the configuration error and some other fixes.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-29 23:30:49 -04:00
Roy Li
43da512cc3 tftp-hpa: fix a build failure
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-29 22:53:05 -04: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
Franklin S. Cooper Jr
e659d5692b ptpd: update to 2.3.0
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-24 22:08:06 -04:00
Richard Purdie
36d57b9234 recipes: add missing pkgconfig class inherits
* 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-21 13:06:13 +02:00
Martin Jansa
4a179de52c curlpp: Blacklist because it's broken since gcc upgrade to 4.9
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 12:20:21 +02:00
Roy Li
bab22d4b16 dovecot: add the dependency for a C file
building rquota_xdr.c depends on a head file, which is generated
when building, so add the dependency to ensure the header file is
generated firstly.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 10:36:53 +02:00
Yue Tao
26b31ad728 quagga: Security Advisory - CVE-2012-1820
The bgp_capability_orf function in bgpd in Quagga 0.99.20.1 and earlier
allows remote attackers to cause a denial of service (assertion failure
and daemon exit) by leveraging a BGP peering relationship and sending a
malformed Outbound Route Filtering (ORF) capability TLV in an OPEN
message.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1820

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-15 23:21:56 -04:00
Zhang Xiao
d42a2e1605 tftp-hpa: bug fix on separated CR and LF
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-15 23:21:56 -04:00
Robert Yang
f135f64596 iftop: inherit autotools-brokensep
It needs autotools-brokensep, otherwise do_configure error:

cat: config/pthread.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-15 23:21:56 -04:00
Robert Yang
9f920bcf0e curlpp: inherit autotools-brokensep
It needs autotools-brokensep, otherwise do_configure error:

LifetimeLibrary.cpp:1:49: fatal error: utilspp/singleton/SingletonHolder.hpp: 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-15 23:21:56 -04:00
Robert Yang
e3e7c6b850 tcpreplay: inherit autotools-brokensep
It needs autotools-brokensep, otherwise do_compile error:

src/defines.h:5:18: fatal error: tcpr.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-15 23:21:56 -04:00
Robert Yang
15f02ad761 vblade: inherit autotools-brokensep
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-15 23:21:56 -04:00
Robert Yang
8e689bb7a1 tftp-hpa: inherit autotools-brokensep
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-15 23:21:33 -04:00
Robert Yang
09da1e007c conntrack-tools: inherit autotools-brokensep
It needs autotools-brokensep, otherwise do_install error:

install: cannot stat `doc/sync/ftfw/conntrackd.conf': 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-15 23:21:33 -04:00
Robert Yang
103cb4ab99 netcf: inherit autotools-brokensep
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-15 23:21:33 -04:00
Robert Yang
64adf1643b autofs: inherit autotools-brokensep
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-15 23:21:33 -04:00
Robert Yang
9613ff0a72 rp-pppoe: inherit autotools-brokensep
Otherwise do_compile failed:
No rule to make target `pppoe.c', needed by `pppoe.o'.  Stop.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-15 23:21:33 -04:00
Robert Yang
a97ab8e018 cyrus-sasl: inherit autotools-brokensep
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-15 23:21:33 -04:00
Robert Yang
13813da08e proftpd: inherit autotools-brokensep
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-15 23:21:33 -04:00
Robert Yang
9e91501560 znc: inherit autotools-brokensep
It needs autotools-brokensep, otherwise do_configure error:

automake: error: 'configure.ac' is required

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-15 23:21:33 -04:00
Robert Yang
2f16a0ea81 openflow: inherit autotools-brokensep
It needs autotools-brokensep, otherwise do_configure error:

run.do_configure.22953: line 109: ./boot.sh: 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-15 23:21:33 -04:00
Yao Xinpan
e35a1fe480 add recipe cim-schema, cim-schema-docs and license file DMTF.
Common Information Model (CIM) is a model for describing overall
management information in a network or enterprise environment. CIM
consists of a specification and a schema. The specification defines the
details for integration with other management models. The schema
provides the actual model descriptions.

Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-15 23:21:33 -04:00
Martin Jansa
5e67ba4a28 radvd: fix install issue for S!=B
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-06-13 13:38:12 +02:00
Joe MacDonald
374545b58c MAINTAINERS: update my email address for meta-networking
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-06-09 21:28:52 -04: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
Jack Mitchell
f3518c4c74 ntp: fix incorrect pidfile handling in ntpd init script
Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-06-03 21:57:28 -04:00
Dan McGregor
4ae3822224 netcat-openbsd: fixup patching
Do the patching in the do_patch phase instead of the compile
phase. That way if the compile phase needs to be rerun
patching isn't attempted a second time.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-06-03 21:18:51 -04:00
Mihaela Sendrea
7734132dd3 netperf: enable SCTP support
Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-06-03 21:18:51 -04:00
Mihaela Sendrea
ab6a7ff9b3 lksctp-tools: add recipe (version 1.0.16)
This recipe comes from arago-oe-dev:
https://github.com/mrchapp/arago-oe-dev/tree/master/recipes/lksctp-tools

Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-06-03 21:18:51 -04:00
Alexandre Fournier
c4ba56ceeb net-snmp: install net-snmp-config script to STAGING_BINDIR_CROSS
This recipe was installing net-snmp-config script to STAGING_BINDIR
instead of STAGING_BINDIR_CROSS, during the do_install. It is not
recommended and must be done after staging.

Changes:
* Remove STAGING_BINDIR manipulations from do_install_append
* Add net_snmp_sysroot_preprocess function instead
* Append net_snmp_sysroot_preprocess to SYSROOT_PREPROCESS_FUNCS

Signed-off-by: Alexandre Fournier <alexandre.fournier@kiplink.fr>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-06-03 21:18:51 -04:00
Jackie Huang
dfbbb45e81 conntrack-tools: add depends on bison-native
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-21 13:56:23 +02:00
Changhyeok Bae
04dcd55c9d quagga, fim, gpsd, hddtemp, libunwind, lzip: Change the url to variable for savannah in SRC_URI
* The variables (SAVANNAH_MIRROR)
  are defined in oe-core/meta/conf/bitbake.conf.
* MIRRORS in quagga and libunwind is removed.
  because the MIRRORS of savannah is globally defined
  in oe-core/meta/classes/mirrors.bbclass

Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-15 12:30:17 +02:00
Yue Tao
6938319b32 strongswan: Security Advisory - strongswan - CVE-2014-2338
IKEv2 in strongSwan 4.0.7 before 5.1.3 allows remote attackers to bypass
authentication by rekeying an IKE_SA during (1) initiation or (2)
re-authentication, which triggers the IKE_SA state to be set to
established.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-2338

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-05-09 10:18:40 -04:00
yzhu1
9747141c09 net-snmp-5.7.2: fix CVE-2014-2285
The perl_trapd_handler function in perl/TrapReceiver/TrapReceiver.xs
in Net-SNMP 5.7.3.pre3 and earlier, when using certain Perl versions,
allows remote attackers to cause a denial of service (snmptrapd
crash) via an empty community string in an SNMP trap, which triggers
a NULL pointer dereference within the newSVpv function in Perl.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-2285
Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-05-09 10:18:40 -04:00
yanjun.zhu
7361149c47 net-snmp-5.7.2: fix CVE-2014-2284
The Linux implementation of the ICMP-MIB in Net-SNMP 5.5 before
5.5.2.1, 5.6.x before 5.6.2.1, and 5.7.x before 5.7.2.1 does
not properly validate input, which allows remote attackers
to cause a denial of service via unspecified vectors.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-2284
Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-05-09 10:18:40 -04:00
Yue Tao
b9ad53ccce net-snmp: Using the target perl
Set the PERLPROG to target perl to avoid host contamination.

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-05-09 10:18:40 -04:00
Koen Kooi
b78c07ceb9 netperf: fix S!=B issues
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:47:03 +02:00
Jack Mitchell
89ccf41a21 bridge-utils: apply brokensep
Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:45:04 +02:00
Jack Mitchell
78477c8cae tcpdump: inherit brokensep
Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:45:04 +02:00
Wenzong Fan
ee6f88f285 radvd.init: fix path to radvd.conf sample
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-24 21:07:47 -04:00
Kai Kang
715893e5ff quagga: fix CVE-2013-6051
Backport patch to fix CVE-2013-6051.

Signed-off-by: Hu <yadi.hu@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 21:07:46 -04:00
Kai Kang
a277f303df quagga: fix QA warning
When build quagga, it shows QA warnings:

WARNING: QA Issue: ELF binary '/home/build/poky/build/tmp/work/i586-poky-linux/quagga/0.99.21-r2.0/packages-split/quagga-bgpd/usr/sbin/bgpd' has relocations in .text
WARNING: QA Issue: ELF binary '/home/build/poky/build/tmp/work/i586-poky-linux/quagga/0.99.21-r2.0/packages-split/quagga-ripngd/usr/sbin/ripngd' has relocations in .text

The configure script tests compiler whether support option '-fPIE'. If
support, it pass option '-fPIE' to compiler then cause these QA
warnings.

Disable configure script to check option '-fPIC'.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 21:07:46 -04:00
Kai Kang
182c235bd9 ndisc6: allow the package can be empty
FILES_${PN} is set to null in original .bb file, this would cause
ndisc6 main package is missing, then one build error will happen:

ERROR: ndisc6 not found in the base feeds (qemux86 i586 x86 noarch any all).

To fix this, need to set ALLOW_EMPTY_${PN} = "1".

Signed-off-by: Xudong.zhu <xudong.zhu@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 21:07:46 -04:00
Wenzong Fan
b96ae8191d ntp: fix hardcode to /usr/bin/perl
This patch properly uses the path variables and fixes ntptrace and
ntp-wait, just in case perl is not installed with the hardcode path.

Signed-off-by: Rahat Mahbub <rahat.mahbub@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 21:07:46 -04:00
Christian Ziethén
365125e4da dnsmasq: update to 2.68
Fixes a bug with libvirt and DHCP, which is fixed in 2.66.

"Handle the situation where libc headers define
SO_REUSEPORT, but the kernel in use doesn't, to cope with
the introduction of this option to Linux. Thanks to Rich
Felker for the bug report."

Signed-off-by: Christian Ziethén <Christian.Ziethen@enea.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 20:39:16 -04:00
Koen Kooi
aed102ddf3 dovecot: add libcap dependency
This fixes:
	dovecot/dovecot/latest lost dependency on  libcap

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 20:39:16 -04:00
Javier Viguera
402ac25adb stunnel: fix configure ssl parameter
'--with-ssl=DIR' configure parameter expects the location of the
libraries and include files in the sysroot. This means the directory
containing the 'lib' and 'include' subdirectories, not the include
directory itself.

This fixes an error at configure time:

checking
<local-path>/tmp/sysroots/ccimx6adpt/usr/include/include/openssl/engine.h
usability... no

(notice duplicated include entry in above line)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 20:39:15 -04:00
Changhyeok Bae
3fb3c2c8f8 quagga: Add mirror site
* The SRC_URI is not accessible.
  So need to add mirror site referred by the original site.
* The problem is that
  http://download.savannah.nongnu.org/releases redirects to closest mirror
  and few mirrors (e.g. .jp) weren't working correctly while
  http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.

Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 20:39:15 -04:00
Philip Balister
fdea5d0942 ntp : Add cap to default PACKAGECONFIG options.
If ntp is built without libcap, it refuses to start with the following
message:

Starting ntpd: /usr/sbin/ntpd: The ``user'' option has been disabled -- built
without --enable-clockctl or --enable-linuxcaps
ntpd - NTP daemon program - Ver. 4.2.6p5
USAGE:  ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]...

By adding cap to the PACKAGECONFIG the default runs. In the
future, someone could add an option for using clockctl.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24 20:39:15 -04:00
Paul Barker
f3cd626980 ipsec-tools: Update patch status
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 14:51:32 +02:00
Martin Jansa
d8d44aeb94 atftp: include whole sysconfdir in PN
* 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-04-20 10:46:49 +02: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
Javier Viguera
5be3c13736 stunnel: fix SRC_URI
Trying to build stunnel fails with:

  ERROR 404: Not Found.

Seems that after the new release (5.x) they have moved the old tarball
under a 'archive/4.x' subdirectory.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-02 11:18:54 -04:00
Hongxu Jia
a600fe808a netcf: fix gnulib not found in sysroots while using a shared sstate cache
...
./bootstrap: Bootstrapping from checked-out netcf sources...
./bootstrap: consider installing git-merge-changelog from gnulib
./bootstrap: line 641:
tmp/sysroots/qemux86/usr/share/gnulib/gnulib-tool: No such file or
directory
...

The gnulib source was incorrectly populated to ${STAGING_DATADIR}.
While the build shared an existed sstate cache, the gnulib's
${SYSROOT_DESTDIR} was empty, the gnulib source code was not
found in sysroots.

We should use do_install task to install them to ${D}, and the
default do_populate_sysroot task will populate them to
${STAGING_DATADIR}.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-03-27 15:41:13 -04:00
Robert Yang
d9f21ab787 traceroute: filter-out patches dir
The $(subdirs) contains all the dirs under the ${B}, and this one:

do_unpack[cleandirs] = "${S}/patches"

will create a "patches" dir, then there will be compile errors, filter
out the patches will fix the problem.

Note: poky doesn't have this problem since it separates the ${S} and
${B}

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-03-27 15:41:13 -04:00
Joe Slater
61d573ad7c traceroute: fix alternate name
traceroute6 for the name is misleading and will interfere
with traceroute6 in iputils making an alternate link to
the traceroute6 binary, so we change the name to traceroute.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-03-27 15:41:13 -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
Robert Yang
c1d420a3b6 quagga: work with new readline
The Function and CPPFunction had been removed by in readline 6.3, use
the new functions to replace them.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-03-27 15:41:12 -04:00
Lauren Post
095fbd60d7 vlan: Create 1.9 version
VLAN provides vconfig utility

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-15 15:25:27 +01:00
Paul Barker
20ec38b3aa ipsec-tools: Don't link against libfl
We can remove all references to yywrap by adding "%option noyywrap" statements
to each flex source file which doesn't override yywrap. After this, we no longer
need to link against libfl and so no longer get errors about undefined
references to yylex.

Also change the dependency on flex to flex-native as we no longer need libfl
compiled for the target - the lexer is now self-contained.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-14 08:51:45 -04:00
Xufeng Zhang
ed0a2852ec ntp: Moving relevant files from /usr/bin to /usr/sbin
"--with-binsubdir" controls whether we use bin_PROGRAMS or
sbin_PROGRAMS while installing executable files in ntp
Makefile, in order to install all the relevant files in
/usr/sbin instead of /usr/bin, we can pass "--with-binsubdir=sbin"
in ntp configure cmdline.
Accordingly, updating the path for the files which are
contained in rpm packages.

Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-14 08:51:45 -04:00
Xufeng Zhang
7601d0a551 ntp: Running ntpd daemon as ntp:ntp
Adding ntp:ntp(user:group) to system and running
ntpd dameon as ntp:ntp.

Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-14 08:51:45 -04:00
Jackie Huang
238093bf8c strongswan: update verion to 5.1.1
* Add a patch to fix the function parameter.
* Add PACKAGECONFIG for optional packages instead of explicitly
  disable, and set sqlite and curl as default.
* Remove the split package strongswan-plugins.
* Add configure option --without-lib-prefix so it doesn't
  search for libraries in includedir and libdir to avoid QA error.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-14 08:51:45 -04:00
Hongxu Jia
60c4964055 netcf: fix offline rebuilding failed
The netcf downloaded gnulib source to ${S} at the configure time,
while the network disconnected, if sstate cache was cleaned, the
netcf rebuilding failed.

Added a new recipe named 'gnulib' to download gnulib source to
${GITDIR} and populate it to the staging data dir.

So netcf could specify this local directory where gnulib sources
reside to save the bandwidth downloading.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-14 08:51:44 -04:00
Javier Viguera
5c9849cd39 crda: fix udev rule
The SBINDIR variable in makefile's install rule needs to have a trailing
slash so the path to the 'crda' binary in the udev rule is correct.

Otherwise the udev rule has a wrong path:

KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="/usr/sbincrda"

and at runtime udev complains:

failed to execute '/usr/sbincrda'

when a regulatory domain event is triggered.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-14 08:49:38 -04:00
Liang Li
0d9adcd657 radvd: eliminate confusing warnings when stop service
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-03-14 08:49:38 -04:00
Roy Li
42da6554d8 bridge-utils: fix the no brctl error when enable multilib
update-alternatives.bbclass does not create the brctl symbolic links for
multilib, since the wrong use of PN generates
/usr/sbin/brctl.lib32-bridge-utils, not /usr/sbin/brctl.bridge-utils;

In fact, no need to rename brctl by calling mv, since update-alternatives
will handle it

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-14 08:21:43 -04:00
Robert Yang
54378cb305 dovecot: fix the DEPENDS on lzma
DEPENDS on lzma should be xz

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-11 14:58:51 +01:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
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-23 23:20:02 +01:00
Roy Li
7a673eb37e quagga: close the stdout/stderr as in other daemons
Once babald becomes a background daemon, it should not output information to
stdout, so need to close stdout.

In fact, other daemons close their stdout when they run into background, like
ospfd, isisd and bgpd, by calling daemon() which is in lib/daemon.c

Closing the stdout can fix a tee hang issue { #/usr/sbin/babeld -d |tee tmp }

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:17:29 +01:00
Matthieu Crapet
5b499287f2 libnetfilter-log: add newrecipe for version 1.0.1
This library is usefull for userspace netfilter log messages
(c.f. iptables and -j NFLOG target).

libnetfilter-conntrack, libnetfilter-cttimeout, libnetfilter-cthelper and
libnetfilter-queue are already available since december of 2012.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-02-14 15:12:47 -05:00
Roy Li
3ffe8dbceb proftpd: move the runing created file under /var/run
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-02-12 20:09:26 -05:00
Roy Li
7cb2f9e4c2 quagga: fix a typOS
it should be CPP, not cpp; this typOS makes vtysh unable to work.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-02-12 20:09:26 -05:00
Roy Li
038a6f71e1 inetutils: disable rpath
The rpath, which configuration computers, is a host-related path in
cross-compile environment; In fact, need to not add rpath into elf
file.

   WARNING: QA Issue: package inetutils-ftp contains bad RPATH
   /buildarea/build/new/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64 in file
   /buildarea/build/new/bitbake_build/tmp/work/x86_64-wrs-linux/inetutils/1.9.1-r1/packages-split/inetutils-ftp/usr/bin/ftp.inetutils

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-02-12 20:09:25 -05:00
Kang Kai
9e174abc4a radvd: update to 1.9.8
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>
2014-01-22 12:22:39 +01:00
Ting Liu
c7c3e97d6a inetutils: fix libreadline path to fix QA errors
If wrong path set, inetutils configure script will add a absolute
rpath, which result in the below QA errors:
| ERROR: QA Issue: package inetutils-ftp contains bad RPATH
| ERROR: QA Issue: package inetutils-telnet contains bad RPATH
| ERROR: QA Issue: package inetutils-telnetd contains bad RPATH
| ERROR: QA run found fatal errors. Please consider fixing them.
| ERROR: Function failed: do_package_qa

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22 12:22:38 +01:00
Ting Liu
3c96399c76 netcf: hardcode --with-driver=redhat for target build
The configure script of netcf checks the HOST setup to identify the
network interface. This means it checks for Red Hat, SuSE, debian,
Ubuntu, etc. As this is an embedded cross build, it doesn't seem to
make sense to check the HOST in the first place to determine info for
the TARGET.

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22 12:22:37 +01:00
Ting Liu
cdf5ba8c0f ipsec-tools: fix unrecognised --without-gssapi option
Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22 12:22:37 +01:00
Stefan Herbrechtsmeier
d096e77a36 ntp: Fix the installed but not shipped issue of a systemd units file
We will get the following ERROR/WARN if we enable systemd and
the installed-vs-shipped check in QA:

ERROR: QA Issue: ntp: Files/directories were installed but not shipped
  /lib/systemd/ntp-units.d
  /lib/systemd/ntp-units.d/60-ntpd.list

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22 12:22:34 +01:00
Koen Kooi
9402e8cc96 dovecot: add 2.2.10
Dovecot is an IMAP server.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-15 18:02:33 +01:00
Koen Kooi
670e8f6412 fetchmail: add 6.3.26
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-15 18:02:33 +01:00
Roy Li
bee67b5084 nis: inherit pkgconfig
nis needs pkgconfig to check some dependencies, like DBUS

Signed-off-by: Roy Li <rongqing.li@windriver.com>
2014-01-10 15:08:07 +00:00
Eric BENARD
3402bfac6b inetutils: fix compile error when PATH_PROCNET_DEV is undefined
Signed-off-by: Eric Bénard <eric@eukrea.com>
2014-01-08 22:26:26 +00:00
ulf@emagii.com
a350707870 curlpp add package with c++ curl bindings
Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-21 19:16:52 +01:00
Roy Li
ac3a5d4301 proftpd: use /bin/false as the login shell and add home-dir
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-12-09 16:17:44 -05:00
Joe MacDonald
97f3a9604f inetutils: correct QA issue (unrecognized configure option)
WARNING: QA Issue: inetutils: configure was passed unrecognised options: --with-path-login --with-path-procnet-dev

Neither of these appear to be valid for inetutils-1.9.1, so remove them.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-12-04 16:19:03 -05:00
Jackie Huang
0abd142f0a inetutils: add --with-libreadline-prefix to avoid host contamination
Fix the do_rootfs error:
| Computing transaction...error: Can't install inetutils-telnetd-1.9.1-r1.1@i686: no package provides libreadline.so.5

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-12-04 10:48:30 -05:00
Jackie Huang
1f88425be7 inetutils: use new update-alternatives syntax
Correct the usage of alternative link and target:
ALTERNATIVE_LINK_NAME[name] = "target"
ALTERNATIVE_TARGET[name] = "target"

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-12-04 10:48:08 -05:00
Joe MacDonald
b2c0f57f01 ntpd: update config file comments
The default ntp.conf file does the right thing but one of the comments is
a bit misleading based on the active parts of the file changing a few
times.  Update the comment to accurately describe what is happening in the
configuration file and what a user should do next.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-29 11:00:34 -05:00
Roy Li
03e758cd67 ntp: comment out the invalid server
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-29 10:56:31 -05:00
Joe MacDonald
e09cd61957 tcpdump: correct QA issue (unrecognized configure option)
WARNING: QA Issue: tcpdump: configure was passed unrecognised options: --disable-rpath

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-28 10:59:35 -05:00
Zongchun Yu
0501fa0f0b tcpreplay: add recipe
tcpreplay - a suite of GPLv3 licensed tools for UNIX operating systems
which gives you the ability to use previously captured traffic in libpcap
format to test a variety of network devices.

Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-28 10:35:00 -05:00
Zongchun Yu
d62fe9254a tcpdump: move from meta-oe to meta-networking
Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-28 10:35:00 -05:00
Roy Li
9b3e284c58 proftpd: move pidfile from /var/ to /var/run/
/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-27 15:27:36 -05:00
Roy Li
75c52163b0 quagga: Backport a patch to fix extract.pl for cross compilation
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-27 15:20:06 -05:00
Hongxu Jia
ec152778cd quagga: add pam support for vtysh
According to DISTRO_FEATURES to add pam support for quagga, and import
configure file from Fedora.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26 11:14:31 -05:00
Bopeng Liu
98367f46aa quagga: Fix watchquagga initscript problem.
Change the default config file for making watchquagga can startup successful

Signed-off-by: Bopeng Liu <Bopeng.Liu@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26 11:01:47 -05:00
Xufeng Zhang
936febdff7 quagga: Avoid duplicate connected address adding to the list
commit 27ba970b9("quagga/ripd: Fix two bugs after received SIGHUP signal")
introduces an regression: ifp->connected list is cleaned up when ripd is
restarting, however, for interface addresses which are not specified in
ripd configuration file, they are never to be added into ifp->connected
again, this will lead to some abnormal behavior for route advertising.

Instead of cleaning up the ifp->connected list to avoid duplicated
connected address being added into this list, we can check this
condition during interface address adding process and return early
when an identical address has already been added.

Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26 10:53:17 -05:00
Robert Yang
b613318e14 quagga: use /bin/false as the login shell
Use /bin/false as the login shell, just like what Ubuntu does,
otherwise there might be secure issue.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26 09:53:53 -05:00
Qiang Chen
5f8ef9cfb2 ntpd: make start-stop-daemon command available for ntpd
If ntpd script is being called by a non-root user using sudo,
it will fail as follows:

/etc/init.d/ntpd restart
Stopping ntpd: /etc/init.d/ntpd: line 29: start-stop-daemon:
command not found
done
Starting ntpd: /etc/init.d/ntpd: line 24: start-stop-daemon:
command not found
done

This is because /etc/init.d/ntpd calls start-stop-daemon which
is in /sbin (not in the default path for non-root users)

Explicitly configure the PATH to include /sbin.

Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>

Reworked to set PATH instead of hardcode the location of start-stop-daemon

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26 09:28:33 -05:00
Roy Li
ba4f5a82bb ntp: fix 60-ntpd.list path
60-ntpd.list should be installed into the same path as ntp systemd service
file, like Fedora core; Orignal path refers
http://www.freedesktop.org/wiki/Software/systemd/timedated/, but where
systemd_unitdir is assumed as /usr/lib/systemd, not /lib/systemd

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26 09:24:28 -05:00
Paul Eggleton
09b6cc4639 lowpan-tools: fix do_install failure
We don't have a proper help2man so building the manpages fails; just
disable building them to fix this as we do elsewhere.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-25 21:52:42 -05:00
Qiang Chen
6026617ea3 proftpd: Convert proftpd group to system scope
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-25 21:52:39 -05:00
Chunrong Guo
881eb77ac6 snort: add recipe
*snort - a free lightweight network intrusion detection
         system for UNIX and Windows

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-20 16:28:42 -05:00
Chunrong Guo
8265d2bbc2 barnyard2: add recipe
*Barnyard2 is a output system for Snort

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-20 16:28:42 -05:00
Chunrong Guo
6058a18d02 libdnet: add recipe
*dumb networking library
   *snort depends libdnet

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-20 16:28:38 -05:00
Hongxu Jia
63be0ff381 accel-ppp: fix qa issue 'found library in wrong location' while multilib enabled on qemux86-64
While multilib enabled on qemux86-64, accel-ppp-lib should be installed to
'${baselib}/accel-ppp', but the accel-ppp's CMakeLists.txt hardcoded
to install to 'lib/accel-ppp', such as:
...
INSTALL(TARGETS log_file
        LIBRARY DESTINATION lib/accel-ppp
)
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-18 23:12:18 +01:00
Bruce Ashfield
ffb5434823 dnsmasq: uprev to 2.6.3
A minimum dnsmasq version of 2.5.9 is required deal with IPv6 link local
addresses. So instead of just going to the minimum version, we can go
all the way to 2.6.3.

As part of this update, the following changes have been made in addition to
the pure version update:

  - PR is dropped in favour of PRSERVER functionality
  - dhcp_release is added to the default build, since it is used in the
    cleanup phase for virtual machines.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-06 15:12:45 -05:00
Bruce Ashfield
a1b14825aa netcf: move from meta-virtualization to meta-networking
netcf was orginally introduced in meta-virtualization, since it provides
functionality required by libvirt, but it is otherwise not bound to
virtualization.

So we can move it to meta-networking, and in the process uprev to the
the latest 0.2.3 functinality.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-06 15:12:45 -05:00
Roy Li
e854d0d71e quagga: backport a patch from 0.99.22 to fix "no ip address" command
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-06 15:10:58 -05:00
Joe MacDonald
fc88b591df crda: correct QA issues with sbindir
regdbdump and crda are installed in /sbin/ and still link against stuff in
/usr/lib, causing QA warnings / errors:

   WARNING: QA Issue: crda: /sbin/regdbdump, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00000000dead1000)
   WARNING: QA Issue: crda: /sbin/regdbdump, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00000000dead3000)
   WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00000000dead1000)
   WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libnl-genl-3.so.200 => /usr/lib64/libnl-genl-3.so.200 (0x00000000dead2000)
   WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libnl-3.so.200 => /usr/lib64/libnl-3.so.200 (0x00000000dead3000)
   WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libnl-nf-3.so.200 => /usr/lib64/libnl-nf-3.so.200 (0x00000000dead4000)
   WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libnl-route-3.so.200 => /usr/lib64/libnl-route-3.so.200 (0x00000000dead5000)
   WARNING: QA Issue: crda: /sbin/crda, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00000000dead7000)

relocate them to /usr/sbin to squelch the warning.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-06 10:36:48 -05:00
Joe MacDonald
3cf6fd9961 autofs: correct QA issues with orphaned systemd files
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-04 09:59:57 -05:00
Martin Jansa
4d62e7f575 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:33:16 +01:00
Martin Jansa
13729091f9 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-11-01 10:21:11 -04:00
Chen Qi
fe0c58ddd2 bridge-utils: inherit update-alternatives to avoid duplicate code
Inherit update-alternatives to avoid duplicate code.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-31 13:00:48 -04:00
Chen Qi
edd499dfdb ndisc6: chmod in do_install and remove unnecessary pkg_postinst
We can use chmod to set the SUID bit for applications in the do_install
task. If we do so, the pkg_postinsts are no longer needed.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-31 13:00:48 -04:00
Chen Qi
7f1b4775ef quagga: fix pkg_postinst
This patch mainly involves two changes.
1. Create necessary files at do_install task. Add these configuration
   files to the CONFFILES variable.
2. Move the `chmod' and `chown' commands to do_install task.

After these two changes, qugga can run successfully at rootfs time.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-31 13:00:48 -04:00
Chen Qi
1ec32c102f radvd: fix pkg_postinst
`/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-31 13:00:48 -04:00
Chen Qi
d65d7bd079 cyrus-sasl: remove the unnecessary pkg_postinst
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-31 13:00:47 -04:00
Mark Asselstine
82d1ec9d61 cyrus-sasl: ensure size_t is defined for use by sasl.h
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-31 10:55:55 -04:00
Xufeng Zhang
27ba970b9e quagga/ripd: Fix two bugs after received SIGHUP signal
There are two problems for ripd implementation after received
SIGHUP signal:
1). ripd didn't clean up ifp->connected list before reload
    configuration file which makes the same advertise packet
    being sent multiple times(depends on how many SIGHUP was recieved).
2). ripd reset ri->split_horizon flag to RIP_NO_SPLIT_HORIZON
    during restart which is different from the flag when ripd is
    firstly started up, leading to unnecessary route to be advertised.

[YOCTO #5266]

Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-31 10:05:00 -04:00
Roy Li
f855787fb3 lowpan-tools: configure python files installation path
configure python files installation path or else it will use the
default value /usr/lib/python*, which is wrong on 64bit and multilibs
enabled system

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-29 10:39:07 -04:00
Joe MacDonald
37c03f32bc tftpd-hpa: update default tftpboot location
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-29 09:55:39 -04:00
Roy Li
71b4f7524a macchanger: fix PN -> BPN in FILES_${PN} for multilibs
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-25 10:24:30 -04:00
Robert Yang
2e4b24dad5 cifs-utils: add --ignore-fail-on-non-empty for rmdir
Add --ignore-fail-on-non-empty for rmdir in case there are files in the
directories.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-24 14:05:35 -04:00
Chen Qi
ddfcd90894 autofs: fix do_install failure and remove unused /var/run directory
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-24 14:05:35 -04:00
Roy Li
bcaa7aabf8 vsftpd: use quotes to wrap variable
"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-18 12:26:55 -04:00
Andreas Oberritter
a57a0f86da autofs: change DESCRIPTION to SUMMARY
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-18 12:26:55 -04:00
Andreas Oberritter
8677de717b autofs: pass systemd directory to configure
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-18 12:26:55 -04:00
David Turgeon
d96c23b4cb tftpd-hpa: fix premature exit
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-10-18 12:26:55 -04: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
Andreas Müller
b0683dcba3 proftpd: pack missing files
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-15 14:08:13 -04:00
Jukka Rissanen
3dcea92976 vpnc: Runtime dependency to perl was missing
Generated package contains perl script but dependecy to perl was missing.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-13 14:36:06 -04:00
Mark Hatle
cc0067dc0c rp-pppoe: fix multilib SRC_URI reference
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-10 09:47:01 -04:00
Mark Hatle
95f05dea19 crda: Fix multilib SRC_URI reference
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-10 09:45:45 -04:00
Mark Hatle
7f754d8ac8 macchanger: Fix SRC_URI for multilibs
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-10 09:45:45 -04:00
Andreas Müller
2ab4e01d04 rp-pppoe: move chmod form postinst to offline do_install
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-10 11:02:39 +02:00
Andreas Müller
8c709eb9fd proftpd: remove postinst - directory can be setup offline in do_install
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-10 11:02:39 +02:00
Otavio Salvador
1eb3e91030 cifs-utils: Add runtime recommendation to CIFS kernel module
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-09 14:09:57 -04:00
Aws Ismail
af74e53e97 Quagga: sync zebra routing table with the kernel one
When interface goes down, and there are some static routes that are
made with ip route, they are going to be deleted from kernel fib.
That's what kernel does by default. But they are not going to be
deleted from zebra's fib. They will be declared inactive.

This issue was originally discussed in [1] and a patch was proposed.

[1] http://www.gossamer-threads.com/lists/quagga/dev/22609

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-07 10:23:41 -04:00
Martin Jansa
2d54ce17a7 README: show github mirror URL in layer dependencies
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-03 13:32:03 +02:00
Khem Raj
0546dd4297 ntp: Move sntp before ntp-utils in packaging order
${PN}-utils has greedy expression of capturing all in ${bindir}
and sntp gets swept in too. This move in PACKAGES fixes the problem
and now sntp binary is packaged in sntp package itself.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-04-29 14:11:12 -04:00
Khem Raj
ce9e77f921 nuttcp_7.2.1.bb: Add new recipe
nuttcp is a network perf measurement tool

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-04-29 14:08:22 -04:00
Paul Eggleton
e6867fa026 strongswan: move to meta-networking
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-04-29 14:02:39 -04:00
Marcin Juszkiewicz
452d98eb26 memcached: add 1.4.15
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 19:44:12 +02:00
Marcin Juszkiewicz
0cedafff98 libmemcached: add 1.0.15 and 1.0.7 versions
1.0.15 is latest
1.0.7 is required by HipHopVM

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 19:43:57 +02:00
Martin Jansa
5e6d374ae7 README: add -M to git send-email example
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 19:41:27 +02:00
Paul Eggleton
9e7327e446 net-snmp: move to meta-networking and tweak
* Set SUMMARY instead of DESCRIPTION
* Move SRC_URI checksums under SRC_URI
* Move packaging definitions to the end

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 10:00:32 +02:00
Khem Raj
c43b56f6d6 ntp: Create a separate package for sntp
sntp provides the functionality of obsoleted ntpdate
so we have option of using ntpd as well as sntp
sntp does the immediate one time sync with time
server and corrects the tme immediately. it
replaces ntpdate nicely.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:28 +02:00
Paul Eggleton
02023c1543 atftp: move to meta-networking and tweak
* 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-19 02:45:27 +02:00
Paul Eggleton
bd790d44d2 ipsec-tools: move to meta-networking and tweak
* Add purpose and Upstream-Status to patch

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:27 +02:00
Paul Eggleton
d48c95da58 dnsmasq: move to meta-networking and tweak
* Make dbus a PACKAGECONFIG option and remove dnsmasq-dbus recipe
* Set LICENSE to correctly indicate choice of licenses
* 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-19 02:45:27 +02:00
Paul Eggleton
f40bce4363 rp-pppoe: move from meta-oe to meta-networking and tweak
* Move packaging definitions to the end
* Move SRC_URI checksums 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-19 02:45:27 +02:00
Paul Eggleton
037be68e54 bridge-utils: move to meta-networking and tweak
* Update HOMEPAGE
* Set SUMMARY instead of DESCRIPTION
* Move DEPENDS up towards the top

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:27 +02:00
Paul Eggleton
f1d7f500ac openvpn: move to meta-networking and tweak
* Move SRC_URI checksums next to SRC_URI
* Move packaging definitions to the end
* Set SUMMARY instead of DESCRIPTION
* Drop unused inc file

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:27 +02:00
Paul Eggleton
21adc5d117 vsftpd: move from meta-oe to meta-networking and tweak
* 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-19 02:45:27 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* 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-15 16:23:17 +02:00
Martin Jansa
5f26b00964 yp-tools, ypbind-mt: move systemd support from meta-systemd back to meta-networking
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
4188d72551 ntp: move systemd support from meta-systemd back to meta-networking
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
9858cfdb48 autofs: move systemd support from meta-systemd back to meta-networking
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Khem Raj
af6c39379d libnetfilter-queue: Add missing libmnl to DEPENDS
otherwise Errors are seen with sstate

| configure:11780: error: Package requirements (libmnl >= 1.0.3) were
not met:
|
| No package 'libmnl' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-04-02 08:53:13 -04:00
Koen Kooi
6fc248efc7 crda: add 1.1.3
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-04-02 08:53:13 -04:00
Aws Ismail
525306f575 Quagga: clean up whitespaces/hardtabs in recipe
Minor clean-up for some places where whitespaces
and hardtabs stil existed.

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-25 13:09:38 -04:00
Aws Ismail
f64db3011c Quagga has no snmp support, unrecognized options --enable-tcp-md5
1. Quagga's tcp-md5 has been renamed to linux24-tcp-md5

2. net-snmp needs to have mib-modules=smux enabled to enable
quagga to support snmp. Make the net-snmp option dependent
on the DISTRO_FEATURE snmp.

3. Misc: install the sample conf files for quagga. Also,
Make sure that the post install script is being run
on the target rather than during the rootfs creation
stage.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-25 13:09:34 -04:00
Joe MacDonald
6ad5a1b6e3 cyrus-sasl2: clean up rpath QA errors
Cleaning QA errors from commit 770b141911

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-25 13:01:51 -04:00
Andreas Oberritter
022fe03271 autofs: update to current patchlevel
* 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-21 09:54:51 -04:00
Joe MacDonald
20ccd38f86 xl2tpd: dump 1.3.1 in favour of git version
When the yocto kernel updated to 3.8.x, it exposed some breakage in the
xl2tpd 1.3.1 release that has been since fixed in tree.  Rather than
cherry pick patches, we'll migrate to the current HEAD.

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-21 09:54:18 -04:00
Khem Raj
e075421a12 autofs: Fix build breakage with systemd in DISTRO_FEATURE
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-18 20:56:09 -04:00
Koen Kooi
c643063be2 cifs-utils: add 5.9
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18 15:13:52 -04:00
Jackie Huang
d8b627b858 netcat: fix PN -> BPN in do_install for multilibs
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18 15:13:52 -04:00
Jackie Huang
70b1e90f6d inetutils: fix PN -> BPN in do_install for multilibs
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18 15:13:52 -04:00
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
Paul Eggleton
3761a24e1c xl2tpd: add from OE-Classic, update and tidy up
* Update to version 1.3.1
* Fetch source from a git tag as upstream apparently no longer publishes
  release tarballs
* Add virtual/kernel to DEPENDS since it needs the kernel source
* Inherit update-rc.d.bbclass
* Handle hardcoded paths in initscript
* Add LIC_FILES_CHKSUM
* Set SUMMARY (which sets DESCRIPTION)
* Remove some unnecessary cruft

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:59 -05:00
Paul Eggleton
5ea9b7527a vblade: add from OE-Classic, update and tidy up
* Update to version 20
* Add LIC_FILES_CHKSUM
* Make LICENSE more accurate
* Set SUMMARY (which sets DESCRIPTION)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:58 -05:00
Paul Eggleton
85c1a1a454 radvd: add from OE-Classic, update and tidy up
* Update to 1.9.1
* Add libdaemon to DEPENDS as needed by 1.9+
* Remove empty config file (not really of much use and there's an
  example config in the -doc package anyway)
* Use useradd.bbclass to create user
* Handle hardcoded paths in initscript
* Add LSB headers to initscript (borrowed from openSUSE)
* Set custom LICENSE as it's BSD-Style but not actually one of the
  standard BSD variants
* Add LIC_FILES_CHKSUM
* Set SUMMARY (which sets DESCRIPTION)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:58 -05:00
Paul Eggleton
e762ce3fc0 quagga: add from OE-Classic, update and tidy-up
* Update to 0.99.21
* Fix SRC_URI to point to a working download location
* Make LICENSE more accurate
* Add LIC_FILES_CHKSUM
* Add old gentoo patch to fix libcap linking errors
* Put binaries in sbindir
* Use useradd.bbclass to create user/groups
* Handle hardcoded paths in initscript
* Add LSB headers to initscript (borrowed from debian)
* Tidy up packaging and directory references
* Add SUMMARY

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:58 -05:00
Paul Eggleton
4a851a8f25 tunctl: add from OE-Classic and tweak
* Set SUMMARY (which sets DESCRIPTION)
* Make LICENSE more accurate
* Add LIC_FILES_CHKSUM

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:58 -05:00
Paul Eggleton
2abab0e93d tftp-hpa: add from OE-Classic, update and tidy up
* Update to 5.2
* Add patches from Fedora
* Add DESCRIPTION and better SUMMARY
* Make LICENSE more accurate
* Add LIC_FILES_CHKSUM
* Update ALTERNATIVE_* definitions
* Handle hardcoded paths in initscript

Much of this was done by Joe MacDonald <joe.macdonald@windriver.com>.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:58 -05:00
Paul Eggleton
a863b54099 ntp: make servers configurable and default to none configured
People can't blindly use pool.ntp.org, especially if they are building
for a product or something that could be used in a product, so at least
try to get people to do the right thing and not use pool.ntp.org by
default.

The previous network interface up script is now installed as
ntpdate-sync in ${bindir} (and symlinked as the network if-up script).
NTPSERVERS needs to be set in /etc/default/ntpdate.default at runtime,
or a different version of this file with a default value can be provided
in a bbappend. (If you intend to use ntpd you will also want to provide
an ntp.conf with the appropriate server(s) set there as well.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:58 -05:00
Paul Eggleton
93f71dafeb ntp: cleanup recipes and fix SSL support
* Move common definitions to the inc file
* Drop override of do_configure which doesn't seem to be needed anymore
* Fold ntp-ssl into the ntp recipe as a PACKAGECONFIG option for those
  who want it (default to off) and fix configure-time checks to detect
  OpenSSL properly so that it gets enabled when selected
* Remove ntp-bin package and put its contents in currently empty
  ntp-utils package (with migration path)
* Fix hardcoded paths in ntpd initscript
* Specify ntpd.conf as a configuration file for packaging purposes
* Rearrange so that packaging definitions are towards the end in the
  expected order
* Delete unused "ntp" initscript file
* Add SUMMARY
* Update HOMEPAGE

This reapplies some of the changes from the original patch by
Morgan Little <morgan.little@windriver.com>.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27 14:43:58 -05:00
chunrong guo
11a6ce97f7 inetutils : Update to 1.9.1
* There are difference spaces between  inetutils-1.8/COPYING
     and inetutils-1.9.1/COPYING,so md5sum is changed.

   * the following patches are accepted by inetutils 1.9.1 upstream
     inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch
     inetutils-1.8-1004-detect-fork-support.patch
     inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch
     inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch
     inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch
     inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch

Signed-off-by: Chunrong Guo <b40290@freescale.com>
2012-11-27 14:43:58 -05:00
Koen Kooi
9637cb304f Revert "ntp: Clean up recipes"
This breaks the upgrade path since 'ntpdate' has been renamed to 'ntp-date'. I don't know why this patch was applied when it was shot down on review.

This reverts commit d102fc3fe6.
2012-11-21 08:32:18 -05:00
xin.ouyang@windriver.com
b69b6e04f1 netperf: import from oe-classic and upgrade to 2.6.0
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-11-19 11:18:30 -05:00
Jackie Huang
5955e22f6e ptpd-2.2.0: drop the patch adjust-daemon-name.patch
The patch adjust-daemon-name.patch is to change the daemon name
ptpd2 back to ptpd, which broke some functionality:

root@qemu0:~# ptpd -g
Error: 1 ptpd daemon(s) detected in parallel, but we were not expecting any. Exiting.

so drop it and use the default daemon name ptpd2.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2012-11-19 11:18:30 -05:00
dhall
4c20b896d8 aoetools: add a recipe for version 34
Add the aoetools (ATA over Ethernet) package to be
used along with a kernel module(aoe.ko) and server
software(vblade) to support ATA over ethernet network
storage.

Signed-off-by: dhall <dennis.hall@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2012-11-19 11:18:30 -05:00
Morgan Little
7981194266 traceroute: Add from OE-Classic, uprev and update
Uprev traceroute from 2.0.12 in OE-Classic to 2.0.18.

Update SUMMERY, DESCRIPTION, LICENSE, LIC_FILES_CHKSUM, update do_install
to be similar Fedora rpm spec files, and update update alternatives to use
the update alteratives class.

Signed-off-by: Morgan Little <morgan.little@windriver.com>
2012-10-25 12:16:20 -04:00
Morgan Little
d102fc3fe6 ntp: Clean up recipes
Clean up recipes to make them easier to read and to allow ntp-ssl to build
 * Move common portions to ntp.inc
 * Update ntp-ssl to require ntp.inc oppose to ntp_${PV}.bb
 * Change ntp-ssl EXTRA_OECONF to append so it won't try to configure snmp as
it will use local paths can cause a error while configuring

Signed-off-by: Morgan Little <morgan.little@windriver.com>
2012-10-25 12:16:20 -04:00
Morgan Little
e15543f05b ntp: Uprev from 4.2.6p3 to 4.2.6p5
Signed-off-by: Morgan Little <morgan.little@windriver.com>
2012-10-25 12:16:20 -04:00
Morgan Little
0dbda720a3 ntp: Move from meta-oe to meta-networking
Signed-off-by: Morgan Little <morgan.little@windriver.com>
2012-10-25 12:16:20 -04:00
jackie huang
17119081f9 ptpd: update to 2.2.0
ptpd: update to 2.2.0

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2012-10-01 13:33:20 -04:00
Paul Eggleton
b865426672 zeroconf: add from OE-Core
This is about to be removed from OE-Core, so add it here for those that
still want it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2012-10-01 13:27:41 -04:00
Joe MacDonald
213f18c766 meta-networking: add layer
A home for networking-related packages.  This includes protocol support,
servers / daemons and utilities.

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-27 14:16:45 +02:00