diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-03-18 07:19:42 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-03-18 07:19:42 +0000 |
commit | d6a3ac7d24b042f498d68dcd5622eb6df4b4cff9 (patch) | |
tree | d7c93a0238f70b329d4da8bbb83b84bda993da0c /net-misc | |
parent | new package (diff) | |
download | historical-d6a3ac7d24b042f498d68dcd5622eb6df4b4cff9.tar.gz historical-d6a3ac7d24b042f498d68dcd5622eb6df4b4cff9.tar.bz2 historical-d6a3ac7d24b042f498d68dcd5622eb6df4b4cff9.zip |
ntp.conf fixes
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ntp/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/ntp/files/ntp.conf | 34 | ||||
-rw-r--r-- | net-misc/ntp/ntp-4.1.1b-r5.ebuild | 8 |
3 files changed, 44 insertions, 5 deletions
diff --git a/net-misc/ntp/ChangeLog b/net-misc/ntp/ChangeLog index ce8738b5ef95..c718cf6e7054 100644 --- a/net-misc/ntp/ChangeLog +++ b/net-misc/ntp/ChangeLog @@ -1,9 +1,14 @@ # ChangeLog for net-misc/ntp # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.25 2003/03/02 20:20:00 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.26 2003/03/18 07:19:42 seemant Exp $ *ntp-4.1.1b-r5 (26 Feb 2003) + 17 Mar 2003; Seemant Kulleen <seemant@gentoo.org> ntp-4.1.1b-r5.ebuild, + files/ntp.conf: + added extra documentation to the ntp.conf file. thanks to: Daniel Seyffer + <gentoo-bugs@seyffer.de> in bug #17492 + 02 Mar 2003; Guy Martin <gmsoft@gentoo.org> ntp-4.1.1b-r5.ebuild : Added hppa to keywords. diff --git a/net-misc/ntp/files/ntp.conf b/net-misc/ntp/files/ntp.conf index d2232a541520..023aad0678bc 100644 --- a/net-misc/ntp/files/ntp.conf +++ b/net-misc/ntp/files/ntp.conf @@ -19,3 +19,37 @@ # you should not need to modify the following paths logfile /var/log/ntpd.log driftfile /var/lib/misc/ntp.drift + +#server ntplocal.example.com prefer +#server timeserver.example.org + +# Warning: Using default NTP settings will leave your NTP +# server accessible to all hosts on the Internet. + +# +# If you want to deny all machines from accessing +# your NTP server, uncomment: +# +#restrict default ignore + + +# To only deny other machines from changing the +# configuration but allow localhost uncomment: +# +#restrict default notrust nomodify +#restrict 127.0.0.1 + + +# To allow machines within your network to synchronize +# their clocks with your server, but ensure they are +# not allowed to configure the server or used as peers +# to synchronize against, uncomment this line. +# +#restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap + + +# To only deny other machines from changing the +# configuration but allow localhost uncomment: +# +#restrict default notrust nomodify +#restrict 127.0.0.1 diff --git a/net-misc/ntp/ntp-4.1.1b-r5.ebuild b/net-misc/ntp/ntp-4.1.1b-r5.ebuild index ec0457dc28bc..eb618c83ba68 100644 --- a/net-misc/ntp/ntp-4.1.1b-r5.ebuild +++ b/net-misc/ntp/ntp-4.1.1b-r5.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.1b-r5.ebuild,v 1.2 2003/03/02 20:20:00 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.1.1b-r5.ebuild,v 1.3 2003/03/18 07:19:42 seemant Exp $ inherit eutils @@ -8,11 +8,11 @@ DESCRIPTION="Network Time Protocol suite/programs" SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz" HOMEPAGE="http://www.ntp.org/" +SLOT="0" LICENSE="as-is" KEYWORDS="x86 ppc sparc alpha mips hppa" -SLOT="0" -DEPEND="virtual/glibc +DEPEND=">=sys-apps/sed-4.0.5 >=sys-libs/ncurses-5.2 >=sys-libs/readline-4.1" @@ -28,7 +28,7 @@ src_unpack() { src_compile() { cp configure configure.orig - sed -e "s:-Wpointer-arith::" configure.orig > configure + sed -i "s:-Wpointer-arith::" configure econf --build=${CHOST} || die emake || die |