1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
Commit Graph

1086 Commits

Author SHA1 Message Date
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
Joe Marcus Clarke
178abbd25e Update to 2.9.1.
* Add a check for direct use of sysctl(8). [1]
* Add a check for use of the deprecated macro INSTALLS_SHLIB, and point people
  to USE_LDCONFIG instead. [2]
* Add a check for plists with less than 6 items, and point people to
  PLIST_FILES instead. [3]

PR:		100472 [1]
		91933 [2]
		100190 [3]
Submitted by:	Babak Farrokhi <babak@farrokhi.net> [1]
2006-08-06 21:44:18 +00:00
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00
Cheng-Lung Sung
857f21d17b - update to 1.7
- from Changes
  - Following some useful e-mail discussions with Mark Linimon
    and Dan Langille, switch to using the MASTER_PORT variable
    to detect master/slave relationships between ports.
    MASTER_PORT will be set in every slave port whereas
    MASTERDIR doesn't have to be.  Here a slave port is one
    defined as using port metadata from some other port, and
    doesn't have to go as far as requiring both master and slave
    to use the same Makefile and other ports infrastructure.
  - Keep track of the version of the software used to create the
    cache, and prompt for a cache rebuild if the software has
    been upgraded since.  A cache rebuild is definitely required
    for the 1.6 -> 1.7 update.
  - Don't quit on errors parsing make variables at the cache-init
    or cache-update stage.  Print copious error messages, but carry
    on processing.  Entries for ports that fail at this stage will
    not be created in the cache.
  - Don't quit on errors parsing make variables at the cache-init
    or cache-update stage.  Print copious error messages, but carry
    on processing.  Entries for ports that fail at this stage will
    not be created in the cache.

PR:		100759
Submitted by:	maintainer (Matthew Seaman)
2006-07-23 22:43:53 +00:00
Sergey Matveychuk
842470c297 - Update to 2.1.6.
Mostly bugs fixes release.
2006-07-23 17:08:24 +00:00
Sergey Matveychuk
5cc280614a - Fix a bug that caused incorrect output-processing in second-party soft.
Obtained from:	Kport
2006-07-23 15:08:08 +00:00
Sergey Matveychuk
beee543973 - Fix a type: DBD4->BDB4 in messages.
Submitted by:	yar
2006-07-20 17:29:00 +00:00
Edwin Groothuis
6ea8a8230f sysutils/portsnap - cleanup
- move pkg-message to files/pkg-message.in and use SUB_FILES
- move post-extract to post-patch and use REINPLACE_CMD
- replace ${PREFIX} in man-page with %%PREFIX%% and then REINPLACE_CMD
  over it.
- Make replacement in former post-extract actually work due to
  changed layout of the file.

PR:		ports/100584
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	cperciva@#bsdports
2006-07-20 01:15:03 +00:00
Mark Linimon
fbd9015a93 Bring this up to date with ports/Mk/bsd.port.mk 1.538. Note that ports/98565
was forgotten on the test run yet again.
2006-07-19 00:02:52 +00:00
Ion-Mihai Tetcu
2fa2f357fc - fix a path
- fix some filenames
- add a short install instruction for MySQL

PR:		ports/100146
Submitted by:	Beat Gätzi <beat@chruetertee.ch>
2006-07-12 17:26:20 +00:00
Sergey Matveychuk
8e4d616b11 - Fix a bug when values of -M was ignored.
Submitted by:	John E Hein <jhein@timing.com>
2006-07-12 16:21:32 +00:00
Cheng-Lung Sung
dc2fc40ccd - update to 0.2.2
- Added option -w to report matching port directories.

PR:		ports/100014
Submitted by:	maintainer (Martin Kammerhofer)
2006-07-10 07:53:48 +00:00
Mark Linimon
a3a9430c9a Bring this up to what is currently being tested on the cluster, including
ports/98105, ports/98565 (both forgotten last time), and ports/99370, a
bugfix for USE_LDCONFIG with on-default prefix.
2006-07-10 05:29:04 +00:00
Mark Linimon
a7ecb6fda5 Mr. Forehead, meet Mr. Brick Wall. Mr. Brick Wall, meet Mr. Forehead.
Revert the previous deletion; it was a victim of a script.
2006-07-10 05:21:24 +00:00
Mark Linimon
9e3fc5074e ports/Mk/bsd.*.mk caught up with these files as of the commit on 2006/07/05
02:18:08, so delete them until they are needed again.
2006-07-10 05:14:58 +00:00
Mark Linimon
152deb7b3c Bring this up to ports/Mk/bsd.port.mk 1.537 (incorporates 1.536).
Forgotten by:		linimon
2006-07-10 05:12:25 +00:00
Ion-Mihai Tetcu
a0c279d852 - Update to 2.3.2
- check if csup is in the base system like net/csup does, now that we have
OSVERSION bumped.
2006-07-04 12:25:25 +00:00
Ion-Mihai Tetcu
c4b8c509f8 KPorts is KDE-Frontend to the FreeBSD-Ports and in future also to the
OpenBsd-Ports, PkgSrc and maybe others.
You can browse and search through your Portstree and perform actions
like Upgrades, Installs, Uninstall a.s.o. More advanced features like
setting Options and Vulnerability checking are also available. For a
complete list, check the Homepage or the Changelog.
Functionality is KPorts' main goal, not simplification by reducing
options; however KPorts should be rather easy to use.

WWW: http://kports.sf.net

PR:		ports/99653
Submitted by:	Hannes Hauswedell <hannes.hauswedell@gmail.com>
2006-07-03 16:11:50 +00:00
Cheng-Lung Sung
3f494e88ce - WANT_PHP_PEAR was removed since verion 1.21 of bsd.php.mk
PR:		ports/99717
Submitted by:	clsung
Approved by:	portmgr (erwin)
2006-07-03 00:21:02 +00:00
Sergey Matveychuk
de5c2f2285 - Remove forgotten patch.
- Fix MASTER_SITE_SUBDIR.
2006-07-02 14:26:15 +00:00
Sergey Matveychuk
7bd4e86089 Add CONFLICTS for portupgrade 2006-07-01 08:15:32 +00:00
Sergey Matveychuk
1af4279c8a - Upgrade to 2.1.3.2
(MFD - Merge From Developing)
  * Fix a bug with a time delta. When build took over 24 hour.
  * Allow origins in ALT_PKGDEP.
  * Add -e (--emit-summaries) option to show summary messages.
  * Fix portupgrade working when stdin is closed. [1]
- Get back sf.net to MASTER_SITES
- Add CONFLICTS with portupgrade-devel

PR:		ports/99179 [1]
Submitted by:	Hannes Hauswedell <hannes.hauswedell_at_gmail.com>
2006-07-01 08:11:05 +00:00
Sergey Matveychuk
011bd56aa2 Add portupgrade-devel. It's a developing version of portupgrade.
Version 2.1.5 is mostly bugfix of 2.1.4.
2006-07-01 07:22:48 +00:00
Sergey Matveychuk
4df325cdc9 - Fork a stable branch.
It's exactly like 2.1.3 but without summary messages and
  fixed bug when BDB4 was defined but tried only bdb1 driver and
  fall back to dbd driver.
- Add an option WITH_BDB1. Both BDB1 and BDB4 options can be off.
  Ruby dbd driver will use in the case.
2006-06-30 10:06:53 +00:00
Mark Linimon
29bf35f806 Fix typo that pointyhat chokes on. This works on 4.10. Go figure. 2006-06-28 02:41:16 +00:00
Mark Linimon
8a83b2d086 Update this to the next patchset about to be tested. 2006-06-27 20:07:57 +00:00
Mark Linimon
6c3b0070a9 Reintroduce these files with the latest patchset, which among other things
incorporates ports/92445, "change all bogus uses of BROKEN to IGNORE"
2006-06-27 19:47:13 +00:00
Mark Linimon
70f303c094 Common code to support Python wxWidget-based ports. 2006-06-27 19:41:25 +00:00
Mark Linimon
01a9c185c2 Common code to support the Python SCONS port installation framework. 2006-06-27 19:40:59 +00:00
Mark Linimon
394661711c Reflect its currrent state of bsd.port.mk after the last 2 checkins:
- 97406 (ghostscript refactoring) was removed from the -exp run due to errors
 - 95841 (remove legacy code) was backed out after commit, due to its still
   being needed for kdelibs3 among others
2006-06-27 19:39:17 +00:00
Mark Linimon
56136a6529 The committed versions in ports/Mk have caught up with these. 2006-06-27 19:35:04 +00:00
Cheng-Lung Sung
baba9cd29f - MAN3PREFIX is implied when PERL_CONFIGURE is defined.
- this commit modified ports maintained by (non-)ports@, so approved by
  portmgr (erwin) first.

PR:		ports/98755
Submitted by:	rafan
Approved by:	portmgr (erwin)
2006-06-25 16:38:48 +00:00
Ion-Mihai Tetcu
35f5e56055 Update to 1.6:
This is a bug fix and general improvement release.  From the change log:
- Incorporate local ports/categories into the INDEX by scanning Makefile.local
for additions to $SUBDIR.  Mentioned on freebsd-ports@freebsd.org by
Rong-En Fan <rafan (at) infor.org>
- Clean up error messages, and factor out common progress counter code.
-  Add a new Category object type, and cope better with changes to categories
(ie. ports being hooked up / unhooked from the tree).  Problem pointed out by
Colin Percival <cperciva (at) freebsd.org>
 - Instead of calling perl to compile exactly the same bit of perl code from
/usr/ports/Mk/bsd.ports.mk about 15,000 times (ie once per port) as a
consequence of actually running 'make describe', just call perl once, use make
to print out the basic variables from the port and replicate the processing
done ourselves.

PR:		99454
Submitted by:	author/maintianer
2006-06-25 16:04:23 +00:00
Hye-Shik Chang
1f8744aa79 Update to 1.2.3 which fixes a minor bug and adds new command
pkg_checkplist, an alias to "pkg_genplist -c".
2006-06-25 09:53:59 +00:00
Ion-Mihai Tetcu
652ef6c950 - don't depend on net/csup if it's already in base [1]
- also fix CSUP check [2]
- take maintainership [3]
- bump PORTVERSION

PR:		ports/98977 [1], ports/99172 [3]
Submitted by:	itetcu@ (me) [1] [2],
		Andreas Kohn <andreas@syndrom23.de> (old maintainer) [3]
2006-06-20 10:44:45 +00:00
Doug Barton
9237917d34 Upgrade to 1.5, which fixes a small braino in the new code to
delete distfiles for old ports with the -o option, or that have
been moved.
2006-06-19 18:36:09 +00:00