-
-
Notifications
You must be signed in to change notification settings - Fork 239
/
ChangeLog
2319 lines (1606 loc) · 101 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.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.
(raimue in branch new-help-system, merge in r123002,
manpages written by cal, jmr, raimue, ionic, jeremyhu,
#44530, #15467)
- 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.
(khindenburg in r140488, #38208)
- 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
rather than relying on its default value. This can be used to make
MacPorts use libc++ on OS X < 10.9. (larryv in r110519)
- Support syncing git-svn working copies. (jeremyhu in r109747)
- Remove support for mports:// and non-tarball HTTP/FTP port tree sources.
(cal in r109659)
Release 2.2.1 (2013-10-26 by jmr)
- Fixed a problem where dependency calculation could sometimes fail for
ports that only support 32-bit architectures when the configured
build_arch is 64-bit and dependencies thus need to be +universal
(#40721, jmr in r112067)
- Fixed a potential crash in the strsed procedure (toby in r110985)
- Provide choice of GCC version when compiling with DragonEgg.
(larryv in r108040)
- Add Portfile options for setting OBJCXX, OBJCXXFLAGS, and
universal architecture flags in OBJCFLAGS.
(#38512, larryv in r107973, r107976, r107987)
- Add support for autostarting tasks with startupitems after installing.
Useful for the certsync port. (#35474, cal in r106810, 109245)
Release 2.2.0 (2013-07-23 by jmr)
- Fixed ports sometimes being incorrectly cleaned after the unarchive
target is run with newer archives. (jmr in r106717)
- When rebuilding an installed port, fixed the old copy being removed
before the new copy has been built. (jmr in r106668)
- Support deleting selected files and directories before creating a pkg.
(blair in r105575)
- Remove unsupported xpkg package type, xar-based format with XML.
(afb in r105002)
- Support pattern matching in compiler.blacklist.
(larryv in r104174, r104178)
- Workaround for some OS commands hanging on 10.8 when started from a root
login shell. (#34221, jeremyhu in r104118)
- TMPDIR is now set to ${workpath}/.tmp while building ports, to avoid
problems with using /tmp. (#37834, ryandesign in r103518)
- Remove unimplemented 'port submit', remove XAR source packages.
(cal in r103400)
- Prevent overlinking by removing dependency_libs information from
GNU Libtool (.la) files or by deleting the files entirely.
(#38010; jmr in r102945; jeremyhu in r107465, r107527)
- Setting configure.compiler will now automatically add a dependency if
the chosen compiler is provided by a port. (#32542, cal in r102932)
- Add 'port space --total' which displays the grand total only.
(raimue in r102248)
- Added 'subport:' pseudo-portname that expands to ports that provide
a matching subport; added 'subportof:' pseudo-portname that expands to
the list of subports of the given port name
(raimue in r100059)
- Fixes bringing trace mode back to a working state. Improvements to reduce
the number of builds trace mode breaks.
(cal in r100071-100073, r100077, r100126, r100221, r106710)
- Began using sandbox-exec(1) on 10.5+ to prevent commands executed using
the 'system' procedure from writing files outside of the build directory
and selected other locations like /tmp. (jmr in r98156, r98193, etc.)
- Added ability to sync ports tree with git (jeremyhu in r92410)
Release 2.1.3 (2013-01-31 by jmr)
- Fixed a bug where a certain order of starting and aborting a build,
running selfupdate and continuing a build would resume building although
it should start from the beginning.
(#29223, cal in r96136, r96399, r96400, r96538)
- Fix permission problem in the creation of the ccache directory with
ccache >= 3.1.7 by running the initialization step as the macportsuser.
(raimue in r97868)
- Fix an endless loop that could be triggered in rev-upgrade when a broken
port is not in the index, e.g. when it has been deleted from the tree,
or it was installed directly from a Portfile not in the tree.
(cal in r100129, jmr in r101313)
- Set a busy timeout on SQLite connections to prevent MacPorts from
uselessly burning CPU cycles when waiting for a database lock.
(cal in r100217)
- Switch from exclusive locking to immediate locking in the registry
database to avoid locking reads where not needed.
(cal in r100218)
- Fix a problem where interrupting the uninstallation process could leave
the registry database in a corrupted state.
(#34482, cal in r100219)
- Fixed a failure in the fallback code used by 'port pkg' when
PackageMaker is not installed. (#36597, jmr in r96262)
- Fixed an incorrect lint error about the port directory name when a full
@macports.org maintainer address is used. (#35925, ryandesign in r97264)
- Fixed creation of disk images with flat packages. (jmr in r99167)
- Fixed a bug where not all requested variants would be passed on to
dependencies when building an mpkg. (#36363, jmr in r100679)
- Added configure.compiler options macports-clang-3.2 and
macports-clang-3.3 (jeremyhu, ryandesign, jmr in r92588, r101163,
r101166, r101270)
- Added configure.compiler options macports-dragonegg-3.0 through
macports-dragonegg-3.3. (jeremyhu in r101933)
Release 2.1.2 (2012-07-26 by jmr):
- Fixed autodetection of developer_dir with Xcode 4.4
(#35150, mfeiri in r95552)
- Made conversion of images to archives more robust against missing images
(jmr in r95480)
- Support spaces in hg.tag when fetching from mercurial (#22684 comment
11,12, cal in r95438)
- Made mpkg fail when building a component pkg fails, instead of trying to
continue (jmr in r95382)
- Added a log message when everything to be installed has an unsatisfied
dependency, such as in the case of circular dependencies (jmr in r93962)
- Fixed incorrect error message when installing a port that has a
dependency that is not in the index (#31130, jmr in r93511)
Release 2.1.1 (2012-05-19 by jmr):
- Fixed incorrect parsing of mirror group URLs that contain a colon to
indicate a port number (#32018, jmr in r93258)
- Do not print detailed progress information in rev-upgrade when stdout is
not a terminal (#34480, cal in r93221,r93222)
- Made rev-upgrade avoid trying to upgrade ports that are not in the index
(jmr in r93197)
- Fixed rev-upgrade disabling source-only mode in its first upgrade pass
(jmr in r93153)
- Fixed incorrect rebuild order in rev-upgrade (cal in r93129)
- Fixed port lookups failing for all sources when the index is missing in
one source (#30593, jmr in r92976)
- Fix database upgrade on Tiger, where SQLite doesn't support ALTER TABLE
ADD COLUMN (#34463, cal in r93256)
Release 2.1.0 (2012-05-15 by jmr):
- New configure.compiler options: macports-clang-2.9, macports-clang-3.0,
macports-clang-3.1, macports-gcc-4.7, macports-gcc-4.8
(jeremyhu in r86719, ryandesign in r91521)
- Avoid using pkg-config to find sqlite3 in our configure script unless it
can't be found by other means, because some third-party packages
incorrectly install a /usr/bin/pkg-config that points to an incompatible
copy of sqlite3. (#30932, dluke/jmr in r91512)
- 'port pkg' and 'port mpkg' will now create flat packages (i.e. a xar
archive rather than a directory) on 10.6+.
(jmr in r91317, r91329, r91331, r91437)
- Fixed dependencies sometimes being installed multiple times when
required with different archs. (#31794, jmr in r91357)
- Build-time dependencies will no longer be installed if a prebuilt
archive is available for download (and port is configured to use it).
(jmr in r91196, r91217)
- Added new config file archive_sites.conf, which can be used to configure
additional archive download sources. Each source has an associated
archive type; portarchivetype is now only used when creating archives
locally. Sources also have an associated prefix, applications_dir and
frameworks_dir, and if any of these do not match the current values, the
source is not used. (jmr in r91009)
- Xcode 4.3 support: Search harder for developer directory; advise user to
run xcode-select when necessary, searching for Xcode and suggesting
xcode-select commands.
(jberry, jmr in r89970,r89971,r89972,r89996,r89999,r90003,r90005-r90009,
r90018-r90019,r90024,r90031)
- warn about non-existing developer_dir when it's set in macports.conf
(cal in 90802)
- port automatically installs bsdmake when there's no bsdmake in $PATH and a
port sets build.type bsd (#33355, cal in r90650)
- Added -W option for reinplace that sets a base directory that all file
arguments are interpreted as being relative to. (raimue in r90610)
- Added macports.conf options 'host_blacklist' and 'preferred_hosts', used
for indicating lists of download hosts that should not be used or should
be used preferentially, respectively. These override the usual ping time
check. Ping times are also now cached for 24 hours. (jmr in r89459)
- Added 'rev-upgrade' action checking for broken linkage and rebuilding
ports containing broken files. Made rev-upgrade run automatically after
each upgrade or install.
(cal in branch gsoc11-rev-upgrade, merge in r88376, also cal, raimue, jmr
in r88377,r88411,r88441,r88511,r88666,r88732,r89180,r89659,r89661,r90102,
r90381)
- Added options controlling rev-upgrade behavior to macports.conf
(jmr, cal in r88725,r88794,r89189)
- port livecheck regex finds multiple matches on the same line
(raimue in r88031)
- Several improvements to port lint:
licenses, subversion properties, maintainer addresses
(#30194, snc, raimue in r85929, r86016, r89428, r89610)
- Added license_noconflict option to specify dependencies for which the
maintainer has manually checked license compatibility and wishes to
overrule the conservative automated checks. (jmr in r89004)
- Xcode 4.3 support: Use xcrun -find to find xcode compiler if it's not
found in /usr/bin.
(jberry, jmr in r88540,r88541,r88546,r88777,r88779,r88787,r89359,r89984,r90028)
- Added options compiler.blacklist, compiler.whitelist, and
compiler.fallback; to allow blacklisting, whitelisting, and setting the
fallback order for configure.compiler values, respectively.
(#30041, jmr in r88676)
- Fix sync with subdirectory of Subversion 1.7-format working copy
(#33573, jmr in 86872)
- Fixed conflicts not being checked for when installing ports that have no
dependencies. (#31571, dports in r85382)
- dmg postflight: quote all paths to handle the increasingly frequent
occurrence that $HOME contains spaces (#33583, ryandesign in r84345)
- dmg postflight: adjust wording of some messages (ryandesign in r84344)
- The deprecated Portfile options svn.tag, distcheck.check and
livecheck.check have been removed. (raimue in r82763)
- Implement new option-replace using lsearch/lreplace. The old behavior is
deprecated for option-replace with only one argument, but can still be
found in option-strsed.
(raimue in r82760, r82761)
- Added 'buildfromsource' macports.conf setting, which allows permanently
selecting the behaviour of the -s or -b option. (jmr in r81540)
Release 2.0.4 (2012-02-25 by jmr)
- Added -locale option for reinplace (jeremyhu in r89839)
- Xcode 4.3 support: Change home directory for MacPorts user to
${prefix}/var/macports/home.
(jberry, jmr in r89988, r89993, r90002, r90010, r90011)
- set env(HOME) to ${workpath}/.home when building ports
(#31827, jmr in r89994, r90004)
- Fix use_xmkmf to honor xmkmf.env for its make Makefiles phase
(#31504, jeremyhu in r89537, r89538, r89539)
- Added configure.cxx setting when configure.compiler is apple-gcc-4.2
(jeremyhu in r80248)
- Xcode 4.3 support: added packagemaker_path macports.conf setting
(jmr in r90058)
- Resolve ambiguity in selection in portlists
(jberry in r88179, r88185)
- Xcode 4.3 support: updated default developer_dir location for 4.3
(jmr in r90016)
- Xcode 4.3 support: use compilers in /usr/bin instead of developer_dir
when possible, as the latter has proven to be volatile.
(jmr in r90015)
- Xcode 4.3 support: updated SDK paths for 4.3 (jmr in r90000)
- Work around broken FTP proxy support in some versions of libcurl
(jmr in r84351, r88045)
Release 2.0.3 (2011-09-05 by raimue)
- Fix a regression introduced in 2.0.2 when fetching with a VCS
(#31073, jmr in r83471)
Release 2.0.2 (2011-09-01 by jmr):
- Messages recommending running selfupdate will no longer be printed when
selfupdate is being run. (#23094, jmr in r83270, r83391)
- The PortIndex will not be regenerated during selfupdate when base is
outdated. This avoids failure to index ports that use features only
available in the current version. (#30739, jmr in r83271)
- Fixed build failures when the TMPDIR environment variable is set to a
directory that is not writable by the macports user.
(#30749, jmr in r83267)
- Fixed error when checksumming distfiles with names containing spaces.
(#28568, jmr in r83149)
- The uninstall and deactivate actions now sort the port list so that
dependents are processed before the ports they depend on.
(#8431, jmr in r82947)
- Fixed an issue where a non-universal version of a port could be
installed as a dependency as well as the universal version, with
unpredictable results, when some ports in the dependency graph needed
the universal version but others didn't. (jmr in r82924)
- Now using a temp dir inside ${prefix} when activating, as /tmp or
/var/folders may be on a different volume. (jmr in r82767)
- Fixed extracting portfile-only archives. (#31033, jmr in r81830)
- Fixed adduser and addgroup procedures not re-dropping privileges when
done. (jmr in r81630)
- Fixed error activating ports with names containing the string "cpio".
(#30532, jmr in r81577)
Release 2.0.1 (2011-08-02 by jmr):
- Fixed errors when installing some archives built on a case-sensitive
filesystem onto a case-insensitive one. (#30373, jmr in r81562)
- Fixed users created by MacPorts showing up in the GUI in some places on
Lion. (#30168, jeremyhu in r81558)
- Added replaced_by pseudo-portname selector. (afb in r81475)
- Added progress output to port image conversion script.
(#30347, jmr in r81464)
- Now doing a better job of avoiding UID conflicts with non-local users
when creating the 'macports' user. (#30464, jmr in r81414, r81415) Also
improved Tiger compatibility in this area. (jmr in r81454, r81467)
- Fixed 'port selfupdate' exiting with non-zero status after installing a
new version of base. (jmr in r81371)
- Added --subports to options accepted by 'port info'. (jmr in r81234)
- Fixed incorrect info sometimes being added to PortIndex entries when
using subports. (#30463, jmr in r81361)
- Fixed descriptions not being shown for default variants. (jmr in r80971)
- Fixed 'port variants --index'. (jmr in r80969)
Release 2.0.0 (2011-07-22 by jmr):
- Multiple ports can now be defined in one Portfile using the 'subport'
procedure. This reduces code duplication when several ports use very
similar code. (jmr in r78062)
- Privilege dropping is now on by default. The runtime user can be changed
when building from source but defaults to 'macports'; this user is
created at install time. (jmr in r79025)
- Fetching from some extremely slow or partially unresponsive servers
should now time out as expected. (raimue in r71038)
- The registry is now "vacuumed" (compacted/defragmented) after
uninstalling ports. (jmr in r70608)
- Downloaded archives are now checked for integrity using digital
signatures. Sync and selfupdate can also use a signed tarball. New
pubkeys.conf file allows configuring keys to trust.
(jmr in r68996, r79093)
- Added 'actinact' pseudo-portname that expands to installed ports with an
active version and at least one inactive version.
(#27666, jmr in r79421, based on patch from gmail.com:ww.galen)
- Added --size option for 'contents' action that makes it print the size
of each file. (#27245, jmr in r79365, based on patch from
gmail.com:ww.galen)
- Added 'space' action to show the disk space used by ports' active files.
(#27244, jmr in r79349, based on patch from gmail.com:ww.galen)
- Actions can be abbreviated to an unambiguous prefix of the full name.
(#27242, patch from gmail.com:ww.galen committed in r79259)
- Fixed error when activating ports whose version contains an underscore
followed by an integer and a dash. (#28084, jmr in r79167)
- Deactivating a port that has dependents no longer needs to be forced
when the dependents are all inactive. (#29505, jmr in r78086)
- New option 'add_users' has been added. Setting it will ensure that the
listed users are created before all operations that may require them to
exist. (#11563, jmr in r78660)
- 'port info --index' should be much faster and will work with the
'current' pseudo-port provided the port has been indexed.
(#13673, jmr in r78621)
- Relocation is explicitly disabled when building pkgs on 10.6, so Apple's
Installer won't attempt to overwrite other copies of the same software
not installed by MacPorts. (#25174, jmr in r78178)
- Non-Darwin platforms can once again build base against OpenSSL for
checksum support. (#26813, afb in r77865)
- It is now safe to set svn.post_args, rather than that option being
reserved for svn.url. (#27454, jmr in r73825)
- Variants specified when running 'port mpkg' are now set in the
dependencies as well. (#27231, jmr in r73303)
- Fixed various issues with privilege dropping.
(#26899, jmr in r69453 etc.)
- Trace mode no longer fails on 10.6. (#21582, jmr in r74318, r74369)
- Ports that create StartupItems (aka launchd plists) should now be
installable by unprivileged users. (#10879, jmr in r66700, r75143)
- Fixed incorrect output from 'port dependents' when using newer SQLite
versions. (#27506, patch from gmail.com:mmpestorich committed in r76827)
- The flat registry format is no longer available. Setting portdbformat to
'flat' in macports.conf will result in the sqlite registry being used.
(jmr in r77681)
- Port images are now stored as archives. Archive mode is now effectively
always on. Among other benefits, this fixes some bugs with the handling
of hard links installed by ports (e.g. #13601).
Direct mode is no longer available. Existing port image directories, and
installed files for direct mode, will be converted to archives when
upgrading.
(#19458, branch by blb, merged by jmr in r77511)
- master_site_local, patch_site_local, and archive_site_local can be set
in macports.conf, with the same effects as the corresponding environment
variables. (jmr in r74924)
- Added 'logfile' action that prints the path to a port's log file.
(jmr in r74655)
- Computing large dependency trees that contain the same port(s) multiple
times should be considerably faster. (jmr in r73133)
- New configure.compiler options: macports-gcc-4.6, macports-llvm-gcc-4.2,
macports-clang (jmr in r71487; mfeiri in r72936, r72937)
- Add '-n' option to reinplace (#26406, ryandesign in r73227)
- Add new ccache_dir and ccache_size options, default path is
${portdbpath}/build/.ccache and a size of 2 GB.
(raimue in r71604, r71606)
- Add 'system -W path' which changes to the given directory before
executing the command.
(raimue in r71380, r71389)
- Add -w to build.cmd and destroot.cmd if using gnumake
(raimue in r71370)
- Add livecheck.ignore_sslcert; setting fetch.ignore_sslcert does no
longer apply to livecheck. distcheck now respects fetch.ignore_sslcert.
(#17063, raimue in r70975, r70979, r70982)
- Add SHA256 checksums in addition to MD5, SHA1 and RIPEMD160.
(afb in r57888, r57913; snc in r68955)
- Add @pkgdep lines to archives, with build-time dependencies.
(afb in r76919)
Release 1.9.2 (2010-11-07 by jmr):
- Added more locking to avoid TOCTOU errors when running multiple port(1)
instances (#19935, jmr in r70174)
- Fixed -q not suppressing output from 'port lint' (#25880, jmr in r70163)
- Added a helpful message when there is a checksum mismatch and the
distfile appears to incorrectly be a HTML document (#25128,
ryandesign/jmr in r70143)
- Now checking early on if there are sufficient privileges to install,
and failing before building anything if not (#25671, jmr in r70135)
- Avoided possible failure when the -u option is used when upgrading a
port that is marked as being replaced by another (jmr in r69022)
- Using the platform-specific PortIndex when syncing using a daily tarball
(jmr in r68786)
- Fixed failures when fetch target is run without root privileges and the
port is then installed with them (#25418, #25937; jmr in r69334, r70271)
- Fixed upgrading ports where the new version differs from the old version
only in epoch (jmr in r69436)
- Fixed [un]setrequested when using the flat registry format
(#26352, jmr in r69387)
- Fixed checking for conflicting ports before installation
(#25386, jmr in r69105)
- Now gracefully handling distfiles that use a tag that is not
associated with any sites (#25332, jmr in r68965)
- Fixed running 'port deps' on multiple ports, and changed its output
format back to how it was in 1.8 (#25324, jmr in r68950)
- Fixed premature privilege dropping (#25331, jmr in r68952)
Release 1.9.1 (2010-06-18 by jmr):
- Fixed a couple of problems with new 1.9 features when using the flat
registry format (jmr in r68910, r68913)
- Ports using the replaced_by option will once again be deactivated when
an upgrade is performed on them (#25270, jmr in r68872)
- Fixed the possibility of some empty directories being left behind when
a port is deactivated (#25268, jmr in r68864)
- Fixed failure to detect conflicts with files that are not provided by
a port before activation starts (#25255, jmr in r68849)
- Fixed problems with distfile names containing spaces (#25245, #25246;
jmr in r68816, r68817)
- Fixed a problem with uninstall when using direct mode, and started
running pre/post activate and deactivate procedures when installing and
uninstalling in direct mode, respectively (#11562, jmr in r68697)
- fixed a crasher that affected Tiger (#25194, jmr in r68675, r68680,
r68691)
Release 1.9.0 (2010-06-08 by jmr):
- It is no longer possible to use include statements in Portfiles
(raimue in r68206)
- Command line options can be abbreviated if unambiguous
(raimue in r66837)
- Added a new variable 'os.subplatform'. When os.platform is darwin, the
subplatform is either 'macosx' or 'puredarwin'.
- 'platform' no longer creates a variant, instead it executes the code in
the body immediately if the current platform matches the one specified.
- Using a Portfile with a modification date in the future now causes an
informative error early on, instead of just discarding the workdir at
the start of every phase. (#24717, raimue in r65246)
- Fetching from servers that require a cookie to be set now works.
(#24584, raimue in r66785)
- Fixed an error when everything is deleted from the patchfiles list.
(#24178, raimue in r65243)
- Added 'license:' pseudo-port selector. (#24123, perry in r65033)
- Added new fetch.type 'bzr'. (#23436, perry in r65096)
- Added 'rdeps' and 'rdependents' actions, recursive versions of 'deps'
and 'dependents' respectively. Also added 'depof:', 'rdepof:',
'dependentof:' and 'rdependentof:' pseudo-port selectors, for specifying
the ports that are dependencies or dependents of the given port.
(#22346, jmr in r65858/r66198)
- Updated the description of the search action in the port(1) man page.
(#23749, jmr in r66670)
- Dry-run now uses /dev/null as the statefile, which prevents a couple of
problems involving locking and variant checks.
(#21794, #21962; jmr in r66921)
- The list of dependencies to be installed is now displayed immediately
after computing them. (#21540, jmr in r66321)
- The quick index is now reloaded after syncing in interactive mode, which
prevents errors due to it not matching the updated PortIndex.
(#20874, jmr in r66319, refinement of patch from carrel.org:edward)
- The architectures of dependencies are checked when installing a port. If
a dependency does not provide the required arch(s), it is rebuilt with
+universal if that is possible and will help, otherwise the install fails
and an error message explains why. (#20728, jmr in r65087)
- New supported_archs option allows ports to indicate which architectures
they can be built for. The default values of configure.build_arch and
configure.universal_archs change based on this list. Set this to
'noarch' if a port installs only architecture-independent files.
(#20739, jmr in r64372/r64945)
- Declaring a variant that requires one or more other variants will now
correctly set the required variants, so they can be checked with
variant_isset. (#19224, jmr in r66642)
- 'port outdated' now indicates the reason why a port that appears to have
the same version as that in the tree is considered outdated. Possible
reasons are that the epoch is higher, or the installed version was built
on a different OS version. (#19138, jmr in r64960)
- Distfile names are now percent-escaped in the download URLs when needed.
(#18736, jmr in r66794)
- buildnicevalue is now applied to configure and destroot commands, and to
build commands with unusual names. (#18304, raimue in r65076/r65808)
- Removed hardcoded /opt/local prefix from the base dmg resources.
(#17633, jmr in r66776)
- Fixed an error that occurred when archive mode was enabled but
${prefix}/var/macports/packages did not exist. (#17579, jmr in r66775)
- Syncing rsync sources now tries to get a platform-specific version of
the PortIndex from the server, and skips this if the local copy is less
than a day old. All sync methods now update the PortIndex at the end.
(#17157, jmr in r66846/r67207)
- portindex(1) now skips parsing Portfiles whose modification time is
older than the current PortIndex, instead reusing the existing entry.
(#16235, jmr in r66845)
- Added a 'requested' flag to the registry that indicates which ports were
installed explicitly (as opposed to as a dependency of something else).
This enables the new 'requested', 'unrequested' and 'leaves' pseudo-
ports, as well as the --follow-dependencies option for uninstall.
The setrequested and unsetrequested actions will set and clear the flag,
respectively.
(#15260, jmr in r64517, r64663, r65546, r66037, r66200, r66215)
- The macports1.0 directory is now installed to
${prefix}/share/macports/Tcl rather than /Library/Tcl. A symlink will be
installed in the old location if there is nothing there already, so
'package require macports' will still work in tclsh.
(#12943, jmr in r65055)
- Added warning and error messags when Xcode is old enough to cause
problems or too old to use at all, respectively. (#12794, jmr in r66771)
- Removed the rather outdated copy of sqlite3 from the source tree, made
the sqlite3 directory configurable, and added defaults for non-darwin
platforms. (#12231, jmr in r64358/r64363)
- There is a new 'archivefetch' target which is run before unarchive when
archive mode is enabled, and attempts to download the archive from a
server. There are currently no sites configured to download from (these
are stored in the ports tree like the mirror sites used for fetch), but
you can set ARCHIVE_SITE_LOCAL in the environment. Note that there is no
integrity checking for archives yet. (#8571, jmr in r64816)
- Now recording negative variants in the registry, which stops deselected
variants from being reactivated on upgrade due to default_variants or
variants.conf settings. (#2377, jmr in r64533)
- Added support for pre- and post- procedures for the activate, deactivate
and uninstall targets. This feature requires portdbformat sqlite. There
was limited support for pre- and post-activate previously, but the
procedures were only run when installing the port, not when activating
an inactive version. (#1068, #4228, #18273; jmr in r64638/r64639)
- Integrated the sqlite-based registry2.0 code. The portdbformat variable
in macports.conf can be set to 'sqlite' to enable it. Existing flat
receipts will be converted the first time port(1) is run with sufficient
privileges. Original code by sfiera, fixed and integrated by jmr in
r63398 and following. The new format lacks a number of problems that the
old one suffers from, including #13054 (dependencies from old port
versions stick around across upgrades) and #14123 (files whose paths
differ only in case are left behind when uninstalling).
- Fixed file list in +CONTENTS file in archives. (#21864, jmr in r59882)
- Fixed a few issues reported with building MacPorts on Linux. (#22716)
- Upgrade will now always choose the port that is active when following
dependencies that could be satisfied by more than one port and more than
one of these is installed, instead of choosing the one actually named in
the depspec. (#23921, jmr in r60883)
- Extracting from a disk image ("use_dmg yes") no longer fails when there
is a space in $worksrcdir. (#23456, raimue in r67089)
- Added a configure.sdkroot option which can be used to build against a
Mac OS X SDK. It is empty by default unless the value of
macosx_deployment_target is not the current OS version, or the universal
variant is set and the current platform is PowerPC Tiger. It is also
possible to set macosx_deployment_target globally in macports.conf now,
but this is unsupported. (#19875, jmr in r66924)
- Add "fs-traverse -tails" which only returns the part following the
specified directory (#21873, raimue in r65785)
- Allow gcc45 port to be used in configure.compiler (ryandesign in r62223)
- svn checkouts now use peg revisions instead of operative revisions,
so they'll continue to work if a repository gets reorganized
(#20777, ryandesign in r60573)
- Print the location of the log file when a target fails (jmr in r60769)
- Use CommonCrypto/CommonDigest instead of OpenSSL libcrypto.
(toby in r58131, jberry in r59715)
- New "patch.type gnu" for GNU patch, similar to "build.type gnu"
for GNU make. Only makes a difference for BSD patch and BSD make.
(afb in r58020)
- Updated the FreeBSD package (ObjC/Foundation is now optional).
(afb in r57889)
- Don't use "make -j1" for build.jobs=1, but prefer "make" instead.
(afb in r57998)
- Add new "use_xz yes" port option to allow distfiles in xz format.
(afb in r57827)
- Archive mode now uses build_arch in archive names rather than os.arch.
(snc in r58977)
- Add new log command and keeping of debug output for easy access
after port has run (GSoC 2009 logging project by enl, merged in r60372)
- Some of the build_arch flags now appear in LDFLAGS as well, fixing
several ports when building for a different architecture (jeremyhu in
r60662, jmr in r60680)
- Fixed 'merge' proc for paths with spaces, and for symlinks on Snow
Leopard, and added an error message for when 'merge' is not called
correctly (#21852, ryandesign in r58776, r58777, r58778)
Release 1.8.2 (2010-01-01 by jmr):
- Fixed 'port load' for non-root installations (#21713, jmr in r60774)
- Fixed a bug that could cause port to hit the open file limit
(#22959, jmr in r61770)
- Fixed an error when installing from source or selfupdating on Tiger with
an svn-based ports tree (#20760, jmr in r61302)
- Fixed an error when selfupdating as root with a prefix that is not owned
by root (#21010, jmr in r60798)
- Stopped uninstall from failing when files in the port image have already
been deleted (#22001, jmr in r59318, r59654)
- Stopped printing command output multiple times on failure (#21084,
jmr in r60770)
- Started showing bug reporting instructions on failure (jmr in r60770)
- Fixed a bug where 'port dmg' could create too small an image and run out
of space (#22404, jmr in r60260)
- Fixed a bug where reinplace could fail when running port without root
privileges (#20896, jmr in r59597)
- Started setting our own umask since Snow Leopard makes us inherit
the user's even when using sudo (#21389, jmr in r59585)