1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-16 20:33:58 +02:00
Commit Graph

31 Commits

Author SHA1 Message Date
Jaymin Patel
52af24ff56 libreswan: uci configuration support
Add libreswan UCI configuration and hotplug support

Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2023-10-30 23:44:39 +05:30
Lucian Cristian
5a1b878010 libreswan: update to 4.12
fix CVE-2023-38710, CVE-2023-38711, CVE-2023-38712

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-08-31 19:28:31 -07:00
Lucian Cristian
a5c2eececb libreswan: update to 4.11
Fixes https://libreswan.org/security/CVE-2023-30570

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-05-17 07:23:50 +02:00
Nick Hainke
130e63931f libreswan: update to 4.10
Release Notes:
https://github.com/libreswan/libreswan/releases/tag/v4.10

Fixes: CVE-2023-23009
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-04-27 21:14:00 +02:00
Andre Heider
e7d9c86503 treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Eneas U de Queiroz
5c0c407e46 libreswan: set DNSSEC_ROOTKEY_FILE, LINUX_VARIANT
Libreswan will set DEFAULT_DNSSEC_ROOTKEY_FILE from the LINUX_VARIANT
variable, which is taken from the ID field in /etc/os-release.  This
points to the host file, which is wrong.

Set both variables when calling make.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-01-13 10:15:17 -03:00
Lucian Cristian
a707fcc88d libreswan: update to 4.9
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-10-21 15:08:40 -07:00
Lucian Cristian
8cf8518a08 libreswan: update to 4.7
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-05-30 17:21:09 -07:00
Sergey V. Lobanov
270e8eabc3 libreswan: fix build on macos
libreswan makefile detects macos (darwin) and changes build logic
but OpenWrt is always Linux so it is required to specify linux as
target platfrom

This patch specifies Linux as a target platfrom

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-20 20:49:08 -08:00
Lucian Cristian
ec252c20cc libreswan: update to 4.6
this update also fixes a CVE

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-01-17 21:08:31 -08:00
Lucian Cristian
b2efa063d2 libreswan: update to 4.5
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-09-12 10:59:07 -07:00
Lucian Cristian
b8c2ab47e1 libreswan: update to 4.4
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-05-21 17:56:11 +02:00
Lucian Cristian
7087177bb0 libreswan: update to 4.3
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-02-28 14:59:08 +02:00
Lucian Cristian
73460d8648 libreswan: update to 4.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-02-04 21:25:50 +02:00
Lucian Cristian
8778d5083a libreswan: add xfrm interface depends
ipsec needs xfrmi support

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-12-14 09:16:21 +02:00
Lucian Cristian
80ac8dac11 libreswan: update to 4.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-10-25 16:09:13 +02:00
f98158b755 libreswan: drop support for kernel 4.14
Support for kernel 4.14 has been dropped in main repo, so remove it
here as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-02 16:33:04 +02:00
Eric Luehrsen
8e0b2d344e unbound: refactor build options to select switches
The two unique packages "Unbound light" and "Unbound heavy"
were not working well due to the fact that Unbound is mostly
its library. Tools and helpers would crash. Instead a reasonable
default Unbound is built. Also up select options like python
are added. libevent and libpthreads are options to down select.

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-06-27 17:17:41 -04:00
Lucian Cristian
a659c58f29 libreswan: various fixes
start if kernel has missing ipv6 support
add libcap-ng support
fix some errors displayed on syslog

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-05-17 04:57:48 +03:00
Lucian Cristian
7d969ca3e1 libreswan: update to 3.32
also add -flto to compiler flags

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-05-14 16:32:10 +03:00
Eneas U de Queiroz
6df2abceca
libreswan: fix compilation with Linux 4.14
According to a comment in programs/pluto/kernel_xfrm_interface.c:177:

* IFLA_XFRM_IF_ID was added to mainline kernel 4.19 linux/if_link.h
  with older kernel headers 'make USE_XFRM_INTERFACE_IFLA_HEADER=true'

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-05-12 09:30:30 -03:00
Lucian Cristian
1c0935bb86 libreswan: update to 3.31
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-03-25 17:34:05 +02:00
Lucian Cristian
f37d1b698d libreswan: update to 3.30
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-02-25 22:49:52 +02:00
Rosen Penev
118d129d6a
libreswan: fix compilation with musl
Added missing limits header. This is normally included in fortify-headers,
which I have disabled locally.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 21:07:36 -08:00
Lucian Cristian
875883f2d9 libreswan: switch to procd
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-10-24 13:56:52 +03:00
Rosen Penev
c1a9e69fef
libreswan: Replace usleep with nanosleep
usleep is optionally unavailable with uClibc-ng.

Added PKG_LICENSE_FILES

Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-19 00:42:32 -07:00
Antony Antony
8f99aff8fd libreswan: update to libreswan 3.29-1
remove unused patches
Add patch to:
Automatically detect whether Curve25519 is available in NSS for USE_DH31

Signed-off-by: Antony Antony <antony@phenome.org>
2019-06-16 23:39:57 +02:00
Antony Antony
32e4c4d7ca libreswan: add libunbound and minor fixes
enable libunbound, along with dependency

add kmod-crypto-aead kmod-crypto-gcm dependency to support AES GCM

disable libseccomp
  /git/openwrt/build_dir/target-mips_24kc_musl/libreswan-3.27/include/lswseccomp.h:24:10: fatal error: seccomp.h: No such file or directory
  #include <seccomp.h>
          ^~~~~~~~~~~
add missing dependency nspr

add nss-utils dependency to able to import x509 Certificates  to fix the error
 ipsec import west.p12
 /usr/sbin/ipsec: line 239: pk12util: not found
 /usr/sbin/ipsec: line 84: certutil: not found

remove libnss dependency, nss-utils  util will pull it.
remove unused build option KERNELSRC not necesscay since b4b98e2922.

Signed-off-by: Antony Antony <antony@phenome.org>
2019-06-16 23:39:57 +02:00
Lucian Cristian
b4b98e2922 libreswan: backport deprecating KLIPS
remove building kernel module, it is not used and is not working with 4.19

rework the ready to use l2tp-ipsec example

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-21 16:47:51 +03:00
Lucian Cristian
3211f534e9 libreswan: kernel module fix
use the kernel arch for building the modules

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-11 10:31:51 +03:00
Lucian Cristian
a7558eb356 libreswan: add package
Libreswan is a free software implementation of the most widely
supported and standardized VPN protocol based on ("IPsec") and
the Internet Key Exchange ("IKE"). These standards are produced
and maintained by the Internet Engineering Task Force ("IETF").

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-08 01:39:08 +03:00