2012-08-16 12:11:05 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= poudriere
|
2018-01-29 20:39:05 +01:00
|
|
|
DISTVERSION= 3.2.99.20180129
|
|
|
|
PORTREVISION= 0
|
2012-08-16 12:11:05 +02:00
|
|
|
CATEGORIES= ports-mgmt
|
2014-05-11 20:03:34 +02:00
|
|
|
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
|
2014-09-19 16:36:51 +02:00
|
|
|
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
|
|
|
|
GH
|
2012-09-13 06:36:24 +02:00
|
|
|
PKGNAMESUFFIX= -devel
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2013-12-16 18:27:55 +01:00
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
2012-08-16 12:11:05 +02:00
|
|
|
COMMENT= Port build and test system
|
|
|
|
|
2014-01-23 00:21:56 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2013-03-29 12:25:14 +01:00
|
|
|
CONFLICTS_INSTALL= poudriere-[0-9]*
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2014-09-19 16:36:51 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= freebsd
|
2018-01-29 20:39:05 +01:00
|
|
|
GH_TAGNAME= 3.2.4-119-g0da10c68
|
- Update to master branch checkin 1e0fd46149f9e17e12dadcdd0a28ef40b06587aa
This brings in almost a year of updates that had been held back.
Changes: https://github.com/freebsd/poudriere/wiki/release_notes_32
- New sub-command 'image' which is still in development, for generating
install images.
- Some poudriered fixes, but it is still experimental.
- DISTFILES_CACHES may be 'no' to use distfiles/ from ports tree.
- A cache daemon has been added in, off by default, for experimentation.
- The ports 'environment' feature from Mk/Scripts/functions.sh:export_ports_env
is used for dependency gathering now, which avoids 8 or so fork/execs for
every make -V call.
jail:
- New -K [KERNCONF] flag to build and install a kernel into the jail.
- New -S <path> flag to specify what srcpath to use from the master jail,
rather than /usr/src.
- Git support.
- New -U flag to specify what url to fetch from for git and svn.
- EXTRA_DISTS added to add to the distribution list fetched/extracted, from
poudriere.conf.
- NO_LIB32 added, when set to 'yes' skips installing lib32 distribution.
ports:
- Support '-m none' to disable portsnap usage.
- New -U flag to specify what url to fetch from for git and svn.
Build process handling:
- A jexecd process is spawned in the jail and communicated with via rexec
using a pipe. This is intended to lessen the jail locking contention,
allow more easily cleaning up processes, and limiting of TTY. It is
still considered experimental.
2015-11-25 18:27:05 +01:00
|
|
|
#DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME}
|
2013-09-26 15:34:49 +02:00
|
|
|
|
2014-03-23 16:40:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-03-23 17:15:14 +01:00
|
|
|
ETCDIR= ${PREFIX}/etc/poudriere.d
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2015-03-11 18:33:39 +01:00
|
|
|
OPTIONS_DEFINE= ZSH QEMU EXAMPLES
|
2016-02-09 01:07:53 +01:00
|
|
|
OPTIONS_DEFAULT=ZSH
|
2014-03-23 16:40:10 +01:00
|
|
|
OPTIONS_SUB= yes
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2016-06-30 01:37:51 +02:00
|
|
|
RUN_DEPENDS+= ca_root_nss>=0:security/ca_root_nss
|
|
|
|
RUN_DEPENDS+= freebsd-release-manifests>0:misc/freebsd-release-manifests
|
|
|
|
|
2014-06-03 16:03:21 +02:00
|
|
|
QEMU_DESC= Add qemu-user-static to compile ports for non-x86 architectures
|
2016-04-01 16:16:16 +02:00
|
|
|
QEMU_RUN_DEPENDS= qemu-user-static>0:emulators/qemu-user-static
|
2014-06-03 16:03:21 +02:00
|
|
|
|
2017-03-07 05:45:00 +01:00
|
|
|
.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
|
|
|
|
|
2017-11-10 07:28:14 +01:00
|
|
|
post-patch:
|
|
|
|
${CP} -f ${WRKSRC}/src/bin/poudriere ${WRKSRC}/poudriere
|
2017-03-08 18:06:41 +01:00
|
|
|
${REINPLACE_CMD} \
|
|
|
|
-e "s,^\(POUDRIERE_VERSION\)=.*,\1='${PKGVERSION}'," \
|
2017-11-10 07:28:14 +01:00
|
|
|
${WRKSRC}/poudriere
|
|
|
|
${REINPLACE_CMD} '/.PHONY: poudriere/d' ${WRKSRC}/Makefile.*
|
2017-03-08 18:06:41 +01:00
|
|
|
|
2014-03-23 16:40:10 +01:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/completions/zsh/_poudriere \
|
|
|
|
${STAGEDIR}${PREFIX}/share/zsh/site-functions/
|
2016-06-30 01:37:51 +02:00
|
|
|
${LN} -fs ${LOCALBASE}/share/freebsd/MANIFESTS \
|
|
|
|
${STAGEDIR}${DATADIR}/MANIFESTS
|
2012-08-16 12:11:05 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|