forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
3272 lines (2357 loc) · 110 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 portmgr@FreeBSD.org 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.
20160911:
AUTHOR: amdmi3@FreeBSD.org
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: amdmi3@FreeBSD.org
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: amdmi3@FreeBSD.org
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: mat@FreeBSD.org
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: kde@FreeBSD.org
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: kde@FreeBSD.org
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: mat@FreeBSD.org
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: mat@FreeBSD.org
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: mat@FreeBSD.org
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: mat@FreeBSD.org
USE_OPENSSL has been replaced by USES=ssl.
20160625:
AUTHOR: adamw@FreeBSD.org
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: mat@FreeBSD.org
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: bapt@FreeBSD.org
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: emaste@FreeBSD.org
"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: mat@FreeBSD.org
USE_RUBYGEMS has been replaced by USES=gem.
20160426:
AUTHOR: mat@FreeBSD.org
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: mat@FreeBSD.org
USE_RC_SUBR=yes has not done anything for a long time, it will now give an error.
20160413:
AUTHOR: jbeich@FreeBSD.org
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: bapt@FreeBSD.org
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: mat@FreeBSD.org
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: kwm@FreeBSD.org
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: amdmi3@FreeBSD.org
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: bapt@FreeBSD.org
USE_FIREBIRD and USE_SQLITE has been replaced by USES=firebird and
USES=sqlite
20151105:
AUTHOR: mat@FreeBSD.org
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: amdmi3@FreeBSD.org
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: amdmi3@FreeBSD.org
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: bapt@FreeBSD.org
@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: bapt@FreeBSD.org
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 if should be executed and is now considered as
deprecated.
20150914:
AUTHOR: mat@FreeBSD.org
Introducing the %%PERL5_MAN1%% PLIST_SUB entry, as Perl now installs man1
pages in the same prefix as man3 pages.
20150828:
AUTHOR: mat@FreeBSD.org
<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: kde@FreeBSD.org
The CMAKE_ENV option has been deprecated. It no longer has any effect, and
the CONFIGURE_ENV variable should be used instead.
20150818:
AUTHOR: mat@FreeBSD.org
<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: mat@FreeBSD.org
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: kwm@FreeBSD.org
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: mat@FreeBSD.org
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: bapt@FreeBSD.org
Remove USE_RCORDER, USE_RC_SUBR has been modified to support PREFIX=/usr
automatically
20150529:
AUTHOR: mat@FreeBSD.org
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: mat@FreeBSD.org
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: antoine@FreeBSD.org
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: mat@FreeBSD.org
GH_COMMIT support has been removed, see the 20150319 for more informations.
20150419:
AUTHOR: tijl@FreeBSD.org
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: bapt@FreeBSD.org
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
Reuse USES=objc to avoid duplicating code
20150408:
AUTHOR: bapt@FreeBSD.org
Add a new USES=waf to handle the waf building system, allowing to factorise
code. Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets
can be reused.
Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
_MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
to really disable parallelisation with waf
WAF_CMD has been created to allow one to override the location of the waf
script relatively to WRKSRC
CONFIGURE_TARGET is by default defined to "configure"
ALL_TARGET is by default defined to "build"
INSTALL_TARGET is by default defined to "install"
USES=waf is by default stagedir safe
20150407:
AUTHOR: bapt@FreeBSD.org
USE_XZ and USE_BZIP2 are not supported anymore, they have been replaced by
USES=tar:bzip2 and tar:xz
20150328:
AUTHOR: bapt@FreeBSD.org
New "metaport" USES to take care of predefining correctly the needed
macros as expected by meta ports.
20150323:
AUTHOR: bapt@FreeBSD.org
Remove "@fc" and "@fontsdir". All fonts should always use @fcfontsdir which
Properly takes care of the fonts.dir and fonts.scale cache files as well
as ensure to properly update the fontconfig cache
New "fonts" USES. It defines the default variables needed for fonts and also
takes care of the run time dependencies
20150326:
AUTHOR: bdrewery@FreeBSD.org
PTHREAD_CFLAGS and PTHREAD_LIBS have been removed. Please see entry
20130207 for more information.
20150319:
AUTHOR: bdrewery@FreeBSD.org
MASTER_SITE GHR (GITHUB_RELEASE) has been removed. The same functionality
can be achieved with just USE_GITHUB/GH_ACCOUNT/GH_PROJECT. GH_TAGNAME
defaults to DISTVERSION. If the tag needs to be adjusted then change
GH_TAGNAME. No GH_COMMIT is needed.
20150319:
AUTHOR: bdrewery@FreeBSD.org
USE_GITHUB has been updated to make GH_COMMIT optional. Using this new
scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and
not having to know the hash for a tag. This scheme will download a tarball
that has a different checksum than before due to a changed directory name
for extraction.
GH_TAGNAME can now be any length of the hash as long as it is unique. There
is no longer a 7-character requirement.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL
GITHUB -> GITHUB_LEGACY
20150305:
AUTHOR: olivierd@FreeBSD.org
Dependencies on the Xfce ports have been migrated to USES. Instead
of USE_XFCE= configenv, you should use USES= xfce.
20150224:
AUTHOR: makc@FreeBSD.org
New USE_QT4 component has been introduced to reduce buildtime
dependencies for Qt 4 ports that use localization support. Instead
of USE_QT4=linguist you should now use USE_QT4=linguisttools_build.
Conversion of existing ports may require USE_QT4 adjustment for
missing components.
20141217:
AFFECTS: users of lang/perl5.*
AUTHOR: mat@FreeBSD.org
Perl now links libperl.so with all .so it builds. The stage-qa checks have
been extended to check that libperl.so is in fact linked with .so in
SITE_ARCH and errors out if none of the .so build by a port are linked with
it. It also checks that the rpath and runpath elf attributes are present.
20141130:
AUTHOR: tijl@FreeBSD.org
The devel/gettext port has been split up in devel/gettext-runtime which
contains runtime libraries such as libintl, and devel/gettext-tools which
contains build tools such as msgfmt. You can use USES=gettext-runtime to
set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools
to set a BUILD/RUN_DEPENDS on devel/gettext-tools.
USES=gettext is now the same as "USES=gettext-runtime gettext-tools",
meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on
devel/gettext-tools.
20141126:
AUTHOR: mat@FreeBSD.org
The way Perl modules are installed has changed. Before, we had
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have :
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.
As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.
The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.
The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.
20141122:
AUTHOR: crees@FreeBSD.org
Dependencies on the PostgreSQL ports have been migrated
to USES. Instead of USE_PGSQL, please use USES=pgsql instead.
USE_PGSQL=yes becomes USES=pgsql
WANT_PGSQL_VER=91+ becomes USES=pgsql:9.1+
USE_PGSQL=server becomes USES=pgsql and WANT_PGSQL=server
20141118:
AUTHOR: mat@FreeBSD.org
To ease future work, a new SITE_ARCH variable and PLIST_SUB replacement
containing SITE_PERL/PERL_ARCH has been added.
20141102:
AUTHOR: bdrewery@FreeBSD.org
SSP is now default. This can be disabled with WITHOUT_SSP.
SSP_CFLAGS defaults to -fstack-protector.
SSP will be used on all amd64 releases. It will only be used on i386
releases over 10.0.
20141007:
AUTHOR: mat@FreeBSD.org
The @cwd [path] construct in plist files is deprecated. Instead of adding
those lines to the plist:
@cwd /
etc/rc.d/foo
var/db/bar
@cwd /some
@exec mkdir -p %D/nested/dir
add this:
/etc/rc.d/foo
/var/db/bar
@exec mkdir -p /some/nested/dir
20141002:
AUTHOR: bapt@FreeBSD.org
New BUNDLE_LIBS knobs to allow a port to tell pkg(8) not to compute provided
libraries, this is to be used when a port bundles libraries it doesn't want
to expose to other ports.
20141001:
AUTHOR: tijl@FreeBSD.org
Support for autoconf213, autoheader213, aclocal14 and automake14 has been
removed from USE_AUTOTOOLS.
20140930:
AUTHOR: bdrewery@FreeBSD.org
Building ports in a chroot or jail have always required a particular
environment be setup. This was not clear though and the ports framework
did not enforce it. These requirements are:
1. Either a SRC_BASE/sys/sys/param.h, or /usr/include/sys/param.h be
present with the __FreeBSD_version_ number of the target system,
or OSVERSION be set in the environment. Lack of these would fallback
on kern.osreldate before, which is no longer the case.
2. UNAME_r,UNAME_v,UNAME_s all must be set for the target system.
Not having these values in sync will now cause the build to error until it is
resolved.
Setting these in the environment can be done via your own wrapper scripts,
or /etc/login.conf (along with cap_mkdb /etc/login.conf) or
via /etc/make.conf using appropriate values. Note that OSVERSION is redundant
if a proper param.h is in the environment:
OSVERSION+= 1100036
UNAME_ENV+= OSVERSION=${OSVERSION}
UNAME_ENV+= UNAME_s=FreeBSD
UNAME_ENV+= UNAME_r=11.0-CURRENT
UNAME_ENV+= UNAME_v="${UNAME_s} ${UNAME_r}"
.MAKEFLAGS: ${UNAME_ENV}
MAKE_ENV+= ${UNAME_ENV}
CONFIGURE_ENV+= ${UNAME_ENV}
SCRIPTS_ENV+= ${UNAME_ENV}
20140922:
AUTHOR: bapt@FreeBSD.org
pkg(8) now handles the directories under PREFIX automatically,
and will automatically remove them as needed.
A new @dir keyword has been introduced to handle directories specially:
- directories with special owner, group, or permissions (access mode)
- empty directories
- directories out of PREFIX
As a consequence @dirrm and @dirrmtry are now considered deprecated.
Credentials can now be passed in arguments to keywords
(the empty keyword means "regular file"):
@(user,group,mode) file1
@dir(user,group,mode) directory_with_special_owner_or_mode
PLIST_DIRSTRY is now considered deprecated, use PLIST_DIRS instead.
20140917:
AUTHOR: tijl@FreeBSD.org
Support for USE_AUTOTOOLS=libtool, USE_GNOME=ltasneededhack,
USE_GNOME=lthack and USE_GNOME=ltverhack has been removed.
Ports should use USES=libtool instead.
Support for USE_AUTOTOOLS=libltdl has been removed.
Ports should use LIB_DEPENDS=libltdl.so:${PORTSDIR}/devel/libltdl
20140916:
AUTHOR: tijl@FreeBSD.org
The installation of *.la files without some form of USES=libtool in the
port Makefile will now result in a stage-qa error.
Previously this would only cause a warning.
The :keepla argument to USES=libtool is no longer special. It is now
only needed if a port uses *.la files at run time and no longer to fix
link problems in other ports.
20140901:
AUTHOR: bapt@FreeBSD.org
Support for pkg_install has been removed.
Note that WITH_PKGNG is now called WITH_PKG (still used to define 'devel')
WITH_PKGNG remains for compatibility
@stopdaemon support has gone, pkg(8) has a generic mechanism to
provide the same function, see HANDLE_RC_SCRIPTS in pkg.conf(5).
20140901:
AUTHOR: bapt@FreeBSD.org
Support for NO_STAGE has been removed.
20140825:
AUTHOR: antoine@FreeBSD.org
Support for NOPORTDATA has been removed.
20140809:
AUTHOR: mva@FreeBSD.org
The Python language bits of the ports framework have been converted
to USES. Instead of USE_PYTHON, please use USES=python instead.
USE_PYTHON=yes becomes USES=python
USE_PYTHON=2.7+ becomes USES=python:2.7+
USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
...
Additionally, several Python specific features have been converted
to USES-inspired USE_PYTHON=<featureA>,<featureB>.
USE_PYDISTUTILS becomes USE_PYTHON=distutils
PYDISTUTILS_AUTOPLIST becomes USE_PYTHON=autoplist
...
Please read the header comments of Uses/python.mk for more details
about the new and changed bits and pieces. You will find a list of
deprecated variables and how to replace them in your own ports at
the end of the header comment.
20140715:
AUTHOR: bapt@FreeBSD.org
LIB_DEPENDS only supports one form: lib*.so
20140708:
AUTHOR: mva@FreeBSD.org
Support for installations based on the easy_install setup.py target has
been removed from the Ports framework for Python software. The
PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have
been removed.
20140623:
AUTHOR: bapt@FreeBSD.org
IGNOREFILES is not supported anymore, it was an unsafe feature allowing to
use unchecked files downloaded from untrusted places to be used in the ports
tree.
20140607:
AUTHOR: mva@FreeBSD.org
New PYTHON_CONCURRENT_INSTALL knob to support the parallel installation
of ports for different python versions.
If set to yes, the knob indicates that the port can be installed for
different python versions at the same time. The port will use a unique
prefix for certain directories using USES=uniquefiles:dirs (see the
uniquefiles.mk Uses for details about the directories). Binaries
receive an additional suffix, based on ${PYTHON_VER}.
The values for the uniquefiles USES are set as follows:
UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX}
UNIQUE_SUFFIX= -${PYTHON_VER}
If the port is installed for the current default python version, scripts and
binaries in
${PREFIX}/bin
${PREFIX}/sbin
${PREFIX}/libexec
are linked from the prefixed version to the prefix-less original name,
e.g. bin/foo-2.7 --> bin/foo.
20140529:
AUTHOR: miwi@FreeBSD.org
USE_GMAKE is no longer supported, please use USES=gmake instead
20140526:
AUTHOR: bapt@FreeBSD.org
USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead
20140525:
AUTHOR: mat@FreeBSD.org
Add a USE_PERL5=fixpacklist to account for ports creating a .packlist file
referencing ${STAGEDIR} when not using USE_PERL5=configure or
USE_PERL5=modbuildtiny.
20140505:
AUTHOR: bapt@FreeBSD.org
:U and :L syntax is not supported anymore in the ports tree, :tu and :tl
should be used instead
This makes the ports tree incompatible with make(1) version that does not
support :tu and :tl (aka FreeBSD 8.3 and earlier)
20140428:
AUTHOR: bapt@FreeBSD.org
EXTRA_PATCHES has been extended to support a new syntax:
EXTRA_PATCHES= file:-pX
Where X is the pathname strip count passed to patch(1)
20140423:
AUTHOR: tijl@FreeBSD.org
The semantics of USES=libtool have changed. It now deletes .la libraries
from the staging area to reduce overlinking. USES=libtool:keepla can be
used in case they need to be kept. This form still modifies .la libraries
to remove references to other libraries to reduce overlinking.
Note that .la libraries have to kept around as long as there are .la
libraries from other ports that refer to them. Those ports need to use
some form of USES=libtool first such that those references are removed.
20140419:
AUTHOR: bdrewery@FreeBSD.org
check-orphans has been renamed to check-plist. It now checks:
A. Files in STAGEDIR that are missing from plist.
To make check-plist ignore a file *as an orphan* do one of the
following:
1. Install it
2. post-install: ${RM} ${STAGEDIR}file
3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file
4. Add to plist as a @comment
@comment file
@comment @dirrmtry dir
B. Files in plist missing from STAGEDIR
C. Files in plist which are owned by dependencies/MTREEs
20140416:
AUTHOR: bdrewery@FreeBSD.org
The default target for 'make' now runs 'make stage' if the port supports
it, otherwise 'make build' as before.
20140411:
AUTHOR: bdrewery@FreeBSD.org
A new plist keyword has been added, @sample. It accepts a file (must end in
.sample):
@sample file.conf.sample
This will install file.conf.sample and copy it to file.conf. The file.conf
will be removed if it matches file.conf.sample on deinstall.
This replaces older patterns of:
@unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
etc/pkgtools.conf.sample
@exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf
20140312:
AUTHOR: bapt@FreeBSD.org
Two new USES were added to finish handling distfiles formats a consistent way:
USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format:
- plain tar
- tar.xz
- tar.bz2
- tar.Z
- tgz
USES=lha handles distributions files info LHA format
20140307:
AUTHOR: rene@FreeBSD.org
Two new USES were added by bapt@FreeBSD.org :
USES=zip handles distribution files in Zip format. InfoZip files
need USES=zip:infozip
USES=makeself handles distribution files in makeself format.
20140303:
AUTHOR: kde@FreeBSD.org
Add support for Qt 5 via USE_QT5. USE_QT5 is analogous to USE_QT4,
the only difference is the list of available components
(see Mk/bsd.qt.mk for details). USES=qmake supports Qt 5 as well.
20140224:
AUTHOR: bapt@FreeBSD.org
Deprecate support for KNOBS, the new option framework allows to express a
more consistent, user friendly and visible way the same feature.
20140127:
AUTHOR: mat@FreeBSD.org
Add two new options helpers:
${OPT}_${TYPE}_DEPENDS_OFF=<something> will automatically add:
${TYPE_DEPENDS}+=<something> in case OPT is 'off'
${OPT}_${FLAG}_OFF=<something> will automatically add:
${FLAG}+=<something> in case OPT is 'off'
20140111:
AUTHOR: mva@FreeBSD.org
New USES=uniquefiles to make files or directories unique
by adding a prefix or suffix to them.
Files listed in UNIQUE_PREFIX_FILES will receive the prefix
set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES,
but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and
UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by
default.
The uniquefiles USES enables ports to name files in special
ways, e.g. by outlining that the port does not support X11
(-nox11). A binary named bin/foo thus can be easily renamed
to bin/foo-featureA via
USES= uniquefiles
UNIQUE_SUFFIX= -featureA
UNIQUE_SUFFIX_FILES= bin/foo
The uniquefiles USES automatically adjusts the plist at
installation time. There is no need to consider the prefix