diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-08 03:42:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-08 03:42:28 +0000 |
commit | 664447ebb67419df519768f5ba330c9363cf3507 (patch) | |
tree | 72d341d01102564ee4b16179e0e5b0e68b7a6661 /net-misc/ntp/files | |
parent | add patch for building with gcc46 (bug #362371) (diff) | |
download | historical-664447ebb67419df519768f5ba330c9363cf3507.tar.gz historical-664447ebb67419df519768f5ba330c9363cf3507.tar.bz2 historical-664447ebb67419df519768f5ba330c9363cf3507.zip |
trim some freebsd-specific pieces from the man page #354835 by Sergey S. Starikoff
Package-Manager: portage-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 |