From ea3e9f2fe1727201f558a267366bc2690f14a2d8 Mon Sep 17 00:00:00 2001 From: Beginner <70857188+Beginner-Go@users.noreply.github.com> Date: Fri, 12 Nov 2021 16:35:38 +0800 Subject: [PATCH] dns2socks: cleanup Makefile (#8237) Co-authored-by: Tianling Shen --- package/lean/dns2socks/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/package/lean/dns2socks/Makefile b/package/lean/dns2socks/Makefile index be215d4af..47662fa09 100755 --- a/package/lean/dns2socks/Makefile +++ b/package/lean/dns2socks/Makefile @@ -1,10 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-only # -# Copyright (C) 2021 ImmortalWrt -# -# -# This is free software, licensed under the GNU General Public License v3. -# See /LICENSE for more information. -# +# Copyright (C) 2021 ImmortalWrt.org include $(TOPDIR)/rules.mk @@ -23,22 +19,22 @@ PKG_LICENSE_FILE:=LICENSE include $(INCLUDE_DIR)/package.mk +UNZIP_CMD:=unzip -q -d $(PKG_BUILD_DIR) $(DL_DIR)/$(PKG_SOURCE) + define Package/dns2socks SECTION:=net CATEGORY:=Network SUBMENU:=IP Addresses and Names - TITLE:=The utility to resolve DNS requests via a SOCKS5 tunnel. + TITLE:=DNS to SOCKS or HTTP proxy URL:=http://dns2socks.sourceforge.net/ - MAINTAINER:=ghostmaker DEPENDS:=+libpthread endef define Package/dns2socks/description - This is a utility to resolve DNS requests via a SOCKS5 tunnel and caches the answers. + This is a command line utility to resolve DNS requests via + a SOCKS tunnel like Tor or a HTTP proxy. endef -UNZIP_CMD:=unzip -q -d $(PKG_BUILD_DIR) $(DL_DIR)/$(PKG_SOURCE) - define Build/Compile $(TARGET_CC) \ $(TARGET_CFLAGS) \ @@ -54,4 +50,4 @@ define Package/dns2socks/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/DNS2SOCKS/dns2socks $(1)/usr/bin/dns2socks endef -$(eval $(call BuildPackage,dns2socks)) \ No newline at end of file +$(eval $(call BuildPackage,dns2socks))