freebsd-ports/ports-mgmt/tinderbox-devel/Makefile

101 lines
2.6 KiB
Makefile
Raw Normal View History

# Ports collection makefile for: misc/tinderbox
# Whom: Edwin Groothuis <edwin@mavetju.org>
# Date created: 31 december 2005
#
# $FreeBSD$
PORTNAME= tinderbox
Update to 2.4.3. If all goes well, this will be the last 2.x release before a 3.0 major release. The 2.4.3 release is primarily aimed at fixing bugs, but a few small features have been added: * Treat the -u argument to sendBuildCompletionMail as a username rather than an arbitrary database ID. Also, do better error checking in case a user has not been defined in the datastore. * Add -b <build name> support to the listBuildPortsQueue command. * Add a new tc command, getPortLastBuiltStatus to get a port's last status. * Properly quote the UPDATE_CMD argument in the *PortsTreeUpdate hooks. * Add a new tbkill.sh tool to terminate a running tinderbuild. * Add a new tinderbuild option, -norebuild, which will prevent tinderbuild from forcing a rebuild of any packages specified on the command line. * Add the build platform and release level to the logs. * Add support for listing total ports per Build in the www-exp frontend. * Some other minor bugs have been fixed. Plus 3 local (port) patches: * in "Current and Latest Builds" (?action=latest_buildports) increase the number of ports displayed from 20 to 30 * in ports built for a build view (?action=list_buildports&build=something) when sorting is done by Last Build Attempt sort descending (latest build first). * in build logs, add: [1] - building for: (ie: "6.3-STABLE amd64") - Makefile ident: (ie: "$FreeBSD: ports/ports-mgmt/tinderbox/Makefile,v 1.41 2008/05/19 20:00:16 itetcu Exp $") - prefixes: (ie: "LOCALBASE=usr/local X11BASE=usr/local") - NO* env vars: (ie: "NOPORTDOCS=yes NOPORTEXAMPLES=yes NOPORTDATA=yes") This release would not have been possible without the contributions of Alexander Loginov, miwi, Chess Griffin, itetcu, Dmitriy Kirhlarov, Robert Gogolok, and ade. - Fix a few typos in pkg-message. [2] PR: ports/123957 [2] Submited by: Wen heping <wenheping@gmail.com> [2], idea from miwi@'s patch for HEAD [1]
2008-06-03 15:24:58 +02:00
#DISTVERSION= ${PORTVERSION}-${PORTREVISION}
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
PORTVERSION= 3.0.0
Populate a new ports-mgmt category. List of moved ports: devel/portcheckout -> ports-mgmt/portcheckout devel/portlint -> ports-mgmt/portlint devel/portmk -> ports-mgmt/portmk devel/porttools -> ports-mgmt/porttools misc/instant-tinderbox -> ports-mgmt/instant-tinderbox misc/porteasy -> ports-mgmt/porteasy misc/portell -> ports-mgmt/portell misc/portless -> ports-mgmt/portless misc/tinderbox -> ports-mgmt/tinderbox security/jailaudit -> ports-mgmt/jailaudit security/portaudit -> ports-mgmt/portaudit security/portaudit-db -> ports-mgmt/portaudit-db security/vulnerability-test-port -> ports-mgmt/vulnerability-test-port sysutils/barry -> ports-mgmt/barry sysutils/bpm -> ports-mgmt/bpm sysutils/kports -> ports-mgmt/kports sysutils/managepkg -> ports-mgmt/managepkg sysutils/newportsversioncheck -> ports-mgmt/newportsversioncheck sysutils/pib -> ports-mgmt/pib sysutils/pkgfe -> ports-mgmt/pkgfe sysutils/pkg-orphan -> ports-mgmt/pkg-orphan sysutils/pkg_cutleaves -> ports-mgmt/pkg_cutleaves sysutils/pkg_install -> ports-mgmt/pkg_install sysutils/pkg_install-devel -> ports-mgmt/pkg_install-devel sysutils/pkg_remove -> ports-mgmt/pkg_remove sysutils/pkg_rmleaves -> ports-mgmt/pkg_rmleaves sysutils/pkg_trackinst -> ports-mgmt/pkg_trackinst sysutils/pkg_tree -> ports-mgmt/pkg_tree sysutils/portbrowser -> ports-mgmt/portbrowser sysutils/portconf -> ports-mgmt/portconf sysutils/portdowngrade -> ports-mgmt/portdowngrade sysutils/portcheck -> ports-mgmt/portcheck sysutils/portmanager -> ports-mgmt/portmanager sysutils/portmaster -> ports-mgmt/portmaster sysutils/portscout -> ports-mgmt/portscout sysutils/portsearch -> ports-mgmt/portsearch sysutils/portsman -> ports-mgmt/portsman sysutils/portsnap -> ports-mgmt/portsnap sysutils/portsopt -> ports-mgmt/portsopt sysutils/portupgrade -> ports-mgmt/portupgrade sysutils/portupgrade-devel -> ports-mgmt/portupgrade-devel sysutils/port-authoring-tools -> ports-mgmt/port-authoring-tools sysutils/port-maintenance-tools -> ports-mgmt/port-maintenance-tools sysutils/psearch -> ports-mgmt/psearch sysutils/p5-FreeBSD-Portindex -> ports-mgmt/p5-FreeBSD-Portindex sysutils/qtpkg -> ports-mgmt/qtpkg textproc/p5-FreeBSD-Ports -> ports-mgmt/p5-FreeBSD-Ports Repocopies by: marcus
2007-02-05 02:08:46 +01:00
CATEGORIES= ports-mgmt
MASTER_SITES= http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
#DIST_SUBDIR= tinderbox
MAINTAINER= itetcu@FreeBSD.org
COMMENT= Port build tinderbox system
OPTIONS= PGSQL "With pgsql" Off \
MYSQL "With mysql" On \
CSUP "Use csup for updates" On \
CVSUP "Use cvsup for updates" Off \
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
WEBUI "Install web interface" On \
APACHE "Use Apache for web interface" On \
LIGHTTPD "Use LightHTTPD for web interface" Off
NO_BUILD= yes
2007-10-17 02:13:30 +02:00
WANT_PERL= yes
SUB_FILES= pkg-message
MAN1= tc-configCcache.1 tc-configDistfile.1 tc-configGet.1 \
tc-configJail.1 tc-configTinderd.1 tc-init.1
.include <bsd.port.pre.mk>
.if !defined(WITH_PGSQL) && defined(WITHOUT_MYSQL)
IGNORE= is useless without a database. Please (re)run 'make config' and choose one of PGSQL and MYSQL
.endif
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
.if defined(WITH_WEBUI)
RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
WANT_PHP_WEB= yes
USE_PHP= session
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
PLIST_SUB+= WEBUI=""
.else
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
PLIST_SUB+= WEBUI="@comment "
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
.if defined(WITH_WEBUI)
USE_PHP+= pgsql
.endif
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.if !defined(WITHOUT_MYSQL)
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
.if defined(WITH_WEBUI)
USE_PHP+= mysql
.endif
USE_MYSQL= yes
IGNORE_WITH_MYSQL= 323 40
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER:S/323//}
.endif
.if ! (${OSVERSION} > 700014 || ( ${OSVERSION} >= 601101 && ${OSVERSION} < 700000 ))
.if !defined(WITHOUT_CSUP)
RUN_DEPENDS+= csup:${PORTSDIR}/net/csup
.endif
.endif
.if defined(WITH_CVSUP)
RUN_DEPENDS+= cvsup:${PORTSDIR}/net/cvsup-without-gui
.endif
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
.if !defined(WITHOUT_APACHE) && defined(WITH_WEBUI)
USE_APACHE= 1.3+
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
.elif defined(WITH_LIGHTTPD) && defined(WITH_WEBUI)
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif
pre-everything::
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
.if (!defined(WITHOUT_APACHE) || defined(WITH_LIGHTTPD)) && !defined(WITH_WEBUI)
@${ECHO_CMD} "It doesn't make sense to depend on Apache or LightHTTPD if not using either web interface."
@${FALSE}
.endif
post-extract:
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
.if !defined(WITH_WEBUI)
@${RM} -R ${WRKSRC}/webui
.endif
do-install:
${MKDIR} ${PREFIX}/tinderbox/scripts
This is tinderbox 3.0.0 release with patches (see bellow). Changes in 3.0 include: * The www-exp module has been renamed webui, and a new web frontend has been added called paefchen. * All Tinderbox commands with the exception of tinderd are now performed using the tc utility. * The Hosts system has been removed as it was not really used, and not really suited to the purpose of distributed builds. The ground work has been laid to support distributed builds, but that is not present in 3.0. * A DISTFILE_URI config directive has been introduced to allow for distributed distfile caches. * The latest port fail reasons and patterns have been synced from pointyhat. * The total size taken by a port build (in KB) is now tracked in the database. This can be obtained using the command ``tc getPortTotalSize -d DIRECTORY -b BUILD''. * Port build logs now contain OPTIONS and environment details. * The ``tc addPort'' command assumes a recursive add by default. This can be disabled by passing the -R argument. * Port dependencies are now recorded in the database when ``tc addPort'' is called without -R. The dependency list can be retrieved with ``tc getDependenciesForPort -d DIRECTORY -b BUILD''. * The ``tc tbcleanup'' command now supports pruning stale distfiles, stale packages, and not pruning old error logs. See the README for command line details. * The default update type and update host are configurable at Setup and Upgrade time. The default update type has been changed from CVSUP to CSUP. * The last_fail_reason is now exported to the postPortBuild Hook. * Fix the build time display if a tinderbuild takes longer than 24 hours. * Add a new command, ``tc rescanPorts'' which updates the properties of all ports in the datastore (including dependencies). * Display the remake count in the webui frontends. * Hack around a potential perl-related leftover false positive. * A new -O option has been added to addPort/rescanPorts which enables OPTIONS, but does not run rmconfig before calling config. This way, existing OPTIONS can be preserved. The default behavior is to call rmconfig to maintain POLA. * The webui index page has been enhanced to make it more readable, and more powerful. * The number of ports not built due to dependency failures has been added to the webui's main page. * tc processLog -v now prints the matching text to aid with false positive identification. PLUS: * In webui: - Change tinderd queue view. Field for adding new ports is the first now. - Show target port of current build. - miwi's RSS module - an other patch from miwi for inc_tinderbox.php.dist which should make setting-up the webui easier on non-standard configurations. * Bug-fix: Add o and O to the list of valid options for addPort.
2008-09-03 14:29:01 +02:00
cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 && \
cd ${WRKSRC} && ${RM} -r ${WRKSRC}/man
${CP} -R ${WRKSRC}/* ${PREFIX}/tinderbox/scripts
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>