diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-20 00:56:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-20 00:56:08 +0000 |
commit | 08571fd6dd3b7a45ce23220df36d703a5beb56ef (patch) | |
tree | 394ca5bc341ead08e8a3225e02cc51acb751b63f /net-misc/ntp | |
parent | +net-misc/ntp:logrotate (diff) | |
download | gentoo-2-08571fd6dd3b7a45ce23220df36d703a5beb56ef.tar.gz gentoo-2-08571fd6dd3b7a45ce23220df36d703a5beb56ef.tar.bz2 gentoo-2-08571fd6dd3b7a45ce23220df36d703a5beb56ef.zip |
Add an optional logrotate file #119092 by Toralf Förster.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'net-misc/ntp')
-rw-r--r-- | net-misc/ntp/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/ntp/files/ntp.logrotate | 5 | ||||
-rw-r--r-- | net-misc/ntp/ntp-4.2.0.20040617-r3.ebuild | 9 | ||||
-rw-r--r-- | net-misc/ntp/ntp-4.2.0.20050303-r1.ebuild | 9 |
4 files changed, 24 insertions, 5 deletions
diff --git a/net-misc/ntp/ChangeLog b/net-misc/ntp/ChangeLog index 8fd954129362..7a80d37de980 100644 --- a/net-misc/ntp/ChangeLog +++ b/net-misc/ntp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/ntp # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.69 2006/01/13 10:51:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.70 2006/01/20 00:56:08 vapier Exp $ + + 20 Jan 2006; Mike Frysinger <vapier@gentoo.org> +files/ntp.logrotate, + ntp-4.2.0.20040617-r3.ebuild, ntp-4.2.0.20050303-r1.ebuild: + Add an optional logrotate file #119092 by Toralf Förster. 13 Jan 2006; Mike Frysinger <vapier@gentoo.org> ntp-4.2.0.20040617-r3.ebuild, ntp-4.2.0.20050303-r1.ebuild: diff --git a/net-misc/ntp/files/ntp.logrotate b/net-misc/ntp/files/ntp.logrotate new file mode 100644 index 000000000000..22ce59247f45 --- /dev/null +++ b/net-misc/ntp/files/ntp.logrotate @@ -0,0 +1,5 @@ +/var/log/ntp.log { + daily + rotate 7 + nocompress +} diff --git a/net-misc/ntp/ntp-4.2.0.20040617-r3.ebuild b/net-misc/ntp/ntp-4.2.0.20040617-r3.ebuild index 0d870bfa9643..4c3da0cb6fc2 100644 --- a/net-misc/ntp/ntp-4.2.0.20040617-r3.ebuild +++ b/net-misc/ntp/ntp-4.2.0.20040617-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0.20040617-r3.ebuild,v 1.3 2006/01/13 10:51:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0.20040617-r3.ebuild,v 1.4 2006/01/20 00:56:08 vapier Exp $ inherit eutils @@ -13,7 +13,7 @@ SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/snapshots/ntp-stable/${PV LICENSE="as-is" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86" -IUSE="parse-clocks nodroproot selinux ssl ipv6 openntpd debug" +IUSE="logrotate parse-clocks nodroproot selinux ssl ipv6 openntpd debug" RDEPEND=">=sys-libs/ncurses-5.2 >=sys-libs/readline-4.1 @@ -113,6 +113,11 @@ src_install() { keepdir /var/lib/ntp fowners ntp:ntp /var/lib/ntp + if use logrotate ; then + insinto /etc/logrotate.d + newins "${FILESDIR}"/ntp.logrotate ntp + fi + if use openntpd ; then cd "${D}" rm usr/sbin/ntpd diff --git a/net-misc/ntp/ntp-4.2.0.20050303-r1.ebuild b/net-misc/ntp/ntp-4.2.0.20050303-r1.ebuild index 8e813d2ad505..7e13b9c89bfd 100644 --- a/net-misc/ntp/ntp-4.2.0.20050303-r1.ebuild +++ b/net-misc/ntp/ntp-4.2.0.20050303-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0.20050303-r1.ebuild,v 1.3 2006/01/13 10:51:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0.20050303-r1.ebuild,v 1.4 2006/01/20 00:56:08 vapier Exp $ inherit eutils @@ -13,7 +13,7 @@ SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/snapshots/ntp-stable/${PV LICENSE="as-is" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" -IUSE="parse-clocks nodroproot selinux ssl ipv6 openntpd debug" +IUSE="logrotate parse-clocks nodroproot selinux ssl ipv6 openntpd debug" RDEPEND=">=sys-libs/ncurses-5.2 >=sys-libs/readline-4.1 @@ -112,6 +112,11 @@ src_install() { keepdir /var/lib/ntp fowners ntp:ntp /var/lib/ntp + if use logrotate ; then + insinto /etc/logrotate.d + newins "${FILESDIR}"/ntp.logrotate ntp + fi + if use openntpd ; then cd "${D}" rm usr/sbin/ntpd |