NetworkManager: switch to systemd, drop openrc support.
This commit is contained in:
parent
3bbf65f799
commit
89f2fee091
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'NetworkManager'
|
# Template file for 'NetworkManager'
|
||||||
pkgname=NetworkManager
|
pkgname=NetworkManager
|
||||||
version=0.9.1.90
|
version=0.9.1.90
|
||||||
revision=2
|
revision=3
|
||||||
distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--localstatedir=/var --with-distro=gentoo
|
configure_args="--localstatedir=/var --with-distro=gentoo
|
||||||
|
@ -23,8 +23,8 @@ long_desc="
|
||||||
from a DHCP server, and change nameservers whenever it sees fit."
|
from a DHCP server, and change nameservers whenever it sees fit."
|
||||||
|
|
||||||
keep_empty_dirs=yes
|
keep_empty_dirs=yes
|
||||||
openrc_services="NetworkManager default true"
|
systemd_services="${pkgname}.service"
|
||||||
conf_files="/etc/NetworkManager/NetworkManager.conf"
|
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
||||||
subpackages="$pkgname-devel libnm"
|
subpackages="$pkgname-devel libnm"
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
@ -63,4 +63,5 @@ post_install()
|
||||||
install -d ${DESTDIR}/etc/NetworkManager/dispatcher.d
|
install -d ${DESTDIR}/etc/NetworkManager/dispatcher.d
|
||||||
install -m644 ${FILESDIR}/*.conf ${DESTDIR}/etc/NetworkManager
|
install -m644 ${FILESDIR}/*.conf ${DESTDIR}/etc/NetworkManager
|
||||||
rm -rf ${DESTDIR}/var/run
|
rm -rf ${DESTDIR}/var/run
|
||||||
|
rm -rf ${DESTDIR}/etc/init.d
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue