summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/docutil
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2003-01-20 21:07:55 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2003-01-20 21:07:55 +0000
commitdcaedb23a762cacc9125d2056adca98bbec67e16 (patch)
tree8b2707b30928ce97b145ca6f3c102c662090d26e /usr.sbin/bind/docutil
parentcc53f94652b511572cc20f91f0356f1774e7d02c (diff)
ISC BIND version 9.2.2rc1
Diffstat (limited to 'usr.sbin/bind/docutil')
-rw-r--r--usr.sbin/bind/docutil/HTML_COPYRIGHT16
-rw-r--r--usr.sbin/bind/docutil/MAN_COPYRIGHT16
-rw-r--r--usr.sbin/bind/docutil/docbook2man-wrapper.sh.in40
3 files changed, 72 insertions, 0 deletions
diff --git a/usr.sbin/bind/docutil/HTML_COPYRIGHT b/usr.sbin/bind/docutil/HTML_COPYRIGHT
new file mode 100644
index 00000000000..e610f542f15
--- /dev/null
+++ b/usr.sbin/bind/docutil/HTML_COPYRIGHT
@@ -0,0 +1,16 @@
+<!--
+ - Copyright (C) 2000, 2001 Internet Software Consortium.
+ -
+ - Permission to use, copy, modify, and distribute this software for any
+ - purpose with or without fee is hereby granted, provided that the above
+ - copyright notice and this permission notice appear in all copies.
+ -
+ - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
+ - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
+ - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
+ - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
+ - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
+ - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+ - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+ - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+-->
diff --git a/usr.sbin/bind/docutil/MAN_COPYRIGHT b/usr.sbin/bind/docutil/MAN_COPYRIGHT
new file mode 100644
index 00000000000..a2f01431380
--- /dev/null
+++ b/usr.sbin/bind/docutil/MAN_COPYRIGHT
@@ -0,0 +1,16 @@
+.\"
+.\" Copyright (C) 2000, 2001 Internet Software Consortium.
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
+.\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
+.\" INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
+.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
+.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
diff --git a/usr.sbin/bind/docutil/docbook2man-wrapper.sh.in b/usr.sbin/bind/docutil/docbook2man-wrapper.sh.in
new file mode 100644
index 00000000000..b7cb02ff498
--- /dev/null
+++ b/usr.sbin/bind/docutil/docbook2man-wrapper.sh.in
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# Copyright (C) 2001, 2002 Internet Software Consortium.
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
+# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
+# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
+# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+# $ISC: docbook2man-wrapper.sh.in,v 1.2.2.3 2002/08/05 06:57:10 marka Exp $
+
+case $# in
+ 3) ;;
+ *) echo "$0: wrong number of arguments" >&2; exit 1 ;;
+esac
+
+top_srcdir=$1
+source=$2
+target=$3
+
+ONSGMLS=onsgmls
+SGMLSPL=sgmlspl
+SGMLCATALOG=@SGMLCATALOG@
+DOCBOOK2MANSPEC=@DOCBOOK2MANSPEC@
+
+${ONSGMLS} -c ${SGMLCATALOG} $source | ${SGMLSPL} ${DOCBOOK2MANSPEC}
+rm -f $target.tmp
+grep -v 'auto-generated by docbook2man' $target > $target.tmp
+rm -f $target
+cat ${top_srcdir}/docutil/MAN_COPYRIGHT > $target
+cat $target.tmp >> $target
+rm -f manpage.* $target.tmp