Commit graph

86 commits

Author SHA1 Message Date
Ion-Mihai Tetcu
049a76a52f - update to 4.0.0.b2
- convert to OPTIONSng
- drop local patches incorporated upstream

Submitted by:	beat@
2013-01-13 10:48:31 +00:00
Florian Smeets
303e871aaa Convert the remaining ports that depend on databases/p5-DBD-mysql${MYSQL_VER}
to just depend on databases/p5-DBD-mysql as that will handle the MYSQL_VER
magic.

This is required as only databases/p5-DBD-mysql supports mariadb-client and
the upcomming perconaXX-client.

Approved by:	portmgr (bapt)
Initial patches by:	pgollucci
2012-12-28 19:03:02 +00:00
Emanuel Haupt
13107432e8 Import an upstream patch to fix build with ccache and nullfs. While here trim
Makefile header.

PR:		173440
Approved by:	itetcu (maintainer)
Feature safe:	yes
2012-11-08 21:35:17 +00:00
Olli Hauer
63f3e3b0d4 - remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@
2012-08-18 14:29:08 +00:00
Andrej Zverev
541bb1b198 - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-07-01 05:42:55 +00:00
Chris Rees
a849c5ff0d Revert previous change which was committed by mistake along with some
other ports.

Noticed by:	swills

It also happened to be incorrect!  The path should have been
PREFIX/tinderbox/scripts.

Noticed by:	sunpoet
2012-06-30 07:56:28 +00:00
Chris Rees
a8fd68c452 Update maintainer addresses, MASTER_SITES and PATCH_SITES
PR:		ports/169528
Submitted by:	koitsu (maintainer)
2012-06-28 20:15:27 +00:00
Chris Rees
fe0512fec7 Import upstream fix for pkgng users-- failed on tc Setup if perl was installed
via pkgng

Approved by:	itetcu (maintainer)
2012-06-26 20:18:03 +00:00
Ion-Mihai Tetcu
f71449d0ab Update to add support for pkgng :)
Bugged by:	beat@ and bapt@
2012-04-17 16:50:33 +00:00
Chris Rees
dfbf2f839c Fix rc script to follow up removal of set_rcvar in HEAD
Approved by:	miwi (maintainer)
2012-01-14 16:16:08 +00:00
Olli Hauer
19fe40753d - change required APACHE version from 13+ to 20+
(prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@
2012-01-01 16:47:41 +00:00
Martin Wilke
c208a13fc9 - Update to 3.4.r3
Changelog:
* Correct a mismerge of schema
* Correct some typos
* Properly add the checksum Hooks to the upgrade code
* Fix some variable initialization issues in the webui
* Allow Jails and Builds to be removed when BuildPortsQueue entries exist

Approved by:	maintainer implicit
2011-10-25 19:16:59 +00:00
Martin Wilke
11bfb14a00 - Fix a typo
Approved by:	maintainer implicit
2011-10-25 17:10:01 +00:00
Ion-Mihai Tetcu
9f2c7278d2 - bump PORTEPOCH :(
- try to fix plist

Reported by:	many
Pointyhat to:	itetcu@ (me)
2011-10-19 18:02:51 +00:00
Ion-Mihai Tetcu
ec5f3deec9 - fix a bug in the hooks sql [1]
- temporarelly disable TMPFS optional patch

Submitted by:	beat@ [1]
2011-10-16 20:02:56 +00:00
Ion-Mihai Tetcu
c66377013e Update to 3.4RC2.
Note: this release contains schema/DB changes.  Be sure to run the upgrade
procedure to properly incorporate the new changes.  There will be at least one
other DB change before 3.4 release, too.
2011-10-16 18:52:04 +00:00
Olli Hauer
7a0bd31763 - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined 2011-08-20 17:27:52 +00:00
Ion-Mihai Tetcu
3a41f2a99a Reroll the snap tarball to include my last upstream commit that fixes 2 sql
statements.
2011-01-01 22:33:34 +00:00
Ion-Mihai Tetcu
5e235d553e - update to a snapshot from today
- remove CSUP option, since csup port is gone because csup is in base on all
supported OSVERSIONs
- assure the needed dependencies are installed for sending emails and log
compression via two OPTIONS: EMAILS and LOG_COMPRESS
- flip ON by default the patches for tmpfs and parallel tindy instances
- update plist for hooks/compress_wrkdir and webui's BuildGroups support
2011-01-01 20:10:56 +00:00
Renato Botelho
cc08602273 Remove dependency of net/csup since the port is DEPRECATED and will be removed
Approved by:	portmgr (pav)
2010-09-14 12:02:32 +00:00
Ion-Mihai Tetcu
69f1dd6782 - port support for Hiawatha web server from ports-mgmt/tinderbox
- reorder pkg-message a bit to make it more clear and fix some typos

Feature safe:	yes
2010-03-06 11:19:04 +00:00
Martin Wilke
e350196de9 Update to 3.4-20100104
Changes:

Fixes from upstream:
 - Remove X11BASE support it is now obsolete. (already in ports-mgmt/tinderbox)
 - Expand the glob to check for Perl so that it actually
   captures lang/perl5.10. (already in ports-mgmt/tinderbox)
 - Restore some of the leftover exceptions but use LOCALBASE instead of X11BASE.
 - Expand the MySQL glob to match on MySQL 5.4 and 5.5.
 - Adjust the SQL query to remove all entries from a BuildPortsQueue.  This
   makes things more compatible.

Two Experimental patches from Tim Bishop and beat@.

- Tim has added support for multiple tinderd instances at the same
  time.

  The parallel patch allows to run multiple tinderd instances at the
  same time. You can enable multiple tinderd instances via /etc/rc.conf
  with tinderd_instances="X"

- beat@ as added support for tmpfs to enable the usage of FreeBSD's
  tmpfs implementation.

Both patches are experimental and are not official supported by the Tinderbox
distribution.

Reviewed by:	itetcu, beat (thx!)
Approved by:	itetcu (maintainer implicit)
Obtained from:	tinderbox cvs (snapshot)
2010-01-05 19:58:18 +00:00
Martin Wilke
971338cd8f - Mark IGNORE, ports-mgmt/tinderbox is newer
Approved by:	itetcu (Maintainer implicit)
2009-12-04 23:12:13 +00:00
Wesley Shields
c2317d670d - Add .bak to the list of files to be deleted in post-patch (the CHECK_FOR_ROOT
option being off would result in tc.bak being installed.

Approved by:	itetcu (maintainer)
Feature safe:	yes
2009-09-18 16:01:00 +00:00
Martin Wilke
04a81b57d0 - Add support for FreeBSD 9.0
Feature safe: yes

Approved by:	itetcu (maintainer implicit)
2009-09-17 18:17:31 +00:00
Ion-Mihai Tetcu
c42250053d Bring more fixes, optimizations and changes from CVS (PORTREVISION bumped):
- Add a disclaimer to the addJail usage line so that users know to use
  createJail instead.
- Trim leading and trailing spaces from the descriptions for Jails,
  Builds, and PortsTrees.
- Add /proc to the list of ignored paths.  This fixes a race condition
  which can occur when multiple builds are run in parallel.
- Run the postPortsTreeUpdate and postJailUpdate Hooks while the file
  systems are still mounted.  This has the side effect of running the
  hooks when an update fails.
- Die if the postPortsTreeUpdate Hook fails.
- Die if a port could not be added to the BuildPortsQueue.

Webui:
- Save some screen space by reducing space between top menu and content.
- Add link to RSS feed to the latest_buildports view.
- Generate RSS feeds per maintainer and add drop down menu for feeds to
  homepage.
- Make headers of columns on buildport pages clickable to sort the table.
- Rename All really Build Failures to All Failures.
- Add link to All Build Failures and All Failures on latest_buildports
  page.
- To limit the number of shown ports per page a new variable
  list_limit_nr could be set in inc_tinderbox.php. This limitation is
  disabled by default.
2009-05-11 06:19:40 +00:00
Ion-Mihai Tetcu
c0e116cada Import an other round of changes from marcuscom cvs and bump PORTREVISION:
- Bump build_name from 72 characters to 255 characters.
- Sync latest port fail reasons and patterns with pointyhat.
- Switch to cvsup17 as default csup server
- Fix a problem where port directories where not canonicalized, and could end
up looking like dir/../otherdir.
- Save some screen space by reducing space between top menu and content in
queue view in webui.

Note that if upgrading you have to apply the canges to your database by hand.
2009-04-12 07:22:53 +00:00
Ion-Mihai Tetcu
b4e398675e Pull two fixes from CVS:
- Properly check the result of getDbInfo to make sure we don't try to configure
  the database when we don't have access.
- Correct a typo which broken copyBuild for packages.
Bump PORTREVISION.
2009-03-28 10:54:23 +00:00
Ion-Mihai Tetcu
0597d4ac43 OPTIONs test fixes.
Submitted by:	wxs@
2009-03-25 18:06:29 +00:00
Ion-Mihai Tetcu
09bc6e6203 Bring in 2 fixes from cvs:
- webui: Fix misuse of TRIM function with PostgreSQL (maintianer address wron
with PG)
- Correct a corner case where cleaning up mounts may kill off processes it
shouldn't.  This occurs when you are mounting the ports tree mount via nullfs.
This fix requires that sysutils/lsof be installed on the Tinderbox host (new
OPTION).
- bump PORTREVISION
2009-03-25 15:24:52 +00:00
Ion-Mihai Tetcu
a4c74b09e6 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 02:11:43 +00:00
Ion-Mihai Tetcu
f993f89ac8 This port was repo-copyed from ports-mgmt/tinderbox.
Update to current stable release candidate 3.2.r3.

Repocopy by:	marcus@
Requested by:	marck@
2009-02-16 10:48:23 +00:00
Ion-Mihai Tetcu
94582fae34 - don't patch non-existent files if WITHOUT_WEBUI is defined
- bump PORTREVISION
2009-01-20 23:12:38 +00:00
Ion-Mihai Tetcu
7a12c47927 Bring in new features and bugfixes from CVS:
- Remove the listBuildPortsQueue error when there are no ports in the queue.
- Teach sendBuildCompletionMail how to lookup a user by both name and ID.
  This will fix the problem where tinderd doesn't send build completion
  mail.
- Add a -u argument to addBuildPortsQueueEntry to set a user name of a
  queue entry.
- Introduce 2 inc_tinderbox config vars, reload_interval_latest and
  reload_interval_current which allow to set the reload interval for
  "Current And Latest Builds" page while no port is building and while
  a port is building respectively.
- Use the canonical PHP tag instead of short tags to make Tinderbox more
  flexible in where it can be deployed.
- Introduce logfile markup support. The data base stores regular
  expressions for things you like to flag in build logs (e.g. GCC
  warnings indicating missing prototypes). The frontend parse the
  logs and colorize matching lines. If a port failed to build the
  port_fail_pattern is automatically highlighted. The frontend
  allow you to toggle the display of line numbers and toggle which
  patterns are highlighted.
  To enable the logfile markup create the logfile_patterns table (see
  the last table in scripts/sql/schema.[mysql|pgsql].pre) and load the default
  patterns from scripts/sql/values.lp into the newly created table.

Bump PORTREVISION.
2008-12-27 20:29:35 +00:00
Ion-Mihai Tetcu
b037c7be3b Update to 3.1.2 with the following fixes and minor changes:
* Don't cleanup WRKDIR until after the postPortBuild Hook has run.
* Fix resetBuild in a nullfs environment.
* Fix a regression in the version path.
* Correct a tinderd typo which masked a diagnostic message.
* 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)

The main contributor and tester of this release was Ion-Mihai Tetcu.

(Remove local patches incorporated upstream)
2008-11-16 21:38:54 +00:00
Ion-Mihai Tetcu
41cf60b3f7 Mark broken, to many annoying bugs in this release.
3.1.2 should be out soon.
2008-11-15 10:37:48 +00:00
Ion-Mihai Tetcu
5512daa0dc Don't install .orig file resulting from patching.
Prompted by:	QAT
2008-11-12 20:44:25 +00:00
Ion-Mihai Tetcu
90e76efd65 Fix database migration from 3.0.0[_n] and bump PORTREVISION.
Prompted by:	garga@'s question about an webui error on IRC
2008-11-12 20:34:10 +00:00
Ion-Mihai Tetcu
a689ee9d7e 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 15:58:29 +00:00
Ion-Mihai Tetcu
6238fbb602 - remove unexisting dirs from plsit
- bump PORTREVISION

PR:		ports/127177
Submitted by:	Sunpoet Po-Chuan Hsieh
2008-09-07 22:29:28 +00:00
Ion-Mihai Tetcu
9eae387a56 - fix PGSQL support [1]
- use strftime like in 2.x [1]
- install rc script in system etc/rc.d
- bump PORTREVISION

Prompted by:	makc@ [1]
Obtained from:	marcoscom CVS [1]
2008-09-07 07:41:41 +00:00
Ion-Mihai Tetcu
0417855e9b 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 12:29:01 +00:00
Martin Wilke
6f49fcde4a - Update to tb243_template_paefchen_v1
Submitted by:	Aron Schlesinger
Approved by:	maintainer
2008-07-12 14:12:42 +00:00
Martin Wilke
3d0108e926 - Update paefchen template [1] (fix bug in firefox3)
- Fix OPTIONS handling [2]
- Bump PORTREVISION

PR:		125470 [2]
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua> [2]
		Aron Schlesigner [1]
Approved by:	itetcu (maintainer)
2008-07-11 21:22:41 +00:00
Ion-Mihai Tetcu
8a2a324177 Don't try to patch inexistent files if WEB_EXP in not on.
PR:		ports/124929 [1], ports/124762 [2]
Submitted by:	Jona Joachim <jaj@hcl-club.lu>,
		Alex Kozlov <spam@rm-rf.kiev.ua> [2],
		lioux@ [1]
2008-07-01 20:06:20 +00:00
Ion-Mihai Tetcu
1b23215da8 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 13:24:58 +00:00
Ion-Mihai Tetcu
9aa25a0dbd Update to current -STABLE (2.4.X) snapshot. 2008-05-19 20:00:16 +00:00
Ion-Mihai Tetcu
4481053025 - add Aron Schlesinger www-exp layout and make it the default since: it looks
better, it works better in opera, it provides a slightly better usability and
it's more FreeBSDish
- fetch all DISTFILES from my server for simplicity
- bump PORTREVISION for plist changes

Prompted by:	miwi@'s tindy :-)
2008-03-29 21:54:04 +00:00
Martin Wilke
56d324c9e5 - Update to 2.4.2
*  Add support for FreeBSD 8.X.
    * Fix a database query bug.
    * Ensure the .env files are properly read and export when building the Makefile and database entries.
    * Use the C locale when calculating build times.
    * Do not die if a Build's log directory is missing when running tbcleanup.

This release comes with a rawenv change, so make sure you copy rawenv.dist to rawenv to get the latest variables.

PR:		118854
Submitted by:	miwi
Approved by:	itetcu (maintainer timeout)
2007-12-31 08:02:01 +00:00
Martin Wilke
6fe7348539 - Fix build
Submitted by:	pointyhat via pav
Approved by:	common sense
2007-10-26 17:58:12 +00:00