Commit Graph

2552 Commits

Author SHA1 Message Date
Yi Zhao
2936dfbe67 samba: update smb.conf
There are some options are deprecated in smb.conf.

Refer to
https://salsa.debian.org/samba-team/samba/-/blob/master/debian/smb.conf
to update it.

* Remove the deprecated "syslog only" and "syslog" global options and
  replace them with the "logging" statement.
* Remove wins support and wins server comments since WINS protocol is
  outdated.
* Improve idmap config

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-05 08:19:07 -07:00
Yi Zhao
dd422c5467 samba: upgrade 4.10.18 -> 4.14.4
The 4.10.x is EOL: https://wiki.samba.org/index.php/Samba_Release_Planning
Upgrade to latest 4.14.x.

Remove PACKAGECONFIG[gnutls] since the gnutls is now the mandatory
requirement for samba. See:
https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Mandatory

Refresh patches:
  16-do-not-check-xsltproc-manpages.patch
  20-do-not-import-target-module-while-cross-compile.patch
  21-add-config-option-without-valgrind.patch
  0001-Add-options-to-configure-the-use-of-libbsd.patch
  dnsserver-4.7.0.patch
  iconv-4.7.0.patch
  0001-samba-fix-musl-lib-without-innetgr.patch

Drop patches:
  0001-lib-replace-wscript-Avoid-generating-nested-main-fun.patch
  0001-nsswitch-nsstest.c-Avoid-nss-function-conflicts-with.patch
  0001-waf-add-support-of-cross_compile.patch
  0002-util_sec.c-Move-__thread-variable-to-global-scope.patch
  CVE-2020-14318.patch
  CVE-2020-14383.patch
  glibc_only.patch
  smb_conf-4.7.0.patch

Add new patches:
  0007-wscript_configure_system_gnutls-disable-check-gnutls.patch
  0008-source3-wscript-disable-check-fcntl-F_OWNER_EX.patch
  source3-wscript-disable-check-fcntl-RW_HINTS.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-05 08:19:06 -07:00
Yi Zhao
861c0955dd libldb: upgrade 1.5.8 -> 2.3.0
Refresh patches:
  do-not-import-target-module-while-cross-compile.patch
  options-1.5.4.patch
  avoid-openldap-unless-wanted.patch
  libldb-fix-musl-libc-conflict-type-error.patch

Drop patches:
  0001-waf-add-support-of-cross_compile.patch
  libldb-fix-musl-libc-unkown-type-error.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-05 08:19:06 -07:00
Khem Raj
4bcefa8176 memcached: upgrade to 1.6.9
Fix Set but unused clang warning
sigignore issue is already fixed in 1.6.9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-05 06:06:27 -07:00
Khem Raj
a854c2cb77 mbedtls: Add packageconfig for warning-as-errors
Disable the options by default, as we use different compilers there are
more warnings to handle then upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-04 07:08:13 -07:00
Khem Raj
693ec65bf2 mbedtls: Upgrade to 2.26.0
https://github.com/ARMmbed/mbedtls/releases/tag/v2.26.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 19:12:33 -07:00
zhengruoqin
6fcc1f0309 opensaf: upgrade 5.21.03 -> 5.21.06
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 09:13:52 -07:00
Trevor Gamblin
f7751298c5 nftables: upgrade 0.9.8 -> 0.9.9
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 09:13:52 -07:00
Trevor Gamblin
c90b87b81e libnftnl: upgrade 1.1.9 -> 1.2.0
Upgrade libnftnl in preparation for the upgrade of nftables, since the
latter requires libnftnl >= 1.2.0.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 09:13:52 -07:00
Khem Raj
689e8ed550 dhcp-relay: Fix libtool files for internal bind build
The bundled libtool files are arcane and do not work in OE cross build
environment, resulting in creating wrong entried in DT_NEEDED section
as well as emitting build paths into rpaths into ELF files, therefore
copy the OE provided libtool files to fix this issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-01 07:49:06 -07:00
Khem Raj
2b01328f56 dovecot: Fix build with llvm libunwind
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-31 15:02:44 -07:00
Armin Kuster
e6cc1f6a1f python3-scapy: add pkg to pkg grp
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-05-31 07:38:06 -07:00
Armin Kuster
0073e325da python3-scapy: move from meta-security
This tracks the official scapy project.
includes ptest

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-05-31 07:38:06 -07:00
Khem Raj
827f511765 dhcp-relay: Use recent config.guess and config.sub for bind
vendored version of bind is quite old which does not have all newer
architecture info like riscv in gnu-config files captured in the bind
tarball, therefore update these files before configuring bundled bind

Fixes build on rv32/rv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Yi Zhao <yi.zhao@windriver.com>
2021-05-28 06:55:33 -07:00
Yi Zhao
ccc9d946e3 dhcp-relay: add recipe
The current default dhcp server kea in oe-core doesn't provide
dhcp-relay tool. Add a recipe to provide dhcrelay which is from dhcp.
This patch is picked up from dhcp recipe with some tweaks. In order to
fix the build dependency, we use bundled bind instead of external bind.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-28 06:55:33 -07:00
Khem Raj
cd91cfb17c wireshark: Add zstd via packageconfig
Its disabled by default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-28 06:55:33 -07:00
Romain Naour
6c2a802f42 libiec61850: Upgrade to 1.5.0
Remove all upstream patches
Rename patch 0003 -> 0001

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-28 06:55:33 -07:00
Khem Raj
03ff456f78 rdma-core: Upgrade to 35.0
Native python is being probed on some builds

Fixes
recipe-sysroot-native/usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
  (Required is exact version "3.8")

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-21 11:26:57 -07:00
Andrej Kozemcak
77e6147545 squid: upgrade 4.14 -> 4.15
Changes are found at: http://www.squid-cache.org/Versions/v4/changesets

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-21 06:47:58 -07:00
zhengruoqin
5ca3bfcd20 chrony: upgrade 4.0 -> 4.1
Refresh the following patch:
arm_eabi.patch

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-19 19:11:06 -07:00
Stefan Wiehler
417a344477 restinio: fix license
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-19 09:17:49 -07:00
zangrc
556fbae2ee tcpreplay: upgrade 4.3.3 -> 4.3.4
-License-Update: URL changed from HTTP to HTTPS.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-14 07:26:46 -07:00
zangrc
8a565dc1c5 nbdkit: upgrade 1.25.6 -> 1.25.7
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-14 07:26:46 -07:00
zangrc
f2c352d8ff lksctp-tools: upgrade 1.0.18 -> 1.0.19
0001-m4-sctp.m4-make-conpatible-to-autoconf-2.70.patch
Removed since this is included in 1.0.19.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-14 07:26:46 -07:00
zangrc
1447ec7019 ifenslave: upgrade 2.11 -> 2.12
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-14 07:26:46 -07:00
Khem Raj
b31524464a packagegroup-meta-networking.bb: Add http-parser to packagegroup-meta-networking-support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-13 08:41:15 -07:00
Stefan Wiehler
c049a4e2ce restinio: add recipe
Header-only C++14 library that gives you an embedded HTTP server.

Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-12 07:11:41 -07:00
Stefan Wiehler
6f47ea5061 http-parser: add recipe
HTTP request/response parser for C.

Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-12 07:11:41 -07:00
Khem Raj
422f18343b libowfat: Replace __pure__ with pure and remove using __deprecated__
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-03 14:22:55 -07:00
Khem Raj
7178a18131 dibbler: Add libpthread to linker flags
Fixed build issue
lowlevel-linux-link-state.c:(.text+0x450): undefined reference to `pthread_create'
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-03 12:56:57 -07:00
Silcet
0a0894b78e ufw: bump version to 0.36 and add services
This commit brings the version of ufw up to 0.36 since version 0.33
had some problems:
* The setup.py calls sed to replace some variables in the source
code with the correct paths. However, this is done using a hardcoded
path and conflicts with distutils
* The python shebang was not properly corrected in setup.py, leading
to a script that only run if there is a python symlink to python2 or
python3

The first issue is addressed by the bump in version, while the second
one is fixed in patch 0003 of the recipe.

Also, the new version provides examples for systemd service and
sysvinit scripts to autostart ufw. These are added into the recipe
now.

Signed-off-by: Silcet <camorga1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-03 08:07:40 -07:00
Andrej Kozemcak
7e0f7072ef proftpd: Update to 1.3.7a release
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-30 07:55:20 -07:00
Khem Raj
f04fd1f5e7 snort,proftpd,net-snmp: Deal with -ffile-prefix-map as well
this is another option for reproducibility which can be used by
compilers, and here consider processing it as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29 15:40:20 -07:00
zangrc
37d8352d0d wireshark: upgrade 3.4.4 -> 3.4.5
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29 09:02:39 -07:00
zangrc
b12a2818b9 openvpn: upgrade 2.5.1 -> 2.5.2
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29 09:02:39 -07:00
zangrc
902eea11f1 fetchmail: upgrade 6.4.18 -> 6.4.19
-License-Update: Change distribition to distribution.
Specific permission is granted for the GPLed code in this distribution to be linked to OpenSSL without invoking GPL clause 2(b).

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29 09:02:39 -07:00
zangrc
76db7f18d1 babeld: upgrade 1.9.2 -> 1.10
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29 09:02:39 -07:00
Silcet
5194af1afd ufw: fix python shebang
[meta-openembedded ticket #327] --
https://github.com/openembedded/meta-openembedded/issues/327

The python version in the shebang at the begining of the ufw script
should be the same one as the version the setup.py script was called
with.

The fix in patch "setup-only-make-one-reference-to-env.patch"
depends on sys.executable returning "/usr/bin/env pythonX". However,
it returns "/usr/bin/pythonX". Using sys.version_info we can get the
major version of the python used to called the script and append
that to the shebang line so it works as intended.

Signed-off-by: Silcet <camorga1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29 09:02:39 -07:00
Reto Schneider
6725a3d3b2 nng: Upgrade 1.2.5 -> 1.4.0
License-Change: Update copyright years change to Staysail Systems, Inc

ee0b44406d (diff-d0ed4cc3fb70489fe51c7e0ac180cba2a7472124f9f9e9ae67b01a37fbd580b7)

In contrast to 1.2.5, this recipe also builds and packages the nngcat
tool.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29 09:02:39 -07:00
zangrc
03115dcd5f tinyproxy: upgrade 1.10.0 -> 1.11.0
Refresh the following patch:
disable-documentation.patch

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-23 08:56:25 -07:00
zangrc
56782012e3 networkmanager: upgrade 1.30.2 -> 1.30.4
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-22 11:19:38 -07:00
Khem Raj
29f4f5a166 bearssl: Update to tip of master
changelog

* 79b1a99 Fixed comment.
* b2ec203 Fixed carry propagation bug in m64 impl for P-256.
* dda1f8a Harmonized behaviour when point length is invalid.
* acc70b1 Typo fix in comment.
* 946f5ba Added discard of unread appdata on explicit close.
* 252dba9 Fixed carry propagation bug in P-256 'm62' implementation (found by Auke Zeilstra; consequences unclear, possibly some invalid curve attacks in static ECDH contexts).
* 15b3af7 Typo fix in comment.
* 69807a3 Fixed typo in comment.
* fb4296c Fixed some errors in comments.
* 4b60464 Fixed small display bug in debug tool.
* b715b43 Fixed buffer overflow in private key decoding (wrong buffer length used in size check).
* 2893441 Fixed a spurious warning on some compilers.
* e4edfb8 Added support for getrandom()/getentropy(), and a fix for the RDRAND bug on AMD CPU (family 22).
* 924921d Fixed mishandling of UTF-8 codepoints in the FDF0..FEDF range (these were unduly rejected when extracting names from certificates, thereby preventing use of the extra presentation forms of Arabic).
* 9721b3e Fixed efficiency pre-test on RSA prime generation (no security issue, but RSA key generation with pubexp 5, 7 or 11 may be slightly more efficient).
* ecdf897 Normalize use of BR_DOXYGEN_IGNORE.
* c1bb535 Small workaround for CompCert compatibility.
* 87a796d Fixed computing of intermediate buffer size for maximum-size RSA keys.
* 6433cc2 Added detection for MIPS64 with n32 ABI.
* 001d094 Some small performance improvements on 32-bit architectures.
* 08eb078 Fixed fd leak in test code.
* d5acc4f Made m64 implementations of elliptic curves the default (when available).
* f0ddbc3 Added new 64-bit implementations of Curve25519 and P-256.
* b2a08e9 Made ec_c25519_m62 implementation the default on supported architectures.
* 52a69fe Fixed endianness in Curve25519 implementation (no consequence on security). Also added new Curve25519 code for 64-bit platforms.
* fd98320 Cosmetic fix (value did not conform to its announced bit length, but this did not have bad consequences since br_i31_decode_mod() is lenient on that).
* 431629d Changed speed benchmark for i31 to a 521-bit modulus.
* c6ffcd2 Fixed warning on GCC 4.6 to 4.9 (macro redefinition).
* 420f50c Added stand-alone RSA/PSS implementation.
* 966078b Added SHAKE implementation.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-22 11:19:21 -07:00
Kai Kang
c8ceefc5c3 freeradius: check existence of openssl's commands in bootstrap
It calls openssl's commands 'dhparam' and 'pkcs12' in script bootstrap.
These commands are configurable based on configure options 'no-dh' and
'no-des', and may not be provided by openssl. So check existence of
these commands. If not, abort running of script bootstrap.

1. https://github.com/openssl/openssl/blob/master/apps/build.info#L37
2. https://github.com/openssl/openssl/blob/master/apps/build.info#L22

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-21 08:27:01 -07:00
Armin Kuster
4784c7c62f wireguard: update to v1.0.20210219 +1
The +1 fixes build issues for the 5.4 kernel.

This update looks like bugfixes

Signed-off-by: Armin Kuster <akuster808@gmail.com>

v2]
Wrong version listed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-17 07:45:34 -07:00
Joe Hershberger
90c04acced strongswan: Make PACKAGECONFIG a default value
Change from a weak default to a default in the definition of the PACKAGECONFIG.

In https://github.com/flihp/meta-measured/blob/master/networking-layer/recipes-support/strongswan/strongswan_5.%25.bbappend the PACKAGECONFIG is appended to, so if the definition is weak here, the variable will be empty when the bbappend attempts to add to it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-17 07:43:11 -07:00
zangrc
5c2112a571 wolfssl: upgrade 4.7.0 -> 4.7.1
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15 20:01:48 -07:00
zangrc
325deac7bc nbdkit: upgrade 1.25.5 -> 1.25.6
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15 20:01:48 -07:00
zangrc
063a16bc28 dnsmasq: upgrade 2.84 -> 2.85
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15 20:01:48 -07:00
zangrc
b96cbaefb5 cifs-utils: upgrade 6.12 -> 6.13
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15 20:01:48 -07:00
Khem Raj
08c0280b7c open-vm-tools: Fix build with gcc 11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Gamblin <Trevor.Gamblin@windriver.com>
2021-04-15 09:28:44 -07:00