forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
2454 lines (1777 loc) · 84.7 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.
20140607:
AUTHOR: [email protected]
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: [email protected]
USE_GMAKE is no longer supported, please use USES=gmake instead
20140526:
AUTHOR: [email protected]
USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead
20140505:
AUTHOR: [email protected]
: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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
The default target for 'make' now runs 'make stage' if the port supports
it, otherwise 'make build' as before.
20140411:
AUTHOR: [email protected]
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: [email protected]
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: [email protected]
Two new USES were added by [email protected] :
USES=zip handles distribution files in Zip format. InfoZip files
need USES=zip:infozip
USES=makeself handles distribution files in makeself format.
20140303:
AUTHOR: [email protected]
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.
20140127:
AUTHOR: [email protected]
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: [email protected]
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
or suffix in the pkg-plist file itself. If the original name
of the renamed file is bin/foo, this exact name should be put
into pkg-plist.
The dirs argument to USES=uniquefiles will cause certain
standard directories, such as DOCSDIR or EXAMPLESDIR to be
prepended with the UNIQUE_PREFIX. The change to the directories
will hapen prior to configuring or building the port, so that
the port Makefile as well as the port's build logic are aware
of the changed name.
Since the uniquefiles USES effectively manipulates the port's
installation and file layout, it will only be available for
stagedir-aware ports. Ports with NO_STAGE=yes will be unable
to use the uniquefiles USES.
20131218:
AUTHOR: [email protected]
lang/python (and as such the 'python' binary and accomplices)
has been removed as default dependency for the USE_PYTHON,
USE_PYTHON_BUILD and USE_PYTHON_RUN knobs.
Ports need to use a designated (default) python interpreter
to build and install and in most cases for execution in the user
environment. Ports that install python scripts, which are not
limited to a certain python version (or version range), can
include lang/python as build and/or run dependency.
USE_PYTHON=yes and similar knobs will only pull in the
default python version (e.g. lang/python27), but none
of the meta ports or lang/python itself.
Please use lang/python as build or run-time dependency only,
if there is no other way to get a port working properly, since
the usage of lang/python complicates package builds for different
python versions.
20131213:
AUTHOR: [email protected]
New USES=fortran to replace USE_FORTRAN.
USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc.
USE_FORTRAN=ifort can be replaced with USES=fortran:ifort.
USE_FORTRAN=f77 is deprecated and the version of gcc it depends
on (lang/gcc34) is scheduled to be removed.
Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while
USES=fortran only sets the Fortran compiler and can be used together
with Clang as C/C++ compiler.
20131208:
AUTHOR: [email protected]
New USES=twisted, to replace the old USE_TWISTED knob.
twisted can be configured with the arguments run or build to replace
the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
components can be added as comma-separated arguments. If you previously
wrote
USE_TWISTED= yes
USE_TWISTED= conch names
USE_TWISTED_RUN= yes
you now would write
USES= twisted
USES= twisted:conch,names
USES= twisted:run
20131119:
AUTHOR: [email protected]
The USE_GNOME component ltverhack no longer has a hard dependancy on
libtool.
If USE_AUTOTOOLS=libtool isn't defined it will try to patch ltmain.sh
and or libtool in ${WRKSRC}. If those files are located somewhere else
in ${WRKSRC} then it is possible to overwrite ltverhack_PATCH_FILES
with there new locations. configure script --distable-static will work also
after using the "new" ltverhack.
Please keep in mind that USE_AUTOTOOLS implies GNU_CONFIGURE so you might
need to add that back for the port to work.
20131031:
AUTHOR: [email protected]
Add a new USES for kernel module ports.
USES=kmod takes no arguments and:
- adds kld to CATEGORIES
- sets SSP_UNSAFE
- sets IGNORE if the kernel sources are not found
- defines KMODDIR to /boot/modules by default, add it to
PLIST_SUB and MAKE_ENV, and create it upon installation
- handles cross-referencing kernel modules upon installation and
deinstallation
20131021:
AUTHOR: [email protected]
share/applications directory was added to the mtree, meaning that
you no longer need to create or remove it in your ports.
20131008:
AUTHOR: [email protected]
New "compiler" USES to be able to select the compiler based on the
features it provides.
Supported arguments are:
- c++11-lang: the port needs a c++11 aware compiler what ever standard
library it uses, implies features
- c++11-lib: the port needs a c++11 standard library, implies features
- c11: the ports needs a c11 aware compiler implies features
- features: this will create a COMPILER_FEATURES variable which contains
the list of features ${CC} do support, implies env.
- env: the COMPILER_TYPE will be set to either gcc or clang.
By default the uses will try to use clang33 from ports when nothing in
base is relevant except if the user explicitly defines
FAVORITE_COMPILER=gcc in his make.conf
20131008:
AUTHOR: [email protected]
New USES: qmake, configure tool widely used among Qt based projects.
New framework is stage-friendly. To convert existing ports remove
custom configure target, adjust QMAKE_ENV, QMAKE_ARGS, QMAKE_PRO if
required (see Mk/Uses/qmake.mk for details).
20131005:
AUTHOR: [email protected]
PATCHFILES now support an optional :-pX flag that notes which patch strip
level to use. This allows multiple patches in 1 port to use different
PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP.
Syntax: PATCHFILES= patch[:-pX][:distgroup]
20131003:
AUTHOR: [email protected]
New USES: scons, to handle properly the scons building system, this
this also gives the scons packages user the ability to respect MAKE_JOBS.
20130924:
AUTHOR: [email protected]
Stage aware ports can now create package without the requirement from
being root.
If a port really needs root anyway it should add NEED_ROOT in its
Makefile.
For a port that needs special credential on files DO NOT RELY on
chown in post-install section but rely on @own, @group in pkg-plist
Be careful about rights on directories as pkg_install cannot store them
they needs to be done via @exec chown.
20130923:
AUTHOR: [email protected]
The ports tree is now staged by default. With pkgng the sequence hasn't
changed, the main difference is that creating package is now independent
from installing it. With pkg_install, the package is now created first
and make install, do install the package.
New macros:
- STAGEDIR: PATH to the directory where the port will be staged.
- NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area)
Unsupported macro if NO_STAGE is not set:
- MAN* with staging man page compression and handling of hardlinks and
symlinks is automatically done in the stage. the manpages becomes then a
"normal" plist files and should be tracked in pkg-plist.
- MANCOMPRESSED the compress-man target is able to only compress when it
needed.
New target:
- stage: this installs everything into the stage directory
- makeplist: this will create a pkg-plist and print it to stdout. This is
a sample plist and it should always be _reviewed_ not directly used.
NOTE: with staging only what is in the plist will be installed, nothing more,
meaning a port staged cannot have leftovers except directories left. It is
really important to double check the pkg-plist to make sure all the files
the maintainer wants to package are in! make makeplist can help in that area.
20130923:
AUTHOR: [email protected]
* New USES: zope
This replaces the previous USE_ZOPE knob. All other zope related knobs
for port Makefiles still exist. See Mk/Uses/zope.mk for details.
20130920:
AUTHOR: [email protected]
SSP support has been added to ports with WITH_SSP_PORTS for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP_PORTS knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.
[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup
20130919:
AUTHOR: [email protected]
* New USES: tcl, tk
This uses replaces all the previous USE_TCL, USE_TCL_BUILD, USE_TCL_RUN,
USE_TCL_WRAPPER, USE_TK, USE_TK_BUILD, USE_TK_RUN and USE_TK_WRAPPER macros.
See the Mk/Uses/tcl.mk and the commit message of r327607 for details.
Moreover, the default Tcl/Tk version is now specified in terms of
bsd.default-versions.mk. It is now possible to specify one's preferred Tcl/Tk
version using DEFAULT_VERSIONS+= tcltk=x.y in make.conf.
20130918:
AUTHOR: [email protected]
The perl framework is not included unconditionally and the old framework
is not recognized anymore, the following MACROS has been removed:
* PERL_CONFIGURE
* USE_PERL5_RUN
* USE_PERL5_BUILD
* PERL_MODBUILD
20130904:
AUTHOR: [email protected]
To allow ports to work with the iconv implementation in 10-CURRENT after
commit r254273 the USES=iconv options now conditionally adds a dependency
depending on the FreeBSD version. It also defines a few utility variables
which can be used in the ports:
ICONV_CMD: location of the iconv binary.
after r254273: /usr/bin/iconv
before: ${LOCALBASE}/bin/iconv
ICONV_LIB: ld(1) flags to get the iconv DSO.
after r254273: empty
before: -liconv
ICONV_CONFIGURE_ARG: String that can be passed to configure
scripts to hint the location of the libiconv library.
after r254273: empty
before: --with-libiconv-prefix=${LOCALBASE}
20130902:
AUTHOR: [email protected]
USE_GNOME=pkgconfig is not supported anymore by the ports tree, please
uses: USES=pkgconfig
20130831:
AUTHOR: [email protected]
crees has added USE_PACKAGE_DEPENDS_ONLY which works like
USE_PACKAGE_DEPENDS but will not fallback on source if a
package is missing.
20130731:
AUTHOR: [email protected]
* New USES: perl5
This uses replaces all the previous perl macros. Here is how to migrate:
Always include perl5:
USES= perl5
If USE_PERL5 is undefined then perl5 will be a build and run dependency
Migrating to new USE_PERL5:
=======================================================
| BEFORE | AFTER |
=======================================================
| PERL_CONFIGURE=yes | USE_PERL5= configure |
-------------------------------------------------------
| USE_PERL5_RUN=yes | USE_PERL5=run |
-------------------------------------------------------
| USE_PERL5_BUILD=yes | USE_PERL5=build |
-------------------------------------------------------
| PERL_MODBUILD=yes | USE_PERL5=modbuild |
-------------------------------------------------------
| USE_PERL5=yes | |
-------------------------------------------------------
| USE_PERL5=5.14+ | USE_PERL5= 5.14+ |
-------------------------------------------------------
| PERL_CONFIGURE= 5.14+ | USE_PERL5=5.14+ configure |
-------------------------------------------------------
| PERL_MODBUILD= 5.14+ | USE_PERL5=5.14+ modbuild |
-------------------------------------------------------
20130726:
AUTHOR: [email protected]
* With the removal of QT 3/KDE 3, the following are no longer recognized:
- USE_KDEBASE_VER
- USE_KDELIBS_VER
- USE_QT_VER
Mk/bsd.kde.mk has been removed, it was only used for QT 3/KDE 3.
20130628:
AUTHOR: [email protected]
* New USES: imake
This uses replaces USE_IMAKE, it handles dependency on imake. Its only argument
is 'env', which prevent from defining the do-configure target.
* New LATE_INSTALL_TARGET
This content of this new macro is appended to INSTALL_TARGET
20130620:
AUTHOR: [email protected]
* New USES: fmake
This uses will allow to build ports using the legacy FreeBSD make, for ports
not compatible with bmake
20130614:
AUTHOR: [email protected]
* New macros to help dealing with ports that have options:
OPTIONS_SUB=yes when set in a port, all the option names are automatically
added to the PLIST_SUB with "@comment " value in case the option is off and
empty value in case the options is on.
${OPT}_CONFIGURE_ENABLE=<aname> will automatically add:
CONFIGURE_ARGS+=--enable-<aname> in case OPT is activated
CONFIGURE_ARGS+=--disable-<aname> in case OPT is deactivated
${OPT}_CONFIGURE_ON=<something> will automatically add:
CONFIGURE_ARGS+=<something> in case OPT is activated
${OPT}_CONFIGURE_OFF=<something> will automatically add:
CONFIGURE_ARGS+=<something> in case OPT is deactivated
${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on'
${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on'
${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on'
${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if
OPT is 'on'
${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on'
${OPT}_USES will append the speficied uses to USES if OPT is 'on'
${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on'
${OPT}_CMAKE_ON=<something> will automatically add:
CMAKE_ARGS+=<something> in case OPT is activated
${OPT}_CMAKE_OFF=<something> will automatically add:
CMAKE_ARGS+=<something> in case OPT is deactivated
${OPT}_${TYPE}_DEPENDS=<something> will automatically add:
${TYPE_DEPENDS}+=<something> in case OPT is 'on'
20130614:
AUTHOR: [email protected]
* New 'display' USES macro to handle building ports that may require a
a display to build.
USES= display[:install] will start Xvfb and set the DISPLAY environment
variable before the installation phase and stop it at the end. (install is
the implicit value)
USES= display:build will start Xvfb and set the DISPLAY environment variable
before the build phase and stop it at the end.
20130607:
AUTHOR: [email protected]
* Checks were added to block GH_TAGNAME=master as this is not a valid
setup. A known hash or tag should be used for GH_TAGNAME instead of
a branch name. As soon as a branch is updated, the known checksum
in the distinfo would then be invalid.
20130606:
AUTHOR: [email protected]
* WRKSRC_SUBDIR has been added to simplify overriding WRKSRC
to use a subdirectory:
WRKSRC= ${WRKDIR}/${DISTNAME}/src
Becomes:
WRKSRC_SUBDIR= src
20130606:
AUTHOR: [email protected]
The OPTIONS macro is no longer recognized, please use the new options
framework.
20130509:
AUTHOR: [email protected]
* Two new USES macros to handle mime data of ports.
USES= desktop-file-utils
Handles MimeType in .desktop files that are installed in
share/applications.
USES= shared-mime-info
For supporting mime xml files installed in
share/mime/packages.
The desktop-file-utils USES is only needed if the .desktop files
installed by the port has a MimeType field.
USE_GNOME=desktopfileutils is deprecated.
The shared-mime-info USES handles mime types xml files.
Please note that only the packages/${NAME}.xml file should be listed in
the plist. The shared-mime-info port will clean up the share/mime/*
directories and generated files.
Both USES have there own post-install and code that adds @exec/@unexec
lines to the pkg-plist. This means that when a port switches to the
USES macro, the related post-install command and @exec/@unexec
lines can be removed from the prot.
20130507:
AUTHOR: [email protected]
* New USES macro to handle setting correct shebang to scripts
By default it will fix bash, perl, php, ruby and python on all files specified
in the SHEBANG_FILES macro (glob pattern relative to ${WRKSRC})
Paths can be customized, and number of languages supported can be extended.
* USE_GETTEXT, USE_NCURSES, USE_READLINE are no longer recognized
20130506:
AUTHOR: [email protected]
* New USES macro to handle linking on ncurses and on readline
USES= ncurses will set env and make the port link to base version of ncurses
if no port version is installed otherwise it will link against port version
USES= ncurses:port will for the port to link against the ports version of
ncurses
USES= ncurses:base will force to link against base version of ncurses.
USES= readline will make the port link against base version of readline except
on 10+ where it will force dependency on the port version of readline
USES= readline:port will anyway force dependency on the port version of
readline.
20130426:
AUTHOR: [email protected]
* USE_ICONV has been deprecated and converted into the iconv USE
feature
USES= iconv
20130425:
AUTHOR: [email protected]
* USE_CDRTOOLS is no longer recognized
* USE_FREETYPE is no longer recognized
20130423:
AUTHOR: [email protected]
* New USES macro to handle support for gettext dependency:
USES= gettext:build will add gettext into BUILD_DEPENDS
USES= gettext:run will add gettext into RUN_DEPENDS
USES= gettext:lib will add gettext into LIB_DEPENDS
It deprecates USE_GETTEXT which will be removed as soon as it is not
used anymore
20130422:
AUTHOR: [email protected]
* The entry for 20120830 to change CCACHE_DIR was not fully supported
by all ports. There is now a CCACHE_DIR variable that can be used
in /etc/make.conf for more complete coverage:
CCACHE_DIR=/var/cache/ccache
20130422:
AUTHOR: [email protected]
* New USES macro to handle support for pkgconf (pkg-config) dependency:
USES= pkgconfig[:build] will add pkgconf into BUILD_DEPENDS
USES= pkgconfig:run will add pkgconf into RUN_DEPENDS
USES= pkgconfig:both will add pkgconf into both RUN and BUILD DEPENDS
It deprecates USE_PKGCONFIG which will be removed as soon as it is not
used anymore
20130320:
AUTHOR: [email protected]
* New USES macro to handle support for Zenoss ports and Zenpacks:
USES= zenoss
20130319:
AUTHOR: [email protected]
* New USES macro should be used instead of deprecated USE_CMAKE and
CMAKE_OUTSOURCE:
USES= cmake:outsource
to perform out-of-source build (equivalent to former pair usage of
USE_CMAKE/CMAKE_OUTSOURCE)
USES= cmake
In-source build (equivalent to plain USE_CMAKE=yes) can be used if
project doesn't support out-of-source build.
20130319:
AUTHOR: [email protected]
* The options framework now uses ports-mgmt/dialog4ports contributed by
Ilya A. Arkhipov. It boostraps it if not present when one calls
make config.
dialog4ports provides a new UI able to represent all the features
provided by the new options framework.
20130315:
AUTHOR: [email protected]
* USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL have been removed
and converted into the qmail USE feature
USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX
20130315:
AUTHOR: [email protected]
* Add new Keywords directory and first info.yaml keyword (@info).
Keywords directory will contain all the custom plist keywords allowing to
extend pkg-plist with new keywords. Only works with pkgng.
20130307:
AUTHOR: [email protected]
* New USES macro to handle on demand features, 2 examples has been added to
the ports tree:
pathfix: to replace USE_GNOME= gnomehack
fuse: to replace USE_FUSE= yes
20130207:
AUTHOR: [email protected]
* Use of PTHREAD_CFLAGS and PTHREAD_LIBS is unsupported. The former
expands to the empty string, while the second is simply -pthread.
Please use -pthread directly in your LDFLAGS, if needed.
20121214:
AUTHOR: [email protected]
* Add a USE_FUSE macro to handle fuse dependencies. It makes
sure sysutils/fusefs-libs gets installed and depending on
fuse being in base or not it installs sysutils/fusefs-kmod.
20121210:
AUTHOR: [email protected]
* OPTIONS has been extended 2 new macros are available:
OPTIONS_RADIO - allows only 0 or 1 options to be selected
OPTIONS_GROUP - allows 0 or N options among to be selected
20121010:
AUTHOR: [email protected]
* IPV6 option is now activated by default for the whole ports tree
20121010:
AUTHOR: [email protected]
* The ports tree is now using pkgng as the default package manager
for HEAD. This only affects users of CURRENT -- users of other
branches need not take any action.
To keep pkg_install as the default package manager, use the new
WITHOUT_PKGNG knob in make.conf
20120830:
AUTHOR: [email protected]
* CCACHE support for building ports has been added (depends on
devel/ccache). Therefore new user settable variables are available:
WITH_CCACHE_BUILD - Enable CCACHE support (Default off)
NO_CCACHE - Disable CCACHE support for example for certain
ports if CCACHE is enabled.
By default CCACHE uses $HOME/.ccache as cache directory. To use
a non-default cache directory this could be overwritten like:
MAKE_ENV+= CCACHE_DIR=/var/cache/ccache
20120820:
AUTHOR: [email protected]
* GitHub support has been integrated into bsd.sites.mk. In order to
fetch distfiles from GitHub, a port must define USE_GITHUB along
with the following variables:
GH_ACCOUNT - account name of the GitHub user hosting the project
default: not set, mandatory
GH_PROJECT - name of the project on GitHub
default: ${PORTNAME}
GH_TAGNAME - name of the tag to download (master, 2.0.1, ...)
default: ${DISTVERSION}
GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME
(man git-describe(1))
default: not set, mandatory
The port www/tivoka is an example how to use this mechanism.
20120726:
AUTHOR: [email protected]
* new macro USE_PKGCONFIG has been introduce in place of
USE_GNOME= pkgconfig
USE_PKGCONFIG= yes and USE_PKGCONFIG= build
for build only dependency
USE_PKGCONFIG= run
for run only dependency
USE_PKGCONFIG= both
for both build and run dependency
20120715:
AUTHOR: [email protected]
* The ports tree moved from CVS to Subversion. A Subversion to
CVS exporter is in place to continue the support of CVSup but
do not commit to pcvs directly.
All commits have to be done in the new port Subversion repository
on svn.FreeBSD.org. You will find more information about
Subversion in the Ports Subversion Primer in the FreeBSD wiki,
in the "Committer's Guide" and the "Porter's Handbook".
If you are in doubt or unsure about a Subversion operation
please contact [email protected].
20120529:
AUTHOR: [email protected]
* OPTIONS has been updated with many changes and improvements.
Old-style OPTIONS declarations will continue to work for a while,
but do not introduce any into existing or new ports.
For further information, see the Porter's Handbook section on
Makefile Options.
20110923:
AUTHOR: [email protected]
* LDFLAGS is now passed to both the configure and make environments,
and should be handled just like CPPFLAGS (see previous entry).
Summarizing both LDFLAGS and CPPFLAGS changes, where you would
have used
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
now just use
CPPFLAGS+= "-I${LOCALBASE}/include"
LDFLAGS+= "-L${LOCALBASE}/lib"
Note that it's advised to append these variables (+=) instead
of overriding (=) to allow customization by user.
20110320:
AUTHOR: [email protected]
* CPPFLAGS is now passed to both the configure and make environments,
so this no longer needs to happen in individual ports by adding this
to CONFIGURE_ENV or MAKE_ENV. Rather, just set CPPFLAGS in the port
Makefile (if necessary).
For example, where you would have used
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
MAKE_ENV= SOMETHING=foo CPPFLAGS="-I${LOCALBASE}/include"
now just use
CPPFLAGS= "-I${LOCALBASE}/include"
MAKE_ENV SOMETHING=foo
20100831:
AUTHOR: [email protected]
* USE_GETTEXT has been cleaned up.
'build' BUILD time dependency only
'run' RUN time dependency only
'yes' LIBRARY dependency
20100606:
AUTHOR: [email protected]
* USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+
is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be
disconnected from the USE_GCC infrastructure soon.
20100524:
AUTHOR: [email protected]
* The license support files (bsd.licenses.mk and bsd.licenses.db.mk) from
GSoc 2008/2009 have been committed. A new PH entry will be available
soon, but for the moment look at:
http://wiki.freebsd.org/PortsLicenseInfrastructure
Or, alternatively, the comments at the beginning of the mentioned files.
20090906:
AUTHOR: [email protected]
* There is now a unified way to create users and groups
in your ports. First, make sure they are added to both
ports/GIDs and ports/UIDs, then add the following in
your port:
USERS= foo
GROUPS= foo
... if you want your port to create the foo user and
group.
20090812:
AUTHOR: [email protected]
* sourceforge.net has changed their URL layout to be more
flexible for their users. A new bsd.sites.mk macro SFP
has been added for projects that moved from
http://${mirror}/sourceforge/%SUBDIR%/
to
http://${mirror}/project/%SUBDIR%/
Note that %SUBDIR% is now highly individual for each
project and might need changing as well.
20090521:
AUTHOR: [email protected]
* bsd.port.options.mk is now clear to be widely used.
20090516:
AUTHOR: [email protected]
* APACHE_COMPAT is dead!
* USE_APACHE=yes is dead!
* WITH_APACHE13, WITH_APACHE2, WITH_APACHE20, and WITH_APACHE22 are dead
You should set USE_APACHE=13|20|22+. WITH_APACHE option can
be used to conditional include support for ANY version of
Apache based on APACHE_PORT. Currently www/apache13
20090207:
AUTHOR: [email protected]
* devel/libslang dropped in favor of devel/libslang2
* WITH_SLANG2 has been removed. WITH_SLANG now implies
devel/libslang2.
20080905:
AUTHOR: [email protected]
* print/ghostscript-* and related ports have been renamed in the
following way:
print/ghostscript-gnu -> print/ghostscript7
print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11
print/ghostscript-gnu-commfont -> print/ghostscript7-commfont
print/ghostscript-gpl -> print/ghostscript8
print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11
japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont
korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont
* USE_GHOSTSCRIPT now supports a version number which the port