Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 34655 Details for
Bug 20747
ntp does not install manual pages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Shell script for creating the ntp man pages
ntpman.sh (text/plain), 1.07 KB, created by
Per Cederberg
on 2004-07-02 08:50:21 UTC
(
hide
)
Description:
Shell script for creating the ntp man pages
Filename:
MIME Type:
Creator:
Per Cederberg
Created:
2004-07-02 08:50:21 UTC
Size:
1.07 KB
patch
obsolete
>#!/bin/sh ># ># ntpman.sh -- Create man pages for ntp > ># Configuration parameters >VERSION=4.2.0-r2 >HTMLDIR=/usr/doc/ntp-$VERSION/html >MANDIR=. > ># Process a single HTML file >processfile() { > HTMLFILE=$1 > MANFILE=$2 > TMPFILE=/tmp/ntpman.tmp > echo -n "Processing $HTMLFILE..." > cat $HTMLDIR/$HTMLFILE | sed -e "s/<csobj.*<\/csobj>//" -e "s/ / /" -e "s/\\\/\//" > $TMPFILE > xsltproc --html --stringparam version $VERSION ntp.xsl $TMPFILE | gzip > $MANDIR/$MANFILE > rm $TMPFILE > echo "Done." >} > ># Print information >echo "Generates ntp man files from HTML documentation. Using:" >echo "VERSION: $VERSION" >echo "HTMLDIR: $HTMLDIR" >echo "MANDIR: $MANDIR" >echo "Press enter to continue, or Ctrl-C to cancel." >read > ># Process HTML files >processfile ntpd.html ntpd.1.gz >processfile ntpq.html ntpq.1.gz >processfile ntpdc.html ntpdc.1.gz >processfile ntpdate.html ntpdate.1.gz >processfile ntptrace.html ntptrace.1.gz >processfile tickadj.html tickadj.1.gz >processfile ntptime.html ntptime.1.gz >processfile keygen.html ntp-genkeys.1.gz >processfile ntpdsim.html ntpdsim.1.gz >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 20747
:
11756
|
34654
| 34655