Skip to content

Commit

Permalink
Merge Official Source
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Dec 4, 2024
2 parents 9127ca4 + 548b4d2 commit c6f3504
Show file tree
Hide file tree
Showing 13 changed files with 363 additions and 390 deletions.
4 changes: 2 additions & 2 deletions lang/php8/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=php
PKG_VERSION:=8.2.24
PKG_VERSION:=8.2.26
PKG_RELEASE:=1

PKG_MAINTAINER:=Michael Heimpold <[email protected]>
Expand All @@ -16,7 +16,7 @@ PKG_CPE_ID:=cpe:/a:php:php

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.php.net/distributions/
PKG_HASH:=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a
PKG_HASH:=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef

PKG_BUILD_PARALLEL:=1
PKG_BUILD_FLAGS:=no-mips16
Expand Down
2 changes: 1 addition & 1 deletion lang/php8/patches/0025-php-5.4.9-fixheader.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Make generated php_config.h constant across rebuilds.

--- a/configure.ac
+++ b/configure.ac
@@ -1468,7 +1468,7 @@ PHP_REMOVE_USR_LIB(LDFLAGS)
@@ -1462,7 +1462,7 @@ PHP_REMOVE_USR_LIB(LDFLAGS)
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"

Expand Down
2 changes: 1 addition & 1 deletion lang/php8/patches/1004-disable-phar-command.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

--- a/configure.ac
+++ b/configure.ac
@@ -1664,13 +1664,13 @@ CFLAGS_CLEAN="$CFLAGS \$(PROF_FLAGS)"
@@ -1658,13 +1658,13 @@ CFLAGS_CLEAN="$CFLAGS \$(PROF_FLAGS)"
CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"

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

PKG_NAME:=ruby
PKG_VERSION:=3.2.5
PKG_VERSION:=3.2.6
PKG_RELEASE:=1

# First two numbes
PKG_ABI_VERSION:=$(subst $(space),.,$(wordlist 1, 2, $(subst .,$(space),$(PKG_VERSION))))

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://cache.ruby-lang.org/pub/ruby/$(PKG_ABI_VERSION)/
PKG_HASH:=7780d91130139406d39b29ed8fe16bba350d8fa00e510c76bef9b8ec1340903c
PKG_HASH:=671134022238c2c4a9d79dc7d1e58c909634197617901d25863642f735a27ecb
PKG_MAINTAINER:=Luiz Angelo Daros de Luca <[email protected]>
PKG_LICENSE:=BSD-2-Clause
PKG_LICENSE_FILES:=COPYING
Expand Down
4 changes: 2 additions & 2 deletions net/adblock/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=adblock
PKG_VERSION:=4.2.2
PKG_RELEASE:=8
PKG_VERSION:=4.2.3
PKG_RELEASE:=2
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Dirk Brenken <[email protected]>

Expand Down
22 changes: 11 additions & 11 deletions net/adblock/files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ Available commands:
| adb_repchunksize | 1 | report chunk size used by tcpdump in MB |
| adb_represolve | 0, disabled | resolve reporting IP addresses using reverse DNS (PTR) lookups |
| adb_backup | 1, enabled | set to 0 to disable the backup function |
| adb_tld | 1, enabled | set to 0 to disable the top level domain compression (tld) function |
| adb_backupdir | /tmp | path for adblock backups |
| adb_tmpbase | /tmp | path for all adblock related runtime operations, e.g. downloading, sorting, merging etc. |
| adb_safesearch | 0, disabled | set to 1 to enforce SafeSearch for google, bing, duckduckgo, yandex, youtube and pixabay |
Expand Down Expand Up @@ -257,17 +258,16 @@ To get the status in the CLI, just call _/etc/init.d/adblock status_ or _/etc/in
~#@blackhole:~# /etc/init.d/adblock status
::: adblock runtime information
+ adblock_status : enabled
+ adblock_version : 4.1.4
+ blocked_domains : 268355
+ active_sources : adaway, adguard, adguard_tracking, android_tracking, bitcoin, disconnect, firetv_tracking, games_t
racking, hblock, oisd_basic, phishing_army, smarttv_tracking, stopforumspam, wally3k, winspy, yoyo
+ dns_backend : unbound (unbound-control), /var/lib/unbound
+ run_utils : download: /usr/bin/curl, sort: /usr/libexec/sort-coreutils, awk: /bin/busybox
+ run_ifaces : trigger: wan, report: br-lan
+ run_directories : base: /tmp, backup: /mnt/data/adblock-Backup, report: /mnt/data/adblock-Report, jail: /tmp
+ run_flags : backup: ✔, flush: ✘, force: ✔, search: ✘, report: ✔, mail: ✔, jail: ✘
+ last_run : restart, 3m 17s, 249/73/68, 2022-09-10T13:43:07+02:00
+ system : ASUS RT-AX53U, OpenWrt SNAPSHOT r20535-2ca5602864
+ adblock_version : 4.2.3-r1
+ blocked_domains : 785573
+ active_sources : adguard, doh_blocklist, hagezi, winspy
+ dns_backend : dnsmasq (-), /tmp/dnsmasq.d
+ run_utils : download: /usr/bin/curl, sort: /usr/libexec/sort-coreutils, awk: /usr/bin/gawk
+ run_ifaces : trigger: trm_wwan, report: br-lan
+ run_directories : base: /tmp, backup: /tmp/adblock-Backup, report: /tmp/adblock-Report, jail: /tmp
+ run_flags : backup: ✔, tld: ✔, force: ✔, flush: ✘, search: ✘, report: ✔, mail: ✘, jail: ✘
+ last_run : reload, 1m 3s, 650 MB available, 1664 KB max. used, 2024-11-23T18:11:41+01:00
+ system : OpenWrt One, mediatek/filogic, OpenWrt SNAPSHOT r28034-ca53f2d430
</code></pre>
The 'last\_run' line includes the used start type, the run duration, the memory footprint after DNS backend loading (total/free/available) and the date/time of the last run.

Expand Down
6 changes: 3 additions & 3 deletions net/adblock/files/adblock.init
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ start_service() {
procd_set_param command "${adb_script}" "${@}"
procd_set_param pidfile "${adb_pidfile}"
procd_set_param nice "$(uci_get adblock global adb_nice "0")"
procd_set_param stdout 1
procd_set_param stderr 1
procd_set_param stdout 0
procd_set_param stderr 0
procd_close_instance
fi
}
Expand Down Expand Up @@ -188,7 +188,7 @@ service_triggers() {
delay="$(uci_get adblock global adb_triggerdelay "5")"

PROCD_RELOAD_DELAY="$((delay * 1000))"
[ -n "${iface}" ] && procd_add_interface_trigger "interface.*.up" "${iface}" "${adb_init}" "start"
[ -n "${iface}" ] && procd_add_interface_trigger "interface.*.up" "${iface}" "${adb_init}" start

PROCD_RELOAD_DELAY="$((2 * 1000))"
procd_add_reload_trigger "adblock"
Expand Down
Loading

0 comments on commit c6f3504

Please sign in to comment.