Commit Graph

26 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Petr Štetiar 845d81ca09 treewide: fix security issues by bumping all packages using libwolfssl
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.

So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all packages
using wolfSSL library.

Same bump has been done in buildroot in commit f1b7e1434f66 ("treewide:
fix security issues by bumping all packages using libwolfssl").

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-04 00:58:29 -07:00
Eneas U de Queiroz 8fb3fd3dac libuwsc: fix compiltation with wolfSSL
wolfssl/options.h needs to be included before the other wolfssl headers
to enable OpenSSL API required to build the package.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-07-15 13:14:25 -07:00
Rosen Penev 0ed3e8f373 libuwsc: fix compilation with GCC11
Bad if identation is now an error.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-24 21:05:44 -07:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev 935b7e8c13 libuwsc: update to 3.3.5
Switch to AUTORELEASE for simplicity.

Switch to building with Ninja for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-26 13:12:59 -07:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Jianhui Zhao b97802e7df libuwsc: update to 3.3.4
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-03-31 00:33:37 +08:00
Jeffery To 53e1692ae9 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 02:01:34 +08:00
Jianhui Zhao 46ec912121 libuwsc: update to 3.3.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2019-07-04 01:37:47 +08:00
Jianhui Zhao 560c20f36b libuwsc: update to 3.3.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2019-05-16 16:35:21 +08:00
Jianhui Zhao 0803c6ee5d libuwsc: update to 3.2.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2019-04-25 10:55:54 +08:00
Jianhui Zhao 3db8424289 libuwsc: update to 3.2.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2019-02-25 13:54:50 +08:00
Jianhui Zhao 3b5876eb86 libuwsc: Update to 3.2.0
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-12-28 22:43:49 +08:00
Jianhui Zhao 678a4dd21b libuwsc: update to 3.1.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-12-14 09:32:20 +08:00
Rosen Penev 02c2fa14b2 libuwsc: Update to 3.1.1
Some consistency updates in the Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-03 12:42:37 -08:00
Jianhui Zhao 44577488a6 libuwsc: update to 3.1.0
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-10-08 22:26:21 +08:00
Jianhui Zhao 099d045c7c libuwsc: Update to 3.0.4
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-09-28 12:01:17 +08:00
Jianhui Zhao 826e9366b0 libuwsc: Update to 2.0.5
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-08-21 18:11:28 +08:00
Jianhui Zhao f498829e0e libuwsc: Update to 2.0.4
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-06-18 23:18:51 +08:00
Jianhui Zhao 17acf04279 libuwsc: update to 2.0.3
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-06-14 14:20:02 +08:00
Jianhui Zhao 0e475d9a3d libuwsc: Update to 2.0.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-05-15 00:04:37 +08:00
Jianhui Zhao 87f9dbd59b libuwsc: update to 2.0.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-03-25 21:53:35 +08:00
Jianhui Zhao 790935eed2 rtty: Update to latest version
Change license to LGPL2

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-03-03 23:16:27 +08:00
Jianhui Zhao 9cd7e4dfe4 libuwsc: Update to 1.2.0
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-02-06 17:12:50 +08:00
Jianhui Zhao 8a7797d67a rtty: Add package
A reverse proxy WebTTY. It is composed of the client and the server.

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-23 15:24:36 +08:00