update-01.03

This commit is contained in:
github-actions[bot] 2022-01-03 20:32:16 +08:00
parent 4cfcae9554
commit b29629fd4d
7 changed files with 69 additions and 7 deletions

View File

@ -27,6 +27,7 @@ define Package/jpcre2
CATEGORY:=Libraries
TITLE:=C++ wrapper for PCRE2 Library
URL:=https://github.com/jpcre2/jpcre2
BUILDONLY:=1
endef
define Package/jpcre2/description

View File

@ -29,6 +29,7 @@ define Package/libcron
CATEGORY:=Libraries
URL:=https://github.com/PerMalmberg/libcron
TITLE:=A C++ scheduling library using cron formatting
BUILDONLY:=1
endef
define Package/libcron/description

View File

@ -1,3 +1,7 @@
# SPDX-License-Identifier: GPL-3.0-only
#
# Copyright (C) 2021 ImmortalWrt.org
include $(TOPDIR)/rules.mk
PKG_NAME:=microsocks
@ -18,20 +22,22 @@ PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/microsocks
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=microsocks for OpenWRT
DEPENDS:=+libpthread
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=Tiny, portable SOCKS5 server
URL:=https://github.com/rofl0r/microsocks
DEPENDS:=+libpthread
endef
define Package/microsocks/description
microsocks is a Tiny Proxy in C.
A SOCKS5 service that you can run on your remote boxes to tunnel connections
through them, if for some reason SSH doesn't cut it for you.
endef
define Package/microsocks/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/microsocks $(1)/usr/bin/microsocks
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/microsocks $(1)/usr/bin/microsocks
endef
$(eval $(call BuildPackage,microsocks))

View File

@ -0,0 +1,52 @@
From 09171eef574503a82342a8b23d4a55b8a5286724 Mon Sep 17 00:00:00 2001
From: W_Y_CPP <383152993@qq.com>
Date: Sat, 1 Jan 2022 13:05:37 +0900
Subject: [PATCH] fix pdnsd alt build error with kernel_5.15
---
src/conff.h | 2 +-
src/dns.h | 2 +-
src/netdev.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/conff.h b/src/conff.h
index a07b1561b..c66d210aa 100644
--- a/src/conff.h
+++ b/src/conff.h
@@ -32,7 +32,7 @@
#include <stdio.h>
#include <pthread.h>
#include <sys/socket.h>
-#include <net/if.h>
+#include <linux/if.h>
#include "ipvers.h"
#include "list.h"
diff --git a/src/dns.h b/src/dns.h
index 0f6a4ac1e..ecc9680b2 100644
--- a/src/dns.h
+++ b/src/dns.h
@@ -27,7 +27,7 @@
#include <config.h>
#include <arpa/inet.h>
#include <sys/socket.h>
-#include <net/if.h>
+#include <linux/if.h>
#include <sys/types.h>
#include <inttypes.h>
#include "rr_types.h"
diff --git a/src/netdev.c b/src/netdev.c
index bd5f8c451..bfd5046df 100644
--- a/src/netdev.c
+++ b/src/netdev.c
@@ -59,7 +59,7 @@
#include "ipvers.h"
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <net/if.h>
+#include <linux/if.h>
#include <netdb.h>
#include <string.h>
#include <unistd.h>
--
2.17.1

View File

@ -27,6 +27,7 @@ define Package/quickjspp
URL:=https://github.com/ftk/quickjspp
TITLE:=QuickJS wrapper for C++
DEPENDS:=+libatomic +libpthread
BUILDONLY:=1
endef
define Package/quickjspp/description

View File

@ -32,6 +32,7 @@ define Package/rapidjson
CATEGORY:=Libraries
URL:=https://github.com/Tencent/rapidjson
TITLE:=rapidjson JSON parser/generator for C++
BUILDONLY:=1
endef
define Package/rapidjson/description