forked from macports/macports-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
3093 lines (2163 loc) · 132 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
###
# This is a log of major user-visible changes in each MacPorts release.
###
Release 2.10.4 (2024-11-01 by jmr)
- Fixed destroot_finish error on some older macOS versions.
(#71217, jmr in aa60115)
Release 2.10.3 (2024-10-31 by jmr)
- On Apple Silicon Macs, the port command will now ensure that it
is running natively by relaunching itself if it is started under
Rosetta 2 and build_arch is not set to x86_64 in macports.conf.
Migration is no longer required when MacPorts base is x86_64
only, provided that build_arch is set to x86_64 in macports.conf.
This will ensure that most users are running natively while still
allowing a fully emulated x86_64 installation if desired.
(jmr in eee437c, 425b158)
- Fixed error trying to create the history file in shell mode when
~/.macports doesn't exist yet. (#71143, jmr in e788103)
- Added mitigation for a rarely seen macOS bug affecting handling
of sparse files. (#67336, jmr in af49e24)
- Silenced error message from running 'pragma OPTIMIZE' on the
registry database without write access. (#71017, jmr in c219570)
- Fixed recreating the destroot from an installed port image that
is a directory, as needed by some targets like mpkg.
(#71011, jmr in c3c817e)
- Fixed force activation of conflicting ports. (jmr in 1f52c5a)
Release 2.10.2 (2024-10-01 by jmr)
- Fixed 'port restore' erroring out when a Portfile failed to
parse. (#70903, jmr in 202d58b)
- Worked around a bug in the version of libcurl shipped in recent
macOS versions that was causing crashes when downloading from FTP
sites. (#70764, jmr in ff881a5, 1ac551f)
- 'port snapshot --list' now respects the -q option.
(jmr in e756756)
- Fixed expressions involving the complement operator ("and not")
causing an error when the right hand side evaluated to empty.
(jmr in 96520f2)
- Worked around a bug in Tiger's gnutar that caused an error when
installing from some archives generated on newer systems.
(#70622, jmr in d54e1de)
Release 2.10.1 (2024-08-16 by jmr)
- Fixed issues migrating when running under Rosetta 2 on
Apple Silicon. (#70512, jmr in 567fa44, e291303, 9eb441f)
- Fixed printing the list of installed versions twice when an
ambiguous 'port activate' is run. (#70514, jmr in d27484c)
- The default build_arch is now always arm64 when running on Apple
Silicon hardware, even under Rosetta 2. (#61750, jmr in 05cd570)
Release 2.10.0 (2024-08-07 by jmr)
- 'port space' no longer overcounts the space used by ports that
install links. (#66526, jmr in 11662bd)
- The number of outdated ports is printed after running
'port selfupdate'. (#33820, thelastlin in 4ae6d98)
- 'port selfupdate' now checks whether MacPorts base is outdated by
downloading a small file, and only downloads and extracts the
source code (via http(s)) if a new version needs to be installed.
Integrity of the source is checked using OpenBSD's signify(1).
The old rsync method is used as a fallback if the new method
fails. (#38265, cal in dd3acc4)
- Line continuation is supported in macports.conf by ending lines
with a backslash. (jmr in b86ef1e)
- Ports' files are now activated using clonefile() when on a
filesystem that supports cloning (such as APFS). This should
perform better and use less storage for active ports. Port images
are stored as directories rather than archives in this case. A
'portimage_mode' option has been added to macports.conf to
enable changing which method is used. (#69555, jmr in 4504942)
- The middle part of bin:, lib:, and path: depspecs is no longer
interpreted as a regex. This was mostly undocumented, almost
never used, and made it difficult to use paths containing
characters with special meaning in regexes.
(#69585, jmr in e0c1226)
- Added 'port migrate' action, which can be used after moving to a
new major OS version or CPU architecture to reinstall MacPorts
base and installed ports if needed. (umeshksingla in 6e2f453,
cal in 3f83ad1, 4317a32, f40f655, 72478b1 etc.)
- Added -t and -N options to the default patch.pre_args, to prevent
patch(1) on recent macOS versions from silently reverse-applying
already-applied patches. (vallon in b1f59d8)
- Updated the bundled Tcl to 8.6.14. (jmr in bc46d68)
- Added test.asroot option. (jmr in 6f0de6c)
- Prevented 'port rdeps --full' from looping infinitely when there
are circular dependencies. (#62711, jmr in 49df406)
- Performance improvements for many operations, particularly
boolean expressions and Portfile parsing. (jmr in a28e81c,
169b1ed, 2f3d072, c97e75d, 341d9a0, 46bc1af, etc.)
- Add progress bars to slow activation and deactivation operations.
(cal in b78e320b1, 5e669e4a0, 31c285116, cb3305837, effd43526)
Release 2.9.3 (2024-04-04 by jmr)
- Fixed error due to insufficient privileges to create the work
symlink in some circumstances. (jmr in 51511c8)
Release 2.9.2 (2024-04-02 by jmr)
- Fixed built-in architecture test failing on unreadable files.
(#69478, jmr in e3468c5)
- Fixed some issues that could occur if settings like 'prefix'
contained symlinks, by fully resolving and normalizing paths read
from the config file. (#69327, jmr in b69f0cf)
- Fixed privileges sometimes not being dropped for test target.
(jmr in d304c0a)
Release 2.9.1 (2024-01-31 by jmr)
- Fixed installation of unneeded build-time dependencies when using
source-only mode. (cal in 5988c00)
Release 2.9.0 (2024-01-24 by jmr)
- Upgrade will now update registry metadata if needed for ports
that are not outdated. This should hopefully cut down on revision
increases requiring a rebuild just to do things like add or
remove dependencies. (jmr in bec110b)
- Added new option 'startupitem.logfile.stderr'.
(#67955, mascguy in e70a512)
- Many single-letter command line options should now work when
given after the action name, and apply only to that action. A few
like -N can't easily be turned on and off internally, so if in
doubt, keep putting single-letter options before the action.
(jmr in aec0601)
- Ports that set platforms containing 'any' are now not considered
outdated after major OS updates. (#68256, jmr in 1b4db00)
- Dependencies installed for the first time when upgrading a port
no longer inherit all variants from the dependent port. Arch
checking is now done in this case so +universal is added to the
dependency iff needed. (#67637, jmr in 7be167c)
- Prevented rev-upgrade from complaining about weakly-linked libs
that are not present. (#52700, chrstphrchvz in 77e333a)
- Avoid installing build-time dependencies when force-upgrading an
installed port for which a binary archive will be used.
(#67017, jmr in a9597dc)
- Fixed error when running upgrade with -R and -u options.
(#68019, jmr in 980a5c1)
- Fixed rev-upgrade potentially trying to access registry entries
that have been uninstalled as a result of a rebuild.
(#66186, jmr in 1abd73a)
- Fixed missing make command potentially causing some ports to fail
to parse. (#60881, jmr in 1b4e6a1)
- Prevented destroot.keepdirs from creating files outside the
destroot. (#55673, jmr in 8db11c8)
- Running 'port install' on a port that is already installed will
set the requested flag for that port. (#55085, jmr in 7ed853d)
- Fixed trace mode on Intel macOS 13. (#66358, cal in 4a1b0c7)
- Fixed incorrect trace mode handling of setuid/setgid binaries.
(cal in 9cc9afc)
- Fixed the deactivate and uninstall actions sometimes not handling
multiple ports in correct dependency order if one or more of them
was specified with non-canonical case. (#60446, jmr in 772a9cc)
- Fixed port names that differ only in case not being considered
to be the same when evaulating boolean expressions.
(#50518, jmr in bd02a2f)
- Fixed some issues that could occur in the unusual case that a
mirror has an archive but not its corresponding signature.
(jmr in a774938, f7828b8)
- If the macports user has an incorrect home directory set somehow,
the installer should now fix it. (#49101, jmr in 128e8ce)
- Skip vacuuming the registry database on shutdown (after
uninstalling one or more ports) if it would not save significant
space. (jmr in c82a269)
- Clean up the SQLite write-ahead log file when closing the
registry. (jmr in 9bb06b9)
- Added a simple default test phase for all ports, which currently
just checks the architectures of installed files. 'test.run yes'
enables the tests defined by the Portfile, as before. It should
always be safe to run 'port test' now, and if it fails it means
a test didn't pass. (jmr in ddc2655)
- Using multiple threads for portindex. (jmr in f00bf80)
Release 2.8.1 (2023-01-31 by jmr)
- Fixed 'port lint' complaining about 'platforms any'.
(jmr in 84d8683)
- Specifiers like {darwin any >= 10} are now allowed in platforms.
This means one archive will be shared by all darwin versions, but
it only works on the specified versions.
(jmr in 3d9856b)
- The -stdlib option is now passed to GCC when supported.
(jonesc in ebd2261)
- Fixed the PortIndex not getting correct known_fail values based
on the platforms option when using 'portindex -p'.
(#66301, jmr in a82021a)
- Updated the bundled Tcl to 8.6.13. (jmr in 9edb436)
- No longer automatically creating a symlink in $workpath when the
expected worksrcdir doesn't exist, as this broke some ports.
Either set worksrcdir correctly, or if it can't be determined in
advance, set the new 'extract.rename' option to 'yes'.
(jmr in ffdb7d9, 8ae0d73)
- Added --no-test option for 'port rdeps' to exclude depends_test.
(jmr in f1de2b6)
Release 2.8.0 (2022-10-20 by jmr)
- Fixed an error that occurred in the very specific but apparently
somewhat common circumstances where a port was installed from a
binary archive but failed to activate (usually because of a
conflict with an existing file), and then the port was
uninstalled, and later installed again without cleaning it in
between. (#55445, jmr in bdd0a13)
- Added startupitem.custom_file option, which can be used to
specify the path to an existing .plist file that should be
installed instead of generating one. (jmr in dadc533)
- The platforms option can now indicate which OS versions a port
works on, and known_fail is automatically set on other versions.
(#15712, jmr in 2866618)
- The user is now informed before installing if a port sets
known_fail, with the option to try installing anyway if you
really want to. (#60566, jmr in d863a7e, 3406c5d)
- Attempting to install a port with replaced_by set will now
install the replacement instead. (jmr in 4da66a2)
- Fixed new dependencies installed when upgrading a requested port
being incorrectly marked as requested. (#60648, jmr in 31e10a8)
- The SQLite included with Tcl is now used instead of the system
version. (jmr in 11d2b06)
- MacPorts can now be built without a pre-existing tclsh.
(#61253, jmr in 2eeba4d)
- Updated the bundled Tcl to 8.6.12, as well as tcllib 1.21 and
tclx 8.4.4. (cal in 89abece, 24c34a9, d7cf914, d3d9e4b, etc.)
- Fixed the 'ln' command erroring when told to link more than two
files into a directory. (jmr in b75c464)
- The PortGroup command now prevents multiple inclusion of the same
portgroup. (jmr in 4215012)
- Added xcodecltversion variable containing the installed version
of the Command Line Tools for Xcode. (jmr in d05ebde)
- The vercmp command can now take a comparison operator.
(jmr in 35daead)
- Fixed error when installing ports that change prefix without root
privileges. (#65313, jmr in a594e01, fbfcb9f)
- Fixed possible directory ownership error when syncing with recent
versions of git. (jmr in e0338e8)
- Improved the message printed by 'port diagnose' when the Xcode
version is newer than any we know about. (#63377, jmr in 733d6e7)
Release 2.7.2 (2022-03-09 by jmr)
- Fixed poor trace mode performance on newer OS versions.
(cal in 3b949cc)
- Added escaping of shell-unsafe characters when compressing man
pages in the destroot phase. (#64531, jmr in b6bac45)
- Fixed several cases of unrelated errorInfo being printed when
something failed. (jmr in e5e7dff, b864109)
- Fixed handling of distname containing spaces.
(#64419, jmr in 690fab1)
- Fixed use_xmkmf. (#64011, ryandesign in ce42354, c8ff808)
- Fixed fetch.type cvs. (#63931, ryandesign in c118fb2)
- Avoided error about specified version being unavailable when the
version came from a pseudo-portname like 'outdated'.
(#63438, jmr in db498e0)
- Fixed failure in PortGroup command when the ports tree path
contains spaces. (#63534, jmr in b83c743)
- Fixed incorrect compiler selection logic for certain GCC
versions. (#63281, jmr in 087ce29)
- Added metadata so Installer won't erroneously claim that the
MacPorts .pkg requires Rosetta 2 to install on Apple Silicon.
(#63096, jmr in 09c4373)
Release 2.7.1 (2021-05-26 by jmr)
- Fixed SQL error when MacPorts was built against the 10.15 SDK but
run on 10.14. (#62929, jmr in 0249b3c)
- Fixed poor performance when installing ports containing tens of
thousands of files. (#56793, jmr in fc212a0)
- Fixed a stack trace being printed after an error occurred if
COLUMNS was not set in the environment. (#62935, jmr in 13eeabd)
Release 2.7.0 (2021-05-19 by jmr)
- 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)
Release 2.6.4 (2020-11-14 by jmr)
- 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)
Release 2.6.3 (2020-07-19 by jmr)
- 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)
Release 2.6.2 (2019-10-20 by jmr)
- 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)
Release 2.6.1 (2019-10-03 by jmr)
- 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)
Release 2.6.0 (2019-09-21 by jmr)
- 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. (#55139, 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)
Release 2.5.4 (2018-10-03 by jmr)
- 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)
Release 2.5.3 (2018-07-05 by jmr)
- 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)
Release 2.5.2 (2018-06-05 by jmr)
- Fixed expression used to check for g++-mp-* when choosing default
configure.cx_stdlib (#56605, jmr in 3e430f1)
Release 2.5.1 (2018-06-04 by jmr)
- 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)
Release 2.5.0 (2018-05-28 by jmr)
- 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)
Release 2.4.4 (2018-05-06 by jmr)
- 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)
Release 2.4.3 (2018-04-11 by jmr)
- 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)
Release 2.4.2 (2017-10-05 by raimue)
- 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)
Release 2.4.1 (2017-02-26 by jmr)
- 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)
Release 2.4 (2017-01-27 by jmr)
- New action 'port reclaim' to clean inactive ports and unnecessary
distfiles to get back disk space, developed during GSoC 2014.
(ksammons in branch gsoc14-cleanup)
- New action 'port diagnose' to check for installation problems and
configuration errors, developed during GSoC 2014.
(ksammons in branch gsoc14-cleanup)
- Replaced the strings previously printed by "port help" with much more
detailed and current manpages written using asciidoc that open
automatically. Added documentation for almost all commands currently
implemented by MacPorts.
(#15467, #44530, raimue in branch new-help-system, merge in r123002,
manpages written by cal, jmr, raimue, ionic, jeremyhu)
- Added interactive questions for various use cases like 'install',
'activate', 'uninstall --follow-dependencies'. Also added global
flag '-N' to provide non-interactive invocations.
(shasha in branch gsoc14-interactive, merge in r124243)
- Display notes for installed or updated ports at the end of the
installation to prevent them from getting lost in the scrolling output.
(#24507, cal in r118304, patch by snc)
- Show date in verbose output of 'port installed'
(raimue in r146757, r152685)
- Added "setunrequested" alias for "unsetrequested" command.
(ionic in r130217)
- Handle SIGTERM and SIGINT (^C) in MacPorts to prevent inconsistencies in
the registry database when MacPorts is aborted during a critical
operation.
(cal in r118297 and r118298)
- Added macports_version to the Portfile execution context, to allow
checking the current MacPorts version in Portfiles.
(cal in r134511)
- Add depends_test to handle the dependencies for the test phase of ports.
(#38208, khindenburg in r140488)
- If the lbzip2 (or in limited cases, pbzip2) port is installed, MacPorts
will now use it when extracting .bz2 archives. (jmr in r121711)
- Remove "support" for rpm and deb packages in MacPorts, leaving pkg/mpkg.
(afb in r123004)
- Remove deprecated rpm-vercomp function, ports should use vercmp instead.
(afb in r123005)
- Use pkgbuild instead of PackageMaker.app in 'port pkg' on newer systems.
(#42725, jmr in dd89bb8)
- Fixed a bug that could cause installation of ports with large numbers of
dependencies to fail due to running out of file descriptors.
(#50986, jmr in 0fd195f)
- Fixed variants requested on the command line or in variants.conf not
being properly passed down to dependencies when +universal is added
by arch checking. (#53322, jmr in 4972592)
- Fixed building dmgs of ports with a non-zero revision.
(#51136, jmr in 62d7125, e0c7f1c, 75584d8)
- Fix 'port info' output for multi-valued maintainers
(#52928, raimue in ba2002c)
Release 2.3.5 (2016-11-16 by raimue)
- Updated compiler selection for macOS 10.12 Sierra
(jeremyhu in r141134 and r150305)
- Do not use default archive_sites for custom ports trees
(raimue in r147456)
- Prune symlinks to deleted libtool archives (.la)
(#40935, jmr in r119571, r119594, r119595)
- Return an error if livecheck matched a version older than the current
version.
(jmr, raimue in r127797, r149299)
- Permit pkg phase to be run as root, if needed for additional
modifications in destroot.
(ctreleaven in r152115)
- Ignore warnings on stderr for archive extraction to allow use of gnutar.
(#42492, cal in r132312)
- Create the documented porthier(7) directory structure in ${prefix}/var
and ${prefix}/share for destroot phase.
(#45434, #47688, ryandesign in r135998, r135999)
- When syncing a ports tree failed, operation could continue with the
wrong uid.
(#43202, cal in r118570)
- Change default of livecheck.ignore_sslcert to "no".
(#52515, raimue in r153648)
- No longer check Subversion properties in 'port lint'
(#48577, ryandesign in r153865)
- Fix problems with the postflight script in the installer.
(#43875, #43749, cal in r122042, r122044, r154073, r154110)
- Warn when the obsolete Subversion repository is used.
(raimue in r154451)
- port lint: warn if obsolete $Id$ keyword is used.
(#52757, raimue in fc45aaf)
- Support multi-valued entries in the maintainers field and allow GitHub
usernames as maintainers
(cal in 30c27d5)
Release 2.3.4 (2015-10-01 by jmr)
- Installation will now abort when an archive is found on a server but
downloading it fails, rather than trying to build from source without
the correct dependencies (jmr in r138461)
- Re-added macports-llvm-gcc-4.2 and apple-gcc-4.2 to the compiler
fallback list on Yosemite now that they work (jmr in r136965)
- Changed the existsuser and existsgroup procs to return -1 on failure
instead of 0, since 0 is root's uid (#45737, cal in r135851)
- The MacPorts version is now available to Portfiles through a proc called
macports_version (cal in r134511)
- Fix failure to activate ports that install files with backslashes in
their names (#47283, cal in r134501, r134502)
Release 2.3.3 (2014-11-21 by jmr)
- Fix database performance regressions with SQLite 3.8 by specifying a
good index for some queries (#45645, cal in r128113, r128274, r128276)
Release 2.3.2 (2014-10-17 by jmr)
- Fix a crash in trace mode when software calls posix_spawn(2) with NULL
as envp (which isn't a legal thing to do from what I understand, but
there's software that does it) (#45318, cal in r126475)
- Tune down the noise while using trace mode; in the default verbosity
setting, only report files that actually exist and were hidden.
(cal in r124150, r124216)
- Fix bugs in trace mode that caused it to (1) not ignore /usr/local as
it should and (2) fail with certain lengths of $prefix.
(cal in r124145, r124146)
- Added a warning when a version is specified with the list action, such
as with installed ports (jmr in r125621)
- Added ability to set configure.compiler to gcc 5.x
(ryandesign in r125578)
- Fixed failure to add groups when dscl prints a warning to stderr
(jmr in r123652)
- Fixed incorrect handling of arguments in batch mode
(#44091, cal in r121485)
Release 2.3.1 (2014-06-26 by jmr)
- Added macports-clang-3.4 to compiler fallback lists
(#43932, jeremyhu in r118735, r119034)
- Added quoting to PATH and MANPATH variables set by the installer, to
accomodate paths containing spaces (#43798, jmr in r121311)
- Update for automatic dependencies for fetch.type git, needed due to the
git-core port being renamed to git (#44052, ciserlohn in r120928)
- Fixed failure to sync using daily tarball (#43821, cal in r120382)
Release 2.3 (2014-05-24 by jmr)
- Use a private copy of Tcl 8.5 for MacPorts. Starting with this change
features introduced with Tcl 8.5 can be used in Portfiles while still
keeping support for Tiger and Leopard. (cal in r117621)
- Add select --summary option. (#36179, snc in r117607)
- Display a progress indicator for slow downloads. (cal in r117044)
- Attempt to use HTTP pipelining when downloading. (cal in r117022)
- Allow ports to select a specific version of the Mac OS X SDK
for builds. (larryv in r116437)
- Check for Command Line Tools presence and Xcode license agreement
acceptance and print helpful warnings if they aren't detected. (cal in
r115900)
- Support using .tar.lz archives using use_lzip (mww in r114652)
- Enhance the "move" Portfile builtin to support case-only renames
on case-insensitive filesystems. (#41679, ryandesign in r114289)
- Fix a regression that caused problems with sandboxing when the MacPorts
prefix contained a symlink. (#39850, cal in r113704)
- Disable Spotlight indexing on build directories, distfiles,
registry, log files, archives, base source and the default ports
tree. (cal in r113649)
- Detect when base is running on a different platform than the one
it was configured for and refer user to migration instructions.
(raimue in r113478)
- Merge curl HTTP POST support required for MacPorts port statistics
developed in GSoC 2011 (jmr in r113396, original code by derek)
- In debug output, sort environment variables and print one per
line. (#40703, ryandesign in r113037)
- Fix incorrect lint messages when an uppercase letter is used in
a PortGroup name. (#40733, ryandesign in r112064)
- Add "-prepend" command for Portfile options (similar to existing
"-append" command). (#40655, ryandesign in r111990)
- Merge new test framework developed in GSoC 2013 (mariusc in r111325)
- Support clang's -stdlib option explicitly using configure.cxx_stdlib