mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
adblock: update to 0.70.0
* openwrt init system support, see /etc/init.d/adblock * support for two new adblock sources: openphish and ruadlist/easylist * partial block list restore, i.e. if a single list download failed * fix performance regression on sites with links to https ad servers * removed no longer used samples dir * updated documentation Signed-off-by: Dirk Brenken <openwrt@brenken.org>
This commit is contained in:
+7
-24
@@ -7,7 +7,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=adblock
|
||||
PKG_VERSION:=0.60.1
|
||||
PKG_VERSION:=0.70.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_LICENSE:=GPL-3.0+
|
||||
PKG_MAINTAINER:=Dirk Brenken <openwrt@brenken.org>
|
||||
@@ -23,26 +23,8 @@ define Package/$(PKG_NAME)
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Powerful adblock script to block ad/abuse domains
|
||||
When the dns server on your router receives dns requests, we will sort out queries that ask for the resource
|
||||
records of ad/abuse servers and return the local ip address of your router and the internal web server
|
||||
delivers a transparent pixel instead.
|
||||
|
||||
The script supports the following domain blacklist sites:
|
||||
https://adaway.org
|
||||
https://disconnect.me
|
||||
http://dshield.org
|
||||
https://feodotracker.abuse.ch
|
||||
http://malwaredomains.com
|
||||
http://www.malwaredomainlist.com
|
||||
https://palevotracker.abuse.ch
|
||||
http://www.shallalist.de
|
||||
http://www.spam404.com
|
||||
http://someonewhocares.org
|
||||
http://winhelp2002.mvps.org
|
||||
http://pgl.yoyo.org/adservers
|
||||
https://zeustracker.abuse.ch
|
||||
|
||||
Powerful adblock script to block ad/abuse domains.
|
||||
Currently the script supports 15 domain blacklist sites plus manual black- and whitelist overrides.
|
||||
Please see README.md in /etc/adblock for further information.
|
||||
|
||||
endef
|
||||
@@ -67,17 +49,18 @@ define Package/$(PKG_NAME)/install
|
||||
$(INSTALL_BIN) ./files/adblock-update.sh $(1)/usr/bin/
|
||||
$(INSTALL_DATA) ./files/adblock-helper.sh $(1)/usr/bin/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/adblock.init $(1)/etc/init.d/adblock
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/adblock.conf $(1)/etc/config/adblock
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/adblock
|
||||
$(INSTALL_CONF) ./files/adblock.conf $(1)/etc/adblock/adblock.conf.default
|
||||
$(INSTALL_CONF) ./files/adblock.blacklist $(1)/etc/adblock/
|
||||
$(INSTALL_CONF) ./files/adblock.whitelist $(1)/etc/adblock/
|
||||
$(INSTALL_CONF) ./files/README.md $(1)/etc/adblock/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/adblock/samples
|
||||
$(INSTALL_CONF) ./files/samples/*.sample $(1)/etc/adblock/samples/
|
||||
|
||||
$(INSTALL_DIR) $(1)/www/adblock
|
||||
$(INSTALL_DATA) ./files/www/adblock/* $(1)/www/adblock/
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user