diff --git a/dns/blocky/Makefile b/dns/blocky/Makefile deleted file mode 100644 index e060f31..0000000 --- a/dns/blocky/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -PORTNAME= blocky -DISTVERSIONPREFIX= v -DISTVERSION= 0.19 -PORTREVISION= 3 -CATEGORIES= dns -MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod -DISTFILES= go.mod:gomod - -MAINTAINER= eduardo@FreeBSD.org -COMMENT= Fast and lightweight DNS proxy as ad-blocker - -LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/LICENSE - -USES= go:modules -GO_BUILDFLAGS= -ldflags="-w -s -X github.com/0xERR0R/blocky/util.Version=${DISTVERSION} -X github.com/0xERR0R/blocky/util.BuildTime=`date '+%Y%m%d-%H%M%S'`" -USE_GITHUB= yes -GH_ACCOUNT= 0xERR0R -USE_RC_SUBR= blocky - -GO_MODULE= github.com/${GH_ACCOUNT}/${GH_PROJECT} -GO_TARGET= main.go:${PREFIX}/sbin/${PORTNAME} - -SUB_FILES= pkg-message - -post-install: - ${INSTALL_DATA} ${FILESDIR}/blocky-config.yml.sample ${STAGEDIR}${PREFIX}/etc/blocky-config.yml.sample - -.include diff --git a/dns/blocky/distinfo b/dns/blocky/distinfo deleted file mode 100644 index ca2d298..0000000 --- a/dns/blocky/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1656269680 -SHA256 (go/dns_blocky/0xERR0R-blocky-v0.19_GH0/go.mod) = bd70747ac56e33d01329866b2373a5eaf1615796333a252bdf00fedbf7c768fa -SIZE (go/dns_blocky/0xERR0R-blocky-v0.19_GH0/go.mod) = 3864 -SHA256 (go/dns_blocky/0xERR0R-blocky-v0.19_GH0/0xERR0R-blocky-v0.19_GH0.tar.gz) = 25aa341a836ded4f2c60eb7e3a578d8723148c327c297fdc572c342f8fc79c41 -SIZE (go/dns_blocky/0xERR0R-blocky-v0.19_GH0/0xERR0R-blocky-v0.19_GH0.tar.gz) = 662597 diff --git a/dns/blocky/files/blocky-config.yml.sample b/dns/blocky/files/blocky-config.yml.sample deleted file mode 100644 index aae167c..0000000 --- a/dns/blocky/files/blocky-config.yml.sample +++ /dev/null @@ -1,14 +0,0 @@ -upstream: - default: - - 1.1.1.1 - - tcp-tls:fdns1.dismail.de:853 - - https://dns.digitale-gesellschaft.ch/dns-query -blocking: - blackLists: - ads: - - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts - clientGroupsBlock: - default: - - ads -port: 53 -httpPort: 4000 diff --git a/dns/blocky/files/blocky.in b/dns/blocky/files/blocky.in deleted file mode 100644 index 24a9202..0000000 --- a/dns/blocky/files/blocky.in +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -# PROVIDE: blocky -# REQUIRE: DAEMON NETWORKING -# KEYWORD: shutdown -# -# Add the following to /etc/rc.conf[.local] to enable this service -# -# blocky_enable (bool): Set to NO by default. -# Set it to YES to enable blocky. -# blocky_config (str): Set to /usr/local/etc/blocky/config.yml by default. -# - -. /etc/rc.subr - -name=blocky -rcvar=blocky_enable - -load_rc_config ${name} - -: ${blocky_enable:=NO} -: ${blocky_config:="%%PREFIX%%/etc/blocky-config.yml"} -: ${blocky_flags:=} - -pidfile=/var/run/blocky.pid -command="%%PREFIX%%/sbin/blocky" - -start_cmd="${name}_start" - -blocky_start() -{ - echo -n "Starting ${name}." - /usr/sbin/daemon -p ${pidfile} -f ${command} -c ${blocky_config} ${blocky_flags} -} - -run_rc_command "$1" diff --git a/dns/blocky/files/pkg-message.in b/dns/blocky/files/pkg-message.in deleted file mode 100644 index 953a51c..0000000 --- a/dns/blocky/files/pkg-message.in +++ /dev/null @@ -1,14 +0,0 @@ -[ -{ type: install - message: <