Compare commits

...

2 commits

Author SHA1 Message Date
ce01fd13d3 poudriere 2023-01-22 09:56:58 -05:00
51e6173b49 blockydevel 2023-01-22 09:55:55 -05:00
12 changed files with 216 additions and 16 deletions

View file

@ -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

View file

@ -1,33 +1,32 @@
PORTNAME= blocky
DISTVERSIONPREFIX= v
DISTVERSION= 0.21
PORTREVISION= 6
DISTVERSION= development
PORTVERSION=0.99
PORTREVISION= 7
CATEGORIES= dns
#MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
MASTER_SITES=https://git.dynatron.me/amigan/blocky/raw/branch/debug/:gomod
MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/development/:gomod
DISTFILES= go.mod:gomod
NO_CHECKSUM=true
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Fast and lightweight DNS proxy as ad-blocker
WWW= https://0xerr0r.github.io/blocky/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= 0xERR0R
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_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'`"
SUB_FILES= pkg-message
do-extract:
git clone https://git.dynatron.me/amigan/blocky.git work/blocky-v0.21
cd work/blocky-v0.21
git switch debug
post-install:
${INSTALL_DATA} ${FILESDIR}/blocky-config.yml.sample ${STAGEDIR}${PREFIX}/etc/blocky-config.yml.sample

View 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

View file

@ -1,4 +1,2 @@
Fast and lightweight DNS proxy as ad-blocker for local
network with many features.
WWW: https://0xerr0r.github.io/blocky/

View file

@ -0,0 +1,71 @@
PORTNAME= poudriere
DISTVERSION= 3.3.99.20221125
PORTREVISION= 0
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
GH
PKGNAMESUFFIX= -devel
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Port build and test system
WWW= https://github.com/freebsd/poudriere/wiki
LICENSE= BSD2CLAUSE
CONFLICTS_INSTALL= poudriere
USE_GITHUB= yes
GH_ACCOUNT= freebsd
GH_TAGNAME= 3.3.0-1217-g3e65b655
GNU_CONFIGURE= yes
ETCDIR= ${PREFIX}/etc/poudriere.d
OPTIONS_DEFINE= BASH CERTS DIALOG4PORTS EXAMPLES QEMU ZSH
OPTIONS_DEFAULT=BASH CERTS DIALOG4PORTS ZSH
OPTIONS_SUB= yes
CERTS_DESC= Install checksum and SSL certificates for jail creation
CERTS_RUN_DEPENDS+= ca_root_nss>=0:security/ca_root_nss
CERTS_RUN_DEPENDS+= freebsd-release-manifests>0:misc/freebsd-release-manifests
DIALOG4PORTS_DESC= Install dialog4ports for options command
DIALOG4PORTS_RUN_DEPENDS= dialog4ports>0:ports-mgmt/dialog4ports
QEMU_DESC= Add qemu-user-static for non-x86 architectures
QEMU_RUN_DEPENDS= qemu-user-static>0:emulators/qemu-user-static
.include <bsd.port.options.mk>
# rm -x support came in 10.0. A bundled rm is used if not supported in base.
# While <10 is technically not supported in the Ports Tree, Poudriere
# detects this and it being a package build tool it should still be
# supported as a user may be installing this to build packages for upgrading
# their system to a supported release.
.if ${OSVERSION} < 1000000
PLIST_SUB+= RM=""
.else
PLIST_SUB+= RM="@comment "
.endif
post-patch:
${REINPLACE_CMD} \
-e "s,^\(POUDRIERE_VERSION\)=.*,\1='${PKGVERSION}'," \
${WRKSRC}/src/bin/poudriere.in
post-install:
${LN} -fs ${LOCALBASE}/share/freebsd/MANIFESTS \
${STAGEDIR}${DATADIR}/MANIFESTS
post-install-BASH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/
${INSTALL_DATA} ${WRKSRC}/completions/bash/poudriere \
${STAGEDIR}${PREFIX}/share/bash-completion/completions/
post-install-ZSH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
${INSTALL_DATA} ${WRKSRC}/completions/zsh/_poudriere \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1661975486
SHA256 (freebsd-poudriere-3.3.99.20220831-3.3.0-1135-g137c376a8_GH0.tar.gz) = ce4c36372e9bdfcd58ca1042c98751dd8108c2acff1f058f711ab5c1d792a79b
SIZE (freebsd-poudriere-3.3.99.20220831-3.3.0-1135-g137c376a8_GH0.tar.gz) = 4219043

View file

@ -0,0 +1,3 @@
poudriere is a tool primarily designed to test package production on
FreeBSD. However, most people will find it useful to bulk build ports
for FreeBSD.

View file

@ -0,0 +1,124 @@
bin/poudriere
@sample etc/poudriere.conf.sample
%%ETCDIR%%/hooks/bulk.sh.sample
%%ETCDIR%%/hooks/pkgbuild.sh.sample
@sample(0,0,0) etc/poudriered.conf.sample
etc/rc.d/poudriered
@comment libexec/poudriere/cachec
libexec/poudriere/cached
libexec/poudriere/clock
libexec/poudriere/cpdup
libexec/poudriere/dirempty
libexec/poudriere/dirwatch
libexec/poudriere/jexecd
libexec/poudriere/locked_mkdir
libexec/poudriere/nc
libexec/poudriere/poudriered
libexec/poudriere/ptsort
libexec/poudriere/pwait
libexec/poudriere/rename
libexec/poudriere/rexec
%%RM%%libexec/poudriere/rm
libexec/poudriere/sh
libexec/poudriere/timeout
libexec/poudriere/timestamp
man/man8/poudriere.8.gz
man/man8/poudriere-bulk.8.gz
man/man8/poudriere-distclean.8.gz
man/man8/poudriere-image.8.gz
man/man8/poudriere-jail.8.gz
man/man8/poudriere-logclean.8.gz
man/man8/poudriere-options.8.gz
man/man8/poudriere-pkgclean.8.gz
man/man8/poudriere-ports.8.gz
man/man8/poudriere-queue.8.gz
man/man8/poudriere-status.8.gz
man/man8/poudriere-testport.8.gz
man/man8/poudriere-version.8.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpd.conf.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nginx.conf.sample
%%DATADIR%%/MANIFESTS
%%DATADIR%%/awk/dependency_loop.awk
%%DATADIR%%/awk/humanize.awk
%%DATADIR%%/awk/json.awk
%%DATADIR%%/awk/json_jail.awk
%%DATADIR%%/awk/json_top.awk
%%DATADIR%%/awk/parse_MOVED.awk
%%DATADIR%%/awk/processonelog2.awk
%%DATADIR%%/awk/siginfo_buildtime.awk
%%DATADIR%%/awk/unique_pkgnames_from_flavored_origins.awk
%%DATADIR%%/api.sh
%%DATADIR%%/bulk.sh
%%DATADIR%%/common.sh
%%DATADIR%%/daemon.sh
%%DATADIR%%/distclean.sh
%%DATADIR%%/foreachport.sh
%%DATADIR%%/html/assets/DataTables-1.10.0/css/jquery.dataTables.min.css
%%DATADIR%%/html/assets/DataTables-1.10.0/css/jquery.dataTables_themeroller.min.css
%%DATADIR%%/html/assets/DataTables-1.10.0/images/back_disabled.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/back_enabled.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/back_enabled_hover.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/forward_disabled.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/forward_enabled.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/forward_enabled_hover.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/sort_asc.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/sort_asc_disabled.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/sort_both.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/sort_desc.png
%%DATADIR%%/html/assets/DataTables-1.10.0/images/sort_desc_disabled.png
%%DATADIR%%/html/assets/DataTables-1.10.0/js/jquery.dataTables.min.js
%%DATADIR%%/html/assets/bootstrap-3.1.1/css/bootstrap-theme.min.css
%%DATADIR%%/html/assets/bootstrap-3.1.1/css/bootstrap.min.css
%%DATADIR%%/html/assets/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.eot
%%DATADIR%%/html/assets/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.svg
%%DATADIR%%/html/assets/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.ttf
%%DATADIR%%/html/assets/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.woff
%%DATADIR%%/html/assets/bootstrap-3.1.1/js/bootstrap.min.js
%%DATADIR%%/html/assets/favicon.ico
%%DATADIR%%/html/assets/jquery-1.11.1.js
%%DATADIR%%/html/assets/jquery-1.11.1.min.js
%%DATADIR%%/html/assets/jquery-1.11.1.min.map
%%DATADIR%%/html/assets/jquery.dataTables.rowGrouping-1.2.9.js
%%DATADIR%%/html/assets/logo.svg
%%DATADIR%%/html/assets/poudriere.css
%%DATADIR%%/html/assets/poudriere.js
%%DATADIR%%/html/build.html
%%DATADIR%%/html/index.html
%%DATADIR%%/html/jail.html
%%DATADIR%%/html/robots.txt
%%DATADIR%%/image.sh
%%DATADIR%%/image_dump.sh
%%DATADIR%%/image_firmware.sh
%%DATADIR%%/image_hybridiso.sh
%%DATADIR%%/image_iso.sh
%%DATADIR%%/image_mfs.sh
%%DATADIR%%/image_rawdisk.sh
%%DATADIR%%/image_tar.sh
%%DATADIR%%/image_usb.sh
%%DATADIR%%/image_zfs.sh
%%DATADIR%%/image_zsnapshot.sh
%%DATADIR%%/include/cache.sh
%%DATADIR%%/include/colors.pre.sh
%%DATADIR%%/include/colors.sh
%%DATADIR%%/include/common.sh.dragonfly
%%DATADIR%%/include/common.sh.freebsd
%%DATADIR%%/include/display.sh
%%DATADIR%%/include/fs.sh
%%DATADIR%%/include/hash.sh
%%DATADIR%%/include/html.sh
%%DATADIR%%/include/parallel.sh
%%DATADIR%%/include/pkg.sh
%%DATADIR%%/include/pkgqueue.sh
%%DATADIR%%/include/shared_hash.sh
%%DATADIR%%/include/util.sh
%%DATADIR%%/jail.sh
%%DATADIR%%/logclean.sh
%%DATADIR%%/options.sh
%%DATADIR%%/pkgclean.sh
%%DATADIR%%/ports.sh
%%DATADIR%%/processonelog.sh
%%DATADIR%%/queue.sh
%%DATADIR%%/status.sh
%%DATADIR%%/testport.sh
%%BASH%%share/bash-completion/completions/poudriere
%%ZSH%%share/zsh/site-functions/_poudriere