summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
Commit message (Collapse)AuthorAgeFilesLines
* - Fix bsd.port.mk patchsat2006-11-041-0/+11
| | | | | PR: ports/104551 Submitted by: Robert Woolley <freebsd@rwoolley.com>
* pkg_replace is used to upgrade installed packages.alepulver2006-11-014-0/+40
| | | | | | | | | | | | 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>
* BROKEN: Does not compilekris2006-10-152-0/+4
| | | | Approved by: portmgr (self)
* - it doesn't work with MySQL below 4.1.x because it uses sub-selectsitetcu2006-10-142-4/+6
| | | | | | | - also fix broken INDEX if Mysql 3.23.x is installed [1] Submitted by: vd [1] Approved by: portmgr (marcus)
* Update for new version 1.9dougb2006-10-062-18/+46
|
* New Features:dougb2006-10-061-87/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ============= 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
* - Update to 20061003rafan2006-10-042-5/+4
| | | | | PR: ports/103934 Submitted by: Sulev-Madis Silber <madis555 at hot.ee> (maintainer)
* - fix the portsnap dependency for systems where it is already in base; [1]bsam2006-10-011-5/+11
| | | | | | | | | - 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]
* - Update to 20060929miwi2006-09-302-5/+5
| | | | | PR: ports/103809 Submitted by: Sulev-Madis Silber <madis555(at)hot.ee> (maintainer)
* Actually put something in files/patch-setup.sh and fix left-overs on deinstall.itetcu2006-09-274-0/+24
| | | | Submitted by: pointyhat via kris
* - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directorystas2006-09-201-1/+1
| | | | | | | | | | | | | | | | 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)
* Update to the latest version being tested on i386-6-exp on pointyhat.linimon2006-09-202-0/+211
|
* - Net/SMTP.pm and Digest/MD5.pm are both installed with perl 5.8.x so drop themitetcu2006-09-186-6/+48
| | | | | | | | | | 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]
* - Update to 1.8rafan2006-09-172-4/+4
| | | | | PR: ports/103325 Submitted by: Matthew Seaman <m.seaman at infracaninophile.co.uk> (maintainer)
* Bring this up to the patches in ports/102300 and ports/102514, which arelinimon2006-09-151-9/+13
| | | | currently being tested on the cluster.
* Update to ports/Mk/bsd.port.mk 1.541.linimon2006-09-151-2/+31
|
* Re-add definition forgotten in last checkin.linimon2006-09-141-0/+1
|
* Turncperciva2006-09-131-1/+1
| | | | | | | | | | 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
* Add explicit support for comments and empty lines in ports.conf.ale2006-09-063-5/+4
| | | | | PR: ports/102914 Submitted by: Hans Lambermont <hans@lambermont.dyndns.org>
* - Update to 0.2.5clsung2006-08-303-24/+40
| | | | | | | | - 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)
* - Update mastersites.jmelo2006-08-251-2/+2
| | | | | PR: ports/102480 Submitted by: Andreas Fehlner <fehlner@gmx.de> (maintainer)
* - Fix descriptions in pkgtools.conf to be obviouslier. [1]sem2006-08-253-0/+71
| | | | | | | - Fix s pointyhat URL for package direcories. PR: ports/102417 [1] Reported by: Ryan Wehler <mindflux98@gmail.com>
* - Update to 2.1.3.3.sem2006-08-234-42/+4
| | | | A few fixes merged from developing version, patches integrated.
* Update for version 1.8dougb2006-08-231-1/+1
|
* New Featuredougb2006-08-231-5/+19
| | | | | | | | | | | | | | | | | | =========== 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
* Catch up with ports/Mk/bsd.port.subdir.mk r1.65.linimon2006-08-171-8/+8
|
* Catch up to ports/Mk/bsd.port.mk r1.540.linimon2006-08-171-149/+391
|
* - Respect DESTDIRmiwi2006-08-161-3/+3
| | | | | | PR: ports/102011 Submitted by: Matthew Seaman <m.seaman(at)infracaninophile.co.uk> Approved by: krion (mentor)
* - Update to 0.2.4rafan2006-08-153-11/+33
| | | | | | | | 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)
* - s,INSTALLS_SHLIB,USE_LDCONFIG,gclsung2006-08-151-1/+1
| | | | | | | - these include security/ sysutils/ textproc/ maintained by ports@ PR: ports/101916 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
* - Update to 2.1.7sem2006-08-143-6/+5
|
* Update for new version 1.7dougb2006-08-121-1/+1
|
* Update for new expunge feature in 1.7, and generally improve markupdougb2006-08-121-12/+31
|
* New Featuresdougb2006-08-121-104/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ============ 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]
* Respect DESTDIR.marcus2006-08-111-1/+1
| | | | | PR: 101675 Submitted by: gabor
* - Make fetch(1) quiet when STDOUT is not a tty (as it was before).sem2006-08-092-3/+14
| | | | | PR: ports/101341 Requested by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
* Update for version 1.6.dougb2006-08-072-10/+51
|
* New Featuresdougb2006-08-071-114/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ============ 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
* - Fix PLIST: Remove locale dirs not contained in BSD.local.distgarga2006-08-072-0/+6
| | | | | | | - Add USE_GETTEXT and INSTALLS_ICONS PR: ports/101491 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
* Actually check to see if $seen_special is set before checking the numbermarcus2006-08-062-2/+3
| | | | of plist items.
* Update to 2.9.1.marcus2006-08-062-24/+23
| | | | | | | | | | | | | * 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]
* Add support for DESTDIR part I.erwin2006-08-042-4/+4
| | | | | | | | | | | | | | 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
* - update to 1.7clsung2006-07-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
* - Update to 2.1.6.sem2006-07-232-5/+5
| | | | Mostly bugs fixes release.
* - Fix a bug that caused incorrect output-processing in second-party soft.sem2006-07-232-1/+15
| | | | Obtained from: Kport
* - Fix a type: DBD4->BDB4 in messages.sem2006-07-202-4/+4
| | | | Submitted by: yar
* sysutils/portsnap - cleanupedwin2006-07-204-7/+56
| | | | | | | | | | | | | - 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
* Bring this up to date with ports/Mk/bsd.port.mk 1.538. Note that ports/98565linimon2006-07-191-1/+24
| | | | was forgotten on the test run yet again.
* - fix a pathitetcu2006-07-122-6/+42
| | | | | | | | - fix some filenames - add a short install instruction for MySQL PR: ports/100146 Submitted by: Beat Gätzi <beat@chruetertee.ch>
* - Fix a bug when values of -M was ignored.sem2006-07-122-0/+13
| | | | Submitted by: John E Hein <jhein@timing.com>
OpenPOWER on IntegriCloud