In order to properly update package version follow these steps:
- modify reference in source about the new archive to download like
http://github.com/esl/MongooseIM/archive/{VERSION}.tar.gz - modify prepare() function in PKGBUILD:
-
- modify build() function in PKGBUILD:
-
-
cp "${pkgdir}/opt/zextras/common/lib/mongooseim/releases/{VERSION}/vm.args" "${pkgdir}/etc/carbonio/message-dispatcher/vm.args"
While upgrade mongoose in carbonio-message-dispatcher remember to update also docker image in Dockerfile with same
version.
Update also docker db part changing init.sql. You can copy and paste from
https://github.com/esl/MongooseIM/blob/master/priv/pg.sql.
Carbonio Message Dispatcher is the message engine backend service for Zextras Carbonio Workstream collaboration.
Copyright (C) 2023 Zextras https://www.zextras.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 only of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
See COPYING file for the project license details
See THIRDPARTIES file for other licenses details
All non-software material (such as, for example, names, images, logos, sounds) is owned by Zextras and is licensed under CC-BY-NC-SA https://creativecommons.org/licenses/by-nc-sa/4.0/. Where not specified, all source files owned by Zextras are licensed under AGPL-3.0-only.