From owner-svn-ports-all@FreeBSD.ORG Mon Mar 4 05:12:55 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1B3A2656; Mon, 4 Mar 2013 05:12:55 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F04D6C26; Mon, 4 Mar 2013 05:12:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r245Csnl080179; Mon, 4 Mar 2013 05:12:54 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r245CsnX080139; Mon, 4 Mar 2013 05:12:54 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201303040512.r245CsnX080139@svn.freebsd.org> From: Martin Wilke Date: Mon, 4 Mar 2013 05:12:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313392 - in head/ports-mgmt/tinderbox: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 05:12:55 -0000 Author: miwi Date: Mon Mar 4 05:12:53 2013 New Revision: 313392 URL: http://svnweb.freebsd.org/changeset/ports/313392 Log: - Update to 4.0.0 - OptionNG Full Changelog: http://www.marcuscom.com/pipermail/tinderbox-list/2013-March/002909.html Deleted: head/ports-mgmt/tinderbox/files/patch-lib__tc_command.sh Modified: head/ports-mgmt/tinderbox/Makefile head/ports-mgmt/tinderbox/distinfo (contents, props changed) head/ports-mgmt/tinderbox/pkg-plist (contents, props changed) Modified: head/ports-mgmt/tinderbox/Makefile ============================================================================== --- head/ports-mgmt/tinderbox/Makefile Mon Mar 4 03:35:26 2013 (r313391) +++ head/ports-mgmt/tinderbox/Makefile Mon Mar 4 05:12:53 2013 (r313392) @@ -1,12 +1,8 @@ -# Ports collection makefile for: misc/tinderbox -# Whom: Edwin Groothuis -# Date created: 31 december 2005 -# +# Created by: Edwin Groothuis # $FreeBSD$ PORTNAME= tinderbox -PORTVERSION= 3.4.1 -PORTREVISION= 2 +PORTVERSION= 4.0.0 CATEGORIES= ports-mgmt MASTER_SITES= http://tinderbox.marcuscom.com/ \ http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ @@ -17,16 +13,23 @@ COMMENT= Port build tinderbox system CONFLICTS= tinderbox-devel-[0-9]* -OPTIONS= PGSQL "With pgsql" Off \ - MYSQL "With mysql" On \ - CSUP "Use csup for updates" On \ - CVSUP "Use cvsup for updates" Off \ - WEBUI "Install web interface" On \ - APACHE "Use Apache for web interface" On \ - HIAWATHA "Use Hiawatha for web interface" Off \ - LIGHTTPD "Use LightHTTPD for web interface" Off \ - CHECK_FOR_ROOT "Check if ./tc is run by uid 0" On \ - LSOF "For killMountProcesses() when using nullfs" On +OPTIONS_MULTI= DB +OPTIONS_MULTI_DB= PGSQL MYSQL SQLITE + +OPTIONS_RADIO= WEB +OPTIONS_RADIO_WEB= APACHE HIAWATHA LIGHTTPD NGINX + +OPTIONS_DEFINE= CHECK_ROOT EMAILS LSOF LOG_COMPRESS + +CHECK_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 +HIAWATHA_DESC= Hiawatha server +NGINX_DESC= Nginx server + +OPTIONS_DEFAULT= MYSQL APACHE CHECK_ROOT EMAILS LSOF \ + LOG_COMPRESS NO_BUILD= yes WANT_PERL= yes @@ -35,15 +38,13 @@ SUB_FILES= pkg-message MAN1= tc-configCcache.1 tc-configDistfile.1 tc-configGet.1 \ tc-configJail.1 tc-configTinderd.1 tc-init.1 -#PATCH_STRIP= -p2 +.include -.include - -.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 +.if ${PORT_OPTIONS:MAPACHE} || ${PORT_OPTIONS:MHIAWATHA} || ${PORT_OPTIONS:MLIGHTTPD} || ${PORT_OPTIONS:MNGINX} +WEBUI= yes .endif -.if defined(WITH_WEBUI) +.if defined(WEBUI) WANT_PHP_WEB= yes USE_PHP= session PLIST_SUB+= WEBUI="" @@ -51,58 +52,61 @@ PLIST_SUB+= WEBUI="" PLIST_SUB+= WEBUI="@comment " .endif -.if defined(WITH_PGSQL) +.if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes -.if defined(WITH_WEBUI) -RUN_DEPENDS+= ${LOCALBASE}/share/pear/MDB2/Driver/pgsql.php:${PORTSDIR}/databases/pear-MDB2_Driver_pgsql -USE_PHP+= pgsql +.if defined(WEBUI) +USE_PHP+= pgsql pdo_pgsql .endif RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg .endif -.if !defined(WITHOUT_MYSQL) -.if defined(WITH_WEBUI) -RUN_DEPENDS+= ${LOCALBASE}/share/pear/MDB2/Driver/mysql.php:${PORTSDIR}/databases/pear-MDB2_Driver_mysql -USE_PHP+= mysql +.if ${PORT_OPTIONS:MMYSQL} +.if defined(WEBUI) +USE_PHP+= mysql pdo_mysql .endif USE_MYSQL= yes RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql .endif -.if defined(WITH_CVSUP) -RUN_DEPENDS+= cvsup:${PORTSDIR}/net/cvsup-without-gui +.if ${PORT_OPTIONS:MSQLITE} +.if defined(WEBUI) +USE_PHP+= sqlite3 pdo_sqlite +.endif +RUN_DEPENDS+= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite .endif -.if !defined(WITHOUT_APACHE) && defined(WITH_WEBUI) +.if ${PORT_OPTIONS:MAPACHE} USE_APACHE_RUN= 22+ -.elif defined(WITH_LIGHTTPD) && defined(WITH_WEBUI) +.elif ${PORT_OPTIONS:MLIGHTTPD} RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd -.elif defined(WITH_HIAWATHA) && defined(WITH_WEBUI) +.elif ${PORT_OPTIONS:MHIAWATHA} RUN_DEPENDS+= hiawatha:${PORTSDIR}/www/hiawatha +.elif ${PORT_OPTIONS:MNGINX} +RUN_DEPENDS+= nginx:${PORTSDIR}/www/nginx +.endif + +.if ${PORT_OPTIONS:MEMAILS} +RUN_DEPENDS+= p5-Net>=0:${PORTSDIR}/net/p5-Net .endif -.if defined(WITH_LSOF) +.if ${PORT_OPTIONS:MLSOF} RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof .endif -pre-everything:: -.if (!defined(WITHOUT_APACHE) || defined(WITH_LIGHTTPD) || defined(WITH_HIAWATHA)) && !defined(WITH_WEBUI) - @${ECHO_CMD} "It doesn't make sense to depend on Apache, LightHTTPD or Hiawatha if not using the WebUI." - @${FALSE} +.if ${PORT_OPTIONS:MLOG_COMPRESS} +RUN_DEPENDS+= p5-Compress-Bzip2>=0:${PORTSDIR}/archivers/p5-Compress-Bzip2 .endif -.if !defined(WITH_WEBUI) +.if ! defined(WEBUI) post-extract: @${RM} -R ${WRKSRC}/webui .endif post-patch: -.ifdef WITHOUT_CHECK_FOR_ROOT +.if ! ${PORT_OPTIONS:MCHECK__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: @@ -114,10 +118,9 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/etc/rc.d/tinderd ${PREFIX}/etc/rc.d/${PORTNAME} @${ECHO_CMD} "Installing tinderbox ..." ${CP} -R ${WRKSRC}/* ${PREFIX}/tinderbox/scripts - ${CP} ${WRKSRC}/.version ${PREFIX}/tinderbox/scripts @${ECHO_CMD} "All Done" post-install: @${CAT} ${PKGMESSAGE} -.include +.include Modified: head/ports-mgmt/tinderbox/distinfo ============================================================================== --- head/ports-mgmt/tinderbox/distinfo Mon Mar 4 03:35:26 2013 (r313391) +++ head/ports-mgmt/tinderbox/distinfo Mon Mar 4 05:12:53 2013 (r313392) @@ -1,2 +1,2 @@ -SHA256 (tinderbox/tinderbox-3.4.1.tar.gz) = 21083ebf28b3eb3c4979bb04c8e910cca7cefdbd3ae3f23d40a325fe1b9213a9 -SIZE (tinderbox/tinderbox-3.4.1.tar.gz) = 147755 +SHA256 (tinderbox/tinderbox-4.0.0.tar.gz) = 34267e0147bdba191e72969bd30156b71c140409d9b7d047e2224e671887ba96 +SIZE (tinderbox/tinderbox-4.0.0.tar.gz) = 150516 Modified: head/ports-mgmt/tinderbox/pkg-plist ============================================================================== --- head/ports-mgmt/tinderbox/pkg-plist Mon Mar 4 03:35:26 2013 (r313391) +++ head/ports-mgmt/tinderbox/pkg-plist Mon Mar 4 05:12:53 2013 (r313392) @@ -1,15 +1,16 @@ etc/rc.d/tinderbox -tinderbox/scripts/.version tinderbox/scripts/README tinderbox/scripts/contrib/hooks/compress_wrkdir/README.txt tinderbox/scripts/contrib/hooks/compress_wrkdir/compress_wrkdir.sh +tinderbox/scripts/contrib/hooks/create-pkgng-repo/README.txt +tinderbox/scripts/contrib/hooks/create-pkgng-repo/create-pkgng-repo.sh tinderbox/scripts/contrib/hooks/kse-fix/README.txt tinderbox/scripts/contrib/hooks/kse-fix/kse-fix.sh tinderbox/scripts/contrib/hooks/kse-fix/libmap.conf tinderbox/scripts/contrib/hooks/make-jobs-safe/README.txt tinderbox/scripts/contrib/hooks/make-jobs-safe/make-jobs-safe.sh -tinderbox/scripts/contrib/hooks/mass-build-pgsql/README.txt tinderbox/scripts/contrib/hooks/mass-build-pgsql/mass-build-pgsql.sh +tinderbox/scripts/contrib/hooks/mass-build-pgsql/README.txt tinderbox/scripts/ds.ph.dist tinderbox/scripts/etc/env/.keep_me tinderbox/scripts/etc/rc.d/tinderd @@ -29,6 +30,7 @@ tinderbox/scripts/lib/Tinderbox/User.pm tinderbox/scripts/lib/buildscript tinderbox/scripts/lib/db-mysql.sh tinderbox/scripts/lib/db-pgsql.sh +tinderbox/scripts/lib/db-sqlite.sh tinderbox/scripts/lib/enterbuild tinderbox/scripts/lib/makemake tinderbox/scripts/lib/pnohang.c @@ -43,6 +45,8 @@ tinderbox/scripts/sql/schema.mysql.post tinderbox/scripts/sql/schema.mysql.pre tinderbox/scripts/sql/schema.pgsql.post tinderbox/scripts/sql/schema.pgsql.pre +tinderbox/scripts/sql/schema.sqlite.post +tinderbox/scripts/sql/schema.sqlite.pre tinderbox/scripts/sql/values.config tinderbox/scripts/sql/values.hooks tinderbox/scripts/sql/values.lp @@ -57,26 +61,10 @@ tinderbox/scripts/upgrade/builds.map tinderbox/scripts/upgrade/config.map tinderbox/scripts/upgrade/hooks.map tinderbox/scripts/upgrade/jails.map -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.0_to_3.1.sql -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.1_to_3.2.sql -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.2.1_to_3.2.2.sql -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.2.2_to_3.2.3.sql -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.2.3_to_3.2.4.sql -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.2.4_to_3.2.5.sql -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.2.5_to_3.2.6.sql -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.2.6_to_3.3.sql -tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.2_to_3.2.1.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.0_to_3.1.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.1_to_3.2.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.2.1_to_3.2.2.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.2.2_to_3.2.3.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.2.3_to_3.2.4.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.2.4_to_3.2.5.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.2.5_to_3.2.6.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.2.6_to_3.3.sql -tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.2_to_3.2.1.sql -tinderbox/scripts/upgrade/order.lst +tinderbox/scripts/upgrade/mig_pgsql_tinderbox-3.3_to_4.0.0.sql +tinderbox/scripts/upgrade/mig_mysql_tinderbox-3.3_to_4.0.0.sql tinderbox/scripts/upgrade/user_permissions.map +tinderbox/scripts/upgrade/order.lst %%WEBUI%%tinderbox/scripts/webui/core/Build.php %%WEBUI%%tinderbox/scripts/webui/core/BuildGroups.php %%WEBUI%%tinderbox/scripts/webui/core/BuildPortsQueue.php @@ -168,6 +156,7 @@ tinderbox/scripts/upgrade/user_permissio @dirrm tinderbox/scripts/contrib/hooks/mass-build-pgsql @dirrm tinderbox/scripts/contrib/hooks/make-jobs-safe @dirrm tinderbox/scripts/contrib/hooks/kse-fix +@dirrm tinderbox/scripts/contrib/hooks/create-pkgng-repo @dirrm tinderbox/scripts/contrib/hooks/compress_wrkdir @dirrm tinderbox/scripts/contrib/hooks @dirrm tinderbox/scripts/contrib