update-10.17
This commit is contained in:
parent
0bf4c7510a
commit
2e8ee159ac
|
@ -1,19 +1,17 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-jd-dailybonus
|
||||
PKG_VERSION:=1.0.5
|
||||
PKG_RELEASE:=20210316
|
||||
|
||||
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>
|
||||
|
||||
LUCI_TITLE:=Luci for JD dailybonus Script
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+node +uclient-fetch +lua +libuci-lua
|
||||
PKG_VERSION:=1.0.6
|
||||
PKG_RELEASE:=20211016
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
/etc/config/jd-dailybonus
|
||||
endef
|
||||
|
||||
LUCI_TITLE:=Luci for JD dailybonus Script
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+node +wget +lua +libuci-lua
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
|
@ -4,11 +4,12 @@ Luci for JD dailybonus Script for Openwrt
|
|||
|
||||
|
||||
|
||||
### Update Log 2021-03-16 v1.0.5
|
||||
### Update Log 2021-10-16 v1.0.6
|
||||
|
||||
#### Updates
|
||||
|
||||
- FIX: 修正新的PR依赖jQuery的问题。
|
||||
- FIX: 修正扫码问题。
|
||||
- UPDATE: JS脚本更新至2.1.3。
|
||||
|
||||
详情见[具体日志](./relnotes.txt)。
|
||||
|
||||
|
@ -69,4 +70,4 @@ openwrt-nanopi-r1s-h5 : https://github.com/jerrykuku/openwrt-nanopi-r1s-h5
|
|||
|
||||
### 支持我
|
||||
如果你觉得我做的不错,可以赞赏一下。
|
||||
<img src="https://raw.githubusercontent.com/jerrykuku/staff/master/photo_2019-12-22_11-40-20.jpg" width="300" height="300">
|
||||
<img src="https://raw.githubusercontent.com/jerrykuku/staff/master/photo_2019-12-22_11-40-20.jpg" width="300" height="300">
|
|
@ -51,7 +51,7 @@ function update()
|
|||
luci.http.write_json(e)
|
||||
end
|
||||
|
||||
local User_Agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36'
|
||||
local User_Agent='Mozilla/5.0 (iPad; CPU OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1'
|
||||
local Host='Host: plogin.m.jd.com'
|
||||
local Accept='Accept: application/json, text/plain, */*'
|
||||
local Accept_Language='Accept-Language: zh-cn'
|
||||
|
|
|
@ -4,6 +4,18 @@
|
|||
#
|
||||
########################################################
|
||||
|
||||
########################################################
|
||||
//
|
||||
// 1.0.6 2021-10-16
|
||||
//
|
||||
//
|
||||
########################################################
|
||||
|
||||
Updates
|
||||
|
||||
- FIX: 修正扫码问题。
|
||||
- UPDATE: JS脚本更新至2.1.3。
|
||||
|
||||
########################################################
|
||||
//
|
||||
// 1.0.5 2021-03-16
|
||||
|
@ -234,4 +246,4 @@ Updates
|
|||
//
|
||||
// END RELEASE NOTES
|
||||
//
|
||||
########################################################==
|
||||
########################################################==
|
|
@ -1,5 +1,5 @@
|
|||
config global
|
||||
option version '2.0.5'
|
||||
option version '2.1.3'
|
||||
option out '0'
|
||||
option stop '100'
|
||||
option serverchan ''
|
||||
|
@ -11,4 +11,4 @@ config global
|
|||
option auto_run_time '0'
|
||||
option auto_run_time_m '1'
|
||||
option auto_run_time_h '1'
|
||||
list Cookies '双击扫码添加 Cookie 数据'
|
||||
list Cookies '双击扫码添加 Cookie 数据'
|
|
@ -25,4 +25,4 @@ end
|
|||
|
||||
data.CookiesJD = json.stringify( data.CookiesJD )
|
||||
|
||||
write_json('/usr/share/jd-dailybonus/CookieSet.json', data)
|
||||
write_json('/usr/share/jd-dailybonus/CookieSet.json', data)
|
|
@ -1,42 +0,0 @@
|
|||
# openwrt-upx
|
||||
|
||||
UPX pacakage for OpenWrt
|
||||
|
||||
## Build Guide
|
||||
|
||||
- Download and unzip [OpenWrt SDK](https://downloads.openwrt.org/snapshots/targets/)
|
||||
|
||||
- In SDK directory, download Makefiles with git:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/kuoruan/openwrt-upx.git package/openwrt-upx
|
||||
```
|
||||
|
||||
- Build pakcage
|
||||
|
||||
```sh
|
||||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a
|
||||
|
||||
make defconfig # or make menuconfig
|
||||
|
||||
make package/upx/{clean,compile} V=s
|
||||
```
|
||||
|
||||
## For Packages that Need UPX Compress
|
||||
|
||||
- Add ```upx/host``` to ```PKG_BUILD_DEPENDS```:
|
||||
|
||||
```wiki
|
||||
PKG_BUILD_DEPENDS:=... upx/host
|
||||
```
|
||||
|
||||
- In ```Build/Compile``` stage:
|
||||
|
||||
```makefile
|
||||
define Build/Compile
|
||||
...
|
||||
$(STAGING_DIR_HOST)/bin/upx --lzma --best ... # bin files to be compressed
|
||||
...
|
||||
endef
|
||||
```
|
|
@ -1,69 +0,0 @@
|
|||
#
|
||||
# Copyright (C) 2019-2020 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ucl
|
||||
PKG_VERSION:=1.03
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_MAINTAINER:=Xingwang Liao <kuoruan@gmail.com>
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.oberhumer.com/opensource/ucl/download
|
||||
PKG_HASH:=b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_INSTALL:=1
|
||||
|
||||
HOST_FIXUP:=autoreconf
|
||||
HOST_BUILD_PARALLEL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
HOST_BUILD_PREFIX:=$(STAGING_DIR_HOST)
|
||||
|
||||
HOST_CFLAGS += -std=gnu89
|
||||
TARGET_CFLAGS += -std=gnu89
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--disable-asm
|
||||
|
||||
define Package/libucl
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=Portable lossless data compression library
|
||||
URL:=http://www.oberhumer.com/opensource/ucl/
|
||||
endef
|
||||
|
||||
define Package/libucl/description
|
||||
UCL is a portable lossless data compression library written in ANSI C. UCL
|
||||
implements a number of compression algorithms that achieve an excellent
|
||||
compression ratio while allowing *very* fast decompression. Decompression
|
||||
requires no additional memory.
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/ucl
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/ucl/ucl{,conf}.h $(1)/usr/include/ucl/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libucl.{a,so*} $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/libucl/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libucl.so.* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call HostBuild))
|
||||
$(eval $(call BuildPackage,libucl))
|
|
@ -1,11 +0,0 @@
|
|||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -48,7 +48,7 @@ AC_CANONICAL_TARGET
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
if test -z "$ac_abs_top_srcdir"; then
|
||||
- _AC_SRCPATHS(.)
|
||||
+ _AC_SRCDIRS(.)
|
||||
fi
|
||||
if test -r .Conf.settings1; then
|
||||
. ./.Conf.settings1
|
|
@ -1,66 +0,0 @@
|
|||
#
|
||||
# Copyright (C) 2011-2020 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=upx
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=Xingwang Liao <kuoruan@gmail.com>
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
PKG_LICENSE_FILES:=COPYING LICENSE
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_DATE:=2021-04-23
|
||||
PKG_SOURCE_VERSION:=2dae2a39972bc7c562dd3b02444336050a0b242e
|
||||
PKG_SOURCE_URL:=https://github.com/upx/upx.git
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
|
||||
|
||||
HOST_BUILD_DEPENDS:=ucl/host
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Host/Compile
|
||||
UPX_UCLDIR=$(STAGING_DIR_HOST) \
|
||||
$(MAKE) -C $(HOST_BUILD_DIR)/src \
|
||||
CXXFLAGS_WERROR="" LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
CXX="$(HOSTCXX)"
|
||||
endef
|
||||
|
||||
define Host/Install
|
||||
$(CP) $(HOST_BUILD_DIR)/src/upx.out $(STAGING_DIR_HOST)/bin/upx
|
||||
endef
|
||||
|
||||
define Host/Clean
|
||||
rm -f $(STAGING_DIR_HOST)/bin/upx
|
||||
endef
|
||||
|
||||
define Package/upx
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libucl +libstdcpp +zlib
|
||||
TITLE:=The Ultimate Packer for eXecutables
|
||||
URL:=https://upx.github.io/
|
||||
endef
|
||||
|
||||
define Package/upx/description
|
||||
UPX is a free, portable, extendable, high-performance executable packer for
|
||||
several different executable formats. It achieves an excellent compression ratio
|
||||
and offers very fast decompression. Your executables suffer no memory overhead
|
||||
or other drawbacks for most of the formats supported, because of in-place
|
||||
decompression.
|
||||
endef
|
||||
|
||||
MAKE_PATH := src
|
||||
|
||||
define Package/upx/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/upx.out $(1)/usr/bin/upx
|
||||
endef
|
||||
|
||||
$(eval $(call HostBuild))
|
||||
$(eval $(call BuildPackage,upx))
|
Loading…
Reference in New Issue