mirror of
https://github.com/kenzok8/small-package
synced 2025-01-09 08:59:26 +08:00
update 2022-09-28 23:53:16
This commit is contained in:
parent
794380b17a
commit
3ead21f91a
@ -7,13 +7,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=alist
|
||||
PKG_VERSION:=3.0.2
|
||||
PKG_VERSION:=3.0.3
|
||||
PKG_WEB_VERSION:=3.0.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/alist-org/alist/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=a8d9af1a920f040f7c20157c90700b58cd61e568de1527b231dc0181c5d16713
|
||||
PKG_HASH:=55c4d7c5ab50e16e2711d25403a522f251838ba4e8c1fcab0340d9ca6e42d274
|
||||
|
||||
PKG_LICENSE:=GPL-3.0
|
||||
PKG_LICENSE_FILE:=LICENSE
|
||||
@ -26,7 +26,9 @@ define Download/$(PKG_NAME)-web
|
||||
HASH:=2cbf1a245ab477499dfd3970fb898bf2748c090045fd2e3a107a5082d385e1f8
|
||||
endef
|
||||
|
||||
PKG_CONFIG_DEPENDS:=CONFIG_ALIST_COMPRESS_UPX
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_ALIST_COMPRESS_GOPROXY \
|
||||
CONFIG_ALIST_COMPRESS_UPX
|
||||
|
||||
PKG_BUILD_DEPENDS:=golang/host
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
@ -63,8 +65,17 @@ define Package/$(PKG_NAME)/config
|
||||
config ALIST_COMPRESS_UPX
|
||||
bool "Compress executable files with UPX"
|
||||
default n
|
||||
|
||||
config ALIST_COMPRESS_GOPROXY
|
||||
bool "Compiling with GOPROXY proxy"
|
||||
default n
|
||||
endef
|
||||
|
||||
ifeq ($(CONFIG_ALIST_COMPRESS_GOPROXY),y)
|
||||
export GO111MODULE=on
|
||||
export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||
endif
|
||||
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
$(eval $(call Download,$(PKG_NAME)-web))
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/internal/bootstrap/config.go
|
||||
+++ b/internal/bootstrap/config.go
|
||||
@@ -55,11 +55,7 @@ func InitConfig() {
|
||||
@@ -54,11 +54,7 @@ func InitConfig() {
|
||||
}
|
||||
conf.Conf.TempDir = absPath
|
||||
}
|
||||
@ -8,8 +8,8 @@
|
||||
- if err != nil {
|
||||
- log.Errorln("failed delete temp file:", err)
|
||||
- }
|
||||
- err = os.MkdirAll(conf.Conf.TempDir, 0700)
|
||||
+ err := os.MkdirAll(conf.Conf.TempDir, 0700)
|
||||
- err = os.MkdirAll(conf.Conf.TempDir, 0777)
|
||||
+ err := os.MkdirAll(conf.Conf.TempDir, 0777)
|
||||
if err != nil {
|
||||
log.Fatalf("create temp dir error: %+v", err)
|
||||
}
|
||||
|
@ -451,6 +451,10 @@ function to_check()
|
||||
model = "kirkwood_generic/linksys_e4200-v2"
|
||||
check_update()
|
||||
download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-kirkwood-linksys_e4200-v2-squashfs-sysupgrade.bin"
|
||||
elseif board_name:match("thunder%-onecloud$") then
|
||||
model = "meson_meson8/thunder-onecloud"
|
||||
check_update()
|
||||
download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-meson-meson8b-thunder-onecloud-ext4-sdcard.img.gz"
|
||||
else
|
||||
local needs_update = false
|
||||
return {
|
||||
|
@ -18,7 +18,7 @@ http {
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
|
||||
client_max_body_size 1024m;
|
||||
client_max_body_size 1536mm;
|
||||
client_header_buffer_size 512k;
|
||||
large_client_header_buffers 4 512k;
|
||||
|
||||
|
@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=natflow
|
||||
PKG_VERSION:=20220929
|
||||
PKG_VERSION:=20221001
|
||||
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)?
|
||||
PKG_HASH:=a05de6e25910efe5caf6a6ef2794fe3b68892561443dd79c863055d73c13107c
|
||||
PKG_HASH:=866d7062845b53c39c1517545e53bf5715dbf49fecc1694e2dec128038e95bf6
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
||||
PKG_MAINTAINER:=Chen Minqiang <ptpt52@gmail.com>
|
||||
@ -39,7 +39,7 @@ endef
|
||||
include $(INCLUDE_DIR)/kernel-defaults.mk
|
||||
|
||||
EXTRA_CFLAGS += -DCONFIG_NATFLOW_PATH -DCONFIG_NATFLOW_URLLOGGER
|
||||
ifneq ($(CONFIG_TARGET_mediatek_mt7622),)
|
||||
ifneq ($(CONFIG_TARGET_mediatek),)
|
||||
EXTRA_CFLAGS += -DCONFIG_HWNAT_EXTDEV_USE_VLAN_HASH
|
||||
endif
|
||||
|
||||
|
@ -5,12 +5,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=smartdns
|
||||
PKG_VERSION:=37.2
|
||||
PKG_VERSION:=38
|
||||
PKG_RELEASE:=$(AUTORELEASE)
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/pymumu/smartdns/tar.gz/Release$(PKG_VERSION)?
|
||||
PKG_HASH:=56819ebeb05a6921b6c5ccf27250e720c95eef314b30b408775df99768f1ce03
|
||||
PKG_HASH:=58734fade06a2adb9333ec3160f7f641ed1c57d155823d016ec751841768bb00
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-Release$(PKG_VERSION)
|
||||
|
||||
PKG_MAINTAINER:=Nick Peng <pymumu@gmail.com>
|
||||
|
Loading…
Reference in New Issue
Block a user