macports-base

The MacPorts command-line client

BSD-3-CLAUSE License

Stars
861
Committers
108

Bot releases are hidden (Show)

macports-base - MacPorts 2.7.0 beta 2

Published by jmroot over 3 years ago

Changes since beta1:

  • Fixed an error that could occur when applying the previously requested variants when upgrading. (#62751)
  • Fixed progress bar width when COLUMNS is not set in the environment.
  • Fixed inability to read the registry database without write permission when using newer SQLite versions.

Known issues:

  • The change committed as 4f276ab needs to be applied on 10.6 and older to successfully build base against the system SQLite.
macports-base - MacPorts 2.7.0 beta 1

Published by jmroot over 3 years ago

Changes since 2.6.4:

  • The platforms option now has a default value of darwin.
    (jmr in d918190)

  • Fixed incorrect versioning assumptions that led to being unable
    to find the right SDK on Big Sur. (#61866, jmr in 8aa347e)

  • Fixed installer incorrectly setting DISPLAY in the user's shell
    config on Big Sur. (#61649, jmr in 4ce1e96)

  • Fixed crash in rev-upgrade when MacPorts was built against the
    macOS 11 SDK and run on 10.15. (#61540, jmr in 23f2aa3)

  • Fixed minimum compiler version selected when C++14 and
    thread-local storage are required.
    (#61418, chrstphrchvz in 618d036)

  • Enabled write-ahead logging when using SQLite 3.22.0 and later,
    and enabled the fullfsync pragma, which should make the database
    even more resilient against power failures and the like.
    (#61154, jmr in 5779dbc)

  • Fixed svn fetch with newer Xcode versions that no longer provide
    svn (but do ship a /usr/bin/svn stub) by always using the
    subversion port. (#60854, jmr in 4acfd68)

  • Logs now explicitly mention the port's version, revision, and
    active variants. (#59643, jmr in d484695)

  • Improved error reporting when circular dependencies are present
    when installing or upgrading ports. (#59289, jmr in cea9833)

  • The universal variant is removed if it is not possible to build
    for two or more architectures. (#57133, jmr in fcff138)

  • New universal_possible variable can be checked to see if
    universal building is possible. (jmr in e356e1e)

  • Fixed error when choosing the currently active version when
    interactively prompted to pick a version by port activate.
    (#56817, jmr in 5f41bb4)

  • Configuring MacPorts base with --with-no-root-privileges now
    also defaults to --without-startupitems. (#56743, jmr in a18eb94)

  • Rev-upgrade now makes it more obvious when a port is considered
    broken because of using the wrong cxx_stdlib.
    (#56629, jmr in 00a2631)

  • Fixed missing error message when the sync portion of selfupdate
    fails. (#56549, jmr in 8f4b9e5)

  • When installing a port, the variants that are requested by the
    user (either on the command line or via variants.conf) are now
    recorded in the registry in order to distinguish them from
    default variants chosen by the port. When upgrading, only the
    requested variants from the previous version, rather than all its
    active variants, are considered when deciding which variants to
    request when installing the new version. (#46956, jmr in 19c9339)

  • Added new variables macos_version and macos_version_major, which
    contain the full macOS version (like 10.15.7) and the major macOS
    version (like 10.15 or 11), respectively. The macosx_version
    variable is still available but deprecated.
    (#56252, jmr in 1916d6f)

  • reclaim: remove everything under build and ccache directories.
    (#60126, khindenburg in b9fdb847, d08d261f)

  • For various actions, abort if @version specified is not current.
    (#60454, khindenburg, jmr in 835a7db1, ca071954)

  • Abort when a port includes a nonexistent PortGroup.
    (#59787, khindenburg in d9139328)

  • Adjust lint --nitpick on patchfiles to allow *.diff or *.patch.
    (#59695, khindenburg in 5037999e)

  • Display a progress bar when the underlying build system provides the
    necessary information, which is currently cmake and ninja.
    (#15939, landonf in da3524e)

  • Support compressed web pages for livecheck.
    (#55011, dgilman in 8c41ca7, d741f0c)

  • Added configure.sysroot variable, which is set to either
    ${configure.sdkroot} if an SDK is being used, or / if not.
    (#59798, jmr in 8d76ba6)

macports-base - MacPorts 2.6.4

Published by jmroot almost 4 years ago

Changes since 2.6.3:

  • Fixed incorrectly requiring a full Xcode installation when
    building all ports on Big Sur. (#61435, jmr in d58b124)

  • Allow building ports for x86_64 on arm64 systems if they don't
    support arm64. (#61430, jmr in 94f428e)

  • Disabled building the MacPorts SQLite extension by default, since
    the system's SQLite on Big Sur no longer supports extensions. Use
    the new macports.sqlext port, which has a dependency on MacPorts'
    sqlite3 port, to install it. (toby in 4664a4a)

  • Fixed calculation of dependencies of up-to-date ports during
    upgrade when different variants are specified but
    --enforce-variants is not used. (jmr in 81979e5)

  • Rev-upgrade no longer warns about libraries that are present only
    in the shared cache, since this is normal as of Big Sur.
    (jeremyhu in 601864d)

  • Fixed incorrect output of 'port info --depends' when used with
    multiple ports. (#61083, ryandesign in a7cf423)

  • Fixed incorrect warning that the SDK for the current OS version
    is missing, when configure.sdk_version has been cleared by the
    Portfile. (jmr in 8402cf8)

  • Fixed some operations involving fs-traverse failing with paths
    containing whitespace. (ryandesign in 52609c9)

  • Various changes to support arm64.
    (ryandesign, toby in c8ddc79, bfc0544, 7ccf5a2)

  • No longer error out immediately when an appropriate SDK cannot
    be found, which prevented even actions like 'port info' from
    working in that situation. (jmr in 5764fd9)

macports-base - MacPorts 2.6.3

Published by jmroot over 4 years ago

Changes since 2.6.2:

  • Correct macports-clang c++11+ compiler selection with non-libc++
    installations. (kencu in 3ea1fb4)

  • Avoid problems with trace mode on modern macOS.
    (#60702, saagarjha, cal in d96e5a85a)

  • Added some basic support for Apple Silicon.
    (jeremyhu, jmr in 6eaa8d5, 901eb21, 01afdbb)

  • Fixed an issue where post-extract ran with elevated privileges when
    adduser was used in a Portfile. (#50918, cal in ac1a9b099)

  • Fixed cases where a proper error message was not displayed when curl
    failed. (#60581, cal in f535c26)

  • Reduced the number of processes spawned when pinging mirror sites.
    (ryandesign in cee74bb)

  • Support new naming scheme used starting with macports-clang-10 in
    configure.compiler. (jonesc in 5c3f571)

  • Fixed dmg and mdmg targets on 10.15+. (#59697, jmr in 0459cb1)

  • Ensure archive paths are correctly quoted when extracting.
    (#60365, jmr in 8a088c3)

macports-base - MacPorts 2.6.2

Published by jmroot almost 5 years ago

Changes since 2.6.1:

  • Added support for zsh to the pkg installer's PATH setup code.
    (cal in f9a3b2d)

  • Allow individual ports to change prefix without disabling binary
    distribution for them. (jmr in d840f25)

  • Added warning to install the Command Line Tools when using
    Xcode 10 or later and headers corresponding to the current OS
    version are not available. (jmr in 8a7d604)

  • Always try macports-gcc on ppc systems if system compilers are
    blacklisted. (jmr in 42b36f4)

macports-base - MacPorts 2.6.1

Published by jmroot about 5 years ago

Changes since 2.6.0:

  • Fixed error on older OS versions that use apple-gcc-4.2.
    (#59089, jmr in a3a71b5)

  • Fixed 'port diagnose' check for command line tools on some older
    OS versions. (kencu in c2a1872)

  • Silenced some SDK-related warnings that were repeatedly printed
    when using Xcode 11. (jmr in 73ee4b4)

  • Improved performance with Xcode 11. (jmr in 3768efd)

  • Fixed C++ compiler selection with Xcode 4.x on Snow Leopard.
    (kencu in 37c7cfe)

  • Fixed 'port info --depends' printing the wrong set of fields.
    (#59149, jmr in e62716c)

macports-base - MacPorts 2.6.0

Published by jmroot about 5 years ago

Changes since 2.5.4:

  • The default cxx_stdlib for 10.6-10.8 is now libc++. It is
    recommended that users on these OS versions run rev-upgrade to
    rebuild any ports using libstdc++. (jmr in 6b7846a)

  • Extend the touch command to take a -W directory parameter.
    (#53730, khindenburg in a90c4b29)

  • Added fetch.user_agent option to allow working around servers
    that don't like our default User-Agent string.
    (slewsys in e5a420c)

  • Enabled sending custom headers in livecheck. (jonesc in 84f97ca)

  • Improved explanatory message when a port cannot be built with
    +universal on macOS 10.14. (#57245, jmr in 918c347)

  • Overhauled compiler selection logic. Ports can now specify that
    they require a particular C or C++ standard (e.g. C++11),
    Fortran, OpenMP, MPI, or TLS, and a suitable compiler will be
    chosen based on all these criteria. (mcalhoun in 5e17a69)

  • Rewrote handling of *.env options. This should fix cases where
    environment variables were not being set because the old code
    silently failed to parse something and skipped all remaining
    variables in the list. This change requires different quoting in
    some cases: each list element now needs to contain a single
    assignment (like VAR=value). (jmr in 9313be5)

  • 'port info' with multiple field options now outputs the fields
    in the order they were given. (#57003, khindenburg in e115b59)

  • Added 'bump' action to assist in updating ports to new upstream
    versions. (satraul in 9c91a29)

  • Added use_xcode option which indicates that a port requires a
    full Xcode installation to build (as opposed to just the Command
    Line Tools). This should allow MacPorts to only complain about
    Xcode not being installed when it's really needed.
    (#58016, satraul in 057ce2b)

  • Allow using the 'macosx' SDK when the SDK for the current OS
    version is not present. This comes with its own problems, but
    it's better than not being able to build anything.
    (#57143, jmr in 8caac19)

macports-base - MacPorts 2.6.0-rc1

Published by jmroot about 5 years ago

Changes since beta1:

  • Fixed port deps not showing depends_patch
  • Added bump action to port man page
macports-base - MacPorts 2.6.0 beta 1

Published by jmroot about 5 years ago

Changes since 2.5.4:

  • Extend the touch command to take a -W directory parameter.
    (#53730, khindenburg in a90c4b29)

  • Added fetch.user_agent option to allow working around servers
    that don't like our default User-Agent string.
    (slewsys in e5a420c)

  • Enabled sending custom headers in livecheck. (jonesc in 84f97ca)

  • Improved explanatory message when a port cannot be built with
    +universal on macOS 10.14. (#57245, jmr in 918c347)

  • Overhauled compiler selection logic. Ports can now specify that
    they require a particular C or C++ standard (e.g. C++11),
    Fortran, OpenMP, MPI, or TLS, and a suitable compiler will be
    chosen based on all these criteria. (mcalhoun in 5e17a69)

  • Rewrote handling of *.env options. This should fix cases where
    environment variables were not being set because the old code
    silently failed to parse something and skipped all remaining
    variables in the list. This change requires different quoting in
    some cases: each list element now needs to contain a single
    assignment (like VAR=value). (jmr in 9313be5)

  • 'port info' with multiple field options now outputs the fields
    in the order they were given. (#57003, khindenburg in e115b59)

  • Added 'bump' action to assist in updating ports to new upstream
    versions. (satraul in 9c91a29)

  • Added use_xcode option which indicates that a port requires a
    full Xcode installation to build (as opposed to just the Command
    Line Tools). This should allow MacPorts to only complain about
    Xcode not being installed when it's really needed.
    (#58016, satraul in 057ce2b)

  • Allow using the 'macosx' SDK when the SDK for the current OS
    version is not present. This comes with its own problems, but
    it's better than not being able to build anything.
    (#57143, jmr in 8caac19)

  • The default cxx_stdlib for 10.6-10.8 is now libc++. It is
    recommended that users on these OS versions run rev-upgrade to
    rebuild any ports using libstdc++. (jmr in 6b7846a)

macports-base - MacPorts 2.5.4

Published by jmroot about 6 years ago

Changes since 2.5.3:

  • Fixed a reclaim failure when the distfiles option contains a list
    of one or more empty strings. (#56786, jmr in 8a67087)

  • Changed the 'default' command to not require overquoting of the
    default value that is being set. (jmr in 8434c0e)

  • Indicate that i386 is not supported by the macOS 10.14 SDK.
    (jmr in 60544ce)

macports-base - MacPorts 2.5.3

Published by jmroot over 6 years ago

Changes since 2.5.2:

  • Fixed failures due to insufficient privileges on older OS versions.
    (#56721, jmr in 4b36e60)

  • Fixed 'port reclaim' failing when installed ports have circular
    dependencies. (#56730, jmr in f4affba)

  • Fixed 'port provides' on Tiger. (#56620, jmr in 6ba4c34)

  • Fixed os.platform value set by portindex -p. (jmr in e45ab90)

macports-base - MacPorts 2.5.2

Published by jmroot over 6 years ago

Changes since 2.5.1:

  • Fixed expression used to check for g++-mp-* when choosing default
    configure.cxx_stdlib (#56605, jmr in 3e430f1)
macports-base - MacPorts 2.5.1

Published by jmroot over 6 years ago

Changes since 2.5.0:

  • Set the default value of configure.cxx_stdlib to macports-libstdc++ when
    using macports-gcc-* compilers. (jmr in feaba00)

  • Worked around failure to activate ports containing read-only files in
    non-root-owned MacPorts installations by disabling hfscompression for
    those installations. (#56563, jmr in cf91a8b)

  • Fixed failure to record that a port has overridden cxx_stdlib when
    installing from an archive generated by an older version of MacPorts.
    (jmr in a514690)

macports-base - MacPorts 2.5.0

Published by jmroot over 6 years ago

Changes since 2.4.4:

  • New pseudo-portname 'rleaves', matching installed ports that are
    unrequested and that no requested ports depend on.
    (danchr in b042c0e7)

  • 'port reclaim' will automatically run 'port rev-upgrade' at the end.
    (danchr in eed6ffce)

  • 'port reclaim' will only remove all unrequested ports as manual
    selection of a subset could break dependents.
    (g5pw in 3578400b)

  • 'port reclaim' respects -N for non-interactive and -y for dry run mode.
    (#53857, raimue in 08d0a695)

  • New flag 'port fetch --no-mirrors' which will only fetch from URLs
    in master_sites.
    (raimue in 0cf1faf2)

  • 'port selfupdate --nosync' has been deprecated, use '--no-sync' instead.
    (#56434, raimue in ce6d4817)

  • Apply HFS+ compression on activation when bsdtar is available and
    supports --hfsCompression. Used automatically when libarchive is
    installed.
    (#36560, eborisch, raimue in 829557e2)

  • Allow dots in variant names.
    (#46807, raimue in c3f08731)

  • Sandbox allows access to /dev/ptmx and /dev/ttys*
    (ryandesign in 8765c142)

  • New option use_tar for ports that use uncompressed tar archives
    as distfile.
    (ryandesign in f10e0e37)

  • Add depends_patch to handle the patch dependencies of ports
    (#52445, khindenburg in a74c159d)

  • Add the ability to handle xz patch files
    (#52445, khindenburg in 5a142fd2)

  • The cxx_stdlib and delete_la_files settings are taken into account when
    determining which archive sites can be used. (#56053, jmr in cbbc31e)

  • New options startupitem.debug and startupitem.daemondo.verbosity
    (#22471, jmr in fd19a71)

  • StartupItems installed by a port are unloaded when the port is
    deactivated, and reloaded after it is upgraded.
    (#23677, jmr in 738e5f5)

  • The message about how to load a port's StartupItem is now part of the
    notes, and will thus be displayed when ports are installed from a
    binary archive, and can be reviewed later with 'port notes'.
    (#31798, jmr in 6faf3f8)

  • startupitem_autostart macports.conf setting allows autostart to be
    disabled for all ports. (#40074, jmr in 85ffdc7)

  • Ports can install more than one StartupItem using the 'startupitems'
    option. (#44295, jmr in 99d5fb3)

  • Having a different startupitem.install setting than was used when
    a binary archive was built now works. (#44496, jmr in 3dde77d)

  • 'port load' will now attempt to load launchd plists even if they have
    not been installed in /Library. (#44497, jmr in ec4ae2d)

  • StartupItems installed as LaunchAgents can be loaded for the current
    user with 'port load'. Loading LaunchDaemons still requires root.
    (jmr in 190bf96)

macports-base - MacPorts 2.5.0-rc1

Published by jmroot over 6 years ago

Changes since beta1:

  • Made portindex(1) more robust in the case of more than one port with the same name being accidentally added to the tree. (raimue in aa2b75c)
macports-base - MacPorts 2.5.0-beta1

Published by jmroot over 6 years ago

Changes since 2.4.4:

  • New pseudo-portname 'rleaves', matching installed ports that are
    unrequested and that no requested ports depend on.
    (danchr in b042c0e7)

  • 'port reclaim' will automatically run 'port rev-upgrade' at the end.
    (danchr in eed6ffce)

  • 'port reclaim' will only remove all unrequested ports as manual
    selection of a subset could break dependents.
    (g5pw in 3578400b)

  • 'port reclaim' respects -N for non-interactive and -y for dry run mode.
    (#53857, raimue in 08d0a695)

  • New flag 'port fetch --no-mirrors' which will only fetch from URLs
    in master_sites.
    (raimue in 0cf1faf2)

  • 'port selfupdate --nosync' has been deprecated, use '--no-sync' instead.
    (#56434, raimue in ce6d4817)

  • Apply HFS+ compression on activation when bsdtar is available and
    supports --hfsCompression. Used automatically when libarchive is
    installed.
    (#36560, eborisch, raimue in 829557e2)

  • Allow dots in variant names.
    (#46807, raimue in c3f08731)

  • Sandbox allows access to /dev/ptmx and /dev/ttys*
    (ryandesign in 8765c142)

  • New option use_tar for ports that use uncompressed tar archives
    as distfile.
    (ryandesign in f10e0e37)

  • Add depends_patch to handle the patch dependencies of ports
    (#52445, khindenburg in a74c159d)

  • Add the ability to handle xz patch files
    (#52445, khindenburg in 5a142fd2)

  • The cxx_stdlib and delete_la_files settings are taken into account when
    determining which archive sites can be used. (#56053, jmr in cbbc31e)

  • New options startupitem.debug and startupitem.daemondo.verbosity
    (#22471, jmr in fd19a71)

  • StartupItems installed by a port are unloaded when the port is
    deactivated, and reloaded after it is upgraded.
    (#23677, jmr in 738e5f5)

  • The message about how to load a port's StartupItem is now part of the
    notes, and will thus be displayed when ports are installed from a
    binary archive, and can be reviewed later with 'port notes'.
    (#31798, jmr in 6faf3f8)

  • startupitem_autostart macports.conf setting allows autostart to be
    disabled for all ports. (#40074, jmr in 85ffdc7)

  • Ports can install more than one StartupItem using the 'startupitems'
    option. (#44295, jmr in 99d5fb3)

  • Having a different startupitem.install setting than was used when
    a binary archive was built now works. (#44496, jmr in 3dde77d)

  • 'port load' will now attempt to load launchd plists even if they have
    not been installed in /Library. (#44497, jmr in ec4ae2d)

  • StartupItems installed as LaunchAgents can be loaded for the current
    user with 'port load'. Loading LaunchDaemons still requires root.
    (jmr in 190bf96)

macports-base - MacPorts 2.4.4

Published by jmroot over 6 years ago

Changes since 2.4.3:

  • Use subversion port instead of /usr/bin/svn in fetch phase
    on OS X 10.11 El Capitan and earlier.
    (#55933, ryandesign in 8a3b73d263, c8fd1a3098, 62e07cae09)

  • Use git port instead of /usr/bin/git in fetch phase
    on OS X 10.8 Mountain Lion and earlier.
    (#55989, ryandesign in 78990c5ab7, e6eedb05dd)

  • 'port reclaim' works correctly with distfiles with tags.
    (#55939, raimue in 3ad97625)

  • Trace mode with ccache enabled works correctly when the ccache-devel
    port is installed.
    (#55680, raimue in 64c60f29)

  • Add 'size' to the set of default checksums.
    (ryandesign in 95a153e6)

  • An error will be raised immediately if the revision or epoch options
    are set to something that is not an integer. (#26486, jmr in 387cd8c)

  • 'port mirror' will skip ports that have the special keyword 'NoMirror'
    in their license option. (raimue in fae17c2)

macports-base - MacPorts 2.4.3

Published by jmroot over 6 years ago

Changes since 2.4.2:

  • Fix trace mode on macOS High Sierra 10.13.3
    (#55575, raimue in 995dde84)

  • Using subport= with a nonexistent subport causes an error.
    (#34619, jmr in 9c48520c)

  • livecheck.regex is matched case-insensitive.
    (khindenburg in 0310feb5)

  • Sandbox allows read/write access to /dev/{u,}random.
    (jmr in c8c1565f)

  • Sandbox allows write access to /var/db/mds.
    (#50469, cal in 1f765222)

macports-base - MacPorts 2.4.2

Published by raimue about 7 years ago

Changes since 2.4.1:

  • Sandbox prevented ports to set suid permission bit on High Sierra.
    (#54963, raimue in d72ad486)
  • Change compiler and SDK selection rules for Sierra and High Sierra.
    (#54504, ryandesign, jeremyhu in 7eccb87a, b1b1ea0b)
  • Use copyfile(3) with COPYFILE_CLONE for SIP workaround in trace mode.
    (raimue in 3d4c9b34)
  • Fix memory leak in 'port reclaim'.
    (#54156, mojca in c2df3cc9)
macports-base - MacPorts 2.4.1

Published by jmroot over 7 years ago

Changes since 2.4.0:

  • Avoid an infinite loop when livecheck.regex is empty.
    (raimue in d33a8a0)
  • Fixed detection of /opt/local/bin already in the user's PATH in the
    installer postflight script. (barry-scott in dcb0788, b757252)
  • Fixed the display of default variants by 'port variants' when the
    defaults are affected by variants present in variants.conf.
    (jmr in 9e63a61)
  • Fixed 'port reclaim' deleting a file installed by the MacPorts installer
    for technical reasons.
    (#53436, cal in b0c0957)
  • Display warning if reinplace doesn't change anything.
    (#15514, khindenburg in 8460505)
  • Fixed 'port select' failure when the currently selected version no
    longer exists. (#31702, raimue in 9389e83)
  • Fixed 'port lint' complaining that very large epoch values are
    non-numeric. (#53489, ionic in eb0a577, 0846afb)
  • Fixed fallback to building from source when MacPorts is configured to
    get packages from an FTP server. (#53530, jmr in 6718cc6)
  • Fixed failure to extract portdir archives. (#53532, jmr in 8c2da16)
  • Fixed 'port diagnose' incorrectly offering to fix the PATH in some
    shells by skipping the check with shells it doesn't know about.
    (#53473, jmr in 17c70c9)
  • Reduced the default verbosity of 'port diagnose'. (jmr in 741a77b)
  • Fixed 'port diagnose' incorrectly reporting some symlinks as missing.
    (#53490, jmr in 103d6f6)
  • Fixed 'port lint' complaining that GitHub handles should be obfuscated.
    (jmr in 2cadd1b)