poudriere

This commit is contained in:
Daniel 2023-01-22 09:56:58 -05:00
parent 51e6173b49
commit ce01fd13d3
4 changed files with 201 additions and 0 deletions

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