Commit Graph

7031 Commits

Author SHA1 Message Date
Joshua Root c128a2af59 Remove Id lines 2016-12-15 05:51:11 +11:00
Joshua Root 0210261e6d Turn off syscall restarting in get_next_cmdline 2016-12-12 03:33:03 +11:00
Joshua Root 61494a321e Brace and simplify a few expressions 2016-12-12 02:22:04 +11:00
Joshua Root e1f8b32907 Catch signals at the top level
Print a simple message acknowledging the signal and exit, instead of
printing a backtrace.
2016-12-11 00:48:42 +11:00
Joshua Root 68016b825b Add prefix_unwritable check for selfupdate
Fail early with a good message if the user forgot to use sudo or
otherwise can't write to the prefix.

Fixes: https://trac.macports.org/ticket/48439
2016-12-10 23:23:50 +11:00
Joshua Root c6b5a6bec4 Fix odd 'if' syntax
Enclosing the first argument of Tcl's 'if' in parentheses instead of
braces is instinctive for C programmers, but it only works if the
condition contains no spaces, and probably prevents byte compilation.
2016-12-10 22:55:48 +11:00
Joshua Root dd89bb80ff Use pkgbuild when possible
PackageMaker.app has been removed from Xcode tools for some time, so
use pkgbuild instead when it's available and we're building flat
packages.

Fixes: https://trac.macports.org/ticket/42725
2016-12-10 22:39:53 +11:00
Joshua Root d4f4904185 Avoid rev-upgrade permissions errors
Check that the prefix is writable when running rev-upgrade in rebuild
mode, and fail early with a good message if not.

Fixes: https://trac.macports.org/ticket/47592
2016-12-10 18:28:55 +11:00
Joshua Root b856b49512 Always maximise RLIMIT_NOFILE
This should at least work around problems with running out of fds.
Code calling setrlimit has been moved from one place in tracelib.c and
put in its own command, which is called from mportinit.

See: https://trac.macports.org/ticket/50986
2016-12-10 16:42:39 +11:00
Joshua Root 7ef500b572 Disable svn test on darwin < 10
On these OS versions, a dependency on the subversion port will be added,
which can't be satisfied in the test environment.
2016-12-09 23:06:48 +11:00
Joshua Root c085ebfe66 Set fetch.ignore_sslcert in port1.0 test Portfile 2016-12-09 20:37:18 +11:00
Joshua Root 4bc88056b8 Ignore SSL cert in curl test
This allows it to work on systems older than 10.6.
2016-12-09 20:22:12 +11:00
Joshua Root e6316dc141 Relocate distfile for port1.0 test Portfile
svn.macports.org is redirecting http to https and Leopard can't verify its
cert, and it's deprecated anyway.
2016-12-09 02:13:23 +11:00
Joshua Root 6652f6001e Fix fetch_port with gnutar 2016-12-09 01:43:21 +11:00
Joshua Root e07abc87b9 Fix test.tcl parsing of test output
This could not handle tests with more than one constraint at all.

Fixes: https://trac.macports.org/ticket/52217
2016-12-08 03:47:09 +11:00
Joshua Root ea850b224b Uninstall in correct order in reclaim
Sort inactive ports into dependency order before uninstalling, since
some of them may depend on others. Also display version information
as well as port names, as there may be more than one inactive version
of any given port.

Fixes: https://trac.macports.org/ticket/52791
2016-12-08 01:04:55 +11:00
Joshua Root 47ac2b39a3 Use registry2 API in reclaim 2016-12-08 00:02:24 +11:00
Joshua Root 3033c9995f Regen port-reclaim man page 2016-12-07 23:06:55 +11:00
Joshua Root 08a5760be3 Allow reclaim nag to be turned off. 2016-12-07 23:02:40 +11:00
Joshua Root d4820b0a56 Fix typos in ChangeLog 2016-12-06 23:06:14 +11:00
Rainer Müller 7ae13c1508 ChangeLog: Update for upcoming 2.3.6 release
(cherry picked from commit 94c1409078)
2016-12-06 12:45:50 +01:00
Rainer Müller 8d73019a46 port info: Slight refactoring of field formatting
Remove one level of indentation, no functional changes.
2016-12-06 12:13:57 +01:00
Rainer Müller b75ba554fe port info: Flatten long_description
See: https://trac.macports.org/ticket/52928#comment:3
2016-12-06 12:13:57 +01:00
Rainer Müller 596dc5fbd5 port info: Fix whitespace and rephrase comment 2016-12-06 12:13:57 +01:00
Rainer Müller 3f372a57b4 port info: Print subfield labels only for --pretty
See: https://trac.macports.org/ticket/52928
2016-12-06 12:13:57 +01:00