From 64a4bfeb50ae0ea09304b68c481a93dd7218c46c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 21 Jun 2017 10:31:06 +0100 Subject: [PATCH] debian/dist/: Add ostree-trivial-httpd.xml, which was incorrectly excluded from the upstream release --- debian/changelog | 2 + debian/copyright | 4 +- debian/dist/ostree-trivial-httpd.xml | 116 +++++++++++++++++++++++++++ debian/rules | 2 + 4 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 debian/dist/ostree-trivial-httpd.xml diff --git a/debian/changelog b/debian/changelog index 3f33b31f..5a47ecd7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ ostree (2017.7-1) UNRELEASED; urgency=medium * New upstream release * Standards-Version: 4.0.0 - Use https URL for copyright-format + * debian/dist/: Add ostree-trivial-httpd.xml, which was incorrectly + excluded from the upstream release -- Simon McVittie Wed, 21 Jun 2017 10:07:42 +0100 diff --git a/debian/copyright b/debian/copyright index 16f0cf83..03665f36 100644 --- a/debian/copyright +++ b/debian/copyright @@ -2,7 +2,9 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libOSTree Source: https://github.com/ostreedev/ostree/ -Files: * +Files: + * + debian/dist/* Copyright: © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald © 1999-2000, 2002-2005 Free Software Foundation, Inc. diff --git a/debian/dist/ostree-trivial-httpd.xml b/debian/dist/ostree-trivial-httpd.xml new file mode 100644 index 00000000..2b846858 --- /dev/null +++ b/debian/dist/ostree-trivial-httpd.xml @@ -0,0 +1,116 @@ + + + + + + + + + ostree trivial-httpd + OSTree + + + + Developer + Colin + Walters + walters@verbum.org + + + + + + ostree trivial-httpd + 1 + + + + ostree-trivial-httpd + Simple webserver + + + + + ostree trivial-httpd OPTIONS DIR + + + + + + Description + + + This runs a simple webserver and keeps it running until killed. If DIR is not specified, it defaults to the current directory. + + + + + Options + + + + , + + + Fork into background when ready. + + + + + + + + Automatically exit when directory is deleted. + + + + + ,="PATH" + + + Write port number to PATH (- for standard output). + + + + + , + + + Use the specified TCP port to listen on. + + + + + + + + Force range requests by only serving half of files. + + + + + + + + Example + $ ostree trivial-httpd + + diff --git a/debian/rules b/debian/rules index 15057ba9..c8e38178 100755 --- a/debian/rules +++ b/debian/rules @@ -9,10 +9,12 @@ export LC_ALL=C.UTF-8 dh $@ --with=gir override_dh_auto_clean: + rm -f man/ostree-trivial-httpd.xml if [ -e Makefile ]; then dh_auto_clean; fi override_dh_autoreconf: env NOCONFIGURE=1 dh_autoreconf ./autogen.sh + cp debian/dist/ostree-trivial-httpd.xml man/ override_dh_auto_configure: dh_auto_configure -- \