diff options
author | 2011-04-08 03:42:28 +0000 | |
---|---|---|
committer | 2011-04-08 03:42:28 +0000 | |
commit | b95b0979328f4e62c6c8923b47ad5f4bcaccdf92 (patch) | |
tree | 63bb3dd12f1efd06fee86786db6af8af2c2c7521 /net-misc/ntp/files | |
parent | add patch for building with gcc46 (bug #362371) (diff) | |
download | gentoo-2-b95b0979328f4e62c6c8923b47ad5f4bcaccdf92.tar.gz gentoo-2-b95b0979328f4e62c6c8923b47ad5f4bcaccdf92.tar.bz2 gentoo-2-b95b0979328f4e62c6c8923b47ad5f4bcaccdf92.zip |
trim some freebsd-specific pieces from the man page #354835 by Sergey S. Starikoff
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/ntp/files')
-rwxr-xr-x | net-misc/ntp/files/man-pages/genmans.sh | 7 | ||||
-rw-r--r-- | net-misc/ntp/files/man-pages/ntp.conf.5.patch | 27 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/ntp/files/man-pages/genmans.sh b/net-misc/ntp/files/man-pages/genmans.sh index 78b0a00573b5..fb3c2896c109 100755 --- a/net-misc/ntp/files/man-pages/genmans.sh +++ b/net-misc/ntp/files/man-pages/genmans.sh @@ -66,6 +66,13 @@ done echo cp -vi /usr/local/src/freebsd/src/usr.sbin/ntp/doc/*.5 ${MANDIR} +( +d=${PWD} +cd ${MANDIR} +for p in $d/*.5.patch ; do + patch -F0 -p0 < $p || exit 1 +done +) || exit 1 cp -vi ${SRCDIR}/*.patch ${SRCDIR}/genmans.sh ${SRCDIR}/ntp.xsl ${MANDIR} tar -jcf ${VERSION}-manpages.tar.bz2 -C ${MANDIR}/.. man diff --git a/net-misc/ntp/files/man-pages/ntp.conf.5.patch b/net-misc/ntp/files/man-pages/ntp.conf.5.patch new file mode 100644 index 000000000000..c3d812302297 --- /dev/null +++ b/net-misc/ntp/files/man-pages/ntp.conf.5.patch @@ -0,0 +1,27 @@ +--- ntp.conf.5 ++++ ntp.conf.5 +@@ -24,16 +24,6 @@ + .Fl c + command line option). + .Pp +-The +-.Pa /etc/rc.d/ntpdate +-script reads this file to get a list of NTP servers to use if the +-variable +-.Dq Li ntpdate_hosts +-was not declared. +-Refer to the +-.Xr rc.conf 5 +-man page for further info about this. +-.Pp + The file format is similar to other + .Ux + configuration files. +@@ -2686,7 +2676,6 @@ + Diffie-Hellman agreement parameters + .El + .Sh SEE ALSO +-.Xr rc.conf 5 , + .Xr ntpd 8 , + .Xr ntpdc 8 , + .Xr ntpq 8 |