浏览代码

- fixed a few install issues
- added install for the man pages
- added debian package build info

Andrei Pelinescu-Onciul 23 年之前
父节点
当前提交
6ac71d10fd

+ 15 - 4
Makefile

@@ -22,8 +22,10 @@ DEFS+=$(static_defs)
 modules=$(filter-out $(addprefix modules/, \
 			$(exclude_modules) $(static_modules)), \
 			$(wildcard modules/*))
-modules_names=$(patsubst modules/%/, %.so, $(modules))
-modules_full_path=$(join $(modules), $(modules_names))
+modules_names=$(shell echo $(modules)| \
+				sed -e 's/modules\/\([^/ ]*\)\/*/\1.so/g' )
+#modules_names=$(patsubst modules/%, %.so, $(modules))
+modules_full_path=$(join  $(modules), $(addprefix /, $(modules_names)))
 
 NAME=ser
 
@@ -87,11 +89,12 @@ tar: mantainer-clean
 
 
 install: all mk-install-dirs install-cfg install-bin install-modules \
-	install-doc
+	install-doc install-man
 
 
 mk-install-dirs: $(cfg-prefix)/$(cfg-dir) $(bin-prefix)/$(bin-dir) \
-			$(modules-prefix)/$(modules-dir) $(doc-prefix)/$(doc-dir)
+			$(modules-prefix)/$(modules-dir) $(doc-prefix)/$(doc-dir) \
+			$(man-prefix)/$(man-dir)/man8 $(man-prefix)/$(man-dir)/man5
 
 $(cfg-prefix)/$(cfg-dir): 
 		mkdir -p $(cfg-prefix)/$(cfg-dir)
@@ -106,6 +109,11 @@ $(modules-prefix)/$(modules-dir):
 $(doc-prefix)/$(doc-dir):
 		mkdir -p $(doc-prefix)/$(doc-dir)
 
+$(man-prefix)/$(man-dir)/man8:
+		mkdir -p $(man-prefix)/$(man-dir)/man8
+
+$(man-prefix)/$(man-dir)/man5:
+		mkdir -p $(man-prefix)/$(man-dir)/man5
 
 install-cfg:
 		$(INSTALL-CFG) ser.cfg $(cfg-prefix)/$(cfg-dir)
@@ -125,4 +133,7 @@ install-modules:
 install-doc:
 	$(INSTALL-DOC) README $(doc-prefix)/$(doc-dir)
 
+install-man:
+	$(INSTALL-MAN)  ser.8 $(man-prefix)/$(man-dir)/man8
+	$(INSTALL-MAN)  ser.cfg.5 $(man-prefix)/$(man-dir)/man5
 

+ 4 - 1
Makefile.defs

@@ -19,18 +19,21 @@ cfg-prefix = $(prefix)
 bin-prefix = $(prefix)
 modules-prefix= $(prefix)
 doc-prefix = $(prefix)
+man-prefix = $(prefix)
 
 # dirs
 cfg-dir = etc/ser/
 bin-dir = sbin/
 modules-dir = lib/ser/modules/
-doc-dir = doc/ser/
+doc-dir = share/doc/ser/
+man-dir = share/man/
 
 INSTALL = install 
 INSTALL-CFG = $(INSTALL) -m 644
 INSTALL-BIN = $(INSTALL) -m 755
 INSTALL-MODULES = $(INSTALL) -m 755
 INSTALL-DOC = $(INSTALL) -m 644
+INSTALL-MAN = $(INSTALL) -m 644
 
 
 # compile-time options

+ 6 - 0
debian/README.Debian

@@ -0,0 +1,6 @@
+ser for Debian
+--------------------
+
+ - experimental version (under construction)
+
+ -- Andrei Pelinescu-Onciul <[email protected]>, Tue, 16 Jul 2002 15:41:31 +0200

+ 6 - 0
debian/changelog

@@ -0,0 +1,6 @@
+ser (0.8.7.6-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Andrei Pelinescu-Onciul <[email protected]>  Tue, 16 Jul 2002 15:41:31 +0200
+

+ 1 - 0
debian/conffiles

@@ -0,0 +1 @@
+/etc/ser/ser.cfg

+ 12 - 0
debian/control

@@ -0,0 +1,12 @@
+Source: ser
+Section: net
+Priority: optional
+Maintainer: Andrei Pelinescu-Onciul <[email protected]>
+Build-Depends: debhelper (>> 3.0.0)
+Standards-Version: 3.5.2
+
+Package: ser
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Sip Express Router, very fast and configurable SIP proxy
+ ser or Sip Express Router is a very fast and configurable SIP proxy.

+ 13 - 0
debian/copyright

@@ -0,0 +1,13 @@
+This package was debianized by Andrei Pelinescu-Onciul <[email protected]> on
+Tue, 16 Jul 2002 15:41:31 +0200.
+
+It was downloaded from 
+
+Upstream Author(s): Andrei Pelinescu - Onciul <[email protected]>, Bogdan Iancu <[email protected]>, Jan Janak <[email protected]>, Jiri Kuthan <[email protected]> 
+
+This software is copyright (c) 2002-2003 by Fhg Fokus
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/GPL´.

+ 4 - 0
debian/cron.d.ex

@@ -0,0 +1,4 @@
+#
+# Regular cron jobs for the ser-0.8.7 package
+#
+0 4	* * *	root	ser-0.8.7_maintenance

+ 2 - 0
debian/dirs

@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

+ 2 - 0
debian/docs

@@ -0,0 +1,2 @@
+README
+TODO

+ 22 - 0
debian/ex.package.doc-base

@@ -0,0 +1,22 @@
+Document: ser-0.8.7
+Title: Debian ser-0.8.7 Manual
+Author: <insert document author here>
+Abstract: This manual describes what ser-0.8.7 is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/ser-0.8.7/ser-0.8.7.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/ser-0.8.7/ser-0.8.7.ps.gz
+
+Format: text
+Files: /usr/share/doc/ser-0.8.7/ser-0.8.7.text.gz
+
+Format: HTML
+Index: /usr/share/doc/ser-0.8.7/html/index.html
+Files: /usr/share/doc/ser-0.8.7/html/*.html
+
+  

+ 1 - 0
debian/files

@@ -0,0 +1 @@
+ser_0.8.7.6-1_i386.deb net optional

+ 70 - 0
debian/init.d.ex

@@ -0,0 +1,70 @@
+#! /bin/sh
+#
+# skeleton	example file to build /etc/init.d/ scripts.
+#		This file should be used to construct scripts for /etc/init.d.
+#
+#		Written by Miquel van Smoorenburg <[email protected]>.
+#		Modified for Debian GNU/Linux
+#		by Ian Murdock <[email protected]>.
+#
+# Version:	@(#)skeleton  1.8  03-Mar-1998  [email protected]
+#
+# This file was automatically customized by dh-make on Tue, 16 Jul 2002 15:41:31 +0200
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/ser
+NAME=ser
+DESC=ser
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: $NAME"
+	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+		--exec $DAEMON
+	echo "."
+	;;
+  stop)
+	echo -n "Stopping $DESC: $NAME"
+	start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \
+		--exec $DAEMON
+	echo "."
+	;;
+  #reload)
+	#
+	#	If the daemon can reload its config files on the fly
+	#	for example by sending it SIGHUP, do it here.
+	#
+	#	If the daemon responds to changes in its config file
+	#	directly anyway, make this a do-nothing entry.
+	#
+	# echo "Reloading $DESC configuration files."
+	# start-stop-daemon --stop --signal 1 --quiet --pidfile \
+	#	/var/run/$NAME.pid --exec $DAEMON
+  #;;
+  restart|force-reload)
+	#
+	#	If the "reload" option is implemented, move the "force-reload"
+	#	option to the "reload" entry above. If not, "force-reload" is
+	#	just the same as "restart".
+	#
+	echo -n "Restarting $DESC: $NAME"
+	start-stop-daemon --stop --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON
+	sleep 1
+	start-stop-daemon --start --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON
+	echo "."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0

+ 60 - 0
debian/manpage.1.ex

@@ -0,0 +1,60 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SER-0.8.7 SECTION "July 16, 2002"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ser-0.8.7 \- program to do something
+.SH SYNOPSIS
+.B ser-0.8.7
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B ser-0.8.7
+and
+.B bar
+commands.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+Instead, it has documentation in the GNU Info format; see below.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBser-0.8.7\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+This manual page was written by Andrei Pelinescu-Onciul <[email protected]>,
+for the Debian GNU/Linux system (but may be used by others).

+ 152 - 0
debian/manpage.sgml.ex

@@ -0,0 +1,152 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>July 16, 2002</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>[email protected]</email>">
+  <!ENTITY dhusername  "Andrei Pelinescu-Onciul">
+  <!ENTITY dhucpackage "<refentrytitle>SER-0.8.7</refentrytitle>">
+  <!ENTITY dhpackage   "ser-0.8.7">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2002</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual GNU command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the <acronym>GNU</acronym> Free Documentation
+      License, Version 1.1 or any later version published by the Free
+      Software Foundation; with no Invariant Sections, no Front-Cover
+      Texts and no Back-Cover Texts.</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+

+ 48 - 0
debian/postinst.ex

@@ -0,0 +1,48 @@
+#! /bin/sh
+# postinst script for ser-0.8.7
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

+ 38 - 0
debian/postrm.ex

@@ -0,0 +1,38 @@
+#! /bin/sh
+# postrm script for ser-0.8.7
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

+ 44 - 0
debian/preinst.ex

@@ -0,0 +1,44 @@
+#! /bin/sh
+# preinst script for ser-0.8.7
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    install|upgrade)
+#        if [ "$1" = "upgrade" ]
+#        then
+#            start-stop-daemon --stop --quiet --oknodo  \
+#                --pidfile /var/run/ser-0.8.7.pid  \
+#                --exec /usr/sbin/ser-0.8.7 2>/dev/null || true
+#        fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

+ 39 - 0
debian/prerm.ex

@@ -0,0 +1,39 @@
+#! /bin/sh
+# prerm script for ser-0.8.7
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+#       install-info --quiet --remove /usr/info/ser-0.8.7.info.gz
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

+ 99 - 0
debian/rules

@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+#
+# $Id$
+
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) all modules="modules/tm modules/textops modules/print"
+	#/usr/bin/docbook-to-man debian/ser.sgml > ser.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/ser
+	$(MAKE) install modules="modules/tm modules/textops modules/print" \
+		prefix=$(CURDIR)/debian/ser/usr \
+		cfg-prefix=$(CURDIR)/debian/ser 
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs 
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

+ 7 - 0
debian/ser.postinst.debhelper

@@ -0,0 +1,7 @@
+# Automatically added by dh_installdocs
+if [ "$1" = "configure" ]; then
+	if [ -d /usr/doc -a ! -e /usr/doc/ser -a -d /usr/share/doc/ser ]; then
+		ln -sf ../share/doc/ser /usr/doc/ser
+	fi
+fi
+# End automatically added section

+ 5 - 0
debian/ser.prerm.debhelper

@@ -0,0 +1,5 @@
+# Automatically added by dh_installdocs
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/ser ]; then
+	rm -f /usr/doc/ser
+fi
+# End automatically added section

+ 1 - 0
debian/ser.substvars

@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.2.4-4)

+ 6 - 0
debian/watch.ex

@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=2
+sunsite.unc.edu	/pub/Linux/Incoming	ser-0.8.7-(.*)\.tar\.gz	debian	uupdate