b763f6a333
This update of tinderbox addresses several issues: 1) Updates obsolete failure message on options.mk 2) Adds support for PKG_DEVELOPER=yes 3) Switches build failure default to build only once, twice is the option. 4) Merge BOOTSTRAP_DEPENDS with FETCH_DEPENDS in order to maintain the same database structure as Tinderbox. Removes two patches. 5) Change behavior where leftover files immediately after package deinstall is no longer considered an error, but still list the files that do this. 6) Add a way out of an infinite recursion loop as seen when the package name changed between portbuild and buildscript (considered a safeguard). 7) Push the package name from portbuild to buildscript to avoid issue with php5 packages getting renamed to php53 (for example), which was the cause for the infinite loop on lang/pear. 8) Fix enterbuild by allowing it to properly detected when the port has entered the sleep state. 9) Fix php/pgsql bug on row limiting, should be fixed upstream for next released. Requires old patch to be reincarnated. 10) Fix PLIST, several files were missing 11) Add utility script to add all 10K packages to database (this takes several hours to do)
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
# $NetBSD: options.mk,v 1.3 2011/11/14 02:00:20 marino Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.tbox-dfly
|
|
PKG_SUPPORTED_OPTIONS= pgsql mysql webui anybody lsof emailer
|
|
PKG_SUGGESTED_OPTIONS= pgsql webui
|
|
PLIST_VARS+= WEBUI
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
########################################
|
|
# WEB INTERFACE AND DATABASE OPTIONS #
|
|
########################################
|
|
|
|
.if empty(PKG_OPTIONS:Mpgsql) && empty(PKG_OPTIONS:Mmysql)
|
|
PKG_FAIL_REASON+= "Tinderbox requires a database, so select pgsql or mysql option."
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mwebui)
|
|
PLIST.WEBUI= yes
|
|
.include "../../lang/php/phpversion.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
DEPENDS+= p5-DBD-postgresql>=2.12:../../databases/p5-DBD-postgresql
|
|
.if !empty(PKG_OPTIONS:Mwebui)
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2_Driver_pgsql-[0-9]*:../../databases/pear-MDB2_Driver_pgsql
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.1:../../databases/php-pgsql
|
|
.endif
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
DEPENDS+= p5-DBD-mysql>=4:../../databases/p5-DBD-mysql
|
|
.if !empty(PKG_OPTIONS:Mwebui)
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2_Driver_mysql>1.5:../../databases/pear-MDB2_Driver_mysql
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.1:../../databases/php-mysql
|
|
.endif
|
|
.endif
|
|
|
|
#####################
|
|
# LIST OPEN FILES #
|
|
#####################
|
|
|
|
.if !empty(PKG_OPTIONS:Mlsof)
|
|
DEPENDS+= lsof>=4.83:../../sysutils/lsof
|
|
PKG_FAIL_REASON+= "LSOF package is broken for DragonFly, remove the option for now."
|
|
.endif
|
|
|
|
#########################
|
|
# EMAIL NOTIFICATIONS #
|
|
#########################
|
|
|
|
.if !empty(PKG_OPTIONS:Memailer)
|
|
DEPENDS+= p5-Net>=1.21:../../net/p5-Net
|
|
.endif
|