aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to 0.7.4.Shaun Amott2008-01-243-4/+6
| | | | Notes: svn path=/head/; revision=206106
* Update for version 2.0Doug Barton2008-01-242-40/+213
| | | | Notes: svn path=/head/; revision=206096
* The code for this 2.0 version has been totally reorganized, andDoug Barton2008-01-241-1375/+1701
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in several cases totally rewritten. I am also glad to say that all of the advertised features now work as advertised. :) The most exciting new feature is the completely new dependency updater. I finally took the time to write the line-oriented version of update_contents() that I wanted to write in the first place, so no more sed, and no more warnings sent to $PAGER. This version relies entirely on exact matches to DEPORIGIN to do its work, so it's 100% reliable. So what else is new? A lot of micro-optimizations have been done to eliminate duplicated work, avoid using external commands when not necessary, etc. There are also some not-so-micro optimizations, which means that this version is noticably faster. Totally new features: 1. --check-depends, which as described above calls the new functions to parse existing +CONTENTS files for dependency data, uses that data to update +REQUIRED_BY, and updates the +CONTENTS files. These same routines are also used for updating ports. 2. A "fetch only" feature (-F) that will go get distfiles for new versions of installed ports by default, and can also be used to get the files for all of your installed ports, or certain branches by using the -aft options. 3. An option to hide the build and install process by saving it to a log (-H). These logs are deleted on successful install, and saved if the update process aborts. 4. We now keep track of all the ports that get updated or installed in a given invocation, and print the list at the very end of the process. 5. There is now a little "map" to show you where you are in the process of the form "parent >> child >> grandchild >> etc." 6. Support for running as an unprivileged user (via sudo) has been added. See the man page for details on how to configure this. Improved features: 1. When showing the pkg-message/+DISPLAY files at the end of the process, all files are grouped together and spit out to $PAGER (or just cat if -u). If there is an error, there is a pause first (unless -u). 2. There is now much more sanity checking on user input so that we can bail out early if there is a problem. 3. The error messages have been completely re-done to be more informative, and many of them include helpful suggestions on how to fix the problems. 4. In the expunge (-e) feature, if there is dependency data for the port you want to delete we now offer you the chance to delete that instead of just aborting. (Use at your own risk!) 5. The "save old shared libs" feature (-w) is now a lot more efficient, only runs ldconfig when it has to, and uses /etc/rc.d/ldconfig. 6. The /var/db/pkg/*/+IGNOREME file now has more functions associated with it. See the man page for details. 7. When using the -L feature, there is a warning printed if the port has been set to FORBIDDEN, DEPRECATED, BROKEN, or IGNORE. 8. If you have a real /usr/X11R6 directory (not a symlink) this is added to the PATH. Otherwise it's assumed that LOCALBASE == X11BASE. 9. Backup packages of existing ports are now saved to /usr/ports/packages/portmaster-backup, and left there if -b is used. This way you can create backup packages of a port without disturbing existing packages with the same version. There are numerous other things that are not user-visible which have been cleaned, polished, made more efficient, etc. Notes: svn path=/head/; revision=206095
* - Update version to 1.13.Marcelo Araujo2008-01-103-16/+10
| | | | | | | | | | | - Update master site and maintainer's mail address. PR: ports/119381 Submitted by: Kim Naim Lesmer <knl@bitflop.com> (maintainer) Approved by: stas (mentor, implicit) Notes: svn path=/head/; revision=205372
* - A patch from HEAD: when gcc installed, some libraries may be conflictedSergey Matveychuk2008-01-082-0/+20
| | | | | | | | | | | | with system ones. portsclean -Li ask to remove them. No removes by default, but we don't want an user remove system libraries just press 'y' in portscleanup -Li. PR: ports/116830 Reported by: clemens fischer <ino-news at spotteswoode.dnsalias.org> Notes: svn path=/head/; revision=205258
* pkg_cleanup finds packages that are not requested by any other installedPav Lucistnik2008-01-046-0/+389
| | | | | | | | | | | | | | | package and lets you decide for each one if you want to keep it or delete it. It also allows viewing the pacakge comment and description. This program is essentially a clone of pkg_rmleaves except that it shows the comment and description of packages and does not support GUI dialog(1) implementations. PR: ports/117782 Submitted by: Stephen Hurd <shurd@sasktel.net> Notes: svn path=/head/; revision=204988
* Update for version 1.27Doug Barton2008-01-041-1/+1
| | | | Notes: svn path=/head/; revision=204977
* Restore the canonical order of installing run-depends before the parentDoug Barton2008-01-041-11/+10
| | | | Notes: svn path=/head/; revision=204976
* Fix typo in pkg-descrTilman Keskinoz2008-01-031-1/+1
| | | | | | | | PR: 117223 Submitted by: Jed Clear Notes: svn path=/head/; revision=204906
* - Update to 2.4.2Martin Wilke2007-12-318-62/+8
| | | | | | | | | | | | | | | | | * Add support for FreeBSD 8.X. * Fix a database query bug. * Ensure the .env files are properly read and export when building the Makefile and database entries. * Use the C locale when calculating build times. * Do not die if a Build's log directory is missing when running tbcleanup. This release comes with a rawenv change, so make sure you copy rawenv.dist to rawenv to get the latest variables. PR: 118854 Submitted by: miwi Approved by: itetcu (maintainer timeout) Notes: svn path=/head/; revision=204753
* - Update to 1.7.1Martin Wilke2007-12-273-36/+26
| | | | | | | | PR: 119001 Submitted by: Andy Kosela <andy.kosela@gmail.com> (maintainer) Notes: svn path=/head/; revision=204640
* - Fix portaudit -Fq to actually be quiet. [1]Simon L. B. Nielsen2007-12-272-18/+6
| | | | | | | | | | | | | - Remove support for FreeBSD older than 4.11 and 5.3. - Remove conditional dependency on bzip2 which I can't really see how could be activated automatically. Reported by: "J. Martin Petersen" <jmp@alvorlig.dk> [1] PR: ports/117845 [1] With hat: maintainer / secteam Notes: svn path=/head/; revision=204608
* Quick bump to 2.9.7.Joe Marcus Clarke2007-12-152-4/+4
| | | | | | | | | | Allow comments to start with a '[' (e.g. [X]Emacs). PR: 117832 Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com> Notes: svn path=/head/; revision=203750
* Update to 2.9.6.Joe Marcus Clarke2007-12-152-28/+30
| | | | | | | | | | | | | | | | | | * Allow the @stopdaemon plist directive. [1] * Fix a typo when checking for proper use of DOCSDIR. [2] * USE_JAVA is okay to use after including bsd.port.pre.mk. [3] * Properly check for extra items in the PATCH_SITES section. [4] * Replace all instances of "IFF" with "If and only if" to be clearer for non-English speaking, non-math geeks. [5] PR: 116907 [3] 116698 [4] 116218 [5] Reported by: rafan [1] Submitted by: lwhsu [2] Notes: svn path=/head/; revision=203749
* - Update to 1.0.4Martin Wilke2007-12-152-7/+5
| | | | | | | | PR: 118095 Submitted by: Diego <diegorocha1987@hotmail.com> (maintainer) Notes: svn path=/head/; revision=203746
* - connect pkg_search to the buildMartin Wilke2007-12-151-0/+1
| | | | | | | | Submitted by: erwin Pointyhat to: chinsan Notes: svn path=/head/; revision=203722
* - Add portupdate-scan to the buildMartin Wilke2007-12-151-0/+1
| | | | | | | Submitted by: erwin Notes: svn path=/head/; revision=203720
* portupdate-scan simplifies dealing with /usr/ports/UPDATING when you have soMartin Wilke2007-12-144-0/+469
| | | | | | | | | | | | | | | | many ports installed that it is difficult to know which sections are relevant. It reads /usr/ports/UPDATING, attempting for each block to determine whether the affected ports are installed. It omits blocks that do not apply. It handles wildcards and other special cases, however it cannot handle all variants of phrases used on the APPLIES: line. In uncertain cases, it errs on the side of reporting. PR: ports/117991 Submitted by: Alex Stangl <alex at stangl.us> Notes: svn path=/head/; revision=203636
* - Update to 1.7Martin Wilke2007-12-123-6/+17
| | | | | | | | PR: 118057 Submitted by: Andy Kosela <andy.kosela@gmail.com> (maintainer) Notes: svn path=/head/; revision=203412
* Update for version 1.26Doug Barton2007-12-121-1/+1
| | | | Notes: svn path=/head/; revision=203399
* New FeaturesDoug Barton2007-12-121-2/+5
| | | | | | | | | | | | | | | | | | | | ===========+ 1. If an +IGNOREME file is present for a package that has a new version, let the user know. 2. Use printf to display BROKEN/FORBIDDEN/IGNORE messages so that multi-line messages with embedded newlines will display properly. Typo Fix ======== Fix two typos in the "it's interactive" message ... on the same line ... in two consecutive words. A new personal record. I did run through the rest of the script with aspell and didn't notice anything else, but who knows? Notes: svn path=/head/; revision=203398
* Add pkg_search 1.2, a nifty script searching the ports database.Chin-San Huang2007-12-123-0/+32
| | | | | | | | PR: ports/118397 Submitted by: Matthias Schmidt Notes: svn path=/head/; revision=203382
* Catch up with master 1.589:Mark Linimon2007-11-021-4/+4
| | | | | | | Approved by: portmgr (self) Notes: svn path=/head/; revision=202483
* Update for version 1.25Doug Barton2007-10-311-1/+1
| | | | | | | Approved by: portmgr (marcus) Notes: svn path=/head/; revision=202455
* Small bug fixesDoug Barton2007-10-311-3/+6
| | | | | | | | | | | | | | | | | =============== 1. In delete_all_distfiles(), $distdir already contains a trailing slash 2. Only print the "no new versions" message for -L, not -l Big bug fix =========== 1. cd back to the port directory before trying to run 'make install' pointy_hat_supply++ Approved by: portmgr (marcus) Notes: svn path=/head/; revision=202454
* Update for version 1.24Doug Barton2007-10-301-1/+1
| | | | Notes: svn path=/head/; revision=202408
* These changes are the result of some regression testing, plus a topDoug Barton2007-10-301-35/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to bottom read through prompted by a user reporting bug #1 below. Fortunately I only found that one additional instance of forgetting to virtualize a value we derive from bsd.port.mk, but I did find and fix a few more things as well. Bug Fixes ========= 1. Virtualize an occurrence of $distdir instead of using $pd/distfiles 2. Make all variables in read_distinfos() local 3. When specifying multiple ports on the command line, the test for PARENT_PID to start read_distinfos() would always fail, so start it in the initial PARENT_PID block instead. This also implies pulling the DI_FILES creation up into that same block. Non-Functional Changes ====================== 1. Adjust whitespace in the code, and the script output in a few places 2. Use a shell expansion instead of sed to trim multiple results 3. Remove one redundant error check 4. Replace the name find_contents_distfiles() with find_dl_distfiles() since the info is not in +CONTENTS anymore 5. Add/update comments to the existing code Small changes to actual behavior ================================ 1. When dealing with unrecorded dependencies pipe the results to 'less -F' 2. Minor optimization: In read_distinfos(), check to see if we're upgrading an existing port, and if so do that port first so we're sure the right distfiles will be in DI_FILES even if the function doesn't complete before the port is done building/installling 3. Add a message to -L to indicate when there are no new versions 4. Move the checks for run-depends after installation of the parent port so that if a run-depends port has a build-depends on the parent, it will work. This is a supported, but apparently not recommended configuration. To make this work do the install with -DNO_DEPENDS so that we can take charge of the run-depends installs. Notes: svn path=/head/; revision=202407
* - Fix buildMartin Wilke2007-10-262-0/+4
| | | | | | | | Submitted by: pointyhat via pav Approved by: common sense Notes: svn path=/head/; revision=202083
* - Mark BROKEN: touches filesystem before make installPav Lucistnik2007-10-261-1/+3
| | | | | | | | | - While here, fix typo in COMMENT Reported by: pointyhat Notes: svn path=/head/; revision=202067
* - Add support for FreeBSD 8.X.Martin Wilke2007-10-256-0/+50
| | | | | | | | | | - Bump PORTREVISION Approved by: maintainer via irc Obtained from: marcuscom cvs Notes: svn path=/head/; revision=201978
* - Make this port self-contained.Stefan Walter2007-10-214-19/+478
| | | | | | | | | - Update to the latest version. The only change is accepting 'yes' as valid input where previously only a 'y' was accepted. (Patch by Feargal Reilly <feargal@fbi.ie>) Notes: svn path=/head/; revision=201710
* Update for version 1.23Doug Barton2007-10-211-1/+1
| | | | Notes: svn path=/head/; revision=201709
* Two small bug fixesDoug Barton2007-10-211-2/+3
| | | | | | | | | | | | | | | =================== 1. When I changed how the MOVED file was treated in version 1.19 I accidentally typed a literal /usr/ports/. Change that to the variable for PORTSDIR as it should be. [1] 2. When using the --show-work feature and the port has no dependencies, exit immediately instead of recursing. Submitted by: Jason C. Wells <jcw@highperformance.net> [1] Notes: svn path=/head/; revision=201708
* Migration from bison 1.x to 2.xAde Lovett2007-10-172-4/+26
| | | | | | | | PR: 117086 Tested by: -exp runs Notes: svn path=/head/; revision=201613
* Fix braino.Mark Linimon2007-10-172-2/+2
| | | | | | | Hat: portmgr Notes: svn path=/head/; revision=201583
* Update for version 1.22Doug Barton2007-10-151-1/+1
| | | | Notes: svn path=/head/; revision=201486
* Bug FixesDoug Barton2007-10-151-31/+50
| | | | | | | | | | | | | | | | | ========= 1. For all values derived from bsd.port.mk, assert that they are not empty. This helps prevent problems when running 'find $value ...' 2. Don't try to append to the master list of distfiles if we're using -D Refinements for /var/db/ports/$name/distfiles ============================================= 1. Only create a distfiles file if the port has distfiles 2. Delete the distfiles list and try to delete PORT_DBDIR when we pkg_delete. (The latter will fail if there is an options file present.) 3. Define the distfiles list even if we are using -D Notes: svn path=/head/; revision=201485
* Reset .@babolo.ru due to maintainer-timeouts and no response to email.Mark Linimon2007-10-111-2/+2
| | | | | | | Hat: portmgr Notes: svn path=/head/; revision=201317
* Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend onMark Linimon2007-10-072-0/+2
| | | | | | | | | | | perl unconditonally, or conditionally. To be able to conditionalize the inclusion of bsd.perl.mk, they now need to be defined before the inclusion of bsd.port.pre.mk. Hat: portmgr Notes: svn path=/head/; revision=201032
* Spelling fix.Edwin Groothuis2007-10-041-1/+1
| | | | Notes: svn path=/head/; revision=200872
* - Update to 1.6.1Martin Wilke2007-10-042-4/+4
| | | | | | | | PR: 116705 Submitted by: Andy Kosela <andy.kosela@gmail.com> (maintainer) Notes: svn path=/head/; revision=200861
* Remove always-false/true conditions based on OSVERSION 500000Edwin Groothuis2007-10-042-8/+0
| | | | Notes: svn path=/head/; revision=200778
* Incorporate changes from master 1.588.Mark Linimon2007-10-031-25/+46
| | | | Notes: svn path=/head/; revision=200764
* Add missing pkgsearch portEdwin Groothuis2007-10-031-0/+1
| | | | Notes: svn path=/head/; revision=200718
* Improve examples.Alex Dupre2007-10-021-0/+1
| | | | Notes: svn path=/head/; revision=200668
* Bump PORTVERSION for latest commit.Alex Dupre2007-10-021-1/+1
| | | | Notes: svn path=/head/; revision=200653
* Update for version 1.21Doug Barton2007-10-021-1/+1
| | | | Notes: svn path=/head/; revision=200589
* New FeaturesDoug Barton2007-10-021-37/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ============ 1. Switch to saving distfile info in /var/db/ports/$name/distfiles ala PR http://www.freebsd.org/cgi/query-pr.cgi?pr=106483 2. Keep track of distfiles we've already examined so we won't have to do them again (or print the "keeping" message for -v more than once). This has more benefit the more distfiles a port has. 3. Add all distfiles for the new port to DI_FILES after install. This only makes a difference in a few cases, but it's easy to do. Bug Fixes ========= 1. Make sure that $distdir always has a trailing slash in case it is a symlink. [1] 2. In delete_stale(), test whether or not a file is in the _current_ distfile list to make sure that it is not auto_deleted by mistake. [1] 3. When building DI_FILES, only use lines starting with MD5 to avoid adding every file > 1 time. 4. Only run read_distinfos() when we really need it. [1] Inspired by ... PR: ports/116298 Submitted by: NIIMI Satoshi <sa2c@sa2c.net> Notes: svn path=/head/; revision=200588
* Switch autoconf dependencies from 2.53 or 2.59 to 2.61.Mark Linimon2007-09-301-2/+2
| | | | | | | | PR: ports/116639 Submitted by: aDe Notes: svn path=/head/; revision=200411
* - Update to 0.2.7.Marcelo Araujo2007-09-273-15/+40
| | | | | | | | | | | | - Fixed the Ignore trailing slash in port globs. - Optionally narrow selected ports by grepping the pkg-descr files. PR: ports/116512 Submitted by: Martin Kammerhofer <dada@pluto.tugraz.at> (maintainer) Approved by: stas (mentor) Notes: svn path=/head/; revision=200174