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 Oct 11, 2023
2 parents d2c511d + 5167111 commit 53f7ab2
Show file tree
Hide file tree
Showing 24 changed files with 255 additions and 903 deletions.
4 changes: 2 additions & 2 deletions lang/perl-text-csv_xs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=perl-text-csv_xs
PKG_VERSION:=1.51
PKG_VERSION:=1.52
PKG_RELEASE:=1

PKG_SOURCE:=Text-CSV_XS-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/H/HM/HMBRAND
PKG_HASH:=b1831d4d5f90ec6ad7f111a2e4bc5ca6dce7d17d7e57f17ace42b0f3ca140372
PKG_HASH:=e415aa705badf84b359dc4c0f0c982f1bf708481daa14756f3136e7c89c0e41d
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Text-CSV_XS-$(PKG_VERSION)

PKG_MAINTAINER:=Philip Prindeville <[email protected]>
Expand Down
6 changes: 3 additions & 3 deletions lang/python/python-pycares/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-pycares
PKG_VERSION:=4.3.0
PKG_RELEASE:=2
PKG_VERSION:=4.4.0
PKG_RELEASE:=1

PYPI_NAME:=pycares
PKG_HASH:=c542696f6dac978e9d99192384745a65f80a7d9450501151e4a7563e06010d45
PKG_HASH:=f47579d508f2f56eddd16ce72045782ad3b1b3b678098699e2b6a1b30733e1c2

PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
Expand Down
6 changes: 3 additions & 3 deletions lang/python/python-zope-interface/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-zope-interface
PKG_VERSION:=6.0
PKG_VERSION:=6.1
PKG_RELEASE:=1

PYPI_NAME:=zope.interface
PKG_HASH:=aab584725afd10c710b8f1e6e208dbee2d0ad009f57d674cb9d1b3964037275d
PKG_HASH:=2fdc7ccbd6eb6b7df5353012fbed6c3c5d04ceaca0038f75e601060e95345309

PKG_LICENSE:=ZPL-2.1
PKG_LICENSE_FILES:=LICENSE.txt
Expand All @@ -29,7 +29,7 @@ define Package/python3-zope-interface
SUBMENU:=Python
TITLE:=Interfaces for Python
URL:=https://github.com/zopefoundation/zope.interface
DEPENDS:=+python3-light
DEPENDS:=+python3-light +python3-logging
endef

define Package/python3-zope-interface/description
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/setup.py
+++ b/setup.py
@@ -124,7 +124,7 @@ setup(name='zope.interface',
@@ -125,7 +125,7 @@ setup(name='zope.interface',
"Framework :: Zope :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
],
Expand All @@ -9,7 +9,7 @@
package_dir={'': 'src'},
namespace_packages=["zope"],
cmdclass={
@@ -132,6 +132,7 @@ setup(name='zope.interface',
@@ -133,6 +133,7 @@ setup(name='zope.interface',
},
test_suite='zope.interface.tests',
include_package_data=True,
Expand Down
5 changes: 5 additions & 0 deletions lang/python/python-zope-interface/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

[ "$1" = python3-zope-interface ] || exit 0

python3 -c 'import zope.interface'
2 changes: 1 addition & 1 deletion lang/python/python3-version.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Note: keep in sync with setuptools & pip
PYTHON3_VERSION_MAJOR:=3
PYTHON3_VERSION_MINOR:=11
PYTHON3_VERSION_MICRO:=5
PYTHON3_VERSION_MICRO:=6

PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)

Expand Down
2 changes: 1 addition & 1 deletion lang/python/python3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)

PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
PKG_HASH:=85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f
PKG_HASH:=0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38

PKG_MAINTAINER:=Jeffery To <[email protected]>
PKG_LICENSE:=Python-2.0.1 0BSD
Expand Down
4 changes: 2 additions & 2 deletions lang/python/python3/patches/003-do-not-run-compileall.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2123,6 +2123,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
@@ -2128,6 +2128,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
$(DESTDIR)$(LIBDEST)/distutils/tests ; \
fi
+ifeq (1,)
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
-j0 -d $(LIBDEST) -f \
@@ -2150,6 +2151,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
@@ -2155,6 +2156,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
$(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
-j0 -d $(LIBDEST)/site-packages -f \
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2168,7 +2168,7 @@ python-config: $(srcdir)/Misc/python-con
@@ -2173,7 +2173,7 @@ python-config: $(srcdir)/Misc/python-con
@ # On Darwin, always use the python version of the script, the shell
@ # version doesn't use the compiler customizations that are provided
@ # in python (_osx_support.py).
Expand Down
6 changes: 3 additions & 3 deletions net/curl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/nls.mk

PKG_NAME:=curl
PKG_VERSION:=8.3.0
PKG_VERSION:=8.4.0
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://github.com/curl/curl/releases/download/curl-$(subst .,_,$(PKG_VERSION))/ \
https://dl.uxnr.de/mirror/curl/ \
https://curl.askapache.com/download/ \
https://curl.se/download/
PKG_HASH:=376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63
PKG_HASH:=e5250581a9c032b1b6ed3cf2f9c114c811fc41881069e9892d115cc73f9e88c6

PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
Expand Down
22 changes: 21 additions & 1 deletion net/ddns-scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.2
PKG_RELEASE:=39
PKG_RELEASE:=40

PKG_LICENSE:=GPL-2.0

Expand Down Expand Up @@ -57,6 +57,16 @@ define Package/ddns-scripts-services/description
Dynamic DNS Client definitions for supported services
endef

define Package/ddns-scripts-utils
$(call Package/ddns-scripts/Default)
TITLE:=Utility scripts for ddns configs
DEPENDS:=ddns-scripts
endef

define Package/ddns-scripts-utils/description
Dynamic DNS Client utility scripts for config files
endef


define Package/ddns-scripts-luadns
$(call Package/ddns-scripts/Default)
Expand Down Expand Up @@ -366,6 +376,15 @@ define Package/ddns-scripts-services/install
endef


define Package/ddns-scripts-utils/install
$(INSTALL_DIR) $(1)/usr/lib/ddns
$(INSTALL_BIN) ./samples/slaac_sample.sh \
$(1)/usr/lib/ddns/slaac.sh
$(INSTALL_BIN) ./samples/getlocalip_sample.sh \
$(1)/usr/lib/ddns/getlocalip.sh
endef


define Package/ddns-scripts-luadns/install
$(INSTALL_DIR) $(1)/usr/lib/ddns
$(INSTALL_BIN) ./files/usr/lib/ddns/update_luadns_v1.sh \
Expand Down Expand Up @@ -672,6 +691,7 @@ endef

$(eval $(call BuildPackage,ddns-scripts))
$(eval $(call BuildPackage,ddns-scripts-services))
$(eval $(call BuildPackage,ddns-scripts-utils))
$(eval $(call BuildPackage,ddns-scripts-luadns))
$(eval $(call BuildPackage,ddns-scripts-cloudflare))
$(eval $(call BuildPackage,ddns-scripts-gcp))
Expand Down
2 changes: 1 addition & 1 deletion net/librespeed-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=librespeed-go
PKG_VERSION:=1.1.5
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/librespeed/speedtest-go/tar.gz/v$(PKG_VERSION)?
Expand Down
7 changes: 5 additions & 2 deletions net/librespeed-go/files/librespeed-go.init
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ mount_jail_file() {
local cfg="$1"
local isdir="${2:-0}"
local rw="${3:-0}"
local reload="${4:-0}"

local value
config_get value "config" "$cfg"
Expand All @@ -31,6 +32,8 @@ mount_jail_file() {
else
procd_add_jail_mount "$value"
fi

[ "$reload" = "0" ] || procd_append_param file "$value"
}

start_service() {
Expand Down Expand Up @@ -74,8 +77,8 @@ start_service() {

mount_jail_file "assets_path" "1"
mount_jail_file "database_file" "0" "1"
mount_jail_file "tls_cert_file"
mount_jail_file "tls_key_file"
mount_jail_file "tls_cert_file" "0" "0" "1"
mount_jail_file "tls_key_file" "0" "0" "1"

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

PKG_NAME:=pppossh
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Yousong Zhou <[email protected]>
PKG_LICENSE:=GPLv2

Expand All @@ -18,7 +18,7 @@ define Package/pppossh
SECTION:=net
CATEGORY:=Network
TITLE:=PPPoSSH (Point-to-Point Protocol over SSH)
DEPENDS:=+ppp +resolveip @(PACKAGE_dropbear||PACKAGE_openssh-client)
DEPENDS:=+ppp +resolveip @(DROPBEAR_DBCLIENT||PACKAGE_openssh-client)
PKGARCH:=all
endef

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

PKG_NAME:=samba
PKG_VERSION:=4.18.6
PKG_VERSION:=4.18.7
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
Expand All @@ -13,7 +13,7 @@ PKG_SOURCE_URL:= \
http://www.nic.funet.fi/index/samba/pub/samba/stable/ \
http://samba.mirror.bit.nl/samba/ftp/stable/ \
https://download.samba.org/pub/samba/stable/
PKG_HASH:=284c8a994ce989c87cd6808c390fcb9d00c36b21a0dc1a8a75474b67c9e715e7
PKG_HASH:=61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6

PKG_BUILD_FLAGS:=gc-sections

Expand Down
4 changes: 2 additions & 2 deletions net/snowflake/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=snowflake
PKG_VERSION:=2.6.0
PKG_VERSION:=2.6.1
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_MIRROR_HASH:=a982f792c0184158e1842d8d191a7786f46030725bf3da1410c0d70b274cbd62
PKG_MIRROR_HASH:=c6a7ef515bae874c42220ab52dd597c08df4569e7d97f700e5c80c8946e205bd

PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
Expand Down

This file was deleted.

Loading

0 comments on commit 53f7ab2

Please sign in to comment.