kea: create /var{,run/}kea + log to stdout
This commit is contained in:
parent
27292063b9
commit
cc4e3fc164
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
|
mkdir -p /var/{,run/}kea
|
||||||
exec kea-dhcp-ddns ${OPTS:=-c /etc/kea/kea.conf}
|
exec kea-dhcp-ddns ${OPTS:=-c /etc/kea/kea.conf}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
|
mkdir -p /var/{,run/}kea
|
||||||
exec kea-dhcp4 ${OPTS:=-c /etc/kea/kea.conf}
|
exec kea-dhcp4 ${OPTS:=-c /etc/kea/kea.conf}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
|
mkdir -p /var/{,run/}kea
|
||||||
exec kea-dhcp6 ${OPTS:=-c /etc/kea/kea.conf}
|
exec kea-dhcp6 ${OPTS:=-c /etc/kea/kea.conf}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kea'
|
# Template file for 'kea'
|
||||||
pkgname=kea
|
pkgname=kea
|
||||||
version=1.1.0
|
version=1.1.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-generate-docs --with-openssl=${XBPS_CROSS_BASE}/usr
|
configure_args="--enable-generate-docs --with-openssl=${XBPS_CROSS_BASE}/usr
|
||||||
$(vopt_if mysql --with-dhcp-mysql)
|
$(vopt_if mysql --with-dhcp-mysql)
|
||||||
|
@ -42,6 +42,10 @@ post_install() {
|
||||||
# keactrl and its config file is useless for us
|
# keactrl and its config file is useless for us
|
||||||
rm ${DESTDIR}/usr/bin/keactrl
|
rm ${DESTDIR}/usr/bin/keactrl
|
||||||
rm ${DESTDIR}/etc/kea/keactrl.conf
|
rm ${DESTDIR}/etc/kea/keactrl.conf
|
||||||
|
|
||||||
|
# Modify the logging output to stdout
|
||||||
|
sed -i ${DESTDIR}/etc/kea/kea.conf \
|
||||||
|
-e 's;"output": "/var/log/.*";"output": "stdout";'
|
||||||
}
|
}
|
||||||
|
|
||||||
libkea_package() {
|
libkea_package() {
|
||||||
|
|
Loading…
Reference in New Issue