8 次代碼提交 9bacee647a ... f7be6657b9

作者 SHA1 備註 提交日期
  Waldemar Brodkorb f7be6657b9 openssh: update to 10.4p1 5 天之前
  Waldemar Brodkorb 2ae6b5c5e9 dropbear: update to 2026.92 5 天之前
  Waldemar Brodkorb 09ea960c7b ltrace: update to 0.8.1 5 天之前
  Waldemar Brodkorb 4f95bdbff5 dbus: add cmake build dependency 5 天之前
  Waldemar Brodkorb e72fa81bde glib: needs C++ 5 天之前
  Waldemar Brodkorb 05530ef398 depmaker: allow to install musl-obstack 5 天之前
  Waldemar Brodkorb 8672692f64 pcre2: allow to build static only 5 天之前
  Waldemar Brodkorb 2b990adc15 atop: use default value 200809L for _POSIX_C_SOURCE 5 天之前

+ 1 - 1
adk/tools/depmaker.c

@@ -220,7 +220,7 @@ int main() {
 			/* exclude manual maintained packages from package/Makefile */
 			if (
 				!(strncmp(pkgdirp->d_name, "uclibc-ng", 9) == 0 && strlen(pkgdirp->d_name) == 9) &&
-				!(strncmp(pkgdirp->d_name, "musl", 4) == 0) &&
+				!(strncmp(pkgdirp->d_name, "musl", 4) == 0 && strlen(pkgdirp->d_name) == 4) &&
 				!(strncmp(pkgdirp->d_name, "glibc", 5) == 0)) {
 				/* print result to stdout */
 				printf("package-$(ADK_COMPILE_%s) += %s\n", pkgvar, pkgdirp->d_name); 

+ 3 - 2
package/atop/patches/patch-atop_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atop.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atop.c	2026-07-05 18:32:23.673180289 +0200
-@@ -118,7 +118,6 @@
++++ atop-2.12.1/atop.c	2026-07-07 02:02:15.281022186 +0200
+@@ -118,7 +118,7 @@
  ** can be linked with 'atop'; the one to use can eventually be chosen
  ** at runtime. 
  */
 -#define _POSIX_C_SOURCE	
++#define _POSIX_C_SOURCE	200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-atopacctd_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atopacctd.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atopacctd.c	2026-07-05 18:35:28.463214341 +0200
-@@ -36,7 +36,6 @@
++++ atop-2.12.1/atopacctd.c	2026-07-07 02:05:12.758517636 +0200
+@@ -36,7 +36,7 @@
  ** it under the terms of the GNU General Public License version 2 as
  ** published by the Free Software Foundation.
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-atopcat_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atopcat.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atopcat.c	2026-07-05 18:35:41.831361522 +0200
-@@ -28,7 +28,6 @@
++++ atop-2.12.1/atopcat.c	2026-07-07 02:04:14.759135545 +0200
+@@ -28,7 +28,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-atophide_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atophide.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atophide.c	2026-07-05 18:35:55.067507255 +0200
-@@ -31,7 +31,6 @@
++++ atop-2.12.1/atophide.c	2026-07-07 02:05:28.050878985 +0200
+@@ -31,7 +31,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-atopsar_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/atopsar.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/atopsar.c	2026-07-05 18:34:40.178682764 +0200
-@@ -28,7 +28,6 @@
++++ atop-2.12.1/atopsar.c	2026-07-07 02:05:52.149835505 +0200
+@@ -28,7 +28,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-cgroups_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/cgroups.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/cgroups.c	2026-07-05 18:33:29.513904915 +0200
-@@ -27,7 +27,6 @@
++++ atop-2.12.1/cgroups.c	2026-07-07 02:03:50.342212381 +0200
+@@ -27,7 +27,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-drawbar_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/drawbar.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/drawbar.c	2026-07-05 18:34:24.802513502 +0200
-@@ -103,7 +103,6 @@
++++ atop-2.12.1/drawbar.c	2026-07-07 02:04:43.594438374 +0200
+@@ -103,7 +103,7 @@
  // horizontally scaled by the user, atop might switch from one model to
  // the other.
  /////////////////////////////////////////////////////////////////////////////
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-gpucom_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/gpucom.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/gpucom.c	2026-07-05 18:35:09.755008371 +0200
-@@ -22,7 +22,6 @@
++++ atop-2.12.1/gpucom.c	2026-07-07 02:03:39.884775016 +0200
+@@ -22,7 +22,7 @@
  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  ** See the GNU General Public License for more details.
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-netatopif_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/netatopif.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/netatopif.c	2026-07-05 18:34:55.750854196 +0200
-@@ -22,7 +22,6 @@
++++ atop-2.12.1/netatopif.c	2026-07-07 02:02:57.548275581 +0200
+@@ -22,7 +22,7 @@
  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  ** See the GNU General Public License for more details.
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-photoproc_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/photoproc.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/photoproc.c	2026-07-05 18:33:00.761588459 +0200
-@@ -30,7 +30,6 @@
++++ atop-2.12.1/photoproc.c	2026-07-07 02:03:14.180505535 +0200
+@@ -30,7 +30,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-photosyst_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/photosyst.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/photosyst.c	2026-07-05 18:33:14.557740301 +0200
-@@ -29,7 +29,6 @@
++++ atop-2.12.1/photosyst.c	2026-07-07 02:04:57.862338565 +0200
+@@ -29,7 +29,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-rawlog_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/rawlog.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/rawlog.c	2026-07-05 18:33:44.890074163 +0200
-@@ -26,7 +26,6 @@
++++ atop-2.12.1/rawlog.c	2026-07-07 02:04:26.658021463 +0200
+@@ -26,7 +26,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-showgeneric_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/showgeneric.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/showgeneric.c	2026-07-05 18:34:06.926316721 +0200
-@@ -29,7 +29,6 @@
++++ atop-2.12.1/showgeneric.c	2026-07-07 02:05:40.538474412 +0200
+@@ -29,7 +29,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 3 - 2
package/atop/patches/patch-various_c

@@ -1,10 +1,11 @@
 --- atop-2.12.1.orig/various.c	2025-09-23 19:16:03.000000000 +0200
-+++ atop-2.12.1/various.c	2026-07-05 18:32:43.541398939 +0200
-@@ -29,7 +29,6 @@
++++ atop-2.12.1/various.c	2026-07-07 02:04:00.215992737 +0200
+@@ -29,7 +29,7 @@
  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ** --------------------------------------------------------------------------
  */
 -#define _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
  #define _XOPEN_SOURCE
  #define _GNU_SOURCE
  #define _DEFAULT_SOURCE

+ 1 - 1
package/dbus/Makefile

@@ -10,7 +10,7 @@ PKG_HASH:=		0ba2a1a4b16afe7bceb2c07e9ce99a8c2c3508e5dec290dbb643384bd6beb7e2
 PKG_DESCR:=		desktop bus daemon
 PKG_SECTION:=		sys/misc
 PKG_DEPENDS:=		libdbus libexpat
-PKG_BUILDDEP:=		expat util-linux
+PKG_BUILDDEP:=		cmake-host expat util-linux
 PKG_NEEDS:=		threads c++
 PKG_URL:=		http://dbus.freedesktop.org/
 PKG_SITES:=		https://dbus.freedesktop.org/releases/dbus/

+ 2 - 2
package/dropbear/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		dropbear
-PKG_VERSION:=		2026.91
+PKG_VERSION:=		2026.92
 PKG_RELEASE:=		1
-PKG_HASH:=		defa924475abf6bc1e74abc00173e46bfdc804bd47caafa14f5a4ef0cc76da34
+PKG_HASH:=		91dcb5234de8dea68dd82c55411c9fc986b457ab58372a780ee8a870419c2f7e
 PKG_DESCR:=		ssh server/client designed for embedded systems
 PKG_SECTION:=		net/security
 PKG_URL:=		http://matt.ucc.asn.au/dropbear/

+ 1 - 1
package/glib/Makefile

@@ -14,7 +14,7 @@ PKG_DEPENDS:=		pcre2 zlib libffi
 PKG_BUILDDEP:=		glib-host util-linux libffi zlib dbus pcre2
 HOST_BUILDDEP:=		pkgconf-host libffi-host python3-host gettext-host util-linux-host
 HOST_BUILDDEP+=		pcre2-host meson-host zlib-host libiconv-host
-PKG_NEEDS:=		threads intl iconv
+PKG_NEEDS:=		threads intl iconv c++
 PKG_URL:=		http://www.gtk.org/
 PKG_SITES:=		http://ftp.gnome.org/pub/GNOME/sources/glib/$(PKG_EXTRAVER)/
 PKG_OPTS:=		dev noscripts

+ 5 - 6
package/ltrace/Makefile

@@ -4,25 +4,24 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		ltrace
-PKG_VERSION:=		0.7.3
+PKG_VERSION:=		0.8.1
 PKG_RELEASE:=		1
-PKG_HASH:=		0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503
+PKG_HASH:=		11c85a1353fcf2b5438b19d0ccc2d376c96656ce6f11cf9537e3a92b84392c58
 PKG_DESCR:=		intercepts and records dynamic library calls 
 PKG_SECTION:=		app/debug
 PKG_DEPENDS:=		elfutils
 PKG_BUILDDEP:=		elfutils
 PKG_NEEDS:=		c++
 PKG_URL:=		http://ltrace.org/
-PKG_SITES:=		http://www.ltrace.org/
+PKG_SITES:=		https://gitlab.com/cespedes/ltrace/-/archive/0.8.1/
 
-PKG_ARCH_DEPENDS:=	!aarch64
-
-DISTFILES:=		$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2
+DISTFILES:=		$(PKG_NAME)-$(PKG_VERSION).tar.gz
 
 include $(ADK_TOPDIR)/mk/package.mk
 
 $(eval $(call PKG_template,LTRACE,ltrace,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
+AUTOTOOL_STYLE:=	autoreconf
 CONFIGURE_ARGS+=	--disable-werror
 
 ltrace-install:

+ 2 - 2
package/openssh/Makefile

@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		openssh
-PKG_VERSION:=		10.3p1
+PKG_VERSION:=		10.4p1
 PKG_RELEASE:=		1
-PKG_HASH:=		56682a36bb92dcf4b4f016fd8ec8e74059b79a8de25c15d670d731e7d18e45f4
+PKG_HASH:=		ef6026dd2aea8d56059638d5d3262902c892ceba9f88395835e0d06d3fb63238
 PKG_DESCR:=		secure shell implementation
 PKG_SECTION:=		net/security
 PKG_BUILDDEP:=		zlib openssl

+ 6 - 2
package/pcre2/Makefile

@@ -26,8 +26,12 @@ $(eval $(call PKG_template,PCRE2,pcre2,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPEN
 HOST_CONFIG_STYLE:=	cmake
 HOST_CMAKE_FLAGS+=	-DBUILD_SHARED_LIBS=ON
 CONFIG_STYLE:=		cmake
-CMAKE_FLAGS+=		-DBUILD_SHARED_LIBS=ON \
-			-DPCRE2_BUILD_TESTS=OFF
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
+CMAKE_FLAGS+=		-DBUILD_SHARED_LIBS=OFF
+else
+CMAKE_FLAGS+=		-DBUILD_SHARED_LIBS=ON
+endif
+CMAKE_FLAGS+=		-DPCRE2_BUILD_TESTS=OFF
 
 pcre2-install:
 	$(INSTALL_DIR) $(IDIR_PCRE2)/usr/lib