Commit Graph

1284 Commits

Author SHA1 Message Date
Doug Barton
bbdb8e2a32 Update for version 1.20 2007-08-27 22:48:55 +00:00
Doug Barton
f2dbeb52f9 Improvement
===========
1. Before calling pkg_create for the installed version of the port,
cd into the PKGREPOSITORY directory. This not only simplifies the code,
it helps handle the problems of ports trees mounted read-only. [1]
2. Factor out initialization of the $pkgrep directory into a function.

Bug fixes
=========
1. Before calling 'find ${pkgrep}/ ... -delete' assert that $pkgrep is
not empty.
2. Make sure that $pkgrep is initialized everywhere it's needed.

Suggested by:	Hans Lambermont <hans@lambermont.dyndns.org> [1]
2007-08-27 22:48:24 +00:00
Edwin Groothuis
42ed7927bc Fix building of autotools after the large rename earlier
Reviewed by:	miwi
2007-08-19 06:49:12 +00:00
Joe Marcus Clarke
c77cb6ec93 Update to 2.9.5.
* Consolidate lines that end in a '\' followed by an empty line into one
  newline prior to splitting the Makefile into sections.  This will more
  properly catch section-related errors [1]
* Properly check pkg-config files when they contain an embedded '.' [2]
* Allow pkg-plist directive @cwd by itself which means to change the working
  directory back to the original PREFIX [3]
* Beef up the warnings around DOCSDIR, EXAMPLESDIR, and DATADIR so that
  users don't just use these macros without knowing if they are safe [3]
* Check for use of --mandir and --infodir [4]

PR:		112332 [1]
		115455 [4]
Submitted by:	rafan [4]
		sat [2]
Requested by:	pav [3]
2007-08-17 17:11:40 +00:00
Martin Matuska
3e06c37cd3 - Update to 1.4
PR:		ports/115587
Submitted by:	Andy Kosela <andy.kosela at gmail.com> (maintainer)
2007-08-17 08:42:35 +00:00
Andrew Pantyukhin
50a66482aa - Update maintainer's e-mail address in port and in distfile
PR:		ports/115131
Submitted by:	Kim Naim Lesmer <kim@usebsd.com> (maintainer)
2007-08-15 18:08:13 +00:00
Vasil Dimov
2f7f551ef1 * Upgrade ports-mgmt/portsearch from 1.3.0 to 1.3.1
* Add http://people.freebsd.org/~vd/portsearch/ to MASTER_SITES because
  ~/public_distfiles is distributed soo slow to the cluster or not
  distributed at all.
2007-08-12 04:40:43 +00:00
Rong-En Fan
5852e7838f - Update to 1.3
PR:		ports/115268
Submitted by:	Andy Kosela <andy.kosela at gmail.com> (maintainer)
2007-08-11 10:06:30 +00:00
Mark Linimon
60c62198eb Catch up with master 1.72. While here, remove the usual test code that
creeps in.
2007-08-10 23:33:02 +00:00
Mark Linimon
1e918f114b Catch up with master 1.580. 2007-08-10 23:32:08 +00:00
Martin Wilke
b65fe56db4 - Update to 2.0
* Now tracks changes to OPTIONS settings, and the effect those
 have on port dependencies.

 * Cleanup of warning and error messages -- new 'Warnings'
 configuration variable to turn them on/off

 * New 'Strict' configuration option -- at the moment this just
 enforces a check that all ports are referenced from the
 category Makefile in the directory above. May be extended to
 other items later.

 * New 'CrunchWhitespace' configuration option -- emulate the way
 that 'make index' collapses multiple whitespace into single in
 port description lines.

 * Internal changes to data structures, cache file locking
 etc. which will be needed to support multithreaded cache
 initialization / update (It is coming... eventually). One
 consequence is that there is no longer a dependency on
 Storable.pm

 * Mk/bsd.commands.mk and Mk/bsd.destdir.mk added to the list of
 Makefiles where changes are not expected to affect the INDEX.

 * Bugfix -- correct programming error when picking out changes to
 lists of SUBDIRs in category Makefiles.

 Note: You will have to reinitialize the ports cache when updating.
 Unfortunately, due to the changes in BerkeleyDB locking / concurrent
 access, version 2.0 code cannot even open the version 1.9 data cache.

PR:		115222
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
2007-08-05 22:50:04 +00:00
Doug Barton
f7d72531d7 Update for version 1.19 2007-08-05 05:04:58 +00:00
Doug Barton
096b99a715 1. Change to 'make -f/usr/share/mk/bsd.port.mk' in several places due to
the DESTDIR changes today.
2. Export pd, pdb, and distdir to avoid having to look them up each time
3. Streamline find_moved() by grepping for lines, and then recursing
4. Further streamline by using variable stripping instead of cut
2007-08-05 05:04:14 +00:00
Kris Kennaway
4d78aa0bda Reset bouncing maintainer email:
<tom-freebsdorg@hukins.freeserve.co.uk>: host
    mail-in.freeserve.com[193.252.22.141] said: 550 Error: Message content
    rejected <565a4052e34b8ddc44ec45458da4b976> (in reply to end of DATA
    command)
2007-08-04 18:48:22 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Alexander Botero-Lowry
4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00
Marcelo Araujo
26ff8037dd - Update master site.
- Update maintainer's email address.

PR:		ports/114956
Submitted by:	Kim Naim Lesmer <kim@usebsd.com> (maintainer)
Approved by:	pav (portmgr, in mentor's absence)
2007-07-30 01:17:39 +00:00
Kris Kennaway
781dd14cde Retire obsolete PARALLEL_PACKAGE_BUILD in favour of PACKAGE_BUILDING. 2007-07-29 19:16:39 +00:00
Mark Linimon
bf9d949741 Sync with master 1.577. 2007-07-28 04:30:31 +00:00
Chin-San Huang
7a6178fd1c - Update to 1.2.
PR:		ports/114675
Submitted by:	Andy Kosela
Approved by:	rafan (mentor)
2007-07-23 10:54:18 +00:00
Mark Linimon
9b5325f63d Add back the DEVELPORTSDIR definition, which was lost in the last merge.
This, um, turned off the portmk functionality.

Pointy hat to:	linimon
2007-07-22 06:40:58 +00:00
Mark Linimon
1af6a5a630 Fix one-line mismerge. 2007-07-18 18:29:23 +00:00
Mark Linimon
86896d9906 Sync with master 1.70. 2007-07-18 18:21:57 +00:00
Mark Linimon
93c8c8806a sync with master 1.575. 2007-07-18 18:21:32 +00:00
Martin Wilke
77e0fbdfde - Update to 1.1
PR:		114463
Submitted by:	Andy Kosela <spear@aegis.um.lublin.pl> (maintainer)
2007-07-10 07:43:01 +00:00
Doug Barton
40fcd6e83d 1. Update for version 1.18
2. I'm told if DISTFILES is empty, the fake do-fetch target is not needed
2007-07-08 06:37:42 +00:00
Doug Barton
60536b36b2 Bug Fixes
=========
1. If we are doing --show-work, don't launch background processes
that are only useful for real builds.
2. Fix a rather obscure bug that can only happen:
IFF you are doing an install of a new port, and
IFF you have a dependency "early" in the list with an +IGNOREME file, and
IFF you have one or more dependencies "late" in the list that are not
installed. The bug is a false positive on the +IGNOREME for the uninstalled
ports. The solution is to reset the "port to test for +IGNOREME file"
variable each time through the loop. This will usually be a noop, but it
costs almost nothing in any case.
2007-07-08 06:35:35 +00:00
Chin-San Huang
0081a31c47 - Connect the lost ports-mgmt/bpkg.
It's a mystery.. :~

Noticed by:	erwin
Approved by:	rafan (mentor)
2007-07-05 17:18:08 +00:00
Chin-San Huang
e44dee02b7 - Remove unused target.
Noticed by:	sat
Approved by:	maintainer, rafan (mentor)
2007-07-04 12:12:01 +00:00
Sergey Matveychuk
9e6c9f408e - Remove scared sentence from pkg-message
Asked by:	krion
2007-07-03 14:28:01 +00:00
Chin-San Huang
03b8149696 Add bpkg 1.0, simple tool for managing FreeBSD packages/ports.
PR:		ports/114064
Submitted by:	Andy Kosela <andy.kosela at gmail.com>
Apporved by:	rafan (mentor)
2007-07-03 14:17:22 +00:00
Sergey Matveychuk
8be9e8c887 - Sync with portupgrade port version till a new devel version will appear. 2007-07-03 11:42:15 +00:00
Sergey Matveychuk
65b5209a90 - Update to 2.3.1. Many people test it and it looks good.
To upgrade back from portupgrade-devel use the command:
  portupgrade -o ports-mgmt/portupgrade portupgrade-devel
2007-07-03 11:13:38 +00:00
Sergey Matveychuk
22fe409247 - Fix a bug with -o option
Reported by:	many
2007-06-28 10:37:32 +00:00
Hiroki Sato
5292123396 Update to 0.5.20050618. 2007-06-25 15:03:38 +00:00
Ion-Mihai Tetcu
d84e5b7f1f Tindy lives in ports-mgmt, not misc.
Submitted by:	"Gabor Tjong A Hung" <g.v.tjongahung@gmail.com>, linimon@
2007-06-25 10:25:55 +00:00
Rong-En Fan
5c12abaec6 - Make portconf work when /usr/ports is a symlink. When the link is changed,
you have to reinstall portconf to get make.conf right.

As this does not affect most people, PORTREVISION is not bumped.

The patch in the PR does not work: we can not use variable in substitution.
So, the only way to do is to detect the real path of /usr/ports at
installation time.

PR:   	      	ports/104838
Submitted by:	rafan
Approved by:	maintainer timeout (8 months)
2007-06-22 10:41:01 +00:00
Ion-Mihai Tetcu
7ce9298312 Tinderbox 2.4.0 - New feature release:
- Hooks : A hook is a "callout" which gives Tinderbox the ability to run custom
code at pre-determined times. For example, you can establish a Hook to run just
before a Port is built, after a Build is extracted, before a PortsTree is
updated, etc. Pre-condition hooks can even cause an operation to terminate if
so desired. The new commands to manipulate Hooks are tc listHooks and
tc updateHookCmd.
- OPTIONS processing : If you enable OPTIONS support in Tinderbox, you can have
tc addPort automatically prompt you to configure OPTIONS. Just run tc addPort
with the new -o argument, and you will be prompted with the usual dialog(1)
screen to configure OPTIONS. OPTIONS configuration will happen recursively if
the -r argument is specified, and non-recursively otherwise.
- Failed dependents tracking : If a port fails to build, it will update the
datastore for all of its dependents so that they will be reported as
pseudo-failed. That is, they will have a unique appearance in the www-exp
frontend to indicate that they were not built because a dependency failed.
- Port build duration is tracked and an estimated time to completion is now
shown in the www-exp frontend.
- The /usr/X11R6 symlink is now ignored and not treated as a leftover.

Note: This release comes with a pretty hefty schema change, so one must run
upgrade.sh to add the new schema elements.
2007-06-19 07:51:38 +00:00
Shaun Amott
0bafb7f7e5 - Update to 0.7.3, which fixes several minor bugs.
- Add some preliminary switches for other databases.
- Add a MASTER_SITES mirror.
2007-06-15 18:18:32 +00:00
Joe Marcus Clarke
a30daca963 Update to 2.9.4.
* bsd.php.mk can now be included after bsd.port.pre.mk [1]
* Tighten the check on *_DEPENDS so that it only looks at BUILD, FETCH, PATCH,
  LIB, and RUN DEPENDS [2]

PR:		110461 [1]
Submitted by:	Alexander Logvinov <ports@logvinov.com> [1]
Reported by:	Alexander Logvinov <ports@logvinov.com> [2]
2007-06-09 19:02:10 +00:00
Doug Barton
c0f32886e4 Update for version 1.17 2007-05-27 08:10:54 +00:00
Doug Barton
5b10dfb3b9 New Features
============
1. Keep a temporary flag that indicates a port has already been upgraded
during a -r or -f update, and add a -R (retry) option to let the user
skip those ports on subsequent attempts if the first update is interrupted.
2. Change the default behavior to use 'make config-conditional' to
take advantage of the recent enhancements to the OPTIONS functionality.
3. Add a new --force-config flag to use the old behavior of doing
'make config' for every port.
4. Don't delete backup packages until the original (parent) portmaster
process has finished successfully. That way if an update fails, the user
can back out the whole thing.
5. Add -w option to save old shared libraries from an installed port.
6. Add -x option to avoid building ports that match the glob pattern.
7. Split tracking of build and run depends to before and after the
port build respectively.

Enhancements
============
1. If the user interrupts the update, search for errant dialog
processes as well as errant portmaster child processes.
2. Avoid invoking pkg_version in check_for_updates() if the installed
version is already up to date.
3. Call pkg_info for seemingly stale dependencies (-s) so user has
a better idea what he's being asked to delete.
4. Use -DBATCH when calling 'make checksum' in the background so that
ports that have pre-everything dialogs no longer cause runaway dialog
processes.
5. Add BEFOREPORTMK=yes where it can be used to speed things up.
Thanks to Stephen Montgomery-Smith <stephen@math.missouri.edu>
6. Be smarter about not starting read_distinfos in the background if
there is no need to, and be more aggressive in killing it off when
we're done.
7. Make read_distinfos quieter to avoid printing confusing messages
out of synch with the foreground process.

Changes
=======
1. Use the PKGREPOSITORY directory for all packages, create it if it
doesn't already exist.
2. If we fail(), call one of {trap|safe}_exit to do a better job of
cleaning up after ourselves.
3. Make failures of various commands silent when we provide our own
error message.
4. Make killing background processes generally much quieter.

Bug Fixes
=========
1. In check_for_updates(), when FORCE is on, don't skip an up to date
port.
2. Change MAKE_ARGS to PM_MAKE_ARGS to avoid collisions with ports that
use the former already.
3. Fix grammar in a usage() line, add details for --show-work, and
other various improvements.
4. Move the clean target to after (optional) 'make package' to avoid
having to rebuild the port.
5. Only try to update the +CONTENTS file if it exists.
2007-05-27 08:10:33 +00:00
Kris Kennaway
add90dd319 BROKEN with gcc 4.2 2007-05-26 20:38:49 +00:00
Martin Wilke
a6cad36bb5 - Update to 2.3.6
From the Announce:

Tinderbox 2.3.6 has been released to address the change of X11BASE
from /usr/X11R6 to /usr/local.  A few other bugfixes are also included.
All users are encouraged to upgrade.  When you do, you will have to
manually copy rawenv.dist to rawenv to get the X11BASE change to take
effect.

Approved by: portmgr (pav) itetcu@ (maintainer)
2007-05-20 12:00:40 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Sergey Matveychuk
d62e726ca9 - Remove a junk chunk 2007-05-01 18:07:31 +00:00
Sergey Matveychuk
13e98048db - Remove superfluous patch 2007-05-01 18:04:05 +00:00
Sergey Matveychuk
cab9e22576 - Fix a few bugs that affected on planned xorg updating.
Pushed by:	kris
Thanks to:	az for a computer for tests
2007-05-01 17:57:28 +00:00
Kris Kennaway
bcc0df6812 Change BROKEN to IGNORE to prevent package build 2007-04-30 02:46:32 +00:00
Mark Linimon
29b7e35c2e Bring this up to master r1.565. 2007-04-26 06:44:51 +00:00