From 069ec4b2800bc68766b47184a36e494a99c02820 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 23 Dec 2009 03:47:48 +0100 Subject: [PATCH] Drop asciidoc and related packages from build-depends and ship manpages statically instead. --- debian/control | 2 +- debian/rules | 11 +- debian/uanytun.8 | 408 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 411 insertions(+), 10 deletions(-) create mode 100644 debian/uanytun.8 diff --git a/debian/control b/debian/control index f7e8cd3..6058d3a 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: uanytun Section: net Priority: extra Maintainer: Michael Prokop -Build-Depends: debhelper (>= 5), asciidoc, docbook-xsl, libgcrypt11-dev, xsltproc +Build-Depends: debhelper (>= 5), libgcrypt11-dev Standards-Version: 3.8.3 Homepage: http://www.anytun.org/ Vcs-git: git://git.grml.org/uanytun.git diff --git a/debian/rules b/debian/rules index 1cfd3ad..b6b42b9 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ configure: configure-stamp configure-stamp: dh_testdir - cd src && ./configure --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/uanytun/examples && cd .. + cd src && ./configure --no-manpage --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/uanytun/examples && cd .. touch configure-stamp build: build-stamp @@ -21,7 +21,6 @@ build-stamp: configure-stamp dh_testdir cd src && $(MAKE) && cd .. - cd doc && $(MAKE) && cd .. touch $@ @@ -30,12 +29,6 @@ clean: dh_testroot rm -f build-stamp configure-stamp - cd src && $(MAKE) distclean && cd .. - cd doc && $(MAKE) clean && cd .. - - # drop leftover file: - rm -f src/tun.c - # Add here commands to clean up after the build process. $(MAKE) --directory=$(CURDIR)/src distclean dh_clean @@ -63,7 +56,7 @@ binary-arch: install dh_installdocs dh_installexamples dh_installinit - dh_installman doc/uanytun.8 + dh_installman debian/uanytun.8 dh_link dh_strip dh_compress diff --git a/debian/uanytun.8 b/debian/uanytun.8 new file mode 100644 index 0000000..5b51ce1 --- /dev/null +++ b/debian/uanytun.8 @@ -0,0 +1,408 @@ +'\" t +.\" Title: uanytun +.\" Author: [see the "AUTHORS" section] +.\" Generator: DocBook XSL Stylesheets v1.75.2 +.\" Date: 12/14/2009 +.\" Manual: uanytun user manual +.\" Source: uanytun 0.3.2 +.\" Language: English +.\" +.TH "UANYTUN" "8" "12/14/2009" "uanytun 0.3.2" "uanytun user manual" +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +uanytun \- micro anycast tunneling daemon +.SH "SYNOPSIS" +.sp +.nf +\fBuanytun\fR + [ \fB\-h|\-\-help\fR ] + [ \fB\-D|\-\-nodaemonize\fR ] + [ \fB\-u|\-\-username\fR ] + [ \fB\-g|\-\-groupname\fR ] + [ \fB\-C|\-\-chroot\fR ] + [ \fB\-P|\-\-write\-pid\fR ] + [ \fB\-L|\-\-log\fR :[,[,[\&.\&.]]] ] + [ \fB\-i|\-\-interface\fR ] + [ \fB\-p|\-\-port\fR ] + [ \fB\-r|\-\-remote\-host\fR ] + [ \fB\-o|\-\-remote\-port\fR ] + [ \fB\-4|\-\-ipv4\-only\fR ] + [ \fB\-6|\-\-ipv6\-only\fR ] + [ \fB\-d|\-\-dev\fR ] + [ \fB\-t|\-\-type\fR ] + [ \fB\-n|\-\-ifconfig\fR / ] + [ \fB\-x|\-\-post\-up\-script\fR