Created attachment 191567 [details]
Diff patch between current port version and upgrade to v2.2.6.
I'm back! After a long hiatus of ports dev neglection. Appologies to all that were awaiting my input. I've been so busy with work, babies and other open source development.
I'm just upgrading my personal and work servers, so I want to get on the latest OpensIPS LTS. I have only been running the last version I updated myself (2.1.4 I think). Unlike versions before it, v2.1.4 has been running rock solid for well over a year. Let's hope 2.2.6 is just as stable on a FreeBSD jail.
Changes to note:
(i) added support in rc script for process ownership (user & group).
(ii) added opensips to UIDs and GIDs
(iii) made default daemon process owner opensips:opensips.
(iv) added pkg-message
(v) updated sample config to be a valid 2.2.x residential script.
The following is required in UIDs and GIDs:
# cat /usr/ports/UIDs | grep opensips
# cat /usr/ports/GIDs | grep opensips
DEVELOPER=yes make : PASS
portlint -AC : PASS
make check-plist (default options) : PASS
make check-plist (all options disabled) : PASS
make check-plist (all options enabled) : PASS
poudriere build : PASS
Been running in production on one server for 2 days with very light usage and basic testing (3 video calls, one conference call). No issues so far.
Test clients: Linphone Desktop v3.9.1 on Linux, Linphone Android v3.3.1, Grandstream GXV3275.
Worth noting that since the deafult daemon process ownership has changed from root:wheel to opensips:opensips. The ownership flags of the following files will need changing on the users system:
/tmp/opensips_fifo (assuming FIFO used and the default file path)
I would be happy to create a /usr/ports/UPDATING message stating this if it recommended. I am not aware of the process for doing this.
welcome back, Euan!
Committed with changes.
Thank you for the update!
A commit references this bug:
Date: Sat Mar 24 02:12:20 UTC 2018
New revision: 465424
net/opensips: Update 2.2.3 -> 2.2.6
* Change to DISTVERSION
* Add USERS/GROUPS and corresponding entries in UIDs/GIDs
* Add USE_RC_SUBR
* Change MYSQL_USE=MYSQL=client -> MYSQL_USES=mysql:client
* Remove unnecessary +=
* Add pkg-message
* Change WWW to https
Submitted by: Euan Thoms <firstname.lastname@example.org> (maintainer)