forked from pfsense/FreeBSD-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UPDATING
17517 lines (12926 loc) · 587 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.
20190930:
AFFECTS: users of net-mgmt/netbox
AUTHOR: [email protected]
Since the 2.6 release a running Redis server instance is required for
caching objects to run. Also the following settings like below need to be
added (or modified) in the existing configuration.py:
REDIS = {
'HOST': 'localhost',
'PORT': 6397,
'PASSWORD': ''
'DATABASE': 0,
'CACHE_DATABASE': 1,
'DEFAULT_TIMEOUT': 300,
'SSL': False,
}
Note that if you were using these settings in a prior release with
webhooks, the DATABASE setting remains the same but an additional
CACHE_DATABASE settings has been added with a default value of 1 to
support the caching backend.
The DATABASE setting will be renamed in a future release of NetBox to
better relay the meaning of the setting. It is highly recommended to keep
the webhook and cache databases separate. Using the same database number
for both may result in webhook processing data being lost during cache
flushing events.
Please also check the pkg-message and the changelogs for further info.
20190927:
AFFECTS: users of emulators/qemu-devel
AUTHOR: [email protected]
qemu-devel has been updated to 4.1.0 and 4.0.0 has been merged into a new port
emulators/qemu40. If you want to stick with 4.0.X branch, simply use:
# portmaster -o emulators/qemu-devel emulators/qemu40
20190927:
AFFECTS: users of XFCE desktop (x11-wm/xfce4)
AUTHOR: [email protected]
Due to changes in the XFCE 4.14 metaport, systems could end up with
both xscreensaver and xfce4-screensaver installed and enabled
simultaneously.
This can cause conflicts and problems unlocking the screen.
To avoid problems, please make sure to have only one enabled by
going to the Application Autostart tab of the Session and Startup
settings applet and enable only one Screensaver there.
Some further information can be found in the xfce4-session
pkg-message dispolayed on installation and upgrade.
20190920:
AFFECTS: users of net-mgmt/pushgateway
AUTHOR: [email protected]
The persistent storage format used by pushgateway in the lastest version is
not backwards compatible. See the pushgateway changelogs for details.
20190911:
AFFECTS: users of security/bastillion
AUTHOR: [email protected]
The datastore of bastillion needs to be updated:
java -jar $PREFIX/jetty_bastillion/upgrade/bastillion-upgrade-3.08.00.jar \
$PREFIX/jetty_bastillion/bastillion/WEB-INF/classes/BastillionConfig.properties
20190909:
AFFECTS: users of lang/ruby25
AUTHOR: [email protected]
The default ruby version has been updated from 2.5 to 2.6.
If you compile your own ports you may keep 2.5 as the default version by
adding the following lines to your /etc/make.conf file:
#
# Keep ruby 2.5 as default version
#
DEFAULT_VERSIONS+=ruby=2.5
If you wish to update to the new default version, you need to first stop any
software that uses ruby. Then, you will need to follow these steps, depending
upon how you manage your system.
If you use pkgng, simply upgrade:
# pkg upgrade
If you do not use pkg, please check entry 20190420.
The description there should also work for this version.
20190906:
AFFECTS: users of devel/py-fabric
AUTHOR: [email protected]
Fabric (devel/py-fabric) was upgraded to 2.5.0, Fabric (2+) represents
a near-total reimplementation and reorganization of the software.
Fabric 2 is not at 100% feature parity with 1.x! Some features have been
explicitly dropped, but others simply have not been ported over yet,
either due to time constraints or because said features need to be
re-examined in a modern context.
More information at:
https://www.fabfile.org/upgrading.html#upgrading
https://www.fabfile.org/upgrading.html#upgrade-specifics
If you would like to keep using 1.x, please run the following command to
update pkg database:
pkg set -n py27-fabric:py27-fabric1
pkg set -o devel/py-fabric:devel/py-fabric1
20190830:
AFFECTS: users of www/gitlab-ce
AUTHOR: [email protected]
Make sure you upgrade your PostgreSQL to version 11 as described in 20190829,
before you upgrade your gitlab-ce version.
Gitlab-ce 12.1 needs at least PostgreSQL version 9.6.
After this you can follow the usual upgrade guide:
https://gitlab.fechner.net/mfechner/Gitlab-docu/blob/master/update/12.0-12.1-freebsd.md
20190829:
AFFECTS: users of database/postgresql* and other software using PostgreSQL to run
AUTHOR: [email protected]
The default version of PostgreSQL has been switched from 9.5 to 11.
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 scenarious 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 9.5.19, your
files are named accourding to this.
# service postgresql stop
# pkg create postgresql95-server postgresql95-contrib
# mkdir /tmp/pg-upgrade
# tar xf postgresql95-server-9.5.19.txz -C /tmp/pg-upgrade
# tar xf postgresql95-contrib-9.5.19.txz -C /tmp/pg-upgrade
# pkg delete -f databases/postgresql95-server databases/postgresql95-contrib databases/postgresql95-client
Now update PostgreSQL:
pkg user:
# pkg install databases/postgresql11-server databases/postgresql11-contrib
# pkg upgrade
Portmaster users:
# portmaster databases/postgresql11-server databases/postgresql11-contrib
# portmaster -a
Portupgrade users:
# portinstall databases/postgresql11-server databases/postgresql11-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/data11 -U pgsql"
# chown -R postgres /usr/local/pgsql/data/
# su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /usr/local/pgsql/data/ -B /usr/local/bin/ -D /var/db/postgres/data11/ -U pgsql "
Now the migration is finished. You can start PostgreSQL again with:
# service postgresql start
ATTENTION:
1) The default user changed from "pgsql" to "postgres". The migration steps above preserve
the "pgsql" database user while the database daemon is now executed as the "postgres" FreeBSD user.
2) The default data dir changed from "/usr/local/pgsql/data/" to "/var/db/postgres/data11/"
3) If you use non-default initdb options, you have to adjust the initdb-command accordingly
20190816:
AFFECTS: users of net-im/ejabberd
AUTHOR: [email protected]
Riak support has been removed by upstream. For update instructions from
19.05, please refer to:
https://docs.ejabberd.im/admin/upgrade/from_19.05_to_19.08/
20190812:
AFFECTS: users of lang/perl5*
AUTHOR: [email protected]
The default Perl version has been switched to Perl 5.30. 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.
20190801:
AFFECTS: users of www/ot-recorder
AUTHOR: [email protected]
The data directory has moved from /var/spool/owntracks to
/var/db/owntracks
Be sure to stop otrecorder, move the directory, and start otrecorder.
service ot-recorder stop
cd /var/spool
mv owntracks /var/db
service ot-recorder start
20190728:
AFFECTS: users of net-im/py-matrix-synapse
AUTHOR: [email protected]
The support for Python 2.7 has been dropped with the 1.1.0 release of
net/py-matrix-synapse.
Users that still use the Python 2.7 version of net-im/py-matrix-synapse
should switch to a newer Python version, e.g. 3.6, which is the default
Python version since April 2019.
20190717:
AFFECTS: users of net-p2p/zetacoin and net-p2p/zetacoin-nox11
AUTHOR: [email protected]
Zetacoin will default to using modern versions of BDB (5.x or 6.x) when
the WALLET option is selected. See pkg-help for explanation.
The zetacoin-nox11 slave port was renamed to zetacoin-daemon to align
with the net-p2p/bitcoin format.
The zetacoin-cli and zetacoin-tx utilities have been re-packaged into
a separate port. If you require these programs, or use the zetacoin-cli
program to access the daemon or the GUI, install net-p2p/zetacoin-utils
to reinstall them.
20190717:
AFFECTS: users of sysutils/py-borgmatic
AUTHOR: [email protected]
The default location for borgmatic's configurations changed. We moved it
from '/etc/borgmatic' to '/usr/local/etc/borgmatic' in order to follow
recommended standards used on FreeBSD.
20190710:
AFFECTS: users with DEFAULT_VERSIONS+=linux=c6 or c6_64 in /etc/make.conf
AUTHOR: [email protected]
On amd64 adding DEFAULT_VERSIONS+=linux=c6 to /etc/make.conf made Linux
infrastructure ports (linux_base-c6 and linux-c6*) install i386 CentOS 6
packages. Using c6_64 instead of c6 made them install mixed amd64/i386
CentOS 6 packages and allowed Linux application ports to install amd64
binaries when available. The i386-only configuration was only useful for
users of x11/nvidia-driver* which didn't provide Linux amd64 emulation
until recently.
With x11/nvidia-driver* now supporting Linux amd64 there's no longer a
need for i386-only Linux on amd64 so DEFAULT_VERSIONS+=linux=c6 has been
changed to make Linux infrastructure ports install mixed amd64/i386
CentOS 6 packages, like c6_64 before, and support for c6_64 has been
removed.
Users with DEFAULT_VERSIONS+=linux=c6 should reinstall linux_base-c6 and
all packages that depend on it. A list of dependent packages can be
obtained with the following command:
pkg info -r linux_base-c6
Users with DEFAULT_VERSIONS+=linux=c6_64 only need to replace c6_64 with
c6 in /etc/make.conf.
Users of x11/nvidia-driver* should upgrade to FreeBSD 11.3 or 12.0 if
they want to run Linux amd64 OpenGL programs. If you are running an
older version you may want to postpone installing or updating Linux
application ports until you find the time to upgrade because application
ports may install amd64 binaries now. Infrastructure ports are safe to
reinstall, and so is x11/nvidia-driver*.
On i386 nothing has changed.
20190707:
AFFECTS: users of www/gitlab-ce
AUTHOR: [email protected]
You must at first upgrade to version 11.11.5 before you can upgrade
to version 12.
Support for MySQL will be dropped with next version.
Make sure you use at least PostgreSQL version 9.6.
Follow the normal upgrade manual that can be found here:
https://gitlab.fechner.net/mfechner/Gitlab-docu/blob/master/update/11.11-12.0-freebsd.md
20190705:
AFFECTS: users of net/serviio which bought a license for the non-free features
AUTHOR: [email protected]
Version 2 of serviio needs a new license file. Updating without a new license
file will disable the non-free features.
20190701:
AFFECTS: users of databases/mysql56-(server|client)
AUTHOR: [email protected]
The default MySQL version has been updated from 5.6 to 5.7.
If you compile your own ports you may keep 5.6 as the default version by
adding the following lines to your /etc/make.conf file:
#
# Keep MySQL 5.6 as default version
#
DEFAULT_VERSIONS+=mysql=5.6
If you wish to update to the new default version, you need to first stop any
running server instance. Then, you will need to follow these steps, depending
on installed packages.
# pkg set -o databases/mysql56-client:databases/mysql57-client
# pkg set -o databases/mysql56-server:databases/mysql57-server
# pkg upgrade
20190630:
AFFECTS: users of net/samba410
AUTHOR: [email protected]
If you used Samba in AD/DC mode with the previous versions of the port on UFS2
backed storage you have to add usage of vfs_freebsd VFS module for at least
SYSVOL share and configure it to use 'legacy' mode(see manpage).
The reason behind this is that previous versions Samba port used a hack to
workaround broken mapping of Linux security and trusted extended attributes
into FreeBSD namespace. In particular, essential security.NTACL attribute
was replaced with the user.NTACL and placed in a insecure USER namespace.
This port dropped this hack in favor of vfs_freebsd module, which should
provide more controlled way of such a mapping.
To maintain the compatibility with the previous installations on UFS2 storage
(as ZFS uses it's own way of mapping SYSVOL, thanks to the iXsystems patches)
the vfs_freebsd module provides 'legacy' mode that implements old functionality.
For the fresh installations it is recommended to use 'secure' mode of operations
for this module and use it as a global vfs objects.
Caution: The given module is still considered EXPERIMENTAL.
20190630:
AFFECTS: users of net/samba410, net/samba4[6-8] and devel/talloc?, devel/tevent?,
databases/tdb?, databases/ldb*
AUTHOR: [email protected]
The port of the new version of Samba 4.10 is introduced. Due necessarily
to keep backwards compatibility for the legacy samba4[6-8] ports the
upgrade procedure is a bit convoluted.
You are safe to perform fresh new install of samba410 port. In case you
are upgrading from the previous versions of Samba, please use the
following procedure:
0. Take backups of all the relevant files, in particular PREFIX/etc/smb4.conf
and /var/db/samba4/ subdirectory. Keep in mind that files there (may)
have extended attributes, so use appropriate tools to preserve them.
1a. If you haven't updated Samba between 20190619 and 20190630 then next
step should be as simple as:
portmaster -o net/samba410 net/samba48
1b. If you have been affected by the archiving legacy versions of
Samba-related libraries for legacy versions of Samba, which happened
in the given time frame, then you need to reverse operation from the
20190619 entry:
for users of portmaster:
portmaster -o devel/talloc devel/talloc1
portmaster -o devel/tevent devel/tevent1
portmaster -o databases/tdb databases/tdb1
portmaster -o net/samba410 net/samba48
for users of portupgrade:
portupgrade -o devel/talloc devel/talloc1
portupgrade -o devel/tevent devel/tevent1
portupgrade -o databases/tdb databases/tdb1
portupgrade -o net/samba410 net/samba48
20190619:
AFFECTS: users of samba4[6-8] and devel/talloc, devel/tevent, databases/tdb, databases/ldb*
AUTHOR: [email protected]
To introduce samba410(we deliberately skip samba49 due the complexity of handling)
and to drop dependency on deprecated Python 2.7, Samba supplementary libraries
talloc, tevent and tdb were split into current Python 3 compatible versions
and legacy ones, with the suffix "1".
Old versions of Samba were changed to depend on the legacy supplementary libraries,
so if you need to install samba46, samba47 or samba48 over previous Samba
installations you need to downgrade supplementary libs with the following commands:
for users of portmaster:
portmaster -o devel/talloc1 devel/talloc
portmaster -o devel/tevent1 devel/tevent
portmaster -o databases/tdb1 databases/tdb
portmaster -r talloc1
for users of portupgrade:
portupgrade -o devel/talloc1 devel/talloc
portupgrade -o devel/tevent1 devel/tevent
portupgrade -o databases/tdb1 databases/tdb
portupgrade -fr devel/talloc1
20190613:
AFFECTS: users of www/qt5-webengine
AUTHOR: [email protected]
Users that upgrade www/qt5-webengine without using pkg/poudriere might
experience failures due to conflicts with the installed version of 5.12.2.
In that case, pkg delete -f the qt5-webengine package before building
the updated version.
20190611:
AFFECTS: users of net/routinator
AUTHOR: [email protected]
Release 0.4.0 fundamentally changes the command line options for
running the server and introduces a new way to initialize the local RPKI
repository used by Routinator.
If you have been using previous releases, you will likely have to adjust
your tooling. We apologize for this, but we also feel that the new commands
are more intuitive and logical.
20190604:
AFFECTS: users of net/samba47
AUTHOR: [email protected]
The default version of samba has been switched from 4.7 to 4.8.
Upgrade instructions:
For package users having samba47 installed indirectly (as a dependency):
# pkg upgrade
For package users having samba47 installed directly (leaf port):
# pkg upgrade
# pkg install samba48
For ports users:
If you want to keep samba47, add DEFAULT_VERSIONS+= samba=4.7 to make.conf
If you want to upgrade to samba48, remove samba47:
# pkg delete -f samba47
Portmaster users:
# portmaster net/samba48
# portmaster -a
Portupgrade users:
# portinstall net/samba48
# portupgrade -a
20180601:
AFFECTS: www/tt-rss
AUTHOR: [email protected]
tt-rss now uses php intl for extension; a web server reload
will be required if intl extension isn't already loaded.
20190522:
AFFECTS: users of sysutils/graylog
AUTHOR: [email protected]
The port has been updated to the latest stable version 3.0.2, which
includes more plugins by default, but also requires manual changes to
graylog's configuration files, possibly port and URL changes, such as
X-Graylog-Server-URL settings, and elasticsearch must be >= 5.
The location of configuration files has been amended to align with the
official distribution files and locations.
After upgrading, manually review and merge changes from your
/usr/local/etc/graylog/server/server.conf into
/usr/local/etc/graylog/graylog.conf
Consult https://www.graylog.org/post/announcing-graylog-v3-0-ga for
further details.
20190506:
AFFECTS: users of www/gitea
AUTHOR: [email protected]
Gitea requires the addition of another secret to the config file in order
to start up. Either manually add JWT_SECRET to the
${PREFIX}/etc/gitea/conf/app.ini config file (see app.ini.sample), or allow
Gitea to make the change for you by making the config file writable to the
git user.
20190424:
AFFECTS: users of www/node
AUTHOR: [email protected]
The www/node port has been updated to Node.js v12.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/v12.0.0/
20190423:
AFFECTS: users of www/gitlab-ce
AUTHOR: [email protected]
The directory where all repositories and ssh permissions are stored
was changed from /usr/home/git back to /usr/local/git, to match again the
recommended standards on FreeBSD.
This will cause now some other git management packages to collide with
gitlab. Make sure you migrate all you git repositories to gitlab first,
before you continue.
Make sure /usr/local/git/repositories and /usr/local/git/.ssh are not
existing!
Otherwise the next commands can break your installation for managing
git repositories within gitlab and with your other gitlab management
software!
You must move the old files to the new location with:
# service gitlab stop
# mv /usr/home/git /usr/local/
# pkg upg
Make sure you update your config files, diff shows you what you maybe
must change:
# cd /usr/local/www/gitlab-ce
# git diff config/gitlab.yml.sample config/gitlab.yml
# cd /usr/local/share/gitlab-shell/
# git diff config.yml.sample config.yml
# cd /usr/local/share/gitaly
# git diff config.toml.sample config.toml
# Change home directory of user git back to /usr/local/git
# vipw
The line should now looks like:
git:*:211:211::0:0:gitosis user:/usr/local/git:/bin/sh
If you do an upgrade of gitlab follow the upgrade guide.
If not, just start gitlab again with:
# service gitlab start
20190422:
AFFECTS: users of security/libressl
AUTHOR: [email protected]
The port has been updated to the latest stable version 2.9 of LibreSSL.
The shared library versions of the libraries have been bumped.
After upgrading, manually update all packages that depend on any of the
libraries provided by LibreSSL (libssl, libcrypto and libtls) since the
versions of these libraries have changed. Normally, you can obtain the
list of dependent software by running the following command:
# pkg info -r libressl
Then you should rebuild all ports depending on libressl to avoid dangling
shared library dependencies. Poudriere and pkg handle this correctly,
portmaster and portupgrade users can use the following to rebuild all
dependent ports.
Portmaster users:
portmaster -r libressl
Portupgrade users:
portupgrade -fr security/libressl
20190421:
AFFECTS: users of databases/cego
AUTHOR: [email protected]
To upgrade from cego 2.39.16 to 2.44.1, you need to export to xml before
the upgrade and import from xml after the upgrade, because the internal
storage has changed for some types.
Use these steps:
- export your database while it runs, see
http://www.lemke-it.com/litexec?request=pubcegodoc&user=&lang=en§ion=cgdoc_database_running.html#tsimpexp_mode
for details.
- stop the database
service cego stop
- upgrade the port/package
- re-create the database
cego --mode=create --tableset=<database> --dbxml=<database>.xml
- import the database
cego --mode=xmlimport --tableset=<database> \
--dbxml=<database>.xml --impfile=export.xml --doLogging
- modify /etc/rc.conf by adding
cego_<database>_cpdump="YES"
cego_<database>_cleanup="YES"
- start the database
service cego start
20190420:
AFFECTS: users of lang/ruby24
AUTHOR: [email protected]
The default ruby version has been updated from 2.4 to 2.5.
If you compile your own ports you may keep 2.4 as the default version by
adding the following lines to your /etc/make.conf file:
#
# Keep ruby 2.4 as default version
#
DEFAULT_VERSIONS+=ruby=2.4
If you wish to update to the new default version, you need to first stop any
software that uses ruby. Then, you will need to follow these steps, depending
upon how you manage your system.
If you use pkgng, simply upgrade:
# pkg upgrade
If you use portmaster, install new ruby, then rebuild all ports that depend
on ruby:
# portmaster -o lang/ruby25 lang/ruby24
# portmaster -R -r ruby-2.5
If you use portupgrade, install new ruby, then rebuild all ports that depend
on ruby:
# pkg delete -f ruby portupgrade
# make -C /usr/ports/ports-mgmt/portupgrade install clean
# pkg set -o lang/ruby24:lang/ruby25
# portupgrade -x ruby-2.5.\* -fr lang/ruby25
20190419:
AFFECTS: users of emulators/qemu
AUTHOR: [email protected]
qemu 2.X version has been moved to qemu2. If you would like to use
2.X you should use qemu2. Otherwise you can use the new stable
upstream branch of 3.0.X.
Portmaster users will need to run this command:
portmaster -o emulators/qemu2 emulators/qemu
20190410:
AFFECTS: users of python
AUTHOR: [email protected]
Default version of python was switched to 3.6.
For ports users wanting to keep version 2.7 as default,
add DEFAULT_VERSIONS+= python=2.7 to make.conf
20190328:
AFFECTS: www/firefox-i18n, www/firefox-esr-i18n, mail/thunderbird-i18n, www/seamonkey-i18n
AUTHOR: [email protected]
Separate packages for localization packs are no longer supported.
Firefox 65+ has in-browser menu while Firefox ESR60, Thunderbird 60
or SeaMonkey 2.49 should download preferred .xpi manually. Refer to
the following article (including previous revisions) how to do this.
https://support.mozilla.org/kb/use-firefox-another-language
20190328:
AFFECTS: users of www/qt5-webengine
AUTHOR: [email protected]
Users that upgrade www/qt5-webengine without using pkg/poudriere might
experience failures due to conflicts with the installed version of 5.9.5.
In that case, pkg delete -f the qt5-webengine package before building
the updated version.
20190314:
AFFECTS: users of mail/rspamd, mail/rspamd-devel
AUTHOR: [email protected]
User and group that rspamd run as are changed from nobody:nobody to
rspamd:rspamd. Unless it is clean install you need to execute following
command.
# chown -R rspamd:rspamd /var/db/rspamd /var/log/rspamd /var/run/rspamd
20190311:
AFFECTS: users of x11/xorg, x11-fonts/mkfontscale, x11-fonts/mkfontdir
AUTHOR: [email protected]
The x11-fonts/mkfontdir port has been removed and the functionality
has been merged into x11-fonts/mkfontscale. This might cause issues
with upgrading. If you get conflicts between mkfontscale and mkfontdir
please remove mkfontdir before upgrading.
To do this, simply run the following:
pkg delete -f mkfontdir
20190311:
AFFECTS: users of www/igal2
AUTHOR: [email protected]
www/igal2 2.2-1 is now built with graphics/ImageMagick6-nox11
and don't install the ImageMagick X11 dependencies anymore.
A build option allows you to restore the previous behaviour.
20190303:
AFFECTS: users of x11-fonts/noto*
AUTHOR: [email protected]
Google Noto Fonts family has been converted to several ports. x11-fonts/noto
is a meta port which includes 1 old port and 5 new ports as follows:
- x11-fonts/noto-basic (was noto-lite): basic fonts set with emoji
- x11-fonts/noto-extra: extra fonts set
- x11-fonts/noto-jp: Japanese fonts set
- x11-fonts/noto-kr: Korean fonts set
- x11-fonts/noto-sc: Simplified Chinese fonts set
- x11-fonts/noto-tc: Traditional Chinese fonts set
20190302:
AFFECTS: users of sysutils/paladin
AUTHOR: Ryan Westlund <[email protected]>
The way paladin parses its config file has changed, please
check the provided sample config.
20190227:
AFFECTS: users of security/softether, security/softether-devel
AUTHOR: [email protected]
These ports' bridge, client, server daemon unintendedly had spit out
chain_certs (certificate chain) directory on libexec directory until
r494024.
If your ${PREFIX}/libexec/softether/chain_certs directory is empty, you
can remove the directory safely. If the directory is not empty, move it
to ${SE_DBDIR} when upgrading softether. Following commands should help:
service softether_(bridge|client|server) stop
(portmaster, portupgrade or pkg upgrade)
mv ${PREFIX}/libexec/softether/chain_certs ${SE_DBDIR}/
service softether_(bridge|client|server) start
With the default Makefile settings, ${SE_DBDIR} is set to /var/db/softether.
20190224:
AFFECTS: users of security/gnutls
AUTHOR: [email protected]
GnuTLS now looks for its configuration files in PREFIX/etc (/usr/local/etc)
instead of /etc. If the following files exist they have to be moved. On a
default installation these files do not exist.
/etc/gnutls/default-priorities
/etc/gnutls/pkcs11.conf
/etc/tpasswd
/etc/tpasswd.conf
20190215:
AFFECTS: users of net-im/ejabberd
AUTHOR: [email protected]
If you've mod_mam enabled with compress_xml set to true, then you're affected
by bug where the XML namespace, and tag elements get interchanged in the MAM cache
which results in invalid XML, and causing XMPP clients to disconnect. For more
details, please refer to: https://github.com/processone/ejabberd/issues/2744
This upgrade contains the patch that fixes the problem going forward. For fixing already
affected users, you'll need to wipe off the MAM cache for the affected users:
sudo -u ejabberd -H ejabberdctl remove_mam_for_user <user> <server>
20190207:
AFFECTS: users of net-mgmt/mk-livestatus
AUTHOR: [email protected]
The default Nagios version supported by net-mgmt/mk-livestatus changed
from Nagios 3 to Nagios 4 - the respective Nagios package was added to
net-mgmt/mk-livestatus' runtime dependencies.
If you still need support for Nagios 3 you just need to change the
options for net-mgmt/mk-livestatus and compile the port yourself.
20190202:
AFFECTS: users of archivers/urbackup-server
AUTHOR: [email protected]
Some of the port's sources previously included absolute references to /etc/urbackup.
The upgrade now changes these references to ${PREFIX}/etc/urbackup. If you have
placed any configuration files within /etc/urbackup, these should be relocated to
${PREFIX}/etc/urbackup.
20190130:
AFFECTS: users of sysutils/password-store
AUTHOR: [email protected]
password-store now stores plugins in ${PREFIX}/libexec instead of ${PREFIX}/lib.
Ensure to move your own extensions there too and update your scripts to avoid
breakage.
20190124:
AFFECTS: users of sysutils/rubygem-fluentd, sysutils/fluent-bit
AUTHOR: [email protected]
The fluentd port has been upgraded from the 0.12 line to 1.3.3. The upgrade
is mostly non-disruptive since there is a backward compatibility with 0.12
plugins and configuration files, but care should be taken about the order of
server upgrades since fluentd 1.x is unable to send it's data to version 0.12
instances. You should carefully read
https://docs.fluentd.org/v1.0/articles/update-from-v0.12 before performing
any upgrade activities.
20190120:
AFFECTS: users of mail/fetchmail
AUTHOR: [email protected]
The fetchmail port no longer offers the X11 option and no longer
depends on Python. The corresponding fetchmailconf Python program has now
been split out into a separate port or package, so that fetchmail itself
will no longer require Python.
Users who wish to use fetchmailconf should install the new fetchmailconf
port or package.
20190119:
AFFECTS: users of german/webalizer2, japanese/webalizer, polish/webalizer2, portuguese/webalizer-pt_BR, portuguese/webalizer-pt_PT, ukrainian/webalizer, www/geolizer, www/webalizer
AUTHOR: [email protected]
The option GEOIP has been changed to used the new database.
Either copy GeoLite2-Country.mmdb in the working directory,
or set the GeoIPDatabase option to the location of the file.
20190114:
AFFECTS: users of graphics/qgis
AUTHOR: [email protected]
GIS 3.4 LTR, the first long-term release (LTR) of QGIS 3, has landed
in the FreeBSD ports tree. It will also replace the previous 2.18 LTR
in the QGIS package repositories in February 2019 [1].
Beside, the latest Qt4 version 4.8.7 has been EOL since December 2015
and its expiration date on FreeBSD is set to March, 15th 2019.
Because QGIS 2 is based on Qt4 and Python2, it was decided to not create
a legacy port for QGIS 2, after graphics/qgis changed to QGIS 3.
For users moving over from the 2.18 LTR there is a huge list of new
features and impactful changes in this new 3.4 LTR version. Most notably
3.x plugins are incompatible with 2.x plugins, so please review your
plugin usage carefully. Before moving over, if you have not already
done so, take a look at the changelogs from versions 3.0, 3.2, and
3.4 [2][3][4] to understand the full scope of changes in the 3.x release.
[1] https://qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule
[2] http://changelog.qgis.org/en/qgis/version/3.0.0/
[3] http://changelog.qgis.org/en/qgis/version/3.2.0/
[4] http://changelog.qgis.org/en/qgis/version/3.4-LTR/
20190114:
AFFECTS: x11-wm/sway
AUTHOR: [email protected]
swayidle and swaylock split out into x11/swayidle and x11/swaylock.
Check your sway config and install those if required.
20190113:
AFFECTS: users of net/GeoIP
AUTHOR: [email protected]
Maxmind no longer provides geolocation data in the legacy format used
by net/GeoIP. All GEOIP-related OPTIONS have been removed, and all
GeoIP-dependent ports will be removed soon.
Where possible, you must switch to net/libmaxminddb, which uses the
newer (and fully supported) GeoIP 2 format. Unfortunately, this is
not a drop-in replacement. To fetch the GeoIP 2 geolocation databases,
whether the free or paid versions, you must use net/geoipupdate
(pkg install geoipupdate).
The legacy database is no longer available, and we cannot distribute
it by the Maxmind license, so the legacy GeoIP format is essentially
dead.
20190108:
AFFECTS: users of databases/mysql-connector-java
AUTHOR: [email protected]
The databases/mysql-connector-java port has been updated to 8.0.13,
which requires a minimum of Java 1.8, so dropping support for Java
1.6 and 1.7. Users of those versions of Java should substitute the
databases/mysql-connector-java51 port which remains at version
5.1.47
20190103:
AFFECTS: users of multimedia/vlc*
AUTHOR: [email protected]
The multimedia/vlc port has been upgraded to 3.0.5, the latest upstream
release. Subsequently, multimedia/vlc-qt4 and multimedia/vlc3 have been
retired and removed from the ports tree. Users who previously used
multimedia/vlc3 might want to switch to multimedia/vlc with the following
commands:
# pkg install multimedia/vlc
or
# portmaster -o multimedia/vlc multimedia/vlc3
or
# portupgrade -o multimedia/vlc multimedia/vlc3
20190102:
AFFECTS: users of net/serviio
AUTHOR: [email protected]
If you have customized your etc/serviio/profile.xml you need to review
and merge changes from the profile.xml.sample file, else you may not be
able to watch mkv files.
20181228:
AFFECTS: users of devel/trio
AUTHOR: [email protected]
Since trio 1.16-1, the shared lib previously misnamed libtrio.so.2.0.0
is now named libtrio.so.2 and the symlink libtrio.so is created.
20181222:
AFFECTS: users of net/ntopng
AUTHOR: [email protected]
Since ntopng 3.7, for security reasons, the default setting for
the data directory has been changed to "/var/db/ntopng", and the
default user has been changed to "ntopng". This new directory is
created automatically by the port/package with correct permissions.
In order to maintain backward compatibility, if you are already
using "/var/tmp/ntopng" as data directory, ntopng keeps using that
folder, owned by "nobody". This said, using the old defaults is not
recommended and a manual action is required in order to migrate to
the new settings, unless you are already using a custom directory:
# service ntopng stop
# mv /var/tmp/ntopng/* /var/db/ntopng/
# chown -R ntopng:ntopng /var/db/ntopng
# service ntopng start
Please check the upstream FAQ for reference:
https://www.ntop.org/support/faq/migrate-the-data-directory-in-ntopng/
20181218:
AFFECTS: users of misc/openhab2
AUTHOR: [email protected]
If you upgrade from a previous version, make a backup of
/var/db/openhab2
and run
%%PREFIX%%/libexec/openhab2/runtime/bin/update.freebsd
Config specific info (changes from 2.3.0 to 2.4.0):
Astro Binding: The 'kilometer' and 'miles' channels have been replaced
by a new 'distance' channel
Jeelink Binding: The 'currentWatt' and 'maxWatt' channels have been
replaced with 'currentPower' and 'maxPower' channels
WeatherUnderground Binding: A bridge has been added on top of the
current things, you need to add a bridge
containing your api-key.
ZWave Binding: Major changes have been merged to support features
such as security. All things must be deleted and
re-added. Refer to
https://community.openhab.org/t/zwave-binding-updates/51080
for further information.
Synop Binding is now using UoM. 'wind-speed-ms' and 'wind-speed-knots'
channels have been replaced by a single 'wind-speed'
channel.
Amazonechocontrol Binding: The account thing does not have settings
anymore. You have to login at amazon
once again through the proxy server
http(s)://<YourOpenHAB>/amazonechocontrol
Milight Binding: The various available bulb types do not appear in
the Paper UI Inbox anymore. The correct bulb need
to be added manually. The bulb "zone" is now a
configuration. Bulb Things need to be recreated
to apply this change.
Hue emulation: The item to hue ID mapping is no longer stored in
files, but in the openHAB storage service. You need
to rediscover "devices" in all services that use the
hue emulation (Amazon Echo, Google Home, etc).
20181215:
AFFECTS: users of sysutils/graylog
AUTHOR: [email protected]
The dependent ports for ElasticSearch and MongoDB have both changed,