Skip to content

Commit

Permalink
Merge Official Source
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
  • Loading branch information
1715173329 committed Jul 12, 2024
2 parents 40488b9 + b092cb7 commit ae69ab8
Show file tree
Hide file tree
Showing 185 changed files with 404 additions and 140 deletions.
1 change: 1 addition & 0 deletions admin/atop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ PKG_HASH:=ca48d2f17e071deead5e6e9cc9e388bf6a3270d695e61976b3794d4d927b5c4e
PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:atop_project:atop

include $(INCLUDE_DIR)/package.mk

Expand Down
2 changes: 1 addition & 1 deletion admin/ipmitool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_HASH:=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
PKG_LICENSE:=BSD-3-clause
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:ipmitool_project:ipmitool

Expand Down
2 changes: 1 addition & 1 deletion admin/sudo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>

PKG_LICENSE:=ISC
PKG_LICENSE_FILES:=doc/LICENSE
PKG_CPE_ID:=cpe:/a:todd_miller:sudo
PKG_CPE_ID:=cpe:/a:sudo_project:sudo

PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
Expand Down
1 change: 1 addition & 0 deletions devel/bison/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ PKG_HASH:=9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:gnu:bison

PKG_INSTALL:=1

Expand Down
1 change: 1 addition & 0 deletions devel/diffutils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ PKG_HASH:=a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:gnu:diffutils

PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
Expand Down
1 change: 1 addition & 0 deletions devel/nasm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PKG_HASH:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
PKG_LICENSE:=BSD-2-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:nasm:netwide_assembler

PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
Expand Down
1 change: 1 addition & 0 deletions devel/pkgconf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ PKG_HASH:=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf
PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:pkgconf:pkgconf

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk
Expand Down
1 change: 1 addition & 0 deletions kernel/v4l2loopback/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ PKG_SOURCE_VERSION:=v0.12.7
PKG_MIRROR_HASH:=e5e5d897bdaa7f2fb0b897e503cecaeee234fcdc7f2f138aae501ef742f5b2b2

PKG_MAINTAINER:=Michel Promonet <michel.promonet@free.fr>
PKG_CPE_ID:=cpe:/o:v4l2loopback_project:v4l2loopback

include $(INCLUDE_DIR)/package.mk

Expand Down
4 changes: 2 additions & 2 deletions lang/golang/golang/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk

GO_VERSION_MAJOR_MINOR:=1.21
GO_VERSION_PATCH:=11
GO_VERSION_PATCH:=12

PKG_NAME:=golang
PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH))
Expand All @@ -21,7 +21,7 @@ GO_SOURCE_URLS:=https://dl.google.com/go/ \

PKG_SOURCE:=go$(PKG_VERSION).src.tar.gz
PKG_SOURCE_URL:=$(GO_SOURCE_URLS)
PKG_HASH:=42aee9bf2b6956c75a7ad6aa3f0a51b5821ffeac57f5a2e733a2d6eae1e6d9d2
PKG_HASH:=30e68af27bc1f1df231e3ab74f3d17d3b8d52a089c79bcaab573b4f1b807ed4f

PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_LICENSE:=BSD-3-Clause
Expand Down
1 change: 1 addition & 0 deletions lang/luajit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/LuaJIT-$(PKG_VERSION)
PKG_MAINTAINER:=Morteza Milani <milani@pichak.co>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYRIGHT
PKG_CPE_ID:=cpe:/a:luajit:luajit

PKG_BUILD_FLAGS:=no-mips16

Expand Down
1 change: 1 addition & 0 deletions lang/php8-pecl-imagick/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>

PKG_LICENSE:=PHP-3.01
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:php:imagick

PKG_BUILD_DEPENDS:=php8
PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php8/$(PECL_NAME)-$(PKG_VERSION)
Expand Down
1 change: 1 addition & 0 deletions lang/python/micropython/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ PKG_HASH:=098ef8e40abdc62551b5460d0ffe9489074240c0cb5589ca3c3a425551beb9bf
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:micropython:micropython

PKG_BUILD_DEPENDS:=python3/host
PKG_BUILD_FLAGS:=no-mips16
Expand Down
2 changes: 1 addition & 1 deletion lang/python/python-aiohttp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PKG_HASH:=b9552ec52cc147dbf1944ac7ac98af7602e51ea2dcd076ed194ca3c0d1c7d0bc
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE.txt
PKG_CPE_ID:=cpe:/a:aio-libs_project:aiohttp
PKG_CPE_ID:=cpe:/a:aiohttp:aiohttp

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
1 change: 1 addition & 0 deletions lang/python/python-cryptodomex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ PKG_HASH:=3e3ecb5fe979e7c1bb0027e518340acf7ee60415d79295e5251d13c68dde576e
PKG_LICENSE:=Public-Domain BSD-2-Clause
PKG_LICENSE_FILES:=LICENSE.rst
PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
PKG_CPE_ID:=cpe:/a:pycryptodome:pycryptodomex

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
1 change: 1 addition & 0 deletions lang/python/python-docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ PKG_HASH:=896c4282e5c7af5c45e8b683b0b0c33932974fe6e50fc6906a0a83616ab3da97
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:docker:docker-py

PKG_BUILD_DEPENDS:=python-setuptools-scm/host

Expand Down
1 change: 1 addition & 0 deletions lang/python/python-engineio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PKG_HASH:=b167a1b208fcdce5dbe96a61a6ca22391cfa6715d796c22de93e3adf9c07ae0c
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:python-engineio_project:python-engineio

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
1 change: 1 addition & 0 deletions lang/python/python-mako/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ PKG_HASH:=d60a3903dc3bb01a18ad6a89cdbe2e4eadc69c0bc8ef1e3773ba53d44c3f7a34
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:sqlalchemy:mako

PKG_HOST_ONLY:=1
HOST_BUILD_DEPENDS:= \
Expand Down
3 changes: 2 additions & 1 deletion lang/python/python-networkx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ PKG_RELEASE:=1
PYPI_NAME:=networkx
PKG_HASH:=de346335408f84de0eada6ff9fafafff9bcda11f0a0dfaa931133debb146ab61

PKG_LICENSE:=BSD-3-clause
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.txt
PKG_CPE_ID:=cpe:/a:python:networkx
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>

include ../pypi.mk
Expand Down
1 change: 1 addition & 0 deletions lang/python/python-paramiko/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ PKG_HASH:=376885c05c5d6aa6e1f4608aac2a6b5b0548b1add40274477324605903d9cd49
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:paramiko:paramiko

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
2 changes: 1 addition & 1 deletion lang/python/python-pip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PKG_HASH:=fb0bd5435b3200c602b5bf61d2d43c2f13c02e29c1707567ae7fbc514eb9faf2
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
CPE_ID:=cpe:/a:python:pip
PKG_CPE_ID:=cpe:/a:pypa:pip

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
3 changes: 2 additions & 1 deletion lang/python/python-psutil/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ PYPI_NAME:=psutil
PKG_HASH:=5410638e4df39c54d957fc51ce03048acd8e6d60abc0f5107af51e5fb566eb3c

PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=BSD 3-Clause
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:psutil_project:psutil

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
1 change: 1 addition & 0 deletions lang/python/python-py/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PKG_HASH:=51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:pytest:py

PKG_BUILD_DEPENDS:=python-setuptools-scm/host

Expand Down
2 changes: 1 addition & 1 deletion lang/python/python-requests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PKG_RELEASE:=1
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:python-requests:requests
PKG_CPE_ID:=cpe:/a:python:requests

PYPI_NAME:=requests
PKG_HASH:=239d7d4458afcb28a692cdd298d87542235f4ca8d36d03a15bfc128a6559a2f4
Expand Down
1 change: 1 addition & 0 deletions lang/python/python-ruamel-yaml/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PKG_HASH:=ec939063761914e14542972a5cba6d33c23b0859ab6342f61cf070cfc600efc2
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:ruamel.yaml_project:ruamel.yaml

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
1 change: 1 addition & 0 deletions lang/python/python-sqlparse/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ PKG_HASH:=d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:sqlparse_project:sqlparse

PKG_BUILD_DEPENDS:=python-flit-core/host

Expand Down
1 change: 1 addition & 0 deletions lang/python/python-tornado/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PKG_HASH:=e7d8db41c0181c80d76c982aacc442c0783a2c54d6400fe028954201a2e032fe
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:tornadoweb:tornado

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
2 changes: 1 addition & 1 deletion lang/python/python-urllib3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PKG_RELEASE:=1
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
PKG_CPE_ID:=cpe:/a:urllib3_project:urllib3
PKG_CPE_ID:=cpe:/a:python:urllib3

PYPI_NAME:=urllib3
PKG_HASH:=8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11
Expand Down
2 changes: 1 addition & 1 deletion lang/python/python-yaml/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PKG_HASH:=bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:pyyaml_project:pyyaml
PKG_CPE_ID:=cpe:/a:pyyaml:pyyaml

PKG_BUILD_DEPENDS:=python-cython/host

Expand Down
10 changes: 5 additions & 5 deletions lang/rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=rust
PKG_VERSION:=1.77.0
PKG_RELEASE:=1
PKG_VERSION:=1.78.0
PKG_RELEASE:=2

PKG_SOURCE:=rustc-$(PKG_VERSION)-src.tar.xz
PKG_SOURCE:=rustc-$(PKG_VERSION)-src.tar.gz
PKG_SOURCE_URL:=https://static.rust-lang.org/dist/
PKG_HASH:=66126989782cbf77fa3aff121bbb108429f2d46fe19328c3de231553de711b90
PKG_HASH:=ff544823a5cb27f2738128577f1e7e00ee8f4c83f2a348781ae4fc355e91d5a9
HOST_BUILD_DIR:=$(BUILD_DIR)/host/rustc-$(PKG_VERSION)-src

PKG_MAINTAINER:=Luca Barbato <lu_zero@luminem.org>
Expand Down Expand Up @@ -74,6 +74,7 @@ HOST_CONFIGURE_ARGS = \
--disable-sanitizers \
--release-channel=stable \
--enable-cargo-native-static \
--bootstrap-cache-path=$(DL_DIR)/rustc \
--set=llvm.download-ci-llvm=true \
$(TARGET_CONFIGURE_ARGS)

Expand All @@ -87,7 +88,6 @@ define Host/Compile
$(RUST_SCCACHE_VARS) \
CARGO_HOME=$(CARGO_HOME) \
TARGET_CFLAGS="$(TARGET_CFLAGS)" \
OPENWRT_RUSTC_BOOTSTRAP_CACHE=$(DL_DIR)/rustc \
$(PYTHON) $(HOST_BUILD_DIR)/x.py \
--build-dir $(HOST_BUILD_DIR)/build \
--config $(HOST_BUILD_DIR)/config.toml \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
From bd479113d38aa453cbad9d9f5ca9c5fc8903b0cf Mon Sep 17 00:00:00 2001
From: onur-ozkan <work@onurozkan.dev>
Date: Thu, 11 Apr 2024 14:57:10 +0300
Subject: [PATCH] correct the handling of `bootstrap-cache-path` option

This change makes `build.bootstrap-cache-path` option to be configurable with
`./configure` script, so it can be used like `./configure --bootstrap-cache-path=demo`.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
---
config.example.toml | 2 +-
src/bootstrap/configure.py | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)

--- a/config.example.toml
+++ b/config.example.toml
@@ -302,7 +302,7 @@

# Set the bootstrap/download cache path. It is useful when building rust
# repeatedly in a CI invironment.
-# bootstrap-cache-path = /shared/cache
+#bootstrap-cache-path = /path/to/shared/cache

# Enable a build of the extended Rust tool set which is not only the compiler
# but also tools such as Cargo. This will also produce "combined installers"
--- a/src/bootstrap/configure.py
+++ b/src/bootstrap/configure.py
@@ -152,9 +152,9 @@ v("default-linker", "rust.default-linker
# (others are conditionally saved).
o("manage-submodules", "build.submodules", "let the build manage the git submodules")
o("full-bootstrap", "build.full-bootstrap", "build three compilers instead of two (not recommended except for testing reproducible builds)")
-o("bootstrap-cache-path", "build.bootstrap-cache-path", "use provided path for the bootstrap cache")
o("extended", "build.extended", "build an extended rust tool set")

+v("bootstrap-cache-path", None, "use provided path for the bootstrap cache")
v("tools", None, "List of extended tools will be installed")
v("codegen-backends", None, "List of codegen backends to build")
v("build", "build.build", "GNUs ./configure syntax LLVM build triple")
@@ -359,6 +359,8 @@ def apply_args(known_args, option_checki
set('target.{}.llvm-filecheck'.format(build_triple), value, config)
elif option.name == 'tools':
set('build.tools', value.split(','), config)
+ elif option.name == 'bootstrap-cache-path':
+ set('build.bootstrap-cache-path', value, config)
elif option.name == 'codegen-backends':
set('rust.codegen-backends', value.split(','), config)
elif option.name == 'host':
55 changes: 0 additions & 55 deletions lang/rust/patches/0002-rustc-bootstrap-cache.patch

This file was deleted.

Loading

0 comments on commit ae69ab8

Please sign in to comment.