freebsd-ports/ports-mgmt/poudriere-devel/Makefile

35 lines
760 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= poudriere
PORTVERSION= 3.0.99.20140517
PORTREVISION= 1
CATEGORIES= ports-mgmt
- Update to checkin f86a423218 Changes: * Reduce jail restarting for networking access by now always starting 2 jails. One with networking support and one without. This allows not constantly restarting jails to enable/disable networking, which causes a lot of jail lock contention. * Color support has been added. This is disabled by any of: 1. poudriere -N <sub-command> 2. stdout or stderr NOT in a TTY (piped) 3. USE_COLORS=no in poudriere.conf * Add DURATION_FORMAT and BUILDTIME_FORMAT to allow changing time display and default build name. * madvise(MADV_PROTECT) the main poudriere process to allow it to cleanup on failure from out-of-swap. * Running commands as non-root will *auto queue* them to poudriered if it is running. See rc.d/poudriered. * HTML/Web major changes: - Stop polling the server once the build is done. - There is now a top-level and jail-level page. The top-level only shows the *latest* build for each jail-ports-set combination. The jail-level only shows for a specific jail-ports-set combination. These pages will only be updated with builds done after upgrading. This may change before 3.1 release using a statsd to populate with all historical builds as well. - The main build page has been majorly reworked. * It no longer has 2 columns which overlap each other when zoomed in. The site is now much more responsive to zooming and mobile viewing. * More links to logs and elapsed times are shown * More system and build stats are shown such as "Impulse" which is the rate of package building over the last 2-10 minutes. This is done in browser/js currently so will reset when reloading the page. - The layout for httpd setup has changed. Now instead of duplicating the html/assets into every build dir, the html dir from /usr/local/share/poudriere/html/ should be served directly and the /data dir should be symlinked or aliased to the equivalent /usr/local/poudriere/data/logs/bulk/ dir on your system. See /usr/local/share/examples/poudriere/nginx.conf.sample for an example nginx setup. ** Note that this is still being improved for 3.1 and may undergo some backwards-incompatible changes before release. * status: Major changes. - By default only show running builds - Use -a to show all builds, not just latest - Use -f to show finished builds, only latest - Add -c for a more compact format - Displaying the SIGINFO/builder output now requires -b. - -B/-j/-p/-z can be used to filter the output. * Show buildtimes in output now. * TIMESTAMP_LOGS has been improved * poudriered is no longer installed in sbin/ * Fix MAX_MEMORY so it actually works. Note that this may break openjdk building. * Fix incorrect timeout message shown during install phase * jail -l, ports -l, status: Auto format width of columns to output * jail: Add back -i support to show information about a jail * Improvements to fork less often * testport: Now default to -n. Add -P to test with custom prefix. * testport -I: Fix longstanding bug of displaying wrong jail -k hint. * qemu-mips support * ports: Allow -B with git method * All the fixes from the 3.0.16 release as well: * Disable DEVELOPER from make.conf; Poudriere will automatically set it when appropriate. This prevents testing of port dependencies that were not requested to be tested. * distclean: Prevent removing all files by accident. * Having PKG_REPO_SIGNING_KEY set but the file missing is now fatal. * kern.securelevel >=1 is now fatal. * Fix 'kill: No such process' warnings with older /bin/sh (8.x) * Fix crash on 8.3 due to bug with $(()) handling of _vars (fixed in base r234001) * Fix case of packages always rebuilding with "changed options" when the port has an OPTION defined multiple times (such as fixed in ports r352512) * Fix 'Terminated' warning showing at shutdown with older /bin/sh (fixed by r218105 but never made it to stable/8)
2014-05-11 20:03:34 +02:00
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
http://fossil.etoilebsd.net/poudriere/tarball/
PKGNAMESUFFIX= -devel
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz?uuid=${FSL_CHKIN}
2013-12-16 18:27:55 +01:00
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Port build and test system
LICENSE= BSD2CLAUSE
- Update to checkin 51586b2049 which will eventually become 3.0 This codebase has been in testing for several months now and is stable - Remove standard description for ZSH Changes: - ZFS support is now optional: * NO_ZFS can be set to disable ZFS usage * TMPFS_ALL can be used to the build 100% in memory via tmpfs - Jail/Port properties are no longer stored in ZFS. They will be automatically converted on the first execution. This means that downgrading to 2.x is not easily possible. - testport has lost -d - Remove cron - Add daemon (rc script not completed yet) - queue has been reworked for daemon (this may further change) - New HTML/AJAX interface using jQuery - Build times are now tracked - Runaway builds are now automatically killed after 1200/84600 seconds of no output / max build time - Build logs are now saved forever and not removed on every build. testport will store its logs into "bulk" dir for now as well. - Ability to resume a previous bulk -a build by using -B (this is mostly for exp-runs as it allows grouping incremental logs in with the previous logs). By default the buildname defaults to YYYY-MM-DD_HH:MM:SS for every build. - jail -c gjb method is now an alias for ftp - ports: Support checking out a different branch with -B - testport -i improvements: * Network enabled * Works even when build fails * RUN_DEPENDS now installed * tty usage still broken Thank you to all contributors and testers Please report and discuss defects in #poudriere on freenode or report to https://fossil.etoilebsd.net/poudriere/reportlist
2013-03-29 12:25:14 +01:00
CONFLICTS_INSTALL= poudriere-[0-9]*
FSL_CHKIN= 33c926770a
- Update to checkin 0966e62bc4 - Cleanup Makefile to use pkg-plist [1] Changes: - make_index fixes (use ports/portsnap version now) - Documentation updates - Use autotools for build - All incremental messages are in a consistent format now. - New daemon poudriered using libucl with fine-grained permissions, but not yet hooked up or documented. It will be hooked up to poudriere-queue and documented soon. - Add an nc(1) wrapper to work around src change r249499. - status: Add -H for scripted mode - status: Show URL if available - Allow to specify revision when running poudriere jail -u with svn method with -t - bulk: Add -i and -I for interactive testing of all specified ports at once, requires ports r348859 change to Mk/bsd.port.mk. - Report modification of directories during leftover check (owner or permission changed). - Fix ipv6 only usage - Ensure /sbin and /usr/sbin are in PATH when running - Remove trailing slashes from listed_ports. - Exit quicker after ^C during packaging phases by killing pkg-static - Fix child process cleanup logic to only sleep if child still running. - Always dismount filesystems and try cleaning up when exiting and in jail -k - For stage_orphans, ignore modified files (such as nobody vs root) - testport -I: Mark cleanup done, not as recursively failing - testport -i: Use a local.conf instead of PACKAGESITE - testport -I: Suggest same login method which is more sane/clean than exec /bin/sh - options: Require dialog4ports as it runs from host and jail may be for a different ARCH - Ignore parents of home directories too during leftovers check - Restrict ZFS on 9.0/9.1 due to known deadlock - bulk: Parse MOVED for given port build list - Add support for svnlite and overriding SVN_CMD - Show warning when jail is newer than host - Show host/jail OSVERSION in build logs Submitted by: Johannes Jost Meixner <xmj@chaot.net> [1] (based on) PR: ports/187373 [1]
2014-03-23 16:40:10 +01:00
GNU_CONFIGURE= yes
ETCDIR= ${PREFIX}/etc/poudriere.d
- Update to checkin 0966e62bc4 - Cleanup Makefile to use pkg-plist [1] Changes: - make_index fixes (use ports/portsnap version now) - Documentation updates - Use autotools for build - All incremental messages are in a consistent format now. - New daemon poudriered using libucl with fine-grained permissions, but not yet hooked up or documented. It will be hooked up to poudriere-queue and documented soon. - Add an nc(1) wrapper to work around src change r249499. - status: Add -H for scripted mode - status: Show URL if available - Allow to specify revision when running poudriere jail -u with svn method with -t - bulk: Add -i and -I for interactive testing of all specified ports at once, requires ports r348859 change to Mk/bsd.port.mk. - Report modification of directories during leftover check (owner or permission changed). - Fix ipv6 only usage - Ensure /sbin and /usr/sbin are in PATH when running - Remove trailing slashes from listed_ports. - Exit quicker after ^C during packaging phases by killing pkg-static - Fix child process cleanup logic to only sleep if child still running. - Always dismount filesystems and try cleaning up when exiting and in jail -k - For stage_orphans, ignore modified files (such as nobody vs root) - testport -I: Mark cleanup done, not as recursively failing - testport -i: Use a local.conf instead of PACKAGESITE - testport -I: Suggest same login method which is more sane/clean than exec /bin/sh - options: Require dialog4ports as it runs from host and jail may be for a different ARCH - Ignore parents of home directories too during leftovers check - Restrict ZFS on 9.0/9.1 due to known deadlock - bulk: Parse MOVED for given port build list - Add support for svnlite and overriding SVN_CMD - Show warning when jail is newer than host - Show host/jail OSVERSION in build logs Submitted by: Johannes Jost Meixner <xmj@chaot.net> [1] (based on) PR: ports/187373 [1]
2014-03-23 16:40:10 +01:00
OPTIONS_DEFINE= ZSH
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
- Update to checkin 0966e62bc4 - Cleanup Makefile to use pkg-plist [1] Changes: - make_index fixes (use ports/portsnap version now) - Documentation updates - Use autotools for build - All incremental messages are in a consistent format now. - New daemon poudriered using libucl with fine-grained permissions, but not yet hooked up or documented. It will be hooked up to poudriere-queue and documented soon. - Add an nc(1) wrapper to work around src change r249499. - status: Add -H for scripted mode - status: Show URL if available - Allow to specify revision when running poudriere jail -u with svn method with -t - bulk: Add -i and -I for interactive testing of all specified ports at once, requires ports r348859 change to Mk/bsd.port.mk. - Report modification of directories during leftover check (owner or permission changed). - Fix ipv6 only usage - Ensure /sbin and /usr/sbin are in PATH when running - Remove trailing slashes from listed_ports. - Exit quicker after ^C during packaging phases by killing pkg-static - Fix child process cleanup logic to only sleep if child still running. - Always dismount filesystems and try cleaning up when exiting and in jail -k - For stage_orphans, ignore modified files (such as nobody vs root) - testport -I: Mark cleanup done, not as recursively failing - testport -i: Use a local.conf instead of PACKAGESITE - testport -I: Suggest same login method which is more sane/clean than exec /bin/sh - options: Require dialog4ports as it runs from host and jail may be for a different ARCH - Ignore parents of home directories too during leftovers check - Restrict ZFS on 9.0/9.1 due to known deadlock - bulk: Parse MOVED for given port build list - Add support for svnlite and overriding SVN_CMD - Show warning when jail is newer than host - Show host/jail OSVERSION in build logs Submitted by: Johannes Jost Meixner <xmj@chaot.net> [1] (based on) PR: ports/187373 [1]
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/
.include <bsd.port.mk>