blockydevel
This commit is contained in:
parent
65e7cda9dc
commit
51e6173b49
8 changed files with 15 additions and 16 deletions
|
@ -1,3 +0,0 @@
|
||||||
TIMESTAMP = 1663205933
|
|
||||||
SHA256 (go/dns_blocky-amigan/blocky-v0.19/go.mod) = 104ea489e877ff025d56ec0ea2f910b2e991f56f4a3b95fe26a3e7ddd318d2a2
|
|
||||||
SIZE (go/dns_blocky-amigan/blocky-v0.19/go.mod) = 12460
|
|
|
@ -1,32 +1,31 @@
|
||||||
PORTNAME= blocky
|
PORTNAME= blocky
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSION= development
|
||||||
DISTVERSION= 0.21
|
PORTVERSION=0.99
|
||||||
PORTREVISION= 6
|
PORTREVISION= 7
|
||||||
CATEGORIES= dns
|
CATEGORIES= dns
|
||||||
#MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
|
MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/development/:gomod
|
||||||
MASTER_SITES=https://git.dynatron.me/amigan/blocky/raw/branch/debug/:gomod
|
|
||||||
DISTFILES= go.mod:gomod
|
DISTFILES= go.mod:gomod
|
||||||
|
NO_CHECKSUM=true
|
||||||
|
|
||||||
MAINTAINER= eduardo@FreeBSD.org
|
MAINTAINER= eduardo@FreeBSD.org
|
||||||
COMMENT= Fast and lightweight DNS proxy as ad-blocker
|
COMMENT= Fast and lightweight DNS proxy as ad-blocker
|
||||||
|
WWW= https://0xerr0r.github.io/blocky/
|
||||||
|
|
||||||
LICENSE= APACHE20
|
LICENSE= APACHE20
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
USES= go:modules
|
USES= go:modules
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= 0xERR0R
|
||||||
USE_RC_SUBR= blocky
|
USE_RC_SUBR= blocky
|
||||||
|
|
||||||
GO_MODULE= pkg.dynatron.me/amigan/blocky
|
GO_MODULE= github.com/${GH_ACCOUNT}/${GH_PROJECT}
|
||||||
GO_TARGET= main.go:${PREFIX}/sbin/${PORTNAME}
|
GO_TARGET= main.go:${PREFIX}/sbin/${PORTNAME}
|
||||||
GO_BUILDFLAGS= -ldflags "-w -s \
|
GO_BUILDFLAGS= -ldflags "-w -s \
|
||||||
-X github.com/0xERR0R/blocky/util.Version=${DISTVERSION} \
|
-X github.com/0xERR0R/blocky/util.Version=${DISTVERSION} \
|
||||||
-X github.com/0xERR0R/blocky/util.BuildTime=`date '+%Y%m%d-%H%M%S'`"
|
-X github.com/0xERR0R/blocky/util.BuildTime=`date '+%Y%m%d-%H%M%S'`"
|
||||||
SUB_FILES= pkg-message
|
|
||||||
|
|
||||||
do-extract:
|
SUB_FILES= pkg-message
|
||||||
git clone https://git.dynatron.me/amigan/blocky.git work/blocky-v0.21
|
|
||||||
cd work/blocky-v0.21
|
|
||||||
git switch debug
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_DATA} ${FILESDIR}/blocky-config.yml.sample ${STAGEDIR}${PREFIX}/etc/blocky-config.yml.sample
|
${INSTALL_DATA} ${FILESDIR}/blocky-config.yml.sample ${STAGEDIR}${PREFIX}/etc/blocky-config.yml.sample
|
5
dns/blocky-devel/distinfo
Normal file
5
dns/blocky-devel/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
TIMESTAMP = 1674399278
|
||||||
|
SHA256 (go/dns_blocky-amigan/0xERR0R-blocky-development_GH0/go.mod) = f03d4d2bf8d744fd0ac85d3e33ce00fccf95e48ed369c50bfe1cf7664807bb18
|
||||||
|
SIZE (go/dns_blocky-amigan/0xERR0R-blocky-development_GH0/go.mod) = 5871
|
||||||
|
SHA256 (go/dns_blocky-amigan/0xERR0R-blocky-development_GH0/0xERR0R-blocky-development_GH0.tar.gz) = 23ea967dc43cda0d22735bc2fff93430d30dc6524d89c9115d0f5b29d3fb0e29
|
||||||
|
SIZE (go/dns_blocky-amigan/0xERR0R-blocky-development_GH0/0xERR0R-blocky-development_GH0.tar.gz) = 693557
|
|
@ -1,4 +1,2 @@
|
||||||
Fast and lightweight DNS proxy as ad-blocker for local
|
Fast and lightweight DNS proxy as ad-blocker for local
|
||||||
network with many features.
|
network with many features.
|
||||||
|
|
||||||
WWW: https://0xerr0r.github.io/blocky/
|
|
Loading…
Reference in a new issue