forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
2806 lines (2032 loc) · 96 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.
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
Reuse USES=objc to avoid duplicating code
20150408:
AUTHOR: [email protected]
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: [email protected]
USE_XZ and USE_BZIP2 are not supported anymore, they have been replaced by
USES=tar:bzip2 and tar:xz
20150328:
AUTHOR: [email protected]
New "metaport" USES to take care of predefining correctly the needed
macros as expected by meta ports.
20150323:
AUTHOR: [email protected]
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: [email protected]
PTHREAD_CLFAGS and PTHREAD_LIBS have been removed. Please see entry
20130207 for more information.
20150319:
AUTHOR: [email protected]
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: [email protected]
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: [email protected]
Dependencies on the Xfce ports have been migrated to USES. Instead
of USE_XFCE= configenv, you should use USES= xfce.
20150224:
AUTHOR: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
To ease future work, a new SITE_ARCH variable and PLIST_SUB replacement
containing SITE_PERL/PERL_ARCH has been added.
20141102:
AUTHOR: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
Support for autoconf213, autoheader213, aclocal14 and automake14 has been
removed from USE_AUTOTOOLS.
20140930:
AUTHOR: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
Support for NO_STAGE has been removed.
20140825:
AUTHOR: [email protected]
Support for NOPORTDATA has been removed.
20140809:
AUTHOR: [email protected]
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: [email protected]
LIB_DEPENDS only supports one form: lib*.so
20140708:
AUTHOR: [email protected]
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: [email protected]
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: [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
20140525:
AUTHOR: [email protected]
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: [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.