forked from pfsense/FreeBSD-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UPDATING
18577 lines (13714 loc) · 624 KB
/
UPDATING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
This file documents some of the problems you may encounter when upgrading
your ports. We try our best to minimize these disruptions, but sometimes
they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20201002:
AFFECTS: users of mail/fetchmail beginning with 6.4.12_1
AUTHOR: [email protected]
Note that if you are using fetchmail in a multi-user setup, i. e. with the
fetchmail_users (mind the -s!) variable set, the $fetchmail_home_prefix +
user second-guess work has been replaced by a real lookup of the user's home
directory. In the majority of configurations, this should not make a
difference, in some setups, it may open up some flexibility.
The fetchmail_home_prefix variable is ignored from 6.4.12_1 onwards.
Also, the rc script redirects its input from /dev/null so that passwords
will not be interactively queried from an rcfile. Put passwords into
the [.]fetchmailrc or into a .netrc file.
20200930:
AFFECTS: users of sysutils/syslog-ng32[789]
AUTHOR: [email protected]
rc.conf variables syslog_ng_config and syslog_ng_pid have been replaced
by syslog_ng_flags and syslog_ng_pidfile respecively, making them
consistent with the rest of the ports tree. syslog_ng_config and
syslog_ng_pid will continue to work until syslog-ng331 has been
released and imported into ports.
20200924:
AFFECTS: users of net/freeradius3, who need python support
AUTHOR: [email protected]
FreeRADIUS 3.x currently uses python 2.7 for rlm_python support, which has
been deprecated and will be removed from the tree at the end of this year.
Starting in 3.0.21_2, the PYTHON option has been converted to use python 3.x.
Users should verify their python scripts are 3.x compatible and upgrade to
3.0.21_2 (or higher) to bring in python 3.x support.
20200921:
AFFECTS: users of databases/postgresql* and other software using PostgreSQL to run
AUTHOR: [email protected]
The default version of PostgreSQL has been switched from 11 to 12.
The upgrade procedure can use up twice the space the databases
currently needs. If you have a big amount of stored data take a
closer look at the manpage of pg_upgrade for avoidance and/or
speedup of the upgrade.
The upgrade instructions consider a basic usage and do not match
complex scenarios like replication, sharding, or similar.
Upgrade instructions:
First stop your PostgreSQL, create PostgreSQL-binaries and backup your data.
If you have another Version of PostgreSQL installed, for example 11.9, your
files are named according to this.
# service postgresql stop
# pkg create postgresql11-server postgresql11-contrib
# mkdir /tmp/pg-upgrade
# tar xf postgresql11-server-11.9.txz -C /tmp/pg-upgrade
# tar xf postgresql11-contrib-11.9.txz -C /tmp/pg-upgrade
# pkg delete -f databases/postgresql11-server databases/postgresql11-contrib databases/postgresql11-client
Now update PostgreSQL:
pkg user:
# pkg install databases/postgresql12-server databases/postgresql12-contrib
# pkg upgrade
Portmaster users:
# portmaster databases/postgresql12-server databases/postgresql12-contrib
# portmaster -a
Portupgrade users:
# portinstall databases/postgresql12-server databases/postgresql12-contrib
# portupgrade -a
After installing the new PostgreSQL version you need to convert
all your databases to new version:
# su -l postgres -c "/usr/local/bin/initdb --encoding=utf-8 --lc-collate=C -D /var/db/postgres/data12 -U postgres"
# su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data11/ -B /usr/local/bin/ -D /var/db/postgres/data12/ -U postgres "
Now the migration is finished. You can start PostgreSQL again with:
# service postgresql start
ATTENTION:
1) The default user changed from "pgsql" to "postgres" in 11. The migration steps above now assume
the "postgres" database user and FreeBSD user.
2) See the updating entry 20190829 if you are updating from a release prior to 11.
3) If you use non-default initdb options, you have to adjust the initdb-command accordingly
20200918:
AFFECTS: users of mail/thunderbird
AUTHOR: [email protected]
Thunderbird has been updated to the 78esr series. Thunderbird will
try to convert old profiles on first start, but conversion may fail
especially on old profiles. Also, older versions of Thunderbird will
not be able to use a profile once it has been converted. It is
strongly recommended to move any ~/.thunderbird folder away before
starting Thunderbird 78 for the first time, thus creating a new and
empty profile.
Also note that OpenPGP functionality has been integrated into Thunderbird,
obsoleting the Enigmail extension.
Check https://wiki.mozilla.org/Thunderbird:OpenPGP for details, and
especially https://wiki.mozilla.org/Thunderbird:OpenPGP:Smartcards
if your private key lives on a smartcard.
20200914:
AFFECTS: users of lang/php72
AUTHOR: [email protected]
The default version of PHP has been switched from 7.2 to 7.4.
If you use binary packages you should make a list of php packages
before running 'pkg upgrade':
# pkg info php7\* > ~/installed-php-ports-list
After the upgrade, check with such list if all your php extensions
are still installed, and reinstall them if needed.
If you use mod_php72 you need to deinstall it and install mod_php74.
20200811:
AFFECTS: users of *-emacs26-* packages
AUTHOR: [email protected]
With the release of Emacs version 27.1, the major version of editors/emacs has
changed from 26 to 27. This means the names of some dependent packages have
also changed, so simply running `pkg upgrade` will not upgrade foo-emacs26-x
to foo-emacs27-x. To update these packages, run these commands with superuser
privileges.
Binary package users:
# sh
# for i in $(pkg query -g %n '*-emacs26*'); do \
nn=$(echo "$i" | sed -e 's/emacs26/emacs27/'); \
pkg set -yn "$i":"$nn"; \
done;
# pkg upgrade
portmaster users:
# portmaster -r emacs
20200803:
AFFECTS: users of lang/perl5*
AUTHOR: [email protected]
The default Perl version has been switched to Perl 5.32. If you are using
binary packages to upgrade your system, you do not have anything to do, pkg
upgrade will do the right thing. For the other people, follow the
instructions in entry 20161103, it should still be the same.
20200726:
AFFECTS: users of net-mgmt/librenms
AUTHOR: [email protected]
The %%WWWDIR%%%/logs directory has been relocated to /var/log/librenms/
via the APP_LOG directive in %%WWWDIR%%%/.env.example - this won't affect
existing installs, but you are strongly encouraged to update your .env file
settings and relocate your logs.
Logs which were going to /var/log/messages and /var/log/librenms/ now only go
to /var/log/librenms/
20200720:
AFFECTS: users of net-mgmt/librenms
AUTHOR: [email protected]
As mentioned previously in 20200503 polling via cronjob has been removed as of
release 1.63 - see
https://community.librenms.org/t/dropping-support-for-php-7-1-and-python-2/11851
A database upgrade is required:
cd /usr/local/www/librenms
sudo ./lnms migrate
You must migrate to the Dispatch Service:
https://docs.librenms.org/Extensions/Dispatcher-Service/
You may need to add LIBRENMS_USER to .env (see .env.example).
These steps should get you running:
* comment out the crontab entries listed above under PYPOLLER
* populate %%WWWDIR%%/.env with:
* APP_KEY - see farther below for how to create
* NODE_ID - see just below for how to create
* DB_HOST
* DB_DATABASE
* DB_USERNAME
* DB_PASSWORD
* you can create a NODE_ID with: php -r 'echo uniqid() . "\n";'
* sysrc librenms_enable="YES"
* service librenms start
20200719:
AFFECTS: users of emulators/qemu
AUTHOR: [email protected]
emulators/qemu has been updated to 4.2.1. Previous 4.1.X branch has
been repocopied to emulators/qemu41. If someone wants to stick with 4.1.X
branch please use one of the following command:
# pkg install emulators/qemu41
or
# portmaster -o emulators/qemu41 emulators/qemu
or
# portupgrade -o emulators/qemu41 emulators/qemu
20200716:
AFFECTS: users of shells/bash, shells/bash-static
AUTHOR: [email protected]
In order to cleanly decouple bash from base, bash now reads `profile` from
LOCALBASE/etc insead of from /etc. If you are using system wide bash
configuration in /etc/profile please migrate to LOCALBASE/etc/profile
# cp /etc/profile /usr/local/etc/profile
or create a symlink
# ln -s /etc/profile /usr/local/etc/
If you encounter the following error, you may have the obsolete
/lib/libreadline.so.8 lying around after an incomplete base update:
ld-elf.so.1: Undefined symbol "rl_signal_event_hook" referenced from COPY relocation in /usr/local/bin/bash
Please refer to to (23.5.6.2) in the FreeBSD Handbook on how to
safely check for outdated files and libraries:
https://www.freebsd.org/doc/en/books/handbook/makeworld.html
20200713:
AFFECTS: users of mail/php7[2-4]-imap
AUTHOR: [email protected]
The imap module of PHP was compiled against cclient till now. But this lib is
unmaintained for over 7 years. When combined with modern OpenSSL there are
various crashes reported.
Switching to the fork panda-cclient fixes these issues. Therefore we make the
usage of Panda cclient the new default. If you want to use the old cclient,
you need to enable it now!
20200616:
AFFECTS: users of www/baikal
AUTHOR: [email protected]
The www/baikal has been upated to 0.7.1. With the 0.7.0 release, our
configuration format was updated to use YAML files. You need to go through
the installer again but we pre-fill most values with the ones from your old
installation. We recommend that you make a full backup of your data, as a
safety measure. Starting with 0.7.0, Baikal stores data in both the Specific
and the config folders. Keep this in mind when upgrading!
Known issue:: Upgrading from versions older than 0.6.1 does not work.
20200613:
AFFECTS: users of editors/libreoffice
AUTHOR: [email protected]
LibreOffice was updated to 6.4 branch with some critical changes:
- GTK2 option is obsolete by upstream
- GTK3 option is not more set by default because of unstable yet and have visual glitches
- QT5 option is set by default to provide comfy visual style for every user
- KDE option was renamed to KF5 follows upstream
Please re-run "make config" to pick up the new defaults
20200610:
AFFECTS: users of www/node
AUTHOR: [email protected]
The www/node port has been updated to Node.js v14.0.0, the latest
upstream release. This is a major release, including many significant
changes. Users are encouraged to read the release announcements before
upgrading:
https://nodejs.org/en/blog/release/v14.0.0/
20200602:
AFFECTS: users of www/radicale
AUTHOR: [email protected]
Migration from radicale 1.x to 2.x requires that you export the storage
with radicale 1.1.6 before updating.
Migration instructions are available at:
https://web.archive.org/web/20190314225402/https://radicale.org/1to2/
20200602:
AFFECTS: users of sysutils/py-salt
AUTHOR: [email protected]
This port is moved to sysutils/py-salt-2019 and sysutils/py-salt was
updated to version 3000.
If you wish to use pysalt-2019 in the future, you might run the
following command:
# pkg set -o sysutils/py-salt:sysutils/py-salt-2019
# pkg upgrade
20200531:
AFFECTS: users of mail/postfix-policyd-spf-python
AUTHOR: [email protected]
This port is now deprecated because upstream project is superseded by its
successor. So uninstall this port and install mail/py-spf-engine instead.
Keep in mind that the path of configuration file is changed from
${PREFIX}/etc/postfix-policyd-spf-python/policyd-spf.conf to
${PREFIX}/etc/python-policyd-spf/policyd-spf.conf. So you need to move
it to new location unless you use the default one without changing.
20200526:
AFFECTS: users of databases/mariadb104-client, databases/mariadb104-server
AUTHOR: [email protected]
The ports now add sample configuration files to /usr/local/etc/mysql. You
must merge your client configation with the conf.d/client.cnf and your
server configuration with conf.d/server.cnf.
20200518:
AFFECTS: users of converters/libiconv
AUTHOR: [email protected]
Support for the Japanese specific patches have been discontinued.
These were previously added in a nondefault ports options, for people who
needed them.
If you still need them, it might be possible to create a port of libiconv 1.14
which includes those patches.
20200517:
AFFECTS: users of x11/sddm
AUTHOR: [email protected]
The home directory of sddm user has been moved to /var/lib/sddm. It is advised
to run following commands as root after updating the package:
# pw usermod -n sddm -d /var/lib/sddm
# pwd_mkdb /etc/master.passwd
# mv /usr/local/etc/sddm/home/state.conf /var/lib/sddm/state.conf
# rm -rf /usr/local/etc/sddm/home
Otherwise, SDDM will keep using /usr/local/etc/sddm/home/ as its HOME.
20200515:
AFFECTS: users of devel/libphutil, devel/arcanist-lib, devel/phabricator
AUTHOR: [email protected]
Upstream fully deprecated devel/libphutil and merged its functionality
into devel/arcanist-lib and devel/phabricator. As a result, the
devel/libphutil port will be removed from the ports tree.
After upgrading devel/(arcanist-lib|phabricator) to version 20200514, it is
recommended to remove the orphaned libphutil package by running:
# pkg delete php\*-libphutil
Alternatively, 'pkg autoremove' will also work as expected, but might
remove orphaned packages unrelated to this update.
20200505:
AFFECTS: users of net-im/pidgin-rocketchat
AUTHOR: [email protected]
This port has been turned into a libpurple plugin (net-im/purple-rocketchat)
to support other libpurple clients than pidgin.
This also changes some dependencies and you should run the following command
to prevent pidgin from being autoremoved.
# mark pidgin as being not automatically installed
pkg set -A 0 pidgin
20200504:
AFFECTS: users of x11-wm/hs-xmonad
AUTHOR: [email protected]
From now, it is recommended to use "build script" method to compile XMonad
config. See https://github.com/xmonad/xmonad-testing/ for general info and
port's pkg-message for concrete steps.
20200503:
AFFECTS: users of net-mgmt/librenms
AUTHOR: [email protected]
Polling via cronjob is deprecated as of release 1.63
Please see https://community.librenms.org/t/dropping-support-for-php-7-1-and-python-2/11851
Please migrate to the Dispatch Service:
https://docs.librenms.org/Extensions/Dispatcher-Service/
These steps should get you running:
* comment out the crontab entries listed above under PYPOLLER
* populate %%WWWDIR%%/.env with:
* APP_KEY - see farther below for how to create
* NODE_ID - see just below for how to create
* DB_HOST
* DB_DATABASE
* DB_USERNAME
* DB_PASSWORD
* you can create a NODE_ID with: php -r 'echo uniqid() . "\n";'
* sysrc librenms_enable="YES"
* service librenms start
20200501:
AFFECTS: users of www/phpmyfaq
AUTHOR: [email protected]
phpMyFAQ has been updated to 3.0.2, old templates are not compatible with
this new version. Please see:
https://www.phpmyfaq.de/docs/3.0#3.4
20200428:
AFFECTS: users of sysutils/ansible
AUTHOR: [email protected]
Ansible has been updated to 2.9.7. Please follow the porting guide
to update the rulesets:
https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.9.html
If you wish to stay with 2.8 version, you can switch
to new sysutils/ansible28 port, which tracks stable 2.8 branch:
# pkg set -n ansible:ansible28
20200428:
AFFECTS: x11-servers/xwayland-devel
AUTHOR: [email protected]
DRI3 is enabled by default since mesa-libs-18.3.2_4, so you no
longer need to define LIBGL_DRI3_ENABLE in ~/.profile or ~/.login.
See 20200308 entry for more details.
20200422:
AFFECTS: users of devel/kyua
AUTHOR: [email protected]
A tests group has been added and the tests user should be a member
of it by default rather than nobody. You should update your password
database to match (change the group from 65534 to 977 after updating).
Please use the following command to do so:
pw usermod -n tests -g tests
20200408:
AFFECTS: users of security/openssh-portable
AUTHOR: [email protected]
OpenSSH was upgraded to 8.2p1 on 2020-03-23.
A restart of sshd is required after upgrade due to an incompatibility
introduced in 8.2.
Please see https://www.openssh.com/txt/release-8.2 for upcoming
deprecation notices.
20200408
AFFECTS: users of net/irrd
AUTHOR: [email protected]
Legacy version of net/irrd has been moved to net/irrd-legacy.
net/irrd has been upgraded to 4.X branch. If someone wants to stick with
legacy version then pkg users have to do something like
# pkg set -o net/irrd:net/irrd-legacy
For portmaster users
# portmaster -o net/irrd-legacy net/irrd
Both of the version can be installed and used concurrently in case there is
a need for migration
20200403:
AFFECTS: users of x11-fonts/fontconfig
AUTHOR: [email protected]
Fontconfig 2.13.1 generated .uuid files in the fonts directory which where
not properly registered to the packages. To clean them up, please execute the
following command:
find /usr/local/share/fonts -type f -name .uuid -delete
20200326:
AFFECTS: users of devel/sonarqube and devel/sonar-ant-task
AUTHOR: [email protected]
The outdated port devel/sonarqube has moved to
devel/sonarqube-community to make it clear that it is the community
edition. The log and DB files are still stored in the same location.
The devel/sonar-ant-task port has moved to devel/sonarqube-ant-task
to match the upstream-name. The install location is renamed
accordingly.
At the same time the user/group of the sonarqube port changed from
www:www to sonarqube:sonarqube.
It is expected that nobody was using the 6.2 version from 2016
anymore and no change needs to be done. No analysis was done to check
if the old 6.2 version can be updated in-place to the 8.2 version.
As such if there is still someone using the old 6.2 version, you may
have to delete /var/log/sonarqube and /var/db/sonarqube before
installing the new version.
20200320
AFFECTS: users of devel/qca
AUTHOR: [email protected]
New versions of devel/qca stopped supporting OpenSSL < 1.1.
For this reason devel/qca-legacy has been added, which is
held back at an older version until FreeBSD 11 goes EOL.
Ports depending on devel/qca should stop adding direct LIB_DEPENDS
and switch to depending on it via USES=qca.
FreeBSD 11 users might want to run something like
pkg set -o devel/qca:devel/qca-legacy
20200320:
AFFECTS: users of x11/libxkbcommon
AUTHOR: [email protected]
The libxkbcommon library (x11/libxkbcommon), used to handle keyboards
in some applications, most notably kde and wayland, have been switched
to use evdev rules by default on FreeBSD 12 and later. Some keys, most
notably arrow keys, may not work in applications using libxkbcommon if
you are using xf86-input-keyboard rather than xf86-input-libinput.
If you have trouble with the keyboard keys, and if /var/log/Xorg.*.log
shows that the "kbd" or "keyboard" driver is being used, you need to
switch to legacy rules by setting the environment variable
XKB_DEFAULT_RULES to xorg.
This switch is made to match the default configuration on FreeBSD 12.1 and
later, the default configuration on FreeBSD 11.3 still uses the legacy
rules.
20200316:
AFFECTS: users of net-im/slack-term
AUTHOR: [email protected]
The config file location was changed from ~/.slack-term to
~/.config/slack-term/config, please move your existing config file
accordingly.
20200308
AFFECTS: users of graphics/mesa-libs and legacy graphics drivers
AUTHOR: [email protected]
The mesa OpenGL library (graphics/mesa-libs) has been switched to use DRI3
by default, instead of the older DRI2 interface. This might cause regressions
when using the legacy graphics drivers, either through
graphics/drm-legacy-kmod or the graphics drivers in base.
If you experience issues when running OpenGL applications it is possible
to force the use of DRI2 by setting the LIBGL_DRI3_DISABLE environment
variable to 1 before starting any OpenGL application. The easiest way to
do this is by adding it to either your shell startup files or .xinitrc.
20200306
AFFECTS: users of databases/mysql80-server
AUTHOR: [email protected]
As of MySQL 8.0.16, the MySQL server performs the upgrade tasks previously
handled by mysql_upgrade. Consequently, mysql_upgrade is unneeded and is
deprecated as of that version, and will be removed in a future MySQL version.
Because mysql_upgrade no longer performs upgrade tasks,
it exits with status 0 unconditionally.
20200303:
AFFECTS: users of net-mgmt/librenms
AUTHOR: [email protected]
1. Apache / mod_php options removed
The APACHEMOD option has been removed. LibreNMS can be used
with other webservers, not just Apache. In order to simplify
the port, the option was removed.
Now you manually install the webserver of your preference.
If upgrading from LibreNMS < 1.61, you can do this to
prevent 'pkg autoremove' from uninstalling Apache / mod_php:
$ sudo pkg set -A 0 apache24 mod_php74
Mark apache24-2.4.41 as not automatically installed? [y/N]: y
Mark mod_php74-7.4.3 as not automatically installed? [y/N]: y
Adjust mod_php74 to suit the version of mod_php you have.
2. include/defaults.inc.php is gone
The file include/defaults.inc.php is no longer distributed by
the upstream project. The FreeBSD port patched this file to
correct the paths to common tools such as ping, snmpwalk, etc.
These values previously adjusted by the port must now be specified
in config.php. New installs will have this automatically, but existing
installs must be updated manually. These are the entries you should
add if upgrading from LibreNMS < 1.61:
$config['snmpwalk'] = '/usr/local/bin/snmpwalk';
$config['snmpget'] = '/usr/local/bin/snmpget';
$config['snmpbulkwalk'] = '/usr/local/bin/snmpbulkwalk';
$config['snmptranslate'] = '/usr/local/bin/snmptranslate';
$config['ping'] = '/sbin/ping';
$config['mtr'] = '/usr/local/bin/mtr';
$config['nmap'] = '/usr/local/bin/nmap';
$config['nagios_plugins'] = '/usr/local/libexec/nagios';
$config['ipmitool'] = '/usr/local/bin/ipmitool';
$config['virsh'] = '/usr/local/bin/virsh';
$config['dot'] = '/usr/local/bin/dot';
$config['sfdp'] = '/usr/local/bin/sfdp';
$config['nfdump'] = '/usr/local/bin/nfdump';
20200229:
AFFECTS: users of textproc/apache-solr
AUTHOR: [email protected]
Apache-solr switched to the supported java LTS version 11.
Make sure you update the following files accordingly:
/usr/local/etc/solr.in.sh (see /usr/local/etc/solr.in.sh.sample)
/usr/local/etc/javavm_opts.conf (JAVA_HOME=/usr/local/openjdk11/)
20200225:
AFFECTS: users of net-mgmt/netbox
AUTHOR: [email protected]
1. Removal of the Topology Maps feature
The deprecated topology maps feature has been removed. Please replicate
any required data to another source before upgrading NetBox to v2.7.7, as
any existing topology maps will be deleted.
2. Changed REDIS database configuration settings
The REDIS database configuration parameters were splitted up in two
discrete subsections named "webhooks" and "caching" with the 2.7 release.
This requires modification of the REDIS parameter in configuration.py as
follows:
Old Redis sample configuration:
REDIS = {
'HOST': 'localhost',
'PORT': 6379,
'PASSWORD': '',
'DATABASE': 0,
'CACHE_DATABASE': 1,
'DEFAULT_TIMEOUT': 300,
'SSL': False,
}
New Redis sample configuration:
REDIS = {
'webhooks': {
'HOST': 'redis.example.com',
'PORT': 1234,
'PASSWORD': 'foobar',
'DATABASE': 0,
'DEFAULT_TIMEOUT': 300,
'SSL': False,
},
'caching': {
'HOST': 'localhost',
'PORT': 6379,
'PASSWORD': '',
'DATABASE': 1,
'DEFAULT_TIMEOUT': 300,
'SSL': False,
}
}
Note that the CACHE_DATABASE parameter has been removed and the connection
settings have been duplicated for both webhooks and caching. This allows
one to make use of separate Redis instances if desired. It is fine to use
the same Redis service for both functions, although the database
identifiers should be different.
Please also check the pkg-message and the changelogs for further info.
20200223:
AFFECTS: users of security/gsasl
AUTHOR: [email protected]
The library part of security/gsasl has been split into security/libgsasl.
The security/gsasl now depends on security/libgsasl. Due to this change,
old security/gsasl conflicts with the new security/libgsasl and it can
prevent the installed security/gsasl from upgrading. Please remove the
installed security/gsasl before upgrading if a conflict error occurs.
20200220:
AFFECTS: users of x11-servers/xorg-server
AUTHOR: [email protected]
x11-servers/xorg-server has been updated to 1.20.7.
With this update, xorg-server has switched from using the devd backend to
the udev backend for device configuration on FreeBSD 12 and 13. If you have
issues with input devices, please see the install message for details.
The HAL backend option has been completely removed, as it was deprecated.
If you have problems with input devices, ensure that both x11/libinput and
x11-drivers/xf86-input-libinput are installed. They are installed in the
default configuration, but if you have a custom configuration, they might not
be.
20200210:
AFFECTS: users of net-im/prosody
AUTHOR: [email protected]
Prosody's pid file and data directory have moved to a new location.
If you are upgrading from a version with the pid file and data
directory in /usr/local/var/lib/prosody please perform these steps:
# stop Prosody
pkill -F /usr/local/var/lib/prosody/prosody.pid
# copy the data directory
cp -a /usr/local/var/lib/prosody /var/db/prosody
rm -f /var/db/prosody/prosody.pid
Make sure your prosody config has the following option set:
pidfile = "/var/run/prosody/prosody.pid"
Then start Prosody again. Everything should be working as before and
the /usr/local/var/lib/prosody directory can now be removed.
20200207:
AFFECTS: users of security/nss
AUTHOR: [email protected]
NSS header files and libraries have been moved from ${PREFIX}/include/nss/nss
and ${PREFIX}/lib/nss to ${PREFIX}/include/nss and ${PREFIX}/lib
20200204:
AFFECTS: users of editors/vim
AUTHOR: [email protected]
The PYTHON2 and PYTHON3 options have been turned into a single PYTHON
option that uses whichever python you've set as default. However,
this means that you cannot have both python2 and python3 support at
the same time.
20200126:
AFFECTS: users of multimedia/gstreamer1-plugins[-bad]
AUTHOR: [email protected]
In GStreamer 1.16 some files moved from the gstreamer1-plugins-bad package
to the gstreamer1-plugins package.
If your using a tool like portmaster or portupgrade delete the old -bad
port and then follow the normal upgrade method.
# pkg delete -f gstreamer1-plugins-bad
20200126:
AFFECTS: users of sysutils/helm
AUTHOR: [email protected]
The Helm project have deprecated the Tiller utility in Helm 3. If you are using
Helm 2 you will need to migrate the configuration to be compatible with Helm 3.
Please, refer to the following documentation for more information about the
migration process:
https://helm.sh/blog/migrate-from-helm-v2-to-helm-v3/
Note that the 2to3 plugin binary is not available for FreeBSD and you will need
to compile it yourself.
20200113:
AFFECTS: users of python and net/samba410, devel/talloc, devel/tevent, databases/tdb, databases/ldb*
AUTHOR: [email protected]
In the entry 20191216 for the Python update the filtering constrains
are too limiting and omit the Samba supplimentary libraries, which do
have Python bindings to the default Python 3.x version. With the update
of the default Python3 version you also need to rebuild all the
supplimentary Samba libraries and samba410 itself.
For portmaster users it would be enough to run:
# portmaster devel/talloc devel/tevent databases/tdb databases/ldb15 net/samba410
20200109:
AFFECTS: www/firefox
AUTHOR: [email protected]
Firefox requires Capsicum since r522464 for IPC and in future will
require Capsicum for process sandboxing. If you use a custom kernel
make sure to copy the following lines from GENERIC kernel:
options CAPABILITY_MODE # Capsicum capability mode
options CAPABILITIES # Capsicum capabilities
20200107:
AFFECTS: Users of *-emacs27-* packages
AUTHOR: [email protected]
There is a major version bump in 28.0.50, therefore to upgrade all the
packages dependent on editors/emacs-devel, please use the following commands:
# sh
# for i in $(pkg query -g %n '*-emacs27*'); do \
nn=$(echo "$i" | sed -e 's/emacs27/emacs28/'); \
pkg set -yn "$i":"$nn"; done;
# pkg upgrade
20200106:
AFFECTS: users of net/gnatsd
AUTHOR: [email protected]
net/gnatsd has been replaced by net/nats-server to reflect the
new naming upstream.
All options in rc.conf should be renamed by replacing 'gnats'
with 'nats' (nats_enable, nats_user, nats_options).
20200101:
AFFECTS: users of security/openssl and security/openssl111
AUTHOR: [email protected]
The openssl port was removed on 2019-12-31, subsequently the openssl111
port was renamed to openssl on 2020-01-01.
The shared library version of OpenSSL has been bumped.
Users of DEFAULT_VERSIONS= ssl=openssl111 must update this to
ssl=openssl.
You must rebuild all ports that depend on OpenSSL if you use OpenSSL
from ports.
20191226:
AFFECTS: users of sysutils/dsbmd
AUTHOR: [email protected]
With version 1.10 dsbmd now uses sysutils/fusefs-jmtpfs for mounting
MTP devices. Please adjust your dsbmd.conf or recreate it from the new
dsbmd.conf.sample.
20191225:
AFFECTS: multimedia/libva-intel-media-driver
AUTHOR: [email protected]
As of libva 2.6.0 iHD driver is automatically enabled, so you no
longer need to adjust LIBVA_DRIVER_NAME in ~/.profile or ~/.login.
20191221:
AFFECTS: users of misc/openhab2
AUTHOR: [email protected]
If you upgrade from a pevious version, make a backup of
/var/db/openhab2
read about the breaking changes in the release notes at
https://github.com/openhab/openhab-distro/releases/tag/2.5.0
and run
%%PREFIX%%/libexec/openhab2/runtime/bin/update.freebsd
which takes care about changes for:
- Textual Configuration
- Next Generation Rule Engine
20191216:
AFFECTS: users of python
AUTHOR: [email protected]
Default version of python3 and python was switched to 3.7.
For ports users wanting to keep version 3.6 as default,
add DEFAULT_VERSIONS+= python=3.6 python3=3.6 to make.conf
This may ease the upgrade for users of pre-build packages:
# sh
# for i in $(pkg query -g %n 'py36-*'); do pkg set -yn ${i}:py37-${i#py36-}; done
# pkg upgrade
For portmaster users:
# sh
# portmaster -o lang/python37 python36
# REINSTALL="$(pkg info -o py36-\* | awk '{printf "%s ", $2}')"
# pkg delete -f py36-\*
# portmaster $REINSTALL
# REBUILD=$(pkg query -g "%n:%dn" '*' | grep py3 | grep -v py37 | cut -d : -f 1 | sort -u)
# portmaster $REBUILD
# REBUILD2=$(pkg list | grep python-36 | xargs pkg which | awk '{print $6}' | sort -u)
# portmaster $REBUILD2
20191204
AFFECTS: users of mail/nextcloud-mail
AUTHOR: [email protected]
Version 0.20.0 removed the default mail configuration via config.php.
All users will be prompted to enter account and SMTP- and IMAP-server
details for sending and reading email.
20191126:
AFFECTS: consumers of net/py-urllib3
AUTHOR: [email protected]
Since version 1.25 HTTPS connections are now verified by default which is
done via "cert_reqs = 'CERT_REQUIRED'". While certificate verification
can be disabled via "cert_reqs = 'CERT_NONE'", it's highly recommended to
leave it on.
Various consumers of net/py-urllib3 already have implemented routines that
either explicitly enable or disable HTTPS certificate verification (e.g.
via configuration settings, CLI arguments, etc.).
Yet it may happen that there are still some consumers which don't
explicitly enable/disable certificate verification for HTTPS connections
which could then lead to errors (as is often the case with self-signed
certificates).
In case of an error one should try first to temporarily disable
certificate verification of the problematic urllib3 consumer to see if
this approach will remedy the issue.
20191125:
AFFECTS: users of emulators/qemu
AUTHOR: [email protected]
emulators/qemu31 has been updated to 4.1.1. Previous 3.1.X branch has
been repocopied to emulators/qemu31. If someone wants to stick with 3.1.X
branch please use one of the following command:
# pkg install emulators/qemu31
or
# portmaster -o emulators/qemu31 emulators/qemu
or
# portupgrade -o emulators/qemu31 emulators/qemu
20191124:
AFFECTS: users of irc/eggdrop
AUTHOR: [email protected]
The irc/eggdrop port has been updated to 1.8.4 and its config is not
backward compatible with 1.6.21. A new port was created to keep 1.6.21
version available at irc/eggdrop16 and it will be available for 3 months
until users have time to upgrade their configuration.
More information at:
https://raw.githubusercontent.com/eggheads/eggdrop/v1.8.4/NEWS
If you would like to keep using 1.6.21, please run the following command
to update pkg database:
pkg set -n eggdrop:eggdrop16
pkg set -o irc/eggdrop:irc/eggdrop16
20191108:
AFFECTS: users of databases/redis[-devel]
AUTHOR: [email protected]
The databases/redis port has been updated to the recent stable release.
Users wanting to stay on v4.x can replace databases/redis with
databases/redis4 with one of the following commands:
# pkg install databases/redis4
or
# portmaster -o databases/redis4 databases/redis
or
# portupgrade -o databases/redis4 databases/redis
20191103:
AFFECTS: users of www/node
AUTHOR: [email protected]
The www/node port has been updated to Node.js v13.0.0, the latest
upstream release. A new port, www/node12, has been created for the
v12.x LTS branch. Users wanting to stay on v12.x can replace www/node
with www/node12 with one of the following commands:
# pkg install www/node12
or