Portupgrade is a tool to upgrade installed packages via ports or
packages. You can upgrade installed packages without having to
reinstall depending or dependent packages. It can automatically trace
dependency chains up and down upgrading packages recursively.
This package also includes the following utilities:
portinstall: Helps you install new ports in a handy way.
portsvnweb: Instantly lets you browse change history via SVNweb.
portversion: Replaces pkg_version(1) and helps you upgrade packages
with portupgrade(1). (runs much faster)
portsclean: Cleans ports workdir's, unreferenced distfiles,
old and orphan shared libraries, and stale packages.
portsdb: Creates binary database from the ports INDEX.
ports_glob: Expands ports globs.
pkg_deinstall: Wraps pkg_delete(1) and provides additional features.
pkg_fetch: Fetches packages from a remote site.
pkg_glob: Expands package globs.
pkg_which: Checks which package a file came from quickly.
pkgdb: Manages and searches the package database.
pkgdu: Display a disk usage for installed packages.
See also: http://pkgtools.github.com/
===> The following configuration options are available for portupgrade-devel-20180309_3,3:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
ports-mgmt/portupgrade-devel: Remove outdate RUBY_VERSION check
- While I'm here, convert to options helper
lang/ruby31 has been removed on 2025-03-31.
Approved by: portmgr (blanket)
With hat: ruby
ports-mgmt/portupgrade*: Revert "Use databases/rubygem-dbm with Ruby 3.2"
This reverts commit 2a325f4cc52c8565348304a9a24a2975ecaaeedd.
With commit 5ebb18384791 database/ruby-bdb works fine with all
supported ruby versions. So always use it as RUN_DEPENDS again.
PR: 272491
Approved by: maintainer timeout
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925
ports-mgmt/portupgrade*: Use databases/rubygem-dbm with Ruby 3.2
databases/ruby-bdb is BROKEN with Ruby 3.2.
PR: 268207
Approved by: maintainer timeout
MFH: 2023Q1
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
ports-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alex Stangl <alex@stangl.us>
* Anders F Bjorklund <afb@users.sourceforge.net>
* Benjamin Lutz
* Brendan Molloy <brendan+freebsd@bbqsrc.net>
* Conrad J. Sabatier <conrads@cox.net>
* Edwin Groothuis (edwin@mavetju.org)
* Emanuel Haupt <ehaupt@FreeBSD.org>
* Gabriel Linder <linder.gabriel@gmail.com>
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
Update to 2.4.13-7-g47dfa22
Changes:
* Don't install missing dependencies which are already satisfied (#62).
Note that this purposely causes these missing dependencies to not show
in the job (-n) and final results output which is a compromise to at least
avoid the wrong packages being installed. The logging issue is in #30.
For the new USE_GITHUB with only GH_TAGNAME set default DISTNAME to
include GH_PROJECT/GH_ACCOUNT/GH_TAGNAME. This prevents the distfile
having the same name despite changing one of these values and causing
a bad checksum.
Differential Revision: https://reviews.freebsd.org/D2103
Reviewed by: mat
With hat: bdrewery
Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag. This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL
GITHUB -> GITHUB_LEGACY
Differential Revision: https://reviews.freebsd.org/D748
Submitted by: amdmi3
Reviewed by: mat, swills, antoine, bdrewery
With hat: portmgr
- Update to checkin 2161660, which matches 2.4.13
- Update @dir usage
Changes:
* portinstall/upgrade -P[P] now supported with pkgng
* pkg_fetch now supports pkgng
* Fixed pkg-1.3 delete support to not recurse
* Fixed portupgrade -b support with pkgng
* Improved portsclean performance with pkgng (#59)
* Use service(8) for rc script restarting
* Show command executions with PORTUPGRADE_DEBUG in environment
* Deprecate rc script handling in lieu of pkg's HANDLE_RC_SCRIPTS in pkg.conf
- Update to checkin 3778f5c
Changes:
* Fix date parsing with pkg_install
* Show proper origin in 'portupgrade' when duplicates detected
* Fix crash when attempting to upgrade bsdpan packages
PR: ports/184428
PR: ports/184426
Submitted by: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
- Update to checkin 633cdd7
Changes:
* pkgdb no longer populates an extra database when using pkgng.
This brings performance and stability improvements when using
pkgng.
- Update to checkin 685cb60
- Update upstream repo location
Changes:
* Fix how pkgng support is detected for completions
* Fix portcvsweb so it uses svnweb.FreeBSD.ORG
* Symlink portcvsweb as portsvnweb
* Fix portcvsweb FreshPorts and datespec support
* Add support for WITH_PKGNG=devel
- Update to 2.4.10.5
Changes:
* Fix -O flag not always being respected
* Disable dependency sanity checking with PKGNG as it has its own mechcanism
pkg-check(8) for that.
* Fix date parsing support with PKGNG [1]
PR: ports/175926 [1]
Reported by: deeptech71 <deeptech71@gmail.com> [1]
- Update to checkin a05c5da
Changes:
* Fix -O flag not being respected
* Disable dependency sanity checks with PKGNG
as the pkg(8) db is not reliable for dependency
versions after using pkg-set -o and other
operations.
- Update to checkin fb8519c
Changes:
- Fix crash when HOME is not set in the environment,
which breaks some cases of puppet usage
PR: ports/175281
Reported by: Vladimir <v.chernyadev@tradesoft.ru>
- Update to 2.4.10.1
Changes:
* Fixes pkgdb stale lock when cleaning shared libraries
* Fixes pkgng code causing 'pkg set -o' to be called when
not needed.
Feature safe: yes
- Update to checkin 9b00ac7
- Sync with 2.4.10 release
- Trim header
Changes:
* Prevent crashing when trying to use packages with pkgng
* manpage cleanups
Feature safe: yes
- Switch to USE_GITHUB/GH as the primary MASTER_SITE as it
does properly work on non-tagged commits
- Fix plist for packages by creating %%RUBY_SITELIBDIR%%/pkgtools
in PREFIX
- Update to 20120827 snapshot
Changelog:
* Fix running portupgrade from a portdir picking that port up as
the origin to upgrade/install
* Don't run 'make config' when only using packages with -PP
* Fix portinstall -n not listing depends or a summary (#29)
* manpage cleanups
* port{install,upgrade} -n will no longer fetch packages when using
-P or -PP. Use -F to fetch packages instead. -n implies dry run,
so it should not be making any modifications to the system.
Approved by: bapt (mentor)
- Update to 20120820 snapshot
- Changes:
* Fixed MOVED support [ports/151662]
* Fixed deleted port portupgrade -o support
* Automatically set DISABLE_CONFLICTS when replacing origins
* Fix self-upgrade on 7.x due to custom script(1) being used
* Fix errors when installing ports while inside WRKDIRS
* pkgng fixes:
* Implement portupgrade -o
* Bail out of pkgdb -F sooner
* Catch missing support in pkgdb -L
* Implement creating pkgng package with -p
* Be quieter about pkgdb -F support with pkgng
* Implement pkgdb -o PKGNAME=ORIGIN for pkgng
* Add PKGNG support to pkgdb.required?
Approved by: eadler (mentor)
- Fix creation of %%RUBY_SITELIBDIR%%/pkgtools from package
- Update to my new maintainer address
- Update mirror URL
- Update to 20120801 snapshot
Changelog:
* Fixes crash with duplicated origins
Approved by: eadler (mentor)
- Update to 20120611 snapshot
- Store distfiles in portupgrade/ subdir
- Fix installation to support staging and mark USE_STAGE for upcoming staging
support
- Fix pkgng automatic dependency handling
- Speed up some make variable lookups
PR: ports/168954
Submitted by: Bryan Drewery <bryan@shatow.net> (maintainer)
Port changes
- Convert to new options framework
- Sync pkg-message with devel/portupgrade
portupgrade changes
- portupgrade/portinstall -v now lists recursive depends [ports/137958]
- portupgrade lists new version after upgrade in results
- Fixed failure being seen as success due to broken script(1) [ports/147242,
ports/131111]
- A fixed script(1) is now included for systems < 8.1
- Expanded pkgng support
PR: ports/168548 which fixes: ports/137958ports/147242ports/131111
Submitted by: Bryan Drewery <bryan@shatow.net>
Update to latest portupgrade development snapshot.
Changes:
Fixe regression which causes pkgdb -u to take a long time without pkgng
support.
PR: ports/167823
Submitted by: "Bryan Drewery" <bryan@shatow.net> (maintainer)
Update to latest portupgrade development snapshot.
Changes:
- Fix portsdb -U crash when building INDEX
- All libs are now installed into the pkgtools/ namespace
- Experimental PKGNG support.
portupgrade -o, pkgdb -F and package upgrades do not work yet.
Enable with WITH_PKGNG=yes in /etc/make.conf
PR: ports/167811
Submitted by: "Bryan Drewery" <bryan@shatow.net> (maintainer)
Sync -devel port with release
Changes:
Fixes regression introduced 2.4.9.4 release, causing failed upgrades to
be seen as successes. Reported by: Matthew D. Fuller
<fullermd@over-yonder.net>
PR: ports/167512
Submitted by: "Bryan Drewery" <bryan@shatow.net> (maintainer)
Change portupgrade-devel to use a known hash and check distinfo
Submitted by: bryan@shatow.net (maintainer)
Security: b428e6b3-926c-11e1-8d7b-003067b2972c
- Update to 20110403 snapshot. This build includes support for ruby 1.9
(tested by Steve Willis).
- The conflict with portupgrade is actually an install conflict only.
- Upgrade both ports to 2.4.3
* Change a legacy part of code for gathering dependecies. It fixes
situation when some depends ports could be updated even when it
was up-to-date. As a result I added another check for -R option.
* Fix a wrong condition in portsclean. Now -L option works again.
* Change a semantic for -q option. Now it means 'quiet'. Don't
show a message when -N specified and there is an already installed
package. (Made for DesktopBSD).
Reported by: pav, Peter Hofer (DesktopBSD)
- Fix a function name
- When in task list is a port with IGNORE, portupgrade fails. Just ignore it
now.
Reported by: Gerard <gerard@seibercom.net>,
Matthew Seaman <m.seaman@infracaninophile.co.uk>
Number of commits found: 119 (showing only 100 on this page)