Commit graph

1618 commits

Author SHA1 Message Date
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
Michael Landin
695881ddbc - remove superfluous EXTRACT_SUFX
PR:		ports/142167
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
2010-01-04 10:02:20 +00:00
Wesley Shields
20e4278812 - Update to 0.4
PR:		ports/139468
Submitted by:	Anonymous <swell.k@gmail.com>
Approved by:	Jason Bacon <jwbacon@tds.net> (maintainer)
2010-01-01 16:22:00 +00:00
Boris Samorodov
44d0562963 Use BERLIOS macro for MASTER_SITES.
PR:		ports/142172 (inspirited by)
Submitted by:	Sevan Janiyan <venture37 at geeklan.co.uk>
2010-01-01 10:50:08 +00:00
Doug Barton
b8c2a01f0c Update for version 2.16 2009-12-31 03:54:30 +00:00
Doug Barton
b958971e52 Update for version 2.16:
1. Versions of pkg_add in FreeBSD older than 6.4-RELEASE will not have
the proper options available, so warn the user if they try to use
package-related code.[1]

2. Highlight some different features

Reported by:    Miroslav Lachman <000.fbsd@quip.cz>[1]
2009-12-31 03:53:59 +00:00
Doug Barton
68ab910943 Two minor bug fixes:
====================
1. We only want to set PM_BUILD_ONLY_LIST=pm_bol in the command line
parser if we are the parent port. Otherwise proper build dep detection
will not occur.
2. Versions of pkg_add in FreeBSD older than 6.4-RELEASE will not have
the proper options available, so warn the user if they try to use
package-related code.[1]

Reported by:	Miroslav Lachman <000.fbsd@quip.cz>[1]
2009-12-31 03:52:19 +00:00
Martin Wilke
8ca9f0d689 - Convert NOMANCOMPRESS to NO_MANCOMPRESS to sync with src
PR:	ports/136065 ports/127469
Submitted by:	N.J. Mann <njm@njm.me.uk> and Aldis Berjoza <killasmurf86@gmail.com>

- Early identify port CONFLICTS

PR:	137855
Submitted by:		Piotr Smyrak <smyru@heron.pl>

- Add --no-same-permissions to the EXTRACT_AFTER_ARGS command.

Tijl Coosemans has been reported an issue that when root is extracting from the
tarball, and the tarball contains world writable files
(sysutils/policykit as an example), there is a chance that the files
gets changed by malicious third parties right after the extraction,
which makes it possible to inject code into the package thus compromise
the system.

Submitted by:	Tijl Coosemans <tijl@coosemans.org> Xin LI (delphij@)

- Fix some whitespaces

Tested with:	exp-run
2009-12-29 10:25:55 +00:00
Martin Wilke
f3aad5faec - Restore some of the leftover exceptions but use LOCALBASE instead of X11BASE.
Reported by:	kwm, Manolis Kiagias <sonicy@otenet.gr> (via tinderbox ml)
Approved by:	maintainer implicit
Obtained from:	tinderbox cvs
2009-12-27 21:16:50 +00:00
Martin Wilke
89ddba49cb - Expand the glob to check for Perl so that it actuallt
captures lang/perl5.10.

Reported by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> via tinderbox ML
Approved by:	maintainer implicit
2009-12-27 14:03:32 +00:00
Martin Wilke
c88f03e2d3 - Update to 2.0.9
Changelog:
	* clean up the code and documentation
	* fix -m bug

PR:		142028
Submitted by:	Andy Kosela <akosela@andykosela.com> (maintainer)
2009-12-26 18:02:32 +00:00
Martin Wilke
dfa751c4e6 - Remove X11BASE support it is now obsolete.
- Bump PORTREVISION

Approved by:	itetcu (maintainer implicit)
Obtained from:	tinderbox cvs via beat@ (THX!)
2009-12-25 20:29:24 +00:00
Martin Wilke
755f1ee2c5 - Add optional support for sysutils/lsof
PR:		141186
Submitted by:	olli hauer <ohauer@gmx.de>
Approved by:	maintainer implicit
2009-12-25 20:01:28 +00:00
Wen Heping
55d64fbf2a App::Pm2Port is a perl module to creat FreeBSD port from
perl module.

WWW: http://search.cpan.org/dist/App-Pm2Port
2009-12-22 07:14:26 +00:00
Stanislav Sedov
1678a9072a - Update to a new snapshot: this fixes the bug in processing ports/packages
with no INDEX entry.
2009-12-22 03:28:40 +00:00
Stanislav Sedov
0df299f53b - Update to 12/21/2009 snapshot. 2009-12-21 22:35:08 +00:00
Akinori MUSHA
12317977e4 Stop users from sending general questions, suggestions and patches
directly to me.
2009-12-21 12:24:33 +00:00
Doug Barton
2fadfa2cfb For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
2009-12-21 02:19:12 +00:00
Max Brazhnikov
b50dfb65d1 Update to 0.8.2
PR:		ports/141435
Submitted by:	Hannes Hauswedell (maintainer)
2009-12-20 22:11:08 +00:00
Joe Marcus Clarke
1f420b6602 Update to 2.12.2.
* Add support for whitelisting certain MASTER_SITES which make up a "cloud"
  of sites. [1]
* Escape a '.' in a regular expression to prevent matching strings like
  "about" with the regular expression "a.out". [2]
* Try to detect when the value of CONFIGURE_TARGET is used directly in a
  plist. [3]

PR:		140048 [1]
		141460 [2]
Submitted by:	skreuzer [1]
		gahr [2]
Suggested by:	brooks [3]
2009-12-19 21:23:01 +00:00
Doug Barton
1f6c4862bd Update for version 2.15 2009-12-19 07:27:26 +00:00
Doug Barton
c8effc2604 Update for version 2.15:
It's no longer necessary to supply PM_BUILD_ONLY_LIST in an rc file
2009-12-19 07:26:49 +00:00
Doug Barton
3e4a05d81f This is svn version r200709
Feature Update
==============
1. Further update the --packages-build and --delete-build-only options
to work with -a:
	a. Create a new function clean_build_only_list() from code that
	was already in dependency_check() and use it both there and at
	the end of the config mode in -a.
	b. Properly initialize the variables related to these two features
	in the same spot as all the other global vars are initialized rather
	than doing it in different locations.

Major Cleanups
==============
1. 9-CURRENT has its own package repo now, hurray!

2. Instead of having a pca() to describe the post-config action
collect the stuff that always runs after config is done into a
function, and use the pca() logic to determine what to print. This
also restores the whitespace to consistency between the modes
(one port, multiport, -a).

3. Instead of fetching the directory listing for each port category
(devel, ports-mgmt, etc.) every time we need to check a port, fetch
it once and save it to a temporary file. This lets us do several
cool things:
	a. Save a lot of time not having to re-fetch each iteration
	b. Run the sed code to fix %2c -> , up front
	c. Add a sed pattern to fix %2b -> +
	d. Run a variety of different patterns to try and find the
	latest_pv

4. We only want to run the logic tree on whether $latest_pv is up to
date or not if that variable has a value, so add appropriate tests.

Minor Cleanups
==============
1. Make it easier to include the --packages-build and --delete-build-only
options in a portmaster rc file by setting the PM_BUILD_ONLY_LIST variable
(which is used by both options) in the script if either of the two
options is detected.

2. More robust error-handling for package directory creation in
pm_pkg_create().

3. Move the error message for "no package in -PP mode" to a variable
for both reuse and code readability.

Bug Fixes
=========
1. Not finding a package (or even a package repo) should only fail()
if we are using -PP, not if we're just using -P.
2009-12-19 07:25:44 +00:00
Martin Wilke
1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00
Doug Barton
bd93253eec Update for version 2.14 2009-12-10 23:46:38 +00:00
Doug Barton
abcaff5110 Bug Fixes
=========
1. In the test for -PP being alone on the command line I forgot the
-dash at the beginning of the second test so it was falsely picking
up ports with names like p5-Devel-PPPort.

2. If you are building more than one port on the command line, and you
use --packages-build and/or --delete-build-only, and one of the ports
on the command line would otherwise qualfiy as a build-only dep, it was
falsely being treated as such. Solve this problem by adding all ports
on the command line to the run_dl_g list in multiport().

3. With the new parser if you use -v with --check-port-dbdir it's going
to be $1, not $2.

4. Don't unset the packages_init function till we're actually done using it

5. If you are using -g plus one of the --packages* options then creation
of the new package will fail since there is nothing for 'make package'
to work with. So change backup_package() to a more generic form called
pm_pkg_create and use that for both making backup packages and making
a new local package from an installed package.

6. In order to facilitate 5, update the dependency information in an
installed package's +CONTENTS file before creating the new package.

Minor Tweaks
============
1. Include the [-v] in the detailed usage() for --check-port-dbdir too

2. Make the output of --version more clear to everyone who isn't me  :)

3. If DISTDIR is its own zfs filesystem then the code to delete empty
DIST_SUBDIRs can cause problems, so special case it in its own function.

4. Remove some white space
2009-12-10 23:46:04 +00:00
Doug Barton
f17fa70b6b 1. Show that -v can be used with --check-port-dbdir
2. In the procedure for using portmaster to re-install after a major
version upgrade, list "re-install portmaster" as an actual step. [1]

Submitted by:	Kevin Oberman <oberman@es.net> [1]
2009-12-10 23:38:02 +00:00
Doug Barton
42fb40ecd6 Update for version 2.13 2009-12-07 07:15:04 +00:00
Doug Barton
8352a9251c This is svn version r200201
1. Document the new package-related features for version 2.13
2. Remove the requirement that --options be first on the command line
3. Deprecate the -p option
4. Improve the prose in a few sections, mostly removing commas and
simplifying sentences.
5. Small markup tweaks
6. Clearly indicate that +IGNOREME files only work on installed ports
7. Document that -x will work on the origin directory if there is
no installed version.
8. In the example .portmasterrc file the verbose variable needed a value
2009-12-07 07:14:40 +00:00
Doug Barton
463ef3703a Introducing portmaster with package support!
This is svn version r200206.

New Features
============
1. Support for the following new options:
	a. --packages|-P and --packages-only|-PP
	b. --packages-build
	c. --packages-if-newer
	d. --delete-build-only
	e. --always-fetch
	f. --local-packagedir
In addition to the new code this also involved making some existing
messages more generic, and customizing some others to be aware of
whether packages are in use or not.
2. New command line parser allows placement of --long-options
anywhere in the command line

Minor Tweaks and Fixes
======================
1. Make fail() less finicky about how the message is input
2. Start the process of deprecating -p since it isn't useful
any longer
3. Fix parsing of PKG_DBDIR so that we don't depend on it having
exactly 3 components. This also saves 2 external calls to cut.
4. For the --clean-distfiles[-all] options sort the list before
printing to make it easier to see when files are related.
5. Instead of repeating the tests on when to run read_distinfos()
do them once in the initialization phase then rely on whether or
not DI_FILES is set.
6. Improve some messages to make their meaning more clear

Excellent beta testing and feedback by:	Christer Solskogen

Major funding for the package code, including the --packages-build
and --packages-if-newer options was provided by Modirum MDpay.

Additional funding provided by (in no particular order):
	Jan Hornyak
	Christer Solskogen
	R Koole
	Michael Proto
	Bard Skaflestad
	Paul Lambert
	Societe ToDoo
	Andrew Belashov
	Yoriyuki Sakai
	Flemming Jacobsen
	Julian Stecklina
	Douglas Berry
	Beat Gatzi
	Christopher Dawkins
	Mark Boolootian
	Soeren Schroeder
	Christoph Sold

More information on sponsorship is available at:
http://dougbarton.us/portmaster-proposal.html

My deepest appreciation to the FreeBSD community for the outpouring
of support that allowed me to complete this portion of the project.
2009-12-07 07:14:26 +00:00
Gabor Pali
ee8eda08fb - Update HsColour to 1.15
- Bump PORTREVISION for all affected ports

PR:		ports/138567, ports/138568
Submitted by:	Ashish Shukla <wahjava (at) gmail.com>
Approved by:	maintainer
2009-12-06 20:56:55 +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
Martin Wilke
cb56096f0d - Update to Tinderbox 3.3 Release
The Tinderbox team is proud to announce the release of Tinderbox 3.3.
This release brings numerous bug fixes and some feature enhancements.
The changes include:

**HEADS UP** A static data change is included this release, so be sure
to run ``tc Upgrade''.

* A new unified logging system has been added so that all log files can
be centralized in one location.  See the README for more details on
enabling this feature.

* A collection of user-contributed Hooks has been added.  So far only
two Hooks are included.  See the contrib/hooks subdirectory for more
details.  Also, feel free to submit your Hook ideas.

* The /proc directory is now ignored when checking for leftovers.  This
fixes some false-positives when running multiple builds in parallel.

* MySQL 6.0 is now supported.

... A full changelog is available here:
http://marcuscom.com/pipermail/tinderbox-list/2009-November/001769.html

Approved by:	itetcu (maintainer implicit)
2009-12-04 23:07:44 +00:00
Stanislav Sedov
6428d704c6 - Update to latest development snapshot of portupgrade. 2009-10-29 00:45:26 +00:00
Remko Lodder
aa3d0c2333 Forgot to bump version.
Prodded by:	antoine
2009-10-26 09:17:28 +00:00
Remko Lodder
905e4a1332 Fix unmatched quote.
PR:		ports/139810
Submitted by:	bf <bf1783 at gmail dot com>
2009-10-21 08:30:57 +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
Wesley Shields
7657b34119 - 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.
- Move the deletion out of the conditional and remove (now) redundant RM
  commands.

Approved by:	itetcu (maintainer)
Feature safe:	yes
2009-09-18 16:00:40 +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
Martin Wilke
869f6f713f - Add support for FreeBSD 9.0
Approved by:	itetcu (maintainer implicit)
Feature safe: yes
2009-09-17 14:03:33 +00:00
Doug Barton
e91dad25f9 Update for version 2.12
Add OPTIONS to install programmable completion files for Bash and zsh.
The Bash file is mine, the zsh file and installation suggestions are
from the PR. Additional testing for the zsh completions from garga.

PR:		ports/127319
Submitted by:	Shota Iwazaki <iwazaki8@yahoo.co.jp>
2009-09-15 08:23:19 +00:00
Doug Barton
5979c0efa6 Update for version 2.12:
1. Document new --list-origins feature
2. Indicate that -x can be used more than once
3. EXAMPLES for both
2009-09-15 08:20:26 +00:00
Doug Barton
62287a57b1 New Features
============
1. The -x option can now be specified more than once.
2. The --list-origins option will list origins from root and leaf ports
for use in rebuilding all ports (for example after a major version upgrade).
This requires moving ports_by_category() up into the --features section

Improvements
============
1. Error checking for -f and -i now fails instead of silently unsetting -i
2. In dependency_check():
a. Switch to $origin instead of $d_port in several places to make the
messages to the user more clear and consistent
b. $origin is also better for check_interactive()
c. Move check_exclude down to after CONFLICTS check, and use $iport
if it exists. This is more consistent with how check_exclude() usually
works
3. Prefix DEPTH, PARENT_PID and EXCL environment variables with PM_
4. Tighten up multiport by saving confirmed directories into a temporary
list, then running check_exclude() and check_interactive() against
each item of the temporary list, then adding to the final list
5. Execute make in a subshell and unset some of the more unwieldy
environment variables in that shell. (Suggestions and testing by avg)

Details for -x:
===============
1. Since there may be multiple arguments for PM_EXCL, use export not $ARGS
2. Move the error checking into getopts
3. In check_exclude() go through each pattern in turn
2009-09-15 08:18:57 +00:00
Martin Wilke
77c351c50f portrac is a simple GUI tool for tracking port updates.
It's based on Qt4 and it integrates with the system tray.
portrac shows a simple list of the available updates to
the installed ports on the local machine i.e. shows the
ports that have updates.

WWW:	http://portrac.e-soul.org/

PR:		138780
Submitted by:	Mario Pavlov <mgp@e-soul.org>
2009-09-13 12:39:13 +00:00
Mark Linimon
f98bfd68c6 Add 2 new patches being tested by flz@ in the next -exp run: uid/gid
cleanups; GNU_CONFIGURE_PREFIX fix.
2009-09-12 19:17:22 +00:00
Sergei Kolobov
04c789ab6e - Update to 0.99
- Remove patches integrated upstream
2009-09-09 21:02:22 +00:00
Mark Linimon
16373b6ee0 Catch up with master 1.627. While here, include the latest version of
the bsd.perl.mk-related changes.
2009-09-07 16:18:30 +00:00
Gabor Pali
7d5781e5ab - Update GHC and Haskell ports to 6.10.4 (for both i386 and amd64), bump
port revision where appropriate
- Add devel/hs-ghc-paths
- Add devel/hs-QuickCheck
- Add devel/hs-readline
- Add devel/hs-haskeline
- Add devel/hs-mmap
- Remove lang/ghc-doc
- Mark devel/lhs2TeX broken as it does not compile with GHC 6.10.4
- Set NHC98 as default compiler for devel/hs-hat as it does not compile
  with GHC 6.10.4

PR:		ports/137055, ports/137058, ports/137059, ports/137060, ports/137061,
   		ports/137062, ports/137063, ports/137063, ports/137064, ports/137065,
   		ports/137066, ports/137067, ports/137068, ports/137069, ports/137070,
   		ports/137071, ports/137072, ports/137074, ports/137075, ports/137076,
   		ports/137077, ports/137078, ports/137079, ports/137080, ports/137081,
   		ports/137082, ports/137083, ports/137084, ports/137085, ports/137086,
   		ports/137087, ports/137088, ports/137090, ports/137091, ports/137092,
   		ports/137093, ports/137094, ports/137095, ports/137096, ports/137097,
   		ports/137098, ports/137099, ports/137102, ports/137103, ports/137104,
   		ports/137107, ports/137108, ports/137109, ports/137110, ports/137111

Submitted by:	Jacula Modyun (jacula (at) gmail (dot) com),
             	Ashish Shukla (wahjava (at) gmail (dot) com) (amd64 support)
Supported by:	wxs (review, amd64 testing), tabthorpe (8.x testing)
Approved by:	tabthorpe (mentor), respective maintainers
2009-09-02 15:38:45 +00:00
Dmitry Marakasov
dd465484e3 - Update to 0.15
- While here, also mark MAKE_JOBS_UNSAFE (fails to build sometimes with forced jobs)

PR:		137766
Submitted by:	Wei-Yu Chen <weiyu.csie+pver@gmail.com> (maintainer)
2009-09-01 23:11:13 +00:00
Marcelo Araujo
1fb03ea274 - Update to 1.3.
PR:		ports/138322
Submitted by:	Sylvio Cesar <scjamorim@bsd.com.br>
Approved by:	Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
		(maintainer)
2009-08-30 23:24:22 +00:00