forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
3777 lines (2715 loc) · 127 KB
/
CHANGES
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
Updating Information for FreeBSD ports developers
This file is maintained by [email protected] and copyrighted by the
FreeBSD Foundation.
This file contains major changes to ports and the ports infrastructure.
Intended audience are ports committers, maintainers and other
developers. User oriented changes should be submitted for inclusion
in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20201120:
AUTHOR: [email protected]
New default version for librsvg2.
Current versions of graphics/librsvg2 are using parts written in rust.
For architectures that do not have support for rust, and for people
who prefer not to have, or are not able to compile rust software due
to hardware limitations, the version can be chosen via this new flag.
The default on almost all architectures is rust.
If you prefer no to use rust, add the following to your make.conf:
DEFAULT_VERSIONS+=librsvg2=legacy
20210327;
AUTHOR: [email protected]
New @touch keyword
Its purpose is to ensure that a file is being created at install time
while not necessary tracked by the package.
20201120:
AUTHOR: [email protected]
New virtual category: education.
This category comprises ports that are mainly educational in nature or
purpose, such as:
* course-writing or course-delivery applications,
* classroom or school management applications (eg, scheduling classes),
* applications, utilities, or games primarily or substantially designed
to help the user learn a specific topic or study in general, like typing
tutors, flashcard applications, or educational games.
20201110:
AUTHOR: [email protected]
Patents are a complicated topic, and their regulation varies depending on
jurisdiction. Patents are not necessarily related to the license and so
should not be connected to the license framework.
Patent limitations within the ports tree have been removed and left to the
user or consumer to deal with their local legislation to determine if they
can use the software without legal restrictions.
20201022:
AUTHOR: [email protected]
New @rmempty keyword
Its purpose is to delete empty files at deinstallation time. It is meant
to be used for generated files/untracked by the package manager files.
It respects rootdir
20201022:
AUTHOR: [email protected]
@shell has been rewritten in lua
It provides the exact same feature set as the previous version but it is now
sandboxed and rootdir compliant (see the pkg -r option).
20201001:
AUTHOR: [email protected]
The @sample keyword was rewritten in lua.
It behaves exactly like the previous one but it is sandboxed and
is rootdir compliant (see pkg -r option).
20201001:
AUTHOR: [email protected]
packages scripts and keywords can both be written in lua (version 5.3), see
pkg-lua-script(5) for the API.
Note that all scripts written in lua will:
- run inside a capsicum sandbox,
- be rootdir compatible (see pkg -r option)
- be cross installation compatible example: installing packages in an arm64
rootdir on and amd64 host.
20200531:
AUTHOR: [email protected]
pyqt.mk gained support for test-only dependencies. If a component, say
py-qt5-gui is only required for testing, you can add
USE_PYQT=<other_deps> gui_test
20200514:
AUTHOR: [email protected]
Add PATCH_CONTINUE_ON_FAIL to allow patching to go through all the patches
even if one fail.
This helps when upgrading ports with a large number of patches, like
www/chromium where having to fix one patch, re-do the patching, fix the
fallout, 800 times, is really painful.
20200414:
AUTHOR: [email protected]
package scripts can now be done in lua, the following are supported:
- pkg-pre-install.lua
- pkg-post-install.lua
- pkg-pre-deinstall.lua
- pkg-post-deinstall.lua
see pkg-lua-script(5) for more details.
20200414:
AUTHOR: [email protected]
USES=lua gained flavors.
Ports using USES=lua:module or lua:flavors will be flavored. A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.
USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.
20200115:
AUTHOR: [email protected]
${PREFIX}/share/man is now a valid location for manpages ${PREFIX}/man being
considered as deprecated.
20191009:
AUTHOR: [email protected]
The ipv6 virtual category is gone, it does not make sense anymore in 2019
where the norm in applications is to have support both ipv4 and ipv6.
20191001:
AUTHOR: [email protected]
BINARY_WRAPPERS allow to push in front of the PATH wrappers for binaries.
This is useful when 2 tools do provide the same feature, but the configure
scripts do test for some variables which are not in one of the tool.
20190919:
AUTHOR: [email protected]
USES=xfce now defaults to gtk3, so for ported applications requiring
GTK2 XFCE support USES=xfce:gtk2 should be used.
20190903:
AUTHOR: [email protected]
The ports tree now supports overlays
overlays are a way to help users to integrate their own ports tree
with the official ports tree without having to maintain clone of the
official tree and remerge on regular basis.
The ports tree will lookup in the overlays (in the order the are listed in
OVERLAY variable) for the dependencies and the USES. It will use the first
found.
in order to use it the user have to declare his overlays that way in their
make.conf:
OVERLAYS= overlay1 overlay2 overlay3
20181225:
AUTHOR: [email protected]
cmake.mk now defaults to out-of-sourcetree builds. The option 'outsource'
has been removed. Ports that need an intree build now can pass 'insource'.
20181110:
AUTHOR: [email protected]
texinfo files are now installed in ${PREFIX}/share/info
20180630:
AUTHOR: [email protected]
bsd.qt.mk has been replaced by qt.mk. This changes the way ports have to
depend on Qt slightly.
Previously one would have written
USE_QT4=foo bar
or
USE_QT5=foo bar
while now one has to write
USES=qt:4
USE_QT=foo bar
respectively
USES=qt:5
USE_QT=foo bar
Further qmake.mk no longer respects QT_NONSTANDARD. Ports that don't want to
get the configure environment provided by qmake.mk should add the argument
no_env, ports that don't want the configure target should specify no_configure.
20180506:
AUTHOR: [email protected]
All USE_ and WANT_ variables for PHP have been removed and marked
UNSUPPORTED. Use USES= php:<feature> as a replacement.
USE_PHPIZE, USE_PHPEXT, USE_ZENDEXT, USE_PHP_BUILD,
WANT_PHP_CLI, WANT_PHP_CGI, WANT_PHP_MOD, WANT_PHP_WEB, WANT_PHP_EMB
20180311:
AUTHOR: [email protected]
USE_APACHE has been replaced by USES=apache.
20180308:
AUTHOR: [email protected]
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
As all packages must have different package names, the following variables
must be used in PKGNAMEPREFIX/SUFFIX:
Variable + Values +
--------------------------------------------------------------------------------------
PHP_PKGNAMEPREFIX | php56- php72- | PHP Extensions
| | and modules
--------------------------------------------------------------------------------------
PHP_PKGNAMESUFFIX | -php56 -php72 | PHP Applications
--------------------------------------------------------------------------------------
PECL_PKGNAMEPREFIX | php56-pecl- | PECL extensions
| | automatic
--------------------------------------------------------------------------------------
PEAR_PKGNAMEPREFIX | php56-pear- | PEAR modules
| | without PEAR_CHANNEL
PEAR_<channel>_PKGNAMEPREFIX | php56-pear-channel- | with PEAR_CHANNEL
| | automatic
In all the ports with PHP dependencies, the *_DEPENDS entries MUST end with
the flavor so that the framework knows which to build/use. This is done by
appending '@${PHP_FLAVOR}' after the origin. For example:
RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Validate>=0.5.0:devel/pear-Validate@${PHP_FLAVOR} \
${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR} \
PHP applications (for example, www/wordpress) can also get flavors, add the
flavors keyword to USES=php, for example: USES=php:flavors, and add
${PHP_PKGNAMESUFFIX} to its PKGNAMESUFFIX.
20180125:
AUTHOR: [email protected]
Add support to passing directories to EXTRA_PATCHES.
Instead of:
EXTRA_PATCHES= ${PATCHDIR}/feat-foo-patch-file.c \
${PATCHDIR}/feat-foo-patch-file.h \
${PATCHDIR}/feat-foo-patch-file2.c
Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set:
EXTRA_PATCHES= ${PATCHDIR}/feat-foo
20180116:
AUTHOR: [email protected]
The deprecated PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION, and
PYTHON3_DEFAULT_VERSION have been removed.
20180106:
AUTHOR: [email protected]
USES=qmake now accepts a new variable, QMAKE_CONFIGURE_ARGS.
Starting with Qt 5.8.0, qmake can use configure.json files to help define
configuration options and configuration time checks. These options are
generally in the form '-foo -no-bar', and must be passed after "--" at the
end of qmake's command line.
The QMAKE_CONFIGURE_ARGS variable allows one to set those options, and
USES=qmake takes care of passing them at the right position when invoking
qmake.
20180102:
AUTHOR: [email protected]
There is a new USES=eigen to depend on math/eigen[23].
Usage:
USES=eigen:<version>[,<type>]
version: 2 or 3 (required)
type: build (default), run
For example:
USES=eigen:2,build,run
will add a BUILD- and RUN_DEPENDS on math/eigen2, and
USES=eigen:3
will add a BUILD_DEPENDS on math/eigen3.
20171231:
AUTHOR: [email protected]
USES=cmake now supports two additional list variables:
* CMAKE_ON : List of variables to turn on
* CMAKE_OFF : List of variables to turn off
This can be used as a shortcut to append these to CMAKE_ARGS.
For example ports that previously set
CMAKE_ARGS= -DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE
can now set this as
CMAKE_ON= VAR1 VAR2
CMAKE_OFF= VAR3
20171130:
AUTHOR: [email protected]
Ports using USE_PYTHON=distutils are now flavored. They will automatically
get flavors (py27, py34, py35, py36) depending on what versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils but
need FLAVORS to be set. A USE_PYTHON=noflavors can be set if the port is
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added
to cope with Python ports that did not have the Python PKGNAMEPREFIX but are
flavored.
USES=python now also exports a PY_FLAVOR variable that contains the current
python flavor. It can be used in dependency lines when the port itself is
not python flavored, for example, deskutils/calibre.
By default it will only generate flavors for the versions in PYTHON2_DEFAULT
and PYTHON3_DEFAULT. Define BUILD_ALL_PYTHON_FLAVORS in your make.conf to
generate all possible flavors. A port can set USE_PYTHON=allflavors to have
all the flavors and not simply the default ones.
In all the ports with Python dependencies, the *_DEPENDS entries MUST end
with the flavor so that the framework knows which to build/use. This is done
by appending '@${PY_FLAVOR}' after the origin. For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
20171130:
AUTHOR: [email protected]
To help with flavored ports, helpers are available. In these, replace <*>
with the flavor name.
*_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable.
*_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS
*_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS
*_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable.
For example:
flavor2_PKGNAMESUFFIX= -foo
can replace:
.if ${FLAVOR:U} == flavor2
PKGNAMESUFFIX= -foo
.endif
20171130:
AUTHOR: [email protected]
Flavors are a way to have multiple variations of a port. The port is built
multiple times, with the variations. To declare flavors, set the FLAVORS
variable to the flavors you want defined. The first flavor will be the
default:
FLAVORS= flavor1 flavor2
The flavors MUST be lowercase, and can contain [[:lower:][:digit:]_].
Then, when building the port, pass the FLAVOR as an argument after make to
select the flavor.
$ make install FLAVOR=flavor2
In the port, you can then change the behavior depending on the value of the
FLAVOR variable. Note that the different flavors MUST have different
PKGNAMEs. Be sure to guard against an empty FLAVOR variable by using
${FLAVOR:U}:
.if ${FLAVOR:U} == flavor2
PKGNAMESUFFIX= -foo
OPTIONS_DEFAULT+= FOO
.endif
A tools guide is available at:
https://wiki.freebsd.org/Ports/FlavorsTools
A port migration guide is available at:
https://wiki.freebsd.org/Ports/FlavorsMigration
20171020:
AUTHOR: [email protected]
The USES=fmake has been removed. It was created to help migration from
old FreeBSD make (pmake) and there are no more users of it left in
the ports tree.
20171012:
AUTHOR: [email protected]
Remove WANT_GNOME and HAVE_GNOME, they were in disuse, and made useless by
options.
20171011:
AUTHOR: [email protected]
New BINARY_ALIAS variable has been added, when defined it will create symlinks
of some given binaries in a directory which will be prepended to the PATH.
The syntax is the following:
BINARY_ALIAS= target1=source1 target2=source2
For example to have a "swig" binary in the path which will be pointing at
swig3.0 and a "sed" pointing at GNU sed: gsed
BINARY_ALIAS= swig=swig3.0 sed=gsed
20170625:
AUTHOR: [email protected]
The default generator for USES=cmake ports has been switched to ninja.
Previously it was possible to opt-in to using ninja instead of make(1)
by setting CMAKE_NINJA, now ports need to opt-out.
Ports that do not build with ninja must switch from
USES=cmake:<args>
to
USES=cmake:<args>,noninja
20170417:
AUTHOR: [email protected]
New USES: meson, to handle properly the meson building system.
20170313:
AUTHOR: [email protected]
HTTPS certificates are now verified when "make makesum" fetches distfiles.
If this fails make sure you have a CA certificate bundle installed such as
security/ca_root_nss. If it still fails and there are other HTTPS sites
with a valid certificate consider removing the site from MASTER_SITES.
If the site cannot be removed you can disable certificate verification by
adding the following line to the port Makefile:
FETCH_ENV= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
20170218:
AUTHOR: [email protected]
* Qt 4's binaries have been moved to lib/qt4/bin to match what is already done
to Qt 5's binaries. Since these binaries are no longer in ${LOCALBASE}/bin,
they also do not have the -qt4 suffix in their names any more.
* Consequently, there are no Qt 4 or Qt 5 binaries in the default $PATH, and
misc/qtchooser is now used to select the actual Qt binaries. In other
words, calling "qmake" or "moc" now goes through qtchooser, which prefers
Qt 5 binaries by default.
The ports framework handles this automatically. The UPDATING entry covers
this in more detail.
* Qt 5.7.1 requires a C++11-capable compiler to be used. qmake and CMake pass
the appropriate flags to the compiler (such as -std=c++11) automatically,
but if your port fetches Qt's build flags via pkg-config (which can be the
case for autotools-based ports), you might need to take care of this
manually by setting USE_CXXSTD in your Makefile:
USE_CXXSTD= c++11
20160116:
AUTHOR: [email protected]
A new EXTRA_PATCH_TREE has been added. Points to a directory hierarchy with
the same layout as the ports tree, where local patches can be found. This
allows a third party to keep their patches in some other source control
system if needed.
For example, if you have EXTRA_PATCH_TREE=/patches, when building
lang/perl5.24, any file named patch-* in /patches/lang/perl5.24/ will be used
to patch the Perl distribution.
20160116:
AUTHOR: [email protected]
During extraction of the do-patch target into a separate script, the "-d
PATCH_WRKSRC" had to be removed from the PATCH_ARGS and PATCH_DIST_ARGS
variables. If using these variables directly, you will need to adapt the
Makefile. For example:
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch
needs to be changed to:
${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} < ${FILESDIR}/extra-patch
20161218:
AUTHOR: [email protected]
QT_PREFIX has been dropped, in favour of using PREFIX directly.
20160911:
AUTHOR: [email protected]
Support has been added for complete set of Creative Commons licenses
CC-(BY|BY-ND|BY-NC|BY-NC-ND|BY-NC-SA|BY-SA)-(1.0|2.0|2.5|3.0|4.0)
20160909:
AUTHOR: [email protected]
Verbose build logs are now preferred and enabled by default for cmake,
ninja and GNU configure. Ports which still produce quiet build logs
(hiding actual commands) are strongly advised to switch to verbose logs.
20160908:
AUTHOR: [email protected]
Support has been added for NONE license, use it when the port doesn't
have cleanly defined licensing terms. Note that without clean license
allowing you to use and distribute the code it would be be illegal to do
so in many jurisdictions, so for ports with NONE license no distfiles or
packages are distributed.
20160824:
AUTHOR: [email protected]
To complete the USE_GITHUB framework, a GH_SUBDIR variable has been added.
It automatically moves a secondary distfile to the right place inside WRKSRC.
It also extends the GH_TUPLE variable to make it as easy to use as possible.
Before:
GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js \
FVANCOP:ChartNew.js:77e7f87:chartnew_js
post-extract:
@${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js
@${MV} ${WRKSRC_database} ${WRKSRC}/database
@${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js
After:
GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \
FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js
It also works if not using GH_TUPLE but the regular
GH_ACCOUNT/PROJECT/TAGNAME variables:
GH_SUBDIR= 3rd/Chart.js:chart_js 3rd/ChartNew.js:chartnew_js
20160824:
AUTHOR: [email protected]
A new USES file has been introduced: USES=kde:4, which replaces the old
bsd.kde4.mk file in preparation for upcoming KDE Frameworks and Plasma5
ports.
Ports depending on KDE4 have to switch from
USE_KDE4=foo bar
to
USES=kde:4
USE_KDE=foo bar
and make sure to switch from using KDE4_PREFIX to the new name KDE_PREFIX
in the Makefiles as well as plists.
20160821:
AUTHOR: [email protected]
A new USES file has been introduced: USES=grantlee:[4,5], which introduces a
LIB_DEPENDS on either devel/grantlee (Qt4) or devel/grantlee5 (Qt5).
Uses/grantlee.mk also exports the GRANTLEE_VERSION variable to users, and the
GRANTLEE_VERSION_FULL and GRANTLEE_VERSION_SHORT pkg-plist substitutions.
20160817:
AUTHOR: [email protected]
This adds the possibility to use regular expressions for the makeplist stage
of the PLIST_SUB life.
From time to time, the values are too generic, and they get in the way of
other stuff.
This adds the possibility to have a VAR_regex=regex that will be used
instead of the VAR=string to search for possible replacements.
For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced
in paths if a file is called, say "machine", will end up being
"%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full
words are replaced, so machine will stay machine, but "lib/mach/foo "will
still be replaced by "lib/%%PERL_ARCH%%/foo".
20160803:
AUTHOR: [email protected]
Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php. A PHP extension will be automatically activated when
installed. The order into which extensions are loaded is automatically
guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO
will need to be set. Refer to the USES=php section of the Porter's Handbook
for more information.
20160628:
AUTHOR: [email protected]
USEify USES=php.
The following variables have been folded into arguments:
- USE_PHPIZE -> USES=php:phpize
- USE_PHPEXT -> USES=php:ext
- USE_ZENDEXT -> USES=php:zend
- USE_PHP_BUILD -> USES=php:build
- WANT_PHP_CLI -> USES=php:cli
- WANT_PHP_CGI -> USES=php:cgi
- WANT_PHP_MOD -> USES=php:mod
- WANT_PHP_WEB -> USES=php:web
- WANT_PHP_EMB -> USES=php:embed
20160627:
AUTHOR: [email protected]
USE_OPENSSL has been replaced by USES=ssl.
20160625:
AUTHOR: [email protected]
A new ${opt}_CMAKE_BOOL OPTIONS helper has been added. Instead of:
FOO_CMAKE_ON= -DWITH_FOO:BOOL=YES -DWITH_BAR:BOOL=YES
FOO_CMAKE_OFF= -DWITH_FOO:BOOL=NO -DWITH_BAR:BOOL=NO
you can use this shortcut:
SOMEOPT_CMAKE_BOOL= WITH_FOO WITH_BAR
20160525:
AUTHOR: [email protected]
A new stage-qa test has been added, it reports all shared libraries
dependencies that are not part of the port list of dependencies. It help
finds what is called proxy dependencies.
A is needed by B, and B is needed by C. If C also needs A, then it needs to
be registered, and this check will tell you to do so.
Right now, it is only reporting the problems, but if you add
PROXYDEPS_FATAL=yes to your environment, it will give an error and will force
you to fix the dependencies.
20160525:
AUTHOR: [email protected]
New keyword @xmlcatmgr has been added, to handle the XML and SGML catalog
maintainance, in order to improve consistency and correctness of the
generation of the catalog.
If the catalog file has an extension being '.xml' it will be automatically
added to the XML catalog, otherwise it will be added to the SGML catalog
20160512:
AUTHOR: [email protected]
"make makesum" now writes the current timestamp to distinfo when it is run.
This is done to support development and prototyping efforts for reproducible
package builds, which require some concept of a "last updated" time.
The TIMESTAMP can currently be ignored for ports that have no distinfo, and
for updates done without using "make makesum."
20160428
AUTHOR: [email protected]
USE_RUBYGEMS has been replaced by USES=gem.
20160426:
AUTHOR: [email protected]
USE_MYSQL and USE_BDB have been replaced by USES=mysql and USES=bdb.
WANT_BDB_VER=XX should be replaced by USES=bdb:XX.
20160414:
AUTHOR: [email protected]
USE_RC_SUBR=yes has not done anything for a long time, it will now give an error.
20160413:
AUTHOR: [email protected]
Introducing CONFIGURE_OUTSOURCE. It changes HAS_CONFIGURE and GNU_CONFIGURE
by invoking configure, build and install stage outside of source tree e.g.,
$ mkdir ../.build
$ cd ../.build
$ ${OLDPWD}/configure
$ gmake
$ gmake install
20160402:
AUTHOR: [email protected]
Adding ${PORTSDIR} in dependency lines is no longer necessary meaning
RUN_DEPENDS= foo:${PORTSDIR}/bar/foo
can now be written
RUN_DEPENDS= foo:bar/foo
if the path after ':' is not absolute the framework will automatically
prepend ${PORTSDIR}/
20160301:
AUTHOR: [email protected]
Introduce GH_TUPLE.
GH_TUPLE allows one to put all the GH_{ACCOUNT,PROJECT,TAGNAME} into one
variable, in the form of account:project:tagname[:group]. It is helpful when
there are many submodules.
20160207:
AUTHOR: [email protected]
The GNOME and MATE framework activation changed. To use the frameworks
now either gnome or mate needs to be added USES.
The usage of USE_GNOME, USE_MATE, INSTALLS_ICONS and for example
GLIB_SCHEMAS stays the same.
Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk
is now forbidden.
20160112:
AUTHOR: [email protected]
Support has been added for "or later" variants of GNU licenses
(e.g. LICENSE=GPLv2+) and for Public Domain (LICENSE=PD).
Complete list of new LICENSE values:
AGPLv3+ GPLv1+ GPLv2+ GPLv3+ GPLv3RLE+ LGPL20+ LGPL21+ LGPL3+ PD
20160110:
AUTHOR: [email protected]
USE_FIREBIRD and USE_SQLITE has been replaced by USES=firebird and
USES=sqlite
20151105:
AUTHOR: [email protected]
Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC.
Right now, NO_WRKSUBDIR means that the extraction does not produce a
subdirectory, and that everything goes straight into WRKDIR. It is
problematic, because during the build of a port, quite a few files
are created in there, and then, a stage directory, where everything
is installed, and then a pkg directory where the package is created,
and those often conflict, or get in the way, of the building
process.
With this, NO_WRKSUBDIR will extract the distfiles directly into
WRKSRC instead of WRKDIR. In this case, WRKSRC is artificial and is
based on PKGNAME and not DISTNAME, mitigate conflicts with rc files.
20151022:
AUTHOR: [email protected]
Improved support for USES=shebangfix
- We now support multiple values for *_OLD_CMD
- We replace more variants by default (/bin/${lang}, /usr/bin/${lang},
/usr/bin/env ${lang}).
- shebangfix now also supports lua if USES=lua is specified
- Pattern matching has been improved: we now only match whole worlds,
e.g. "/usr/bin/perl5.005" is no longer erroneously replaced with
"${perl_CMD}5.005".
Note that *_OLD_CMD entries which contain spaces must now be quoted.
20150928:
AUTHOR: [email protected]
Implemented complete support for test target.
You can now `make test' on any port to run test sequence, no-op by default.
If a port defines TEST_TARGET, it'll run sub-make with specified target,
usually `check' or `test', useful if upstream supports that. The port may
instead define custom do-test target, as well as usual satellite targets:
{pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off
`make test' builds and stages port first, so test may use both WRKDIR and
STAGEDIR, and both BUILD and RUN depends are available for test target.
Additionally, TEST_DEPENDS is now properly supported and may be used to
define additional depends specifically for testing.
Framework may define default tests for specific cases. For instance,
perl5.mk and cran.mk provide default test target on their own.
20150926:
AUTHOR: [email protected]
@sample now accept arguments, so it can now be used the following way:
@sample afile.sample
or
@sample path/to/example etc/target
20150926:
AUTHOR: [email protected]
New keywords are supported in pkg since 1.5.x:
@preexec <command>: execute the <command> during pre-install scripts
@postexec <command>: execute the <command> during post-install scripts
@preunexec <command>: execute the <command> during pre-deinstall scripts
@postunexec <command>: execute the <command> during post-deinstall scripts
@exec does not specify when it should be executed and is now considered as
deprecated.
20150914:
AUTHOR: [email protected]
Introducing the %%PERL5_MAN1%% PLIST_SUB entry, as Perl now installs man1
pages in the same prefix as man3 pages.
20150828:
AUTHOR: [email protected]
<opt>_VARS and <opt>_VARS_OFF have been introduced to allow for a generic way
to set/append to variables.
OPT1_VARS= foo=bar baz+=bam
will set FOO to bar and append bam to BAZ if OPT1 is enabled. <opt>_VARS_OFF
works the same way, if the option is disabled.
20150818:
AUTHOR: [email protected]
The CMAKE_ENV option has been deprecated. It no longer has any effect, and
the CONFIGURE_ENV variable should be used instead.
20150818:
AUTHOR: [email protected]
<opt>_IMPLIES and <opt>_PREVENTS have been introduced to register dependency,
or conflicts between options.
OPTIONS_DEFINE= FOO BAR BAZ
FOO_IMPLIES= BAR
BAZ_PREVENTS= BAR
If the FOO option is selected, the BAR option will be enabled as well. If
the BAZ and BAR options are both enabled, an error will be given.
20150817:
AUTHOR: [email protected]
UNIQUENAME and LATEST_LINK have been removed. LATEST_LINK was only used by
ports-mgmt/pkg{,-devel} and PKGBASE can be used in its stead. UNIQUENAME was
used by USE_LDCONFIG where it was not unique enough, and as old compat shims
with options.
20150716:
AUTHOR: [email protected]
USE_GHOSTSCRIPT was replaced by USES=ghostscript. The ghostscript USES
accepts version, build, run, nox11 and for version 9 the agpl argument.
If no version is specified, the default 9 for GHOSTSCRIPT_DEFAULT is honored.
20150701:
AUTHOR: [email protected]
Make option target helpers have been added, it allows replacing:
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
.if ${PORT_OPTIONS:MPTHREAD}
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
${WRKSRC}/hints/freebsd.sh
.else
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
${WRKSRC}/hints/freebsd.sh
.endif
with:
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
post-patch-PTHREAD-on:
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
${WRKSRC}/hints/freebsd.sh
post-patch-PTHREAD-off:
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
${WRKSRC}/hints/freebsd.sh
20150622:
AUTHOR: [email protected]
Remove USE_RCORDER, USE_RC_SUBR has been modified to support PREFIX=/usr
automatically
20150529:
AUTHOR: [email protected]
Extend the multiple distfiles USE_GITHUB framework by allowing it to fetch
only additional distfiles, but not the main one. Set USE_GITHUB=nodefault
and use the GH_* variables with groups as usual.
20150528:
AUTHOR: [email protected]
USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature
similar to MASTER_SITES/PATCH_SITES.
Some helpful variables are provided: WRKSRC_<group> for putting things in the
right place in post-extract, and DISTNAME_<group>/DISTFILE_<group> for use
with EXTRACT_ONLY.
A simple example:
PORTNAME= bar
PORTVERSION= 1.0
USE_GITHUB= yes
GH_ACCOUNT= foo
GH_PROJECT= ${PORTNAME}-images:images
post-extract:
@${MV} ${WRKSRC_images} ${WRKSRC}/images
It will fetch those two distfiles:
$ make fetch-urlall-list
https://codeload.github.com/foo/bar/tar.gz/1.0?dummy=/foo-bar-1.0_GH0.tar.gz
https://codeload.github.com/foo/bar-images/tar.gz/1.0?dummy=/foo-bar-images-1.0-1.0.tar.gz
It will then extract them to ${WRKDIR} in their respectives directories.
20150526:
AUTHOR: [email protected]
PYTHON_REL has been switched from a 3 digits number to a 4 digits number to
handle python 2.7.10. Ports checking for python 2.7.9 should compare
PYTHON_REL against 2709 and ports checking for python 2.7.10 should compare
PYTHON_REL against 2710.
20150521:
AUTHOR: [email protected]
GH_COMMIT support has been removed, see the 20150319 for more informations.
20150419:
AUTHOR: [email protected]
USE_AUTOTOOLS has been deprecated. It can be replaced with USES=autoreconf
and GNU_CONFIGURE=yes.
Support for USE_AUTOTOOLS=libtoolize has been removed. It can be replaced
with "USES=autoreconf libtool".
20150409:
AUTHOR: [email protected]
Add a new USES=gnustep to handle the GNUstep ports. Now the dependencies on
GNUstep libraries is done via the regular LIB_DEPENDS
USE_GNUSTEP is now a macro that accept many arguments: back, build, gui, back
Depending on the feature needed for a given port