Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from openwrt:master #31

Merged
merged 5 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions admin/debootstrap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=debootstrap
PKG_VERSION:=1.0.128+nmu2+deb12u1
PKG_RELEASE:=1
PKG_REAL_VERSION:=1.0.128+nmu2+deb12u1
PKG_VERSION:=1.0.128.2~deb121
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-udeb_$(PKG_VERSION)_all.udeb
PKG_SOURCE:=$(PKG_NAME)-udeb_$(PKG_REAL_VERSION)_all.udeb
PKG_SOURCE_URL:=@DEBIAN/pool/main/d/debootstrap
PKG_HASH:=4fa4ec7c144ed047c47d0d8eb9b91b56eaa9b2db2b52510777abbabf5965d268

PKG_MAINTAINER:=Daniel Golle <[email protected]>
PKG_LICENSE:=Unique
PKG_LICENSE_FILES:=debian/copyright

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REAL_VERSION)

UNPACK_CMD=ar -p "$(DL_DIR)/$(PKG_SOURCE)" data.tar.xz | xzcat | tar -C $(1) -xf -

include $(INCLUDE_DIR)/package.mk
Expand Down
1 change: 1 addition & 0 deletions net/cifs-utils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/cifsmount
SECTION:=net
CATEGORY:=Network
SUBMENU:=Filesystem
DEPENDS:=+kmod-fs-cifs
TITLE:=CIFS mount
URL:=https://wiki.samba.org/index.php/LinuxCIFS_utils
Expand Down
1 change: 1 addition & 0 deletions net/dawn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ include $(INCLUDE_DIR)/cmake.mk
define Package/dawn
SECTION:=net
CATEGORY:=Network
SUBMENU:=Wireless
TITLE:=Decentralized wifi controller
URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
DEPENDS:=$(DRV_DEPENDS) +libubus +libubox +libblobmsg-json +libuci +libgcrypt +libiwinfo +umdns
Expand Down
1 change: 1 addition & 0 deletions net/dnscrypt-proxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ define Package/dnscrypt-proxy/Default
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
TITLE:=DNSCrypt-Proxy by Dyne, not actively maintained
URL:=https://github.com/dyne/dnscrypt-proxy
endef

Expand Down
1 change: 1 addition & 0 deletions net/dnscrypt-proxy2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ define Package/dnscrypt-proxy2
SECTION:=net
CATEGORY:=Network
TITLE:=Flexible DNS proxy with encrypted DNS protocols
SUBMENU:=IP Addresses and Names
URL:=https://github.com/DNSCrypt/dnscrypt-proxy
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
CONFLICTS:=dnscrypt-proxy
Expand Down
1 change: 1 addition & 0 deletions net/family-dns/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ define Package/family-dns
SECTION:=net
CATEGORY:=Network
TITLE:=Family DNS
SUBMENU:=IP Addresses and Names
PKGARCH:=all
endef

Expand Down
1 change: 1 addition & 0 deletions net/git-lfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ define Package/git-lfs
SECTION:=net
CATEGORY:=Network
TITLE:=Git Large File Storage
SUBMENU:=Version Control Systems
URL:=https://git-lfs.com
DEPENDS:=$(GO_ARCH_DEPENDS) +git
endef
Expand Down
1 change: 1 addition & 0 deletions net/https-dns-proxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ define Package/https-dns-proxy
SECTION:=net
CATEGORY:=Network
TITLE:=DNS Over HTTPS Proxy
SUBMENU:=IP Addresses and Names
URL:=https://github.com/stangri/https-dns-proxy/
DEPENDS:=+libcares +libcurl +libev +ca-bundle +jsonfilter +resolveip
DEPENDS+=+!BUSYBOX_DEFAULT_GREP:grep
Expand Down
1 change: 1 addition & 0 deletions net/mdns-repeater/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ define Package/mdns-repeater
SECTION:=net
CATEGORY:=Network
TITLE:=Multicast DNS repeater for Linux
SUBMENU:=IP Addresses and Names
URL:=https://github.com/kennylevinsen/mdns-repeater
endef

Expand Down
2 changes: 1 addition & 1 deletion net/nbd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=nbd
PKG_VERSION:=3.25
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/NetworkBlockDevice/nbd/releases/download/$(PKG_NAME)-$(PKG_VERSION)
Expand Down
37 changes: 37 additions & 0 deletions net/nbd/patches/010-gcc14.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
From 4664b8dd3bc124c27b160720113339c1da97c2c4 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Mon, 20 May 2024 17:50:51 -0700
Subject: [PATCH] nbd-client: Fix build on musl + gcc14

GCC-14 has promoted incompatible-pointer-types warning into error which is
now flagged especially with when building on musl

Fixes following error

| ../nbd-3.26.1/nbd-client.c: In function 'openunix':
| ../nbd-3.26.1/nbd-client.c:345:27: error: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types]
| 345 | if (connect(sock, &un_addr, sizeof(un_addr)) == -1) {
| | ^~~~~~~~
| | |
| | struct sockaddr_un *
| In file included from ../nbd-3.26.1/nbd-client.c:25:
| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/nbd/3.26.1/recipe-sysroot/usr/include/sys/socket.h:386:19: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *'
| 386 | int connect (int, const struct sockaddr *, socklen_t);
| | ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <[email protected]>
---
nbd-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/nbd-client.c
+++ b/nbd-client.c
@@ -341,7 +341,7 @@ int openunix(const char *path) {
return -1;
};

- if (connect(sock, &un_addr, sizeof(un_addr)) == -1) {
+ if (connect(sock, (struct sockaddr*)&un_addr, sizeof(un_addr)) == -1) {
err_nonfatal("CONNECT failed");
close(sock);
return -1;
1 change: 1 addition & 0 deletions net/nextdns/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ define Package/nextdns
SECTION:=net
CATEGORY:=Network
TITLE:=NextDNS DNS over HTTPS Proxy
SUBMENU:=IP Addresses and Names
URL:=https://github.com/nextdns/nextdns
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
endef
Expand Down
1 change: 1 addition & 0 deletions net/onionshare-cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ define Package/onionshare-cli
SECTION:=net
CATEGORY:=Network
TITLE:=Secure chat, web and file sharing
SUBMENU:=File Transfer
URL:=https://onionshare.org/
DEPENDS:= \
+python3-light \
Expand Down
1 change: 1 addition & 0 deletions net/smartdns/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ define Package/smartdns
SECTION:=net
CATEGORY:=Network
TITLE:=smartdns server
SUBMENU:=IP Addresses and Names
DEPENDS:=+libpthread +libopenssl
URL:=https://www.github.com/pymumu/smartdns/
endef
Expand Down
2 changes: 1 addition & 1 deletion net/xray-core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
include ../../lang/golang/golang-package.mk

define Package/xray/template
TITLE:=A platform for building proxies to bypass network restrictions
TITLE:=A proxy platform to bypass network restrictions
SECTION:=net
CATEGORY:=Network
URL:=https://xtls.github.io
Expand Down
9 changes: 5 additions & 4 deletions utils/hfsprogs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=hfsprogs
PKG_VERSION:=540.1.linux3
PKG_REAL_VERSION:=540.1.linux3
PKG_VERSION:=$(subst linux,,$(PKG_REAL_VERSION))
PKG_RELEASE:=2

PKG_SOURCE:=diskdev_cmds-$(PKG_VERSION).tar.gz
PKG_SOURCE:=diskdev_cmds-$(PKG_REAL_VERSION).tar.gz
PKG_SOURCE_URL:=https://src.fedoraproject.org/repo/pkgs/hfsplus-tools/$(PKG_SOURCE)/0435afc389b919027b69616ad1b05709
PKG_HASH:=b01b203a97f9a3bf36a027c13ddfc59292730552e62722d690d33bd5c24f5497
PKG_BUILD_DIR:=$(BUILD_DIR)/diskdev_cmds-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/diskdev_cmds-$(PKG_REAL_VERSION)

PKG_MAINTAINER:=
PKG_LICENSE:=APSL-2.0
Expand Down Expand Up @@ -59,7 +60,7 @@ TARGET_CFLAGS+=$(if $(CONFIG_USE_MUSL),-D__P\(x\)=x -D__va_copy=va_copy -DBSD_SO
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS+="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(PKG_BUILD_DIR)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\\\"$(PKG_VERSION)\\\"" \
CFLAGS+="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(PKG_BUILD_DIR)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\\\"$(PKG_REAL_VERSION)\\\"" \
LDFLAGS+="$(TARGET_LDFLAGS)" \
all
endef
Expand Down
4 changes: 2 additions & 2 deletions utils/ncdu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=ncdu
PKG_VERSION:=1.20
PKG_VERSION:=1.21
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://dev.yorhel.nl/download
PKG_HASH:=5fe2bb841abe72374bb242dbb93293c4ae053078432d896a7481b2ff10be9572
PKG_HASH:=a894d3a9b46bce578a6039bef48f54533ec402fb589b0769bfbb1d1edf9601a6

PKG_MAINTAINER:=Charles E. Lehner <[email protected]>
PKG_LICENSE:=MIT
Expand Down