aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
Commit message (Collapse)AuthorAgeFilesLines
* - update to 1.69Dirk Meyer2010-06-244-125/+216
| | | | | | | | | - path configureable over ENV - update pkg_jail to use rc.conf or pkg_jail.conf Feature safe: yes Notes: svn path=/head/; revision=256915
* Update for version 2.32Doug Barton2010-06-181-1/+1
| | | | Notes: svn path=/head/; revision=256652
* build_l also needs to be unset in pm_make_s()Doug Barton2010-06-181-1/+1
| | | | Notes: svn path=/head/; revision=256651
* Unset build_l in pm_make()Doug Barton2010-06-181-1/+1
| | | | Notes: svn path=/head/; revision=256648
* Update for version 2.30Doug Barton2010-06-181-1/+1
| | | | Notes: svn path=/head/; revision=256644
* If the user specified --no-confirm don't build the list. With a lot ofDoug Barton2010-06-181-1/+6
| | | | | | | | | | | | | | ports to update it can get quite large. If there are a very large number of ports installed the grep in iport_from_origin() can fail with "Argument list too long." It's also theoretically possible that the grep would fail for other reasons. So if it does, fall back to 'pkg_info -O'. My method is faster which is why I'm still trying it first, but this is a sort of "belt and suspenders" situation. Notes: svn path=/head/; revision=256643
* Update to 2.13.1.Joe Marcus Clarke2010-06-162-9/+8
| | | | | | | | | | | * USE_APACHE=yes is now fatal * Clean up WITH_APACHEX=X variants. WITH_APACHE=yes is now the only allowed one PR: 146988 Submitted by: pgollucci Notes: svn path=/head/; revision=256583
* * Always install the manual page [1]Rene Ladan2010-06-151-3/+1
| | | | | | | | | | * Fix maintainer address [2] Submitted by: QAT [1], maintainer [2] Approved by: tabthorpe (mentor) Notes: svn path=/head/; revision=256576
* A special meta-port to do nothing but register dependencies on thoseRene Ladan2010-06-156-0/+790
| | | | | | | | | | | | | | ports you specifically want to have installed. The normal dependency checking in programs like pkg_delete(1) will prevent easy deletion of ports that other ports depend on. Keeps egg off face. Protects feet from being shot. PR: ports/147808 Submitted by: Matthew Seaman <m.seaman at infracaninophile.co.uk> Approved by: tabthorpe (mentor) Notes: svn path=/head/; revision=256557
* Add LICENSE information to my ports where the right answer is obviousDoug Barton2010-06-142-0/+4
| | | | Notes: svn path=/head/; revision=256505
* Update for version 2.29Doug Barton2010-06-121-1/+1
| | | | Notes: svn path=/head/; revision=256459
* There is no reason for uniquify_list() to reverse the entries,Doug Barton2010-06-121-2/+11
| | | | | | | | | | | | | | | and doing so can make debugging more difficult. Add code to post_config() to make sure that things in the build-only dependency list are not listed as run dependencies for something already installed. Apparently, in some circumstances it's necessary to run ldconfig -R when one moves shared libs from /usr/local/lib to /usr/local/lib/compat/pkg. So add that to the -w code. Notes: svn path=/head/; revision=256458
* Update for version 2.28Doug Barton2010-06-111-1/+1
| | | | Notes: svn path=/head/; revision=256359
* In delete_all_distfiles() when there is no $origin (such as when a portDoug Barton2010-06-111-4/+11
| | | | | | | | | | | | | has moved) but there IS a /var/db/ports/<portname>/distfiles, we do not want to prompt the user if they are using -d, we just want to delete the files. In the code to strip the port from $build_l if the user chose not to update a port that has an +IGNOREME file, the backslash in "\t" needs to be escaped. Notes: svn path=/head/; revision=256358
* The portshaker-config port provides a simple config-based interface to generateRomain Tartière2010-06-094-0/+42
| | | | | | | | | | and maintain a portshaker configuration throught the ports system. It is designed to ease using portshaker for users who want to merge portshaker powered ports overlays in their FreeBSD ports tree. Notes: svn path=/head/; revision=256206
* portshaker(8) is a tool designed for merging partial ports trees into theRomain Tartière2010-06-095-0/+80
| | | | | | | | FreeBSD ports tree. In other words, it implements some kind of overlay for the FreeBSD ports. Notes: svn path=/head/; revision=256205
* KPackageKit is the KDE interface for PackageKit. It featuresAlberto Villa2010-06-025-0/+144
| | | | | | | | | | | | | | | | everything Gnome PackageKit does except: - install catalog; - service pack; - a D-Bus session interface. These items are not mandatory since they are more features of the GUI itself than a feature in PackageKit. WWW: http://kde-apps.org/content/show.php/KPackageKit?content=84745 Approved by: tabthorpe, miwi (mentors) Notes: svn path=/head/; revision=255504
* Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.Ade Lovett2010-05-312-1/+2
| | | | Notes: svn path=/head/; revision=255371
* From Tom Hukins:Edwin Groothuis2010-05-271-1/+3
| | | | | | | | | | I notice it looks for a perl executable in /usr/bin/perl. However, a perl executable may not exist here, so this small patch changes the port to use the PERL5 variable to determine the correct location of perl as determined by the ports system. Notes: svn path=/head/; revision=255178
* Rename the following Haskell ports to bring them in sync with theGabor Pali2010-05-246-49/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HackageDB: archivers/hs-zip-archive-ghc -> archivers/hs-zip-archive devel/hs-binary-ghc -> devel/hs-binary devel/darcs -> devel/hs-darcs devel/hs-language-c-ghc -> devel/hs-language-c devel/hs-lazysmallcheck-ghc -> devel/hs-lazysmallcheck devel/hs-pcre-light-ghc -> devel/hs-pcre-light devel/hs-utf8-string-ghc -> devel/hs-utf8-string graphics/hs-HGL-ghc -> graphics/hs-HGL ports-mgmt/porte -> ports-mgmt/hs-porte security/hs-digest-ghc -> security/hs-digest textproc/hs-haxml -> textproc/hs-HaXml textproc/hs-highlighting-kate-ghc -> textproc/hs-highlighting-kate textproc/hs-polyparse-ghc -> textproc/hs-polyparse textproc/pandoc -> textproc/hs-pandoc x11/hs-x11-ghc -> x11/hs-X11 x11/hs-x11-xft-ghc -> x11/hs-X11-xft x11/xmobar -> x11/hs-xmobar x11-toolkits/hs-opengl-ghc -> x11-toolkits/hs-OpenGL x11-toolkits/hs-OpenGLRaw-ghc -> x11-toolkits/hs-OpenGLRaw x11-toolkits/hs-GLURaw-ghc -> x11-toolkits/hs-GLURaw x11-toolkits/hs-glut-ghc -> x11-toolkits/hs-GLUT x11-wm/xmonad -> x11-wm/hs-xmonad x11-wm/xmonad-contrib -> x11-wm/hs-xmonad-contrib Notes: svn path=/head/; revision=254999
* Upgrade to version 0.8.Shaun Amott2010-05-244-45/+71
| | | | | | | | | | | | | This represents a milestone release over the previous version, and includes significant improvements to the version detection and comparison algorithms, support for the new SourceForge mirror layout (and an easy way to add future workarounds), theoretical support for NetBSD's pkgsrc and OpenBSD ports, support for providing a list of software in an XML file in place of ports, and support for SQLite. Of course, there are also many optimisations and general bug fixes. Notes: svn path=/head/; revision=254986
* Reset perky@FreeBSD.org due to maintainer-timeouts and no responseMark Linimon2010-05-231-1/+1
| | | | | | | | | to email. Hat: portmgr Notes: svn path=/head/; revision=254920
* - Chase devel/apr -> devel/apr1 shufflingPhilip M. Gollucci2010-05-181-1/+1
| | | | | | | | | PR: ports/146553 Submitted by: myself (pgollucci@) With Hat: apache@ Notes: svn path=/head/; revision=254523
* Update for version 2.27Doug Barton2010-05-181-1/+1
| | | | Notes: svn path=/head/; revision=254517
* Minor Fixes And OptimizationsDoug Barton2010-05-181-6/+19
| | | | | | | | | | | | | | | | ============================= 1. In iport_from_origin() if we don't find a match (which is normal for ports that are not yet installed) then return immediately. 2. A little more white space after the user input for --check-port-dbdir 3. In check_for_updates() if a port has moved we should also check for an +IGNOREME file before forcing the update. 4. For distfile fetching: a. Limit the scope of some of the variables b. If a distfile has a / in the file name creation of the flag file for background fetching will fail, so swap that for a _ instead. Notes: svn path=/head/; revision=254516
* Quiet some of the plist uninstall operations.Joe Marcus Clarke2010-05-161-6/+6
| | | | | | | Submitted by: nork Notes: svn path=/head/; revision=254451
* Introduce a new (and hopefully better) ports infrastructure for Haskell CabalGabor Pali2010-05-124-144/+32
| | | | | | | | | ports which makes possible the direct translation of Cabal package descriptions to FreeBSD ports. It promises both easier addition and maintenance for Cabal-based ports. Notes: svn path=/head/; revision=254209
* Update for version 2.26Doug Barton2010-05-101-1/+1
| | | | Notes: svn path=/head/; revision=254104
* Document the --packages-local option for version 2.26Doug Barton2010-05-102-1/+3
| | | | Notes: svn path=/head/; revision=254103
* Document the --packages-local option for version 2.26Doug Barton2010-05-101-4/+15
| | | | | | | | Fix spelling of /usr/local/lib/compat/pkg ENVIRONMENT is not just for make Notes: svn path=/head/; revision=254102
* New FeatureDoug Barton2010-05-101-64/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | =========== Add a --packages-local option for those who wish to use only local packages, and never attempt to fetch from a remote site. Bug Fix ======= Fix a braino for --index-first and --index-only: The cross-checking of the command line options needs to happen before the environment variables are set. Cleanups And Optimizations ========================== 1. LOCALBASE_COMPAT is only ever used in combination with /pkg at the end, so fold that into the variable to start with. 2. Indicate to the user that -p is deprecated 3. Allow setting of DISTDIR directly in .portmasterrc like the other widely used vars. This entails the following: a. Capitalize distdir every place that it's used. b. Add to the list of --options to check which mean we don't even have to try to set it. This saves us a call to make(1). c. Don't set it to / if DISTDIR is empty, which makes error checking later on easier. d. Mark DISTDIR (and related vars) global in a few more functions to make it consistent. 4. Move the test for version > 6.4 first in the list, no point in processing a bunch of stuff only to bail out later. 5. Unset the test_command_line function when we're done using it 6. Be smarter about whether or not to use $PM_SU_CMD to fetch the INDEX.bz2 7. Improve cross-option error checking for the --packages* options Notes: svn path=/head/; revision=254101
* Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for thisKoop Mast2010-05-1015-0/+1227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release can be found at http://library.gnome.org/misc/release-notes/2.30/ . This release brings initial PackageKit support, Upower (replaces power management part of hal), cuse4bsd integration with HAL and cheese, and a faster Evolution. Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This will also be the last of the 2.x releases. The next release will be the highly-anticipated GNOME 3.0 which will bring with it a new UI experience. Currently, there are a few bugs with GNOME 2.30 that may be of note for our users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading instructions, and the up-to-date list of known issues. This release features commits by avl, ahze, bland, marcus, mezz, and myself. The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the initual packagekit porting. And the following contributors & testers for there help with this release: Eric L. Chen Vladimir Grebenschikov Sergio de Almeida Lenzi DomiX walder crsd Kevin Oberman Michal Varga Pavel Plesov Bapt kevin and ITetcu for two exp-run PR: ports/143852 ports/145347 ports/144980 ports/145830 ports/145511 Notes: svn path=/head/; revision=254099
* 4/5: Chase devel/apr shlib bumpPhilip M. Gollucci2010-05-051-0/+1
| | | | | | | | | | PR: ports/146130 Approved by: portmgr (pav) Tested by: -exp run (pav) With Hat: apache@ Notes: svn path=/head/; revision=253784
* Update for version 2.25Doug Barton2010-05-031-1/+1
| | | | Notes: svn path=/head/; revision=253647
* Document the --no-index-fetch option for 2.25Doug Barton2010-05-033-2/+10
| | | | Notes: svn path=/head/; revision=253646
* New FeatureDoug Barton2010-05-031-53/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ============ Add a --no-index-fetch option for people who want to use the --index* options but do not want portmaster to do the fetching. Cleanup and Fixes ================= 1. Remove no longer necessary local variable in version() 2. Rework how some initial variables are set. Deriving the values via make works, but is very slow. So try to be more intelligent about recognizing the standard values for the ones we always need to have. * For PORTSDIR and PKG_DBDIR if those variables are not in the environment and the standard directories exist, use them. * Move the setting of pd (PORTSDIR) up to before the INDEX-related items so that we can use ${INDEXDIR:-$pd} * The derivation of the INDEX-related stuff wasn't working (since we didn't know $pd) and no one has complained, so just use the default values from bsd.port.mk unless the user specifies others. * If /var/db/ports exists, use it for port_dbdir 3. Indicate that the -[lL] options are not compatible with -FRaefnors, updates, or installs 4. In the test to see if we downloaded a new INDEX.bz2 file supply a default value for index_time so that if the file did not exist previously the test will not fail. Notes: svn path=/head/; revision=253645
* Prefer using base system binaries.Xin LI2010-05-032-1/+4
| | | | | | | | Reported by: Paul Hoffman <phoffman proper com> With hat: secteam Notes: svn path=/head/; revision=253635
* Update for version 2.24Doug Barton2010-05-021-1/+1
| | | | Notes: svn path=/head/; revision=253577
* Minor Bug Fixes and Adjustments:Doug Barton2010-05-021-11/+11
| | | | | | | | | | | | | | | | | ================================ 1. Adjust whitespace at the end of the run 2. In a couple places where default value setting is overly complex (including a couple of the places related to the recent ro_upg_port changes) simplify the code. 3. When checking stat(1) for the INDEX updates we really want to check the time when the file was last modified for pedantic value, although in this scenario the practical effect was the same. 4. In --check-port-dbdir we now need to check if the values in the loop are directories, since origin_from_pdb() now emits an error if it can't find ORIGIN. Notes: svn path=/head/; revision=253576
* Update for version 2.23Doug Barton2010-05-011-1/+1
| | | | Notes: svn path=/head/; revision=253496
* Document --index-first for version 2.23Doug Barton2010-05-013-6/+13
| | | | Notes: svn path=/head/; revision=253495
* New FeaturesDoug Barton2010-05-011-166/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ============ Expand on an idea provided by mandree@ to use 'pkg_version -I' to quickly check what ports are out of date, and incorporate that check into the --index option. Feedback from users seems to indicate that this is what they expected the option to do anyway, so the minor change to the feature does not seem to be a POLA violation, especially since INDEX support is still relatively new. Add the --index-first option to do what --index used to do in case anyone cares. Bug Fixes ========= 1. Add more error checking for incompatible command line options. Add a new cross_idx() to handle checking the 3 --index* options, and consolidate some of the old tests that were all relative to -G. 2. We want to test the .bz2 version of INDEX to see if it's newer, and unzip it if it is. 3. For -o mode: Going back a long ways upg_port was (ab)used to indicate the currently installed version of the old port for -o. Originally this was safe since it's very rare to have the new port installed already, and it saved a little bit of code complexity. However, as more and more features were added that utilized the value of upg_port it became increasingly unsafe. Particularly, at this time there are 2 related bugs manifest. First the wrong information appears in the confirm list (upgrade of the old port vs. install of the new) and parsing the old port directory. The latter was (mostly) harmless, although in the case of an old port directory being DEPRECATED this resulted in a fatal error when trying to upgrade. So, make the following changes: a. Make upg_port an installed version of the new port, if it exists. b. Introduce ro_upg_port for the existing version of the old port. c. Factor out some code that was related to how to handle lack of an installed version of the old port (since now that's done higher up). d. In the stage after the build of the new port and before pkg_delete of the old port test for upg_port OR ro_upg_port and run the various features (lib backup for -w, pkg_delete, etc.) as needed for both. e. In install_failed() notify the user about the backup port for the old version. f. I discovered in regression testing that invoking -o for MOVED ports that we get to as dependencies was working, but the code to automatically invoke -o for a parent port was broken. The problem is that we can't just exec a new version if we're the parent, we have to cleanly shut down background fetches and other processes, delete temp files, etc. So split the parts of safe_exit() that relate to these elements into their own function, parent_exit(), and call it both from safe_exit() and when exec'ing a new version for -o in this case. 4. Add error checking to pm_mktemp, and the stray mktemp call. According to a private report from a user it can actually fail. 5. Add error-checking to parse_index() so that if we don't find a line for the port we return an error code; check for the error in the callers. 6. Improve the handling of various situations where there is no ORIGIN recorded in the +CONTENTS file. This is almost always an error in the package building process, and therefore usually needs to be flagged and handled as an error. There are (at least) 2 situations where it may not be an error; bsdpan ports, and when the user has added an +IGNOREME file (usually for 3rd party packages). a. Add code to origin_from_pdb() that tests to see that grep returned something, echos the result as before, then also returns successfully * If the port is a bsdpan port, return with an error code but let the caller handle the reporting as appropriate. * If there is no ORIGIN but there is an +IGNOREME file don't report the error unless we're using -v, then also report that the +IGNOREME file is there. Either way, return with an error code. * If there is no ORIGIN, and no +IGNOREME file, report the error and return with an error code. b. In several places this allows several lines of code where the function is called to be collapsed into: origin=`origin_from_pdb $iport` || continue c. In the main body where we parse the command line for what to work on convert the code that was individually testing the various conditions that are now handled in origin_from_pdb() to simply parse the return codes with a case statement. In the common case (there is an ORIGIN in +CONTENTS) this is almost certainly a minor optimization since the error handling code in origin_from_pdb() is never reached, and several places where things like "is it a bsdpan port?" and other error handling have been removed. 7. In check_for move some local variables down into the block where they are used. Notes: svn path=/head/; revision=253494
* Chase audio/libmodplug update.Emanuel Haupt2010-04-241-1/+1
| | | | Notes: svn path=/head/; revision=253157
* Reassign ports from andrey@kostenko.name to perl@ due to lack of time.Mark Linimon2010-04-201-1/+1
| | | | | | | Hat: portmgr Notes: svn path=/head/; revision=252936
* Switch to use newer GMP version.Alex Dupre2010-04-192-4/+4
| | | | | | | | | PR: ports/144487 Submitted by: ale Approved by: portmgr (-exp run by erwin) Notes: svn path=/head/; revision=252906
* Update for version 2.22Doug Barton2010-04-111-1/+1
| | | | Notes: svn path=/head/; revision=252567
* When NOT using --index-only the rundep list still needs to be parsed theDoug Barton2010-04-111-2/+4
| | | | | | | | | | old way. So only add spaces to the list if we're generating it from the INDEX, and let the case statement match with or without spaces. Reported by: avilla Notes: svn path=/head/; revision=252566
* Update for version 2.21 part 2: Document necessary environment variablesDoug Barton2010-04-101-0/+17
| | | | Notes: svn path=/head/; revision=252513
* Update for version 2.21Doug Barton2010-04-101-1/+1
| | | | Notes: svn path=/head/; revision=252511
* Update for version 2.21:Doug Barton2010-04-102-1/+3
| | | | | | | Document --index and --index-only Notes: svn path=/head/; revision=252510