summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-11 18:13:58 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-11 18:13:58 +0000
commitbc9dc68a1dd42e134f6c046a20295f510202dc6e (patch)
tree396323223036501cd0aba5a99b42534dde9b304e /net-misc/ntp
parentfix bug #26411 and cleanup ebuild (diff)
downloadhistorical-bc9dc68a1dd42e134f6c046a20295f510202dc6e.tar.gz
historical-bc9dc68a1dd42e134f6c046a20295f510202dc6e.tar.bz2
historical-bc9dc68a1dd42e134f6c046a20295f510202dc6e.zip
add permission setting for drift file #26259
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/ntp-4.1.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/ntp/ntp-4.1.2.ebuild b/net-misc/ntp/ntp-4.1.2.ebuild
index c38a3317f78c..78f197db9e80 100644
--- a/net-misc/ntp/ntp-4.1.2.ebuild
+++ b/net-misc/ntp/ntp-4.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.1.2.ebuild,v 1.1 2003/08/06 07:42:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.1.2.ebuild,v 1.2 2003/08/11 18:13:58 vapier Exp $
inherit eutils
@@ -91,6 +91,10 @@ src_install() {
insinto /etc/conf.d
newins ${FILESDIR}/ntpd.confd ntpd
newins ${FILESDIR}/ntp-client.confd ntp-client
+
+ dodir /var/lib/misc
+ touch ${D}/var/lib/misc/ntp.drift
+ fowners ntp:ntp /var/lib/misc/ntp.drift
}
pkg_postinst() {