25 lines
936 B
Bash
25 lines
936 B
Bash
# Template file for 'keepalived'
|
|
pkgname=keepalived
|
|
version=2.2.7
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-sha1"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="openssl-devel libnl3-devel popt-devel libnfnetlink-devel"
|
|
short_desc="Failover and monitoring daemon for LVS clusters"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.keepalived.org/"
|
|
changelog="https://www.keepalived.org/release-notes/Release-${version}.html"
|
|
distfiles="https://www.keepalived.org/software/keepalived-${version}.tar.gz"
|
|
checksum=c61940d874154a560a54627ecf7ef47adebdf832164368d10bf242a4d9b7d49d
|
|
|
|
conf_files="/etc/keepalived/keepalived.conf"
|
|
|
|
post_install() {
|
|
vsv $pkgname
|
|
rm -rf ${DESTDIR}/etc/rc.d ${DESTDIR}/etc/sysconfig
|
|
vmkdir usr/share/examples/$pkgname
|
|
mv ${DESTDIR}/etc/$pkgname/samples/* ${DESTDIR}/usr/share/examples/$pkgname
|
|
mv ${DESTDIR}/etc/keepalived/keepalived.conf{.sample,}
|
|
}
|