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

145 lines
3.8 KiB
Makefile
Raw Normal View History

# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= tinderbox
DISTVERSION= 4.0.0.b2
PORTEPOCH= 1
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://tinderbox.marcuscom.com/ \
http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/
PKGNAMESUFFIX= -devel
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= itetcu@FreeBSD.org
COMMENT= Port build tinderbox system, devel version
Update to 3.2 release. This release offers no changes over Release Candidate 3. Here is a summary of changes from Tinderbox 3.1.2 to 3.2: * A new tc function, ``tbversion'' has been added to print the version of Tinderbox. This command relies on a ${pb}/.version file which is generated when the Tinderbox release distribution is created. Be sure to copy this file if you copy the contents of the Tinderbox release to another location. * Log file markup support has been added. Log files can be viewed with certain patterns colorized to make them easier to spot (e.g. GCC warnings). Currently, the list of patterns is not easily changeable, but a facility to add new patterns is forthcoming. * A new tc function, ``copyBuild'' has been added which allows one to copy attributes (e.g. env files, ports, packages, etc.) from one Build to another. * Quiet tinderd if a port in the queue does not exist. * The log file header lines in port build logs have been reordered for easier (human) reading. If this changes causes too much consternation for existing scripts, it can be reverted. * Fix a bug with Postgres in that psql wants to output space-delimited results by default, and this can mess up upgrades. * A -u argument has been added to ``addBuildPortsQueueEntry'' so that a username can be set for a queue entry. * The ``addBuildPortsQueueEntry'' command now looks up users by both name and ID. This fixes a bug where tinderd doesn't send Build completion mail. * The error spit out by ``listBuildPortsQueue'' when the queue is empty has been removed. * Two new inc_tinderbox config variables have been added: reload_interval_latest and reload_interval_current which allow one to set the reload interval for the ``Current and Latest Builds'' page while no port is building and while a port is building respectively. * Some additional error checking has been added to the webui. * A search interface has been added for searching for ports in the webui. * Canonical PHP tags are now used instead of short tags. This makes it easier to deploy Tinderbox in various configurations. * The tinderd queue view has been changed. The field for adding new ports is now first. * A favicon.ico file is now shipped for the webui. * Some other bugs have been fixed in the webui. * The ``tbversion'' command usage has been added. * An bug in the log file parsing code which could result in fetch failure false positives has been fixed. * The search interface has been added to the top of the homepage. * The Delete buttons have been moved to the top of the page. * Some migration issues have been fixed. The contributors to Tinderbox 3.2's development and testing are Beat Gätzi, Martin Wilke, Matt, Ion-Mihai Tetcu, Frank Wall, Boris Samorodov, Cory R. King, and Aron Schlesinger. Add conflicts with ports-mgmt/tinderbox. MFC after: 3 days
2009-02-26 03:11:43 +01:00
CONFLICTS= tinderbox-[0-9]*
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= PGSQL MYSQL SQLITE
OPTIONS_RADIO= WEB
OPTIONS_RADIO_WEB= APACHE HIAWATHA LIGHTTPD
OPTIONS_DEFINE= CHECK_FOR_ROOT EMAILS LSOF LOG_COMPRESS PARALLEL \
TMPFS
CHECK_FOR_ROOT_DESC= Check if ./tc is run by uid 0
EMAILS_DESC= Support for build failure/completion emails
LSOF_DESC= For killMountProcesses() when using nullfs
LOG_COMPRESS_DESC= Support bzip'ing the logs
PARALLEL_DESC= Apply PARALLEL extra patch
TMPFS_DESC= Apply TMPFS extra patch
HIAWATHA_DESC= Hiawatha server
OPTIONS_DEFAULT= MYSQL APACHE CHECK_FOR_ROOT EMAILS LSOF \
LOG_COMPRESS PARALLEL
NO_BUILD= yes
2007-10-17 02:13:30 +02:00
WANT_PERL= yes
SUB_FILES= pkg-message
#SNAP= .r3-20120404
#SNAP= -20110101 # 22:28:07 UTC
MAN1= tc-configCcache.1 tc-configDistfile.1 tc-configGet.1 \
tc-configJail.1 tc-configTinderd.1 tc-init.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE} || ${PORT_OPTIONS:MHIAWATHA} || ${PORT_OPTIONS:MLIGHTTPD}
WEBUI= yes
.endif
.if defined(WEBUI)
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 ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
.if defined(WEBUI)
RUN_DEPENDS+= ${LOCALBASE}/share/pear/MDB2/Driver/pgsql.php:${PORTSDIR}/databases/pear-MDB2_Driver_pgsql
USE_PHP+= pgsql
.endif
RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.if ${PORT_OPTIONS:MMYSQL}
.if defined(WEBUI)
RUN_DEPENDS+= ${LOCALBASE}/share/pear/MDB2/Driver/mysql.php:${PORTSDIR}/databases/pear-MDB2_Driver_mysql
USE_PHP+= mysql
.endif
USE_MYSQL= yes
RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
.endif
.if ${PORT_OPTIONS:MSQLITE}
.if defined(WEBUI)
RUN_DEPENDS+= ${LOCALBASE}/share/pear/MDB2/Driver/sqlite.php:${PORTSDIR}/databases/pear-MDB2_Driver_sqlite
USE_PHP+= sqlite
.endif
RUN_DEPENDS+= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
.endif
.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN= 22+
.elif ${PORT_OPTIONS:MLIGHTTPD}
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.elif ${PORT_OPTIONS:MHIAWATHA}
RUN_DEPENDS+= hiawatha:${PORTSDIR}/www/hiawatha
.endif
.if ${PORT_OPTIONS:MEMAILS}
RUN_DEPENDS+= p5-Net>=0:${PORTSDIR}/net/p5-Net
.endif
.if ${PORT_OPTIONS:MLSOF}
RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
.endif
.if ${PORT_OPTIONS:MLOG_COMPRESS}
RUN_DEPENDS+= p5-Compress-Bzip2>=0:${PORTSDIR}/archivers/p5-Compress-Bzip2
.endif
.if ${PORT_OPTIONS:MTMPFS} && ${PORT_OPTIONS:MPARALLEL}
EXTRA_PATCHES+= ${FILESDIR}/extra-tmpfs_para.patch
.elif ${PORT_OPTIONS:MTMPFS}
EXTRA_PATCHES+= ${FILESDIR}/extra-tmpfs.patch
.elif ${PORT_OPTIONS:MPARALLEL}
EXTRA_PATCHES+= ${FILESDIR}/extra-parallel.patch
.endif
.if ! defined(WEBUI)
Update to 3.1.1 - Bug fix and feature release. This release brings many bug fixes and some new features, particularly with the webui frontend: * The tinderd.sh rc.d script has been renamed tinderd, and modernized. See the README for more details. * A tinderd_debug option has been added to the tinderd rc.d script to control whether or not to write output to /dev/null. * Add a new tinderd config option, TINDERD_LOGFILE. When this is set, all tinderbuild output from a tinderd cycle will be appended to this logfile. By default, the logfile is /dev/null. * Reintroduce user permissions functionality in the webui from 2.x. * Add RSS support for the latest_buildports view (webui). * Add buttons to tinderd queue view to remove all or all built entries from the queue (webui). * Automatically set rootdir and wwwrooturi variable (webui). * Show target port of current build (webui). * Fix a slew of Postgres upgrade and install bugs. Note: not all upgrade bugs have been fixed. The schema changes in 3.1 may need to be applied manually to Postgres databases. * Fix a case where a failed build could lead to false-positive leftovers. * Fix a regression where the wrong module name was used. This broke tinderd configuration. * Prevent dereferencing a null value in the Build Ports Queue code when a port is no longer associated to a Build. * Fix rescanPorts' command line arguments, and allow it to be invoked as a shell command. * Use the installed Jail's /usr/share/mk directory when doing a make distribution. This fixes a Jail build of 7.X on recent -CURRENT. * Add -k to the conig-recursive command so that it doesn't die if one chooses to skip a port. * Don't make it fatal if the rm of the directory fails in cleanDir. This may very well fail if the target is a mount point. * Some setup steps in the README have been clarified. !!!NOTE!!!This release includes a schema change, so be sure to run the following before using 3.1: ./tc Upgrade The contributors to this release are Beat Gätzi, Ion-Mihai Tetcu, Aron Schlesinger, Alexander Logvinov, Wesley Shields, Martin Wilke, and Boris Samorodov. Local patches: - install a favicon for the webui - show last 30 ports per page in "Current and Latest Builds" page (webui) - when sorting by "Last Build Attempt" in list build page sort descending -- latest built first (webui) PR: ports/128785 (based on) Submitted by: bsam@
2008-11-12 16:58:29 +01:00
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
@${RM} -R ${WRKSRC}/webui
Update to 3.1.1 - Bug fix and feature release. This release brings many bug fixes and some new features, particularly with the webui frontend: * The tinderd.sh rc.d script has been renamed tinderd, and modernized. See the README for more details. * A tinderd_debug option has been added to the tinderd rc.d script to control whether or not to write output to /dev/null. * Add a new tinderd config option, TINDERD_LOGFILE. When this is set, all tinderbuild output from a tinderd cycle will be appended to this logfile. By default, the logfile is /dev/null. * Reintroduce user permissions functionality in the webui from 2.x. * Add RSS support for the latest_buildports view (webui). * Add buttons to tinderd queue view to remove all or all built entries from the queue (webui). * Automatically set rootdir and wwwrooturi variable (webui). * Show target port of current build (webui). * Fix a slew of Postgres upgrade and install bugs. Note: not all upgrade bugs have been fixed. The schema changes in 3.1 may need to be applied manually to Postgres databases. * Fix a case where a failed build could lead to false-positive leftovers. * Fix a regression where the wrong module name was used. This broke tinderd configuration. * Prevent dereferencing a null value in the Build Ports Queue code when a port is no longer associated to a Build. * Fix rescanPorts' command line arguments, and allow it to be invoked as a shell command. * Use the installed Jail's /usr/share/mk directory when doing a make distribution. This fixes a Jail build of 7.X on recent -CURRENT. * Add -k to the conig-recursive command so that it doesn't die if one chooses to skip a port. * Don't make it fatal if the rm of the directory fails in cleanDir. This may very well fail if the target is a mount point. * Some setup steps in the README have been clarified. !!!NOTE!!!This release includes a schema change, so be sure to run the following before using 3.1: ./tc Upgrade The contributors to this release are Beat Gätzi, Ion-Mihai Tetcu, Aron Schlesinger, Alexander Logvinov, Wesley Shields, Martin Wilke, and Boris Samorodov. Local patches: - install a favicon for the webui - show last 30 ports per page in "Current and Latest Builds" page (webui) - when sorting by "Last Build Attempt" in list build page sort descending -- latest built first (webui) PR: ports/128785 (based on) Submitted by: bsam@
2008-11-12 16:58:29 +01:00
.endif
post-patch:
.if ! ${PORT_OPTIONS:MCHECK_FOR_ROOT}
${REINPLACE_CMD} -e 's/^if \[ `id -u` != 0 \]; then/if false; then/' \
${WRKSRC}/tc
.endif
${REINPLACE_CMD} -e 's/.set_rcvar./tinderd_enable/' \
${WRKSRC}/etc/rc.d/tinderd
@cd ${WRKSRC} && ${FIND} -E . -regex '.*(orig|bak)' -exec ${RM} {} \;
do-install:
@${MKDIR} ${PREFIX}/tinderbox/scripts
@${ECHO_CMD} "Installing man pages ..."
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
@${ECHO_CMD} "Installing rc script ..."
Update to 3.1.1 - Bug fix and feature release. This release brings many bug fixes and some new features, particularly with the webui frontend: * The tinderd.sh rc.d script has been renamed tinderd, and modernized. See the README for more details. * A tinderd_debug option has been added to the tinderd rc.d script to control whether or not to write output to /dev/null. * Add a new tinderd config option, TINDERD_LOGFILE. When this is set, all tinderbuild output from a tinderd cycle will be appended to this logfile. By default, the logfile is /dev/null. * Reintroduce user permissions functionality in the webui from 2.x. * Add RSS support for the latest_buildports view (webui). * Add buttons to tinderd queue view to remove all or all built entries from the queue (webui). * Automatically set rootdir and wwwrooturi variable (webui). * Show target port of current build (webui). * Fix a slew of Postgres upgrade and install bugs. Note: not all upgrade bugs have been fixed. The schema changes in 3.1 may need to be applied manually to Postgres databases. * Fix a case where a failed build could lead to false-positive leftovers. * Fix a regression where the wrong module name was used. This broke tinderd configuration. * Prevent dereferencing a null value in the Build Ports Queue code when a port is no longer associated to a Build. * Fix rescanPorts' command line arguments, and allow it to be invoked as a shell command. * Use the installed Jail's /usr/share/mk directory when doing a make distribution. This fixes a Jail build of 7.X on recent -CURRENT. * Add -k to the conig-recursive command so that it doesn't die if one chooses to skip a port. * Don't make it fatal if the rm of the directory fails in cleanDir. This may very well fail if the target is a mount point. * Some setup steps in the README have been clarified. !!!NOTE!!!This release includes a schema change, so be sure to run the following before using 3.1: ./tc Upgrade The contributors to this release are Beat Gätzi, Ion-Mihai Tetcu, Aron Schlesinger, Alexander Logvinov, Wesley Shields, Martin Wilke, and Boris Samorodov. Local patches: - install a favicon for the webui - show last 30 ports per page in "Current and Latest Builds" page (webui) - when sorting by "Last Build Attempt" in list build page sort descending -- latest built first (webui) PR: ports/128785 (based on) Submitted by: bsam@
2008-11-12 16:58:29 +01:00
${INSTALL_SCRIPT} ${WRKSRC}/etc/rc.d/tinderd ${PREFIX}/etc/rc.d/${PORTNAME}
@${ECHO_CMD} "Installing tinderbox ..."
${CP} -R ${WRKSRC}/* ${PREFIX}/tinderbox/scripts
@${ECHO_CMD} "All Done"
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>