Commit graph

1121 commits

Author SHA1 Message Date
Joe Marcus Clarke
4da8cefd2f Update to 2.9.2.
* Replace a dead autotools link with a FreeBSD-based link instead [1]
* Replace USE_*_VER with USE_AUTOTOOLS instead [2]
* Check for a valid EXPIRATION_DATE [3]

PR:		104042 [3]
Requested by:	piotr.smyrak@heron.pl [1]
Reported by:	ahze [2]
Submitted by:	vd [3]
2006-11-25 20:02:50 +00:00
Sergey Matveychuk
379dd8e3bb - Update to 2.2.2. New stable version.
Most visible changes are:
  * Database files locking. Only one process can write to them
    in the same time.
  * pkgdb -F is more smart now and takes OPTIONS, make.conf and
    pkgtools.conf settings into account.

  Moreover:
  * Many bugs fixed.
  * Many code refactored.
2006-11-21 17:17:41 +00:00
Sergey Matveychuk
df72a20af1 - Update to 2.2.2
Fix a little (rarely appeared) problem with locking.

Reported by:	Lowell Gilbert <freebsd-ports-local@be-well.ilk.org>
2006-11-18 19:16:56 +00:00
Vasil Dimov
fcbd5fa398 * Upgrade sysutils/portsearch from 1.2.3 to 1.3.0, changes:
o Added new output option: `rawfiles' to request outputting only matched
  pfiles one by line
o Changed -b option to be the same as -f '(^|/)file$' instead of -f '/file$'
o Added new option -L to mimic -p path -f '.*' -o rawfiles i.e. show all
  pfiles for (usually) one port. Inspired by pkg_info -L pkgname
o Ignore case by default and add -S option to force case sensitivity

* Remove my name from pkg-descr
2006-11-15 12:12:29 +00:00
Stefan Walter
17baac639a Update to 20061113. 2006-11-13 18:39:09 +00:00
Sergey Matveychuk
3bff0404b8 - Upgrade to 2.2.1
* Raise an error when MOVED file has a wrong format instead of a weird
  ruby error. (Reported by kris@FreeBSD.org).

* Fix a bug when -P always treated as -PP.

* Change PORT_UPGRADE environment variable with UPGRADE_PORT (contains
  a package name for updating port) and UPGRADE_TOOL=portupgrade.
  Discussed with skv@FreeBSD.org and DougB@FreeBSD.org.
2006-11-12 19:39:17 +00:00
Ion-Mihai Tetcu
821c8656a9 - update to 2.3.3
- allow o RUN_DEPEND on LightHTTPD (for now apache is still brought in by php)
[1]

PR:		ports/105259 [1]
Submitted by:	shaun@ [1]
2006-11-10 20:27:25 +00:00
Sergey Matveychuk
510f6f635b * Change WWW line.
wiki is the same as wikitest but looks better.

Inspired by:	developers@
2006-11-10 11:19:26 +00:00
Sergey Matveychuk
c69658ad1b Add a FreeBSD wiki page as a home page. 2006-11-08 18:18:59 +00:00
Sergey Matveychuk
9ce460d105 - Update to 2.2.0
* Respect INDEXDIR after fetching INDEX (Andrew Pantyukhin <sat@FreeBSD.org>)
* Add --batch opition.
* Add --without-env-upgrade option.
* Remove -DPACKAGE_BUILDING (it was in fetch-only mode) because it's only
  for build cluster, not users. (Pointed out by kris@FreeBSD.org)
* Add detection of stale lock files. They can stay if one of tools suddenly
  terminated.
* Improve pkgdb -F - respect OPTIONS and pkgtools.conf settings.
2006-11-06 19:51:14 +00:00
Andrew Pantyukhin
4974ea803b - Fix bsd.port.mk patch
PR:		ports/104551
Submitted by:	Robert Woolley <freebsd@rwoolley.com>
2006-11-04 10:23:31 +00:00
Alejandro Pulver
16127d75e5 pkg_replace is used to upgrade installed packages.
It is compatible with portupgrade and can be used as
an alternative to portupgrade and portmaster.

WWW: http://portutil.sourceforge.jp

Securedog <securedog@users.sourceforge.jp>

PR:		ports/104971
Submitted by:	Securedog <securedog at users.sourceforge.jp>
2006-11-01 01:34:38 +00:00
Kris Kennaway
e5d133e492 BROKEN: Does not compile
Approved by:	portmgr (self)
2006-10-15 19:58:39 +00:00
Ion-Mihai Tetcu
aa8ce5cc02 - it doesn't work with MySQL below 4.1.x because it uses sub-selects
- also fix broken INDEX if Mysql 3.23.x is installed [1]

Submitted by:	vd [1]
Approved by:	portmgr (marcus)
2006-10-14 21:02:49 +00:00
Doug Barton
1aed3284ba Update for new version 1.9 2006-10-06 21:51:15 +00:00
Doug Barton
e7d3f231ee New Features:
=============
1. You can now specify multiple ports to upgrade on the command line,
such as 'portmaster foo-1.23 bar-4.56 baz-7.98'. [1] Pass -n argument
to child processes (as needed) to handle this case.
2. Handle an alternate port that can satisfy a build requirement by
reading the CONFLICTS for the "standard" port, and seeing if we have
one of those installed. [1]
3. Unless the user specifies the new -B option, always build a backup
package when updating an existing port. Unless the user has specified
the -b option, delete the package on successful installation of the
new port, or print a helpful message telling the user where they can
find the package if install fails.
4. Don't only test a port for IGNORE, also test FORBIDDEN and BROKEN
to avoid doing a lot of work on dependencies for a port that we aren't
going to install.

Big Improvements:
=================
1. Significantly enhance the -r option by tracking what ports should
be rebuilt as a result of it, and rebuilding them "in line" if they
are dependencies of other ports that should also be rebuilt. Thus,
make sure that these ports get rebuilt once, and only once. Also,
don't rely on just the installed port's +REQUIRED_BY file to get the
list of dependencies, since it may be out of date. Search the pkg tree
for that port's DEPORIGIN to make sure that we get them all.
2. Track answers to ports that have +IGNOREME files, so the user is
not asked twice.
3. Rather than use all-depends-list to handle dependencies, use a
combination of build-depends and run-depends. This seems to get
everything we actually need, without sucking in a lot of stuff we don't.
4. Stop abusing the config_only mode, and make a clear separation
between first run (if any) and build run that does not depend on it.
This makes -G mode work as intended, with no bad side effects. [1]

Small Improvements:
===================
1. Add PREFIX/sbin to the PATH [1]
2. Cache "no" answers when using -i ("yes" was already cached).
3. If pkg_version thinks that two versions are the same even though
they have different pkg names, don't warn the user.
4. Clean up package code a little.
5. Twiddle the "waiting on" message for fetch & checksum.
6. If a user has a stale +REQUIRED_BY file in a pkg directory, print a
helpful message that suggests how to fix it. [2]
7. Don't tell a user about a -r port to rebuild if we're not going to
rebuild it for whatever reason.

Bug Fixes:
==========
1. Clean up trailing white space.
2. If the pkg data is corrupt, a search for installed port by ORIGIN
could return more than one answer. So, use only the first answer.
3. In dependency_check(), if a port has moved, check the new location
to see if it needs updating.
4. If there are no valid ports to build based on the command line
args, don't try to build /usr/ports/ [3]

[1] Suggested, debugged, and generally helped greatly by mezz
[2] Wondered about by yar
[3] Reminded by Bill Blue
2006-10-06 21:50:29 +00:00
Rong-En Fan
94f8f411d1 - Update to 20061003
PR:		ports/103934
Submitted by:	Sulev-Madis Silber <madis555 at hot.ee> (maintainer)
2006-10-04 05:47:49 +00:00
Boris Samorodov
4751668a55 - fix the portsnap dependency for systems where it is already in base; [1]
- make sure we don't overwrite user's configuration file in case of     [1]
  upgrade;
- bump PORTREVISION.

PR:		103858  [1]
Submitted by:	Sulev-Madis Silber <madis555 at hot.ee> (maintainer)    [1]
2006-10-01 11:05:32 +00:00
Martin Wilke
257b3ba563 - Update to 20060929
PR:		ports/103809
Submitted by:	Sulev-Madis Silber <madis555(at)hot.ee> (maintainer)
2006-09-30 11:07:42 +00:00
Ion-Mihai Tetcu
3ea5caa2a6 Actually put something in files/patch-setup.sh and fix left-overs on deinstall.
Submitted by:	pointyhat via kris
2006-09-27 20:39:17 +00:00
Stanislav Sedov
0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00
Mark Linimon
155b7743fc Update to the latest version being tested on i386-6-exp on pointyhat. 2006-09-20 08:01:59 +00:00
Ion-Mihai Tetcu
fe40b60865 - Net/SMTP.pm and Digest/MD5.pm are both installed with perl 5.8.x so drop them
from RUN_DEPENDS and add files/patch-setup.sh to patch the distribution [1]
- allow creation of a Build that is a substring of an existing one
( files/patch-create) [2]
- bump PORTREVISION

Submitted by:	oliver [1], bsam and marcus [2]
Requested by:	marcus [1]
2006-09-18 20:20:09 +00:00
Rong-En Fan
b2b1a64267 - Update to 1.8
PR:		ports/103325
Submitted by:	Matthew Seaman <m.seaman at infracaninophile.co.uk> (maintainer)
2006-09-17 15:37:31 +00:00
Mark Linimon
07c642fb5e Bring this up to the patches in ports/102300 and ports/102514, which are
currently being tested on the cluster.
2006-09-15 07:36:05 +00:00
Mark Linimon
e47df16d7d Update to ports/Mk/bsd.port.mk 1.541. 2006-09-15 07:13:23 +00:00
Mark Linimon
b1579fbe58 Re-add definition forgotten in last checkin. 2006-09-14 06:50:46 +00:00
Colin Percival
80f6c8cd1f Turn
IGNORE=	"foo now contained in the base system"
into
IGNORE=	"is now contained in the base system"
since the code which prints this string prefices it with the package
name.

Suggested by:	kris
2006-09-13 05:24:34 +00:00
Alex Dupre
66be1c780c Add explicit support for comments and empty lines in ports.conf.
PR:		ports/102914
Submitted by:	Hans Lambermont <hans@lambermont.dyndns.org>
2006-09-06 12:50:31 +00:00
Cheng-Lung Sung
6d4a92f5ac - Update to 0.2.5
- Addition of -W option and minor bug fixed where whitespace at begin/end of
  portglob argument was not properly rejected.

PR:		ports/102695
Submitted by:	maintainer (Martin Kammerhofer)
2006-08-30 15:14:00 +00:00
Jean Milanez Melo
539f72eaa7 - Update mastersites.
PR:		ports/102480
Submitted by:	Andreas Fehlner <fehlner@gmx.de> (maintainer)
2006-08-25 17:32:55 +00:00
Sergey Matveychuk
2ace452a38 - Fix descriptions in pkgtools.conf to be obviouslier. [1]
- Fix s pointyhat URL for package direcories.

PR:		ports/102417 [1]
Reported by:	Ryan Wehler <mindflux98@gmail.com>
2006-08-25 12:46:50 +00:00
Sergey Matveychuk
9a6aae0de8 - Update to 2.1.3.3.
A few fixes merged from developing version, patches integrated.
2006-08-23 10:02:46 +00:00
Doug Barton
741ddf72fe Update for version 1.8 2006-08-23 05:46:15 +00:00
Doug Barton
07a24c904b New Feature
===========
If a port is marked IGNORE, don't do all the dependency/checksum work,
instead bomb out with a helpful message

Minor Fixes
===========
1. Add some whitespace to make the "dependency check complete" message
stand out better
2. Tell the user when we start pkg_delete in -s mode, just like in -e

Bug Fixes
=========
1. Export MAKE_ARGS so that the child checksum processes can see them
2. Move the "just in case" cd back to $portdir up one line so it's
before 'make clean', just in case
2006-08-23 05:45:44 +00:00
Mark Linimon
0963c5f0b6 Catch up with ports/Mk/bsd.port.subdir.mk r1.65. 2006-08-17 07:12:56 +00:00
Mark Linimon
2481d44934 Catch up to ports/Mk/bsd.port.mk r1.540. 2006-08-17 07:11:34 +00:00
Martin Wilke
be730b8600 - Respect DESTDIR
PR:		ports/102011
Submitted by:	Matthew Seaman <m.seaman(at)infracaninophile.co.uk>
Approved by:	krion (mentor)
2006-08-16 05:51:17 +00:00
Rong-En Fan
673fdfcdc7 - Update to 0.2.4
Use bash rather than /bin/sh to add -I option (case insensitive globbing).

PR:		ports/102020
Submitted by:	Martin Kammerhofer <dada at pluto.tugraz.at>
Approved by:	Martin Kammerhofer <mkamm at gmx.net> (maintainer)
2006-08-15 16:44:19 +00:00
Cheng-Lung Sung
c54010f434 - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include security/ sysutils/ textproc/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-15 01:04:55 +00:00
Sergey Matveychuk
3fb955a056 - Update to 2.1.7 2006-08-14 18:09:33 +00:00
Doug Barton
178553ea50 Update for new version 1.7 2006-08-12 09:05:46 +00:00
Doug Barton
3613ada588 Update for new expunge feature in 1.7, and generally improve markup 2006-08-12 09:04:48 +00:00
Doug Barton
24eb87d739 New Features
============
1. -e mode to expunge a port via pkg_delete, and optionally
remove its distfiles
2. -s and -e modes now respect -b (backup) and -d|D options
regarding always deleting (or not deleting) distfiles

General
=======
1. Re-factor more code out into functions, and move them earlier in the
script so that they are available to the new features.
2. Clean up the code in a few places to make it slightly more efficient,
and a lot more readable.

Bug Fixes
=========
1. Fix exit status of various code paths to be more in keeping
with Unix tradition [1]
2. Be a lot more thorough about killing off errant children when
the user hits ^C [1]
3. If the directory referred to by PKGREPOSITORY exists, use it
to store packages built for -b and -g instead of HOME [2]

My thanks to both Darren and James for their patience and testing
of several development versions to nail down bugs 2 and 3.

Brought to my attention by: Darren Pilgrim <darren.pilgrim@bitfreak.org> [1]
Brought to my attention by: James O'Gorman <james@netinertia.co.uk> [2]
2006-08-12 09:04:03 +00:00
Joe Marcus Clarke
e17a20be47 Respect DESTDIR.
PR:		101675
Submitted by:	gabor
2006-08-11 15:52:23 +00:00
Sergey Matveychuk
560d04ceff - Make fetch(1) quiet when STDOUT is not a tty (as it was before).
PR:		ports/101341
Requested by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2006-08-09 17:17:22 +00:00
Doug Barton
20a7db3c93 Update for version 1.6. 2006-08-07 19:13:42 +00:00
Doug Barton
f24160d1b1 New Features
============
1. -L mode to list all installed ports, and search for updates.
2. Trap SIGINT, and use the opportunity to reap all the child processes
we can find.
3. Warn the user during config mode if a port sets IS_INTERACTIVE
4. Support +IGNOREME files in /var/db/pkg/<portname>, ala portupgrade
5. Store the results of the user's choices for -i during config, so they
don't have to enter it again during build
6. When deleting stale distfiles, recurse through successively shorter
versions of file-name-* till we find something to delete, or run out
of dashes. This means a lot fewer false positives, although the
algorithm is still aggressive.

Performance Optimizations
=========================
1. Skip dependency check prior to build if the 'make config' recursion
does not find any ports that need updating.
2. Cache the dependency list for the parent port.
3. -s mode is now recursive, so if a removed port has dependencies,
they are checked too. Remember what ports the user does not want to
delete so they don't have to keep saying "no."
4. Much better support for failed downloads in the background, and the
'make checksum' process is only run once for each port.
5. Switch to using variables and case rather then grep to maintain state
for current dependencies, answers for -i, etc.
6. Re-order some tests to micro-optimize do_update, etc.
7. Handle regular files in /var/db/pkg more efficiently
8. Track the pid of the parent process, and use that to manage state
more efficiently. Also makes for more readable code.
9. Don't clean dependencies, since we don't recurse through them using
the ports tree, we'll let each portmaster process handle it.
10. Cache information about dependencies that are already up to date
to avoid having to do this check when not necessary. This dramatically
improves performance for building/updating large ports (especially
meta-ports like gnome or kde) with a lot of dependencies.

Bug Fixes
=========
1. Add -f to pkg_delete in -s case
2. Reverse the "is required by" statements to make more sense for -r
3. Add PATCHFILES to the list of distfiles to delete when looking for
stale distfiles
4. Minor cleanups, and better code consistency
5. usage() already exits, so clean up h) getopt
6. Add a catchall getopt so user will get usage() for an invalid option
7. Update some messages to make them more meaningful and simplify code
8. Fix specifying second option to -o in <category/portname> format
9. Properly handle the case where the second argument to -o is a port
that is already installed
10. Don't mention the 'make config' step if -G

Security Enhancement
====================
1. Be more careful to only delete temp files if they haven't already been
deleted or moved
2006-08-07 19:13:20 +00:00
Renato Botelho
627650ef9d - Fix PLIST: Remove locale dirs not contained in BSD.local.dist
- Add USE_GETTEXT and INSTALLS_ICONS

PR:		ports/101491
Submitted by:	Stanislav Sedov <ssedov at mbsd.msk.ru>
2006-08-07 11:42:55 +00:00
Joe Marcus Clarke
439fd9185c Actually check to see if $seen_special is set before checking the number
of plist items.
2006-08-06 22:36:45 +00:00