net-misc/openntpd: create chroot (bug #619118)
authorChristoph Junghans <junghans@gentoo.org>
Sun, 21 May 2017 19:04:50 +0000 (13:04 -0600)
committerChristoph Junghans <junghans@gentoo.org>
Sun, 21 May 2017 19:05:19 +0000 (13:05 -0600)
Package-Manager: Portage-2.3.5, Repoman-2.3.1

net-misc/openntpd/openntpd-6.0_p1.ebuild

index b1d0b9529f941d904e33ee26a1237a0636bcc08a..ce9fa7008955107804f325a3ca036c44708ba55c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -59,6 +59,7 @@ src_install() {
 
        newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
        newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
+       keepdir "${NTP_HOME}"
 
        systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
 }