48 lines
1.4 KiB
Plaintext

# Contributor: Jae Arr <alpine.unbent366@passinbox.com>
# Maintainer: Jae Arr <alpine.unbent366@passinbox.com>
pkgname=corosync
pkgver=3.1.10
pkgrel=0
pkgdesc="Corosync cluster engine"
url="https://corosync.github.io/corosync/"
arch="all"
license="GPL-3.0-or-later"
makedepends="
libqb-dev
kronosnet-dev
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://github.com/corosync/corosync/releases/download/v$pkgver/corosync-$pkgver.tar.gz
corosync.initd
corosync-notifyd.initd"
# secfixes:
# 3.1.10-r0:
# - CVE-2025-30472
prepare() {
default_prepare
update_config_guess
}
build() {
./configure --prefix=/usr --datarootdir=/usr/share --localstatedir=/var --sysconfdir=/etc
make
}
check() {
make check
}
package() {
make install DESTDIR="$pkgdir"
install -Dm755 "$srcdir"/corosync.initd "$pkgdir"/etc/init.d/corosync
install -Dm755 "$srcdir"/corosync-notifyd.initd "$pkgdir"/etc/init.d/corosync-notifyd
}
sha512sums="
cf2014d15fdbd3495cfe64629255f7855a79651a595938dac7bc7ec67338d843079ae40cf1c15de23b50d85cb39b2c2e3e3448a9cc33759ad8988b8c85ce59d3 corosync-3.1.10.tar.gz
4e12b0dd552f6f09512019d01aa2f0984fb109020eb14cc686fdc96fb04e0507fb96bf9d6c6d3bbdbfd4eb2eaec72cb1fd396122bf663504fd29db962c81dd4b corosync.initd
0f04ffa08b1a1d976adc60c7414bb6cf73b72595f40da4ba5ffda0f723d11dfa26c3c8bec532e1a38518649a179636a4e74b6deff7b8915470342f640f3f8183 corosync-notifyd.initd
"