Commit Graph

29 Commits

Author SHA1 Message Date
Alexander Kanavin
3e180097a9 libbsd: upgrade 0.11.8 -> 0.12.1
License-Update: copyright years

(From OE-Core rev: 913212724c5a8437678e0f07795e8a894d6f43bc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:02 +00:00
Wang Mingyu
2a5b8a9d53 libbsd: upgrade 0.11.7 -> 0.11.8
License-Update: Switch arc4random(3bsd) man page from OpenBSD to NetBSD

0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch
removed since it's included in 0.11.8

(From OE-Core rev: c5709bb67c14f7ba829803cf1dc3f1c564376168)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-19 12:21:23 +00:00
Ranjitsinh Rathod
dc2708bbe8 libbsd: Add correct license for all packages
BSD-4-Clause is only applicable to the {PN}-doc package as when I
check for the source code I find below files which only uses the
license BSD-4-Clause

~/sources/libbsd$ grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
COPYING
man/arc4random.3bsd

~/sources/libbsd$ grep -rnB5 "BSD-4"
COPYING-9-Files:
COPYING-10- man/arc4random.3bsd
COPYING-11-Copyright:
COPYING-12- Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
COPYING-13- All rights reserved.
COPYING:14:License: BSD-4-clause-Niels-Provos

So other all PACKAGES should not contain the BSD-4-Clause

(From OE-Core rev: fe57f5ec7fa46f595a302275ce3063d53634c00e)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Khem Raj
e842e4fdbd libbsd: Fix build with largefile support
(From OE-Core rev: 7cb6242f82cc5ba7c1960045282fab5486fca05b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-22 23:05:50 +00:00
Alexander Kanavin
610b65cd49 libbsd: upgrade 0.11.6 -> 0.11.7
License-Update: copyright years, removed redundant bsd 4-clause copy

(From OE-Core rev: 925b52b7e5d96641d2e260289ed790203b0030ec)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
wangmy
b66928407a libbsd: upgrade 0.11.5 -> 0.11.6
License-Update:
-  Copyright year updated to 2022
-  License ISC changed as following:
   remove "src/arc4random_openbsd.h" from Files
   add "test/explicit_bzero.c" and "test/strtonum.c" to Files
   add "Copyright © 2004 Otto Moerbeek <otto@drijf.net>"
   add "Copyright © 2014 Google Inc."

(From OE-Core rev: cfe9d0fc049458f893398bfe89359b819d840767)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alexander Kanavin
d169e91dcd libbsd: upgrade 0.11.3 -> 0.11.5
License-Update: additional files

(From OE-Core rev: 2a464b1cf45c7de2738f48e0786b5367688304ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Richard Purdie
bb6ddc3691 Convert to new override syntax
This is the result of automated script conversion:

scripts/contrib/convert-overrides.py <oe-core directory>

converting the metadata to use ":" as the override character instead of "_".

(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
132d7f5541 libbsd: udpate 0.10.0 -> 0.11.3
License-Update: copyright years, file lists

(From OE-Core rev: e4604b40075c56a610068179c401537551c93569)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Mark Jonas
2788b47041 libbsd: Remove BSD-4-Clause from main package
libbsd contains a multitude of licenses. For (commercial) projects the
3rd clause of the BSD-4-Clause license can be problematic. But only a
few man pages use this license. This means that the main package
containing the binary library itself is not under BSD-4-Clause ruling.

(From OE-Core rev: 9c3e3f83b5fb162d161a7b9773d426418a22c05f)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Stefan Müller-Klieser
820c10e689 recipes: change SRC_URI to use https
Change all recipes to https where we get an http 301 permanent redirect.

(From OE-Core rev: e514acda9e12bccde6d3974e0fd1a37b3837191a)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-06 14:41:28 +00:00
Yi Zhao
dfe57de912 libbsd: upgrade 0.9.1 -> 0.10.0
License-Update: copyright years updated.

Drop the backport patch.

(From OE-Core rev: 88fb1140f4b65ed33cdd4152ef506461a33371a5)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-01 22:33:07 +01:00
Ross Burton
a81753fff9 libbsd: drop obsolete patch
This was only needed with old pkg-config, but we have 0.29.2 so this can be
dropped.

(From OE-Core rev: 27605fc88d0dc8021abeccc38bab286f56a92736)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10 12:13:06 +01:00
Yi Zhao
4d412d63b2 libbsd: update to 0.9.1
License-Update: update COPYING file format

Drop 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch and
0002-Remove-funopen.patch since they are already fixed upstream.

Backport 0001-flopen-Add-missing-fcntl.h-include.patch to fix build with
musl.

(From OE-Core rev: 62981e79de16a2352744c4b275f0549b1dafd17a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-29 11:07:44 +01:00
Yi Zhao
85ddc66f3d libbsd: update to 0.8.7
Drop 0001-Fix-for-older-GCCs-not-supporting-__has_include.patch as it
had been merged upstream.
Rebase 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch.

(From OE-Core rev: 28ccf3a73f5dabf658c8dae5d9eabcb482d7f0bb)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:28 +00:00
Peter Kjellerstedt
d8ebe9ad6e libbsd: Make it build with GCC 5.0 and older
(From OE-Core rev: 2a769d0831cf368992cf540e7758cc2c2d9067ab)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10 22:45:19 +00:00
Robert Yang
91def3fdc9 libbsd: 0.8.5 -> 0.8.6
(From OE-Core rev: 8c53a8c87c509da68d1f423ecd11f6b11186acd1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-23 08:47:02 +01:00
Robert Yang
73fc26cfcd libbsd: 0.8.3 -> 0.8.5
* The LIC_FILES_CHKSUM is changed becauses the files updated the date, and added
  a BSD-3-clause-John-Birrell for man/timeradd.3bsd, this license is already
  there for other files.

* Update 0002-Remove-funopen.patch

* Remove 0003-Fix-build-breaks-due-to-missing-a.out.h.patch, the a.out
  code is gone in the source, so this patch is not needed any more.

(From OE-Core rev: 1be785e420c838080ce5dc608192794e46961582)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-17 14:01:39 +01:00
Fabio Berton
824264d162 libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystem
pkg-config currently only handles -I and -L correctly, but misses
-isystem, so we need to do this workaround to fix this issue.

There's a open bug in:
https://bugzilla.freedesktop.org/show_bug.cgi?id=99516

This appears when building lldpd and shows error:

ERROR: lldpd-0.9.6-r0 do_configure: This autoconf log indicates
errors, it looked at host include and/or library paths while
determining system capabilities.
Rerun configure task after fixing this.
ERROR: lldpd-0.9.6-r0 do_configure: Function failed: do_qa_configure

Change-Id: I83255b5952e19bb2f516b1186276cd03eb67eed3
(From OE-Core rev: 5bd23c01fd800c43ba3979b23585fe8ac30d7ec8)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-05 09:22:16 +00:00
Khem Raj
9bf3f80e88 libbsd: Fix build with musl
a.out.h support is not across all architectures only
x86/x86_64 support is in linux/a.out.h, this patch
abstracts the minimum needed constructs into itself

(From OE-Core rev: 757224640bbf4ebf17aea22fa1419c9c3bcd89ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-15 15:19:54 +00:00
Koen Kooi
ef1d874c63 libbsd 0.8.3: BBCLASSEXTEND to native and nativesdk
Android-tools depends on it and to build the native versions of fastboot, adb, mkbootimg and others libbsd needs to support native builds.

(From OE-Core rev: b02cef58ee35dd277fff48538ce2803df1cbc4d5)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-15 15:19:53 +00:00
Robert Yang
791e18a026 libbsd: 0.8.2 -> 0.8.3
The LIC_FILES_CHKSUM changed because a word changes: http -> https.

(From OE-Core rev: 15f70441476b485dab2959113ec52c322e0db49a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15 08:35:00 +01:00
Armin Kuster
72c6b6257f libbsd: Security fix and update 0.8.2
This update includes:
CVE-2016-2090 Heap buffer overflow in fgetwln function of libbsd

libbsd 0.8.1 and earlier contains a buffer overflow in the function
fgetwln(). An if checks if it is necessary to reallocate memory in the
target buffer. However this check is off by one, therefore an out of
bounds write happens.

Upstream has released version 0.8.2 to fix this.

(From OE-Core rev: 29053ff82bf28da45eef9d7e85d6d3ce7060daf6)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11 22:33:39 +00:00
Martin Jansa
fbc2147ab5 libbsd: upgrade to 0.8.1
* fixes building lldpd from meta-networking, more information in:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807730
  http://cgit.freedesktop.org/libbsd/commit/?id=48ac79b1883981f5135b5b9c76ca268e6cbe65b2
* update LIC_FILES_CHKSUM and LICENSE according to:
  http://cgit.freedesktop.org/libbsd/commit/?id=6bcb1312f4691b92d0193e4a923a776dc6f233df
  http://cgit.freedesktop.org/libbsd/commit/?id=290a1ce8f262a7f30a77c0a89eaa28876de876ed
  be aware that it doesn't list all LICENSEs, only those where
  common license text already exists (feel free to add additional
  texts).

(From OE-Core rev: bc1fd218acde4728b8a039cb4da3fd9f50eb57a5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-11 15:41:45 +00:00
Marek Vasut
d9f73ca6df libbsd: Upgrade to 0.8.0
Upgrade the library version to recently released 0.8.0 .

The COPYING file changed again, but the changes are just new names
added to the Copyright (C) YYYY John Doe <...> section, no changes
to the license itself.

(From OE-Core rev: 9950c08341a2950521f18a1bf4593e84dfab864b)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Saul Wold <sgw@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08 10:20:49 +00:00
Saul Wold
b8dd7c82bc libbsd: Upgrade to 0.7.0
COPYING file changed in year, but no license changes

(From OE-Core rev: 55ae27e1fa77dc2f10a40051ac67e933116f874c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23 09:26:08 +01:00
Paul Eggleton
e792f5470b Add missing SUMMARY values
These recipes all had a long DESCRIPTION but no SUMMARY; since the
SUMMARY is often displayed alone by package managers and the default
value ("${PN} version ${PV}") isn't particularly useful, we should
always try to set SUMMARY.

(From OE-Core rev: db02edd2e9d7645592933cbb25ea0ca4d6561392)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02 12:50:18 +00:00
Saul Wold
d3d98344e5 libbsd: upgrade to 0.6.0
(From OE-Core rev: c9b52f8b0706f4eaa60fc46b98cf4617657e5cf3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14 16:55:29 +01:00
Khem Raj
1bbbf3616d libbsd: Add recipes for libbsd - utility functions from BSD systems
When building BSD programs this library provides common
BSD functions that are missing on other OSes e.g. Linux

This library is elemental for porting large set of BSD applications
current consumer of this are in meta-networking/openbsd-netcat
but once we have it in OE-Core more recipes depending on it in different layers
can be added.

(From OE-Core rev: 2df53911f25234d2724bc8163ac9406af0bdad06)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:56 +01:00