control: tags -1 patch pending Dear maintainer,
I've prepared an NMU for ucspi-unix (versioned as 1.0-0.1) and uploaded it to unstable. Regards. Gianfranco
diff -Nru ucspi-unix-0.36/conf-bin ucspi-unix-1.0/conf-bin --- ucspi-unix-0.36/conf-bin 2002-06-10 23:12:06.000000000 +0200 +++ ucspi-unix-1.0/conf-bin 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -/usr/local/bin - -Programs will be installed in this directory. diff -Nru ucspi-unix-0.36/conf-man ucspi-unix-1.0/conf-man --- ucspi-unix-0.36/conf-man 2002-06-10 23:12:06.000000000 +0200 +++ ucspi-unix-1.0/conf-man 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -/usr/local/man - -Man pages will be installed in subdirectories of this directory. An -unformatted man page foo.1 will go into .../man1/foo.1. diff -Nru ucspi-unix-0.36/debian/changelog ucspi-unix-1.0/debian/changelog --- ucspi-unix-0.36/debian/changelog 2018-04-13 16:43:05.000000000 +0200 +++ ucspi-unix-1.0/debian/changelog 2018-04-13 16:26:19.000000000 +0200 @@ -1,3 +1,25 @@ +ucspi-unix (1.0-0.1) unstable; urgency=medium + + [ Gianfranco Costamagna ] + * Non-maintainer upload + * New upstream version (Closes: #884405) + - d/rules: manually install binaries and manpages, because + bglibs install features are dropped now + - add groff/man-db dependencies, + needed for (non-installed for now html pages) + * Switch to quilt format + * Add homepage field, to please lintian + + [ Chris Lamb ] + * Make build reproducible by removing the timestamps from zipped manpages. + (Closes: #777019) + + [ Valerie R Young ] + * Make build reproducible by sorting the order of md5sums files. + (Closes: #847037) + + -- Gianfranco Costamagna <locutusofb...@debian.org> Fri, 13 Apr 2018 16:26:19 +0200 + ucspi-unix (0.36-4) unstable; urgency=medium * debian/rules: add -D_GNU_SOURCE to CFLAGS (thx peter green, closes: diff -Nru ucspi-unix-0.36/debian/control ucspi-unix-1.0/debian/control --- ucspi-unix-0.36/debian/control 2018-04-13 16:43:05.000000000 +0200 +++ ucspi-unix-1.0/debian/control 2018-04-13 16:26:19.000000000 +0200 @@ -2,8 +2,9 @@ Section: net Priority: optional Maintainer: Gerrit Pape <p...@smarden.org> -Build-Depends: libbg-dev +Build-Depends: libbg-dev, man-db, groff Standards-Version: 3.8.2.0 +Homepage: https://untroubled.org/ucspi-unix Package: ucspi-unix Architecture: any diff -Nru ucspi-unix-0.36/debian/implicit ucspi-unix-1.0/debian/implicit --- ucspi-unix-0.36/debian/implicit 2018-04-13 16:43:05.000000000 +0200 +++ ucspi-unix-1.0/debian/implicit 2018-04-13 16:26:19.000000000 +0200 @@ -35,7 +35,7 @@ debian/$*/usr/share/doc/$*/changelog' @test -s debian/$*/usr/share/doc/$*/changelog || \ sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog' - @gzip -9 debian/$*/usr/share/doc/$*/changelog* + @gzip -9n debian/$*/usr/share/doc/$*/changelog* %.deb-docs-docs: @for i in `cat debian/$*.docs 2>/dev/null || :`; do \ sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \ @@ -46,7 +46,7 @@ @if test -r debian/$*.NEWS.Debian; then \ sh -cx 'install -m0644 debian/$*.NEWS.Debian \ debian/$*/usr/share/doc/$*/NEWS.Debian && \ - gzip -9 debian/$*/usr/share/doc/$*/NEWS.Debian'; \ + gzip -9n debian/$*/usr/share/doc/$*/NEWS.Debian'; \ fi %.deb-docs-examples: @rm -rf debian/$*/usr/share/doc/$*/examples @@ -79,7 +79,7 @@ : debian/$*/DEBIAN/md5sums @rm -f debian/$*/DEBIAN/md5sums @cd debian/$* && find * -path 'DEBIAN' -prune -o \ - -type f -exec md5sum {} >>DEBIAN/md5sums \; + -type f -exec md5sum {} \; | LC_ALL=C sort >>DEBIAN/md5sums %.deb-DEBIAN: %.deb-checkdir %.deb-DEBIAN-base %.deb-DEBIAN-scripts \ %.deb-DEBIAN-md5sums : debian/$*/DEBIAN/ ok diff -Nru ucspi-unix-0.36/debian/rules ucspi-unix-1.0/debian/rules --- ucspi-unix-0.36/debian/rules 2018-04-13 16:43:05.000000000 +0200 +++ ucspi-unix-1.0/debian/rules 2018-04-13 16:26:19.000000000 +0200 @@ -20,23 +20,14 @@ build: deb-checkdir build-stamp build-stamp: - test -e conf-bin'{orig}' || cp conf-bin conf-bin'{orig}' - echo '/usr/bin' >conf-bin - test -e conf-man'{orig}' || cp conf-man conf-man'{orig}' - echo '/usr/share/man' >conf-man test -e conf-cc'{orig}' || cp conf-cc conf-cc'{orig}' echo '$(CC) $(CFLAGS) -I$(BGLIBS)/include' >conf-cc test -e conf-ld'{orig}' || cp conf-ld conf-ld'{orig}' echo '$(CC) -L$(BGLIBS)/lib' >conf-ld $(MAKE) - rm -f installer instcheck instshow insthier.o conf_bin.c conf_man.c - echo '$(DIR)/usr/bin' >conf-bin - echo '$(DIR)/usr/share/man' >conf-man - $(MAKE) installer instcheck instshow + rm -f insthier.o conf_bin.c conf_man.c mv -f conf-ld'{orig}' conf-ld mv -f conf-cc'{orig}' conf-cc - mv -f conf-man'{orig}' conf-man - mv -f conf-bin'{orig}' conf-bin touch build-stamp clean: deb-checkdir deb-checkuid @@ -48,12 +39,17 @@ install: deb-checkdir deb-checkuid build-stamp rm -rf '$(DIR)' install -d -m0755 '$(DIR)'/usr/bin - install -d -m0755 '$(DIR)'/usr/share/man - ./installer; ./instcheck + install -d -m0755 '$(DIR)'/usr/share/man/man1 + install -m 0755 unixcat '$(DIR)'/usr/bin + install -m 0755 unixclient '$(DIR)'/usr/bin + install -m 0755 unixserver '$(DIR)'/usr/bin + $(STRIP) -R .comment -R .note \ '$(DIR)'/usr/bin/unixserver '$(DIR)'/usr/bin/unixclient + install -m0644 unixclient.1 '$(DIR)'/usr/share/man/man1/ + install -m0644 unixserver.1 '$(DIR)'/usr/share/man/man1/ install -m0644 debian/unixcat.1 '$(DIR)'/usr/share/man/man1/ - gzip -9 '$(DIR)'/usr/share/man/man?/*.? + gzip -9n '$(DIR)'/usr/share/man/man?/*.? rm -f changelog && ln -s NEWS changelog binary-indep: diff -Nru ucspi-unix-0.36/debian/source/format ucspi-unix-1.0/debian/source/format --- ucspi-unix-0.36/debian/source/format 1970-01-01 01:00:00.000000000 +0100 +++ ucspi-unix-1.0/debian/source/format 2018-04-13 16:26:19.000000000 +0200 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru ucspi-unix-0.36/insthier.c ucspi-unix-1.0/insthier.c --- ucspi-unix-0.36/insthier.c 2002-06-10 23:12:06.000000000 +0200 +++ ucspi-unix-1.0/insthier.c 1970-01-01 01:00:00.000000000 +0100 @@ -1,18 +0,0 @@ -#include <installer.h> -#include "conf_bin.c" -#include "conf_man.c" - -void insthier(void) -{ - int bin = opendir(conf_bin); - int man = opendir(conf_man); - int man1; - - c(bin, "unixcat", -1, -1, 0755); - c(bin, "unixclient", -1, -1, 0755); - c(bin, "unixserver", -1, -1, 0755); - - man1 = d(man, "man1", -1, -1, 0755); - c(man1, "unixclient.1", -1, -1, 0644); - c(man1, "unixserver.1", -1, -1, 0644); -} diff -Nru ucspi-unix-0.36/trylib.c ucspi-unix-1.0/trylib.c --- ucspi-unix-0.36/trylib.c 2002-06-10 23:12:06.000000000 +0200 +++ ucspi-unix-1.0/trylib.c 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -main() -{ - ; -} diff -Nru ucspi-unix-0.36/ucspi-unix-0.36.spec ucspi-unix-1.0/ucspi-unix-0.36.spec --- ucspi-unix-0.36/ucspi-unix-0.36.spec 2002-06-10 23:12:06.000000000 +0200 +++ ucspi-unix-1.0/ucspi-unix-0.36.spec 1970-01-01 01:00:00.000000000 +0100 @@ -1,49 +0,0 @@ -Name: ucspi-unix -Summary: UNIX-domain socket client-server command-line tools -Version: 0.36 -Release: 1 -Copyright: GPL -Group: Utilities/System -Source: http://em.ca/~bruceg/ucspi-unix/%{version}/ucspi-unix-%{version}.tar.gz -BuildRoot: %{_tmppath}/ucspi-unix-root -URL: http://em.ca/~bruceg/ucspi-unix/ -Packager: Bruce Guenter <bru...@em.ca> -BuildRequires: bglibs - -%description -unixclient and unixserver are command-line tools for building UNIX -domain client-server applications. unixclient connects to a UNIX domain -socket and runs a program of your choice. unixserver creates a UNIX -domain socket, waits for incoming connections and, for each connection, -runs a program of your choice. - -unixclient and unixserver conform to UCSPI, the UNIX Client-Server -Program Interface, using UNIX domain sockets. UCSPI tools are available -for several different networks. - -%prep -%setup - -%build -echo %{_bindir} >conf-bin -echo %{_mandir} >conf-man -make programs - -%install -rm -fr %{buildroot} -mkdir -p %{buildroot}%{_bindir} -mkdir -p %{buildroot}%{_mandir} -echo %{buildroot}%{_bindir} >conf-bin -echo %{buildroot}%{_mandir} >conf-man -make installer instcheck -./installer -./instcheck - -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root) -%doc COPYING NEWS PROTOCOL README TODO VERSION -%{_bindir}/* -%{_mandir}/*/* diff -Nru ucspi-unix-0.36/unixclient.1.html ucspi-unix-1.0/unixclient.1.html --- ucspi-unix-0.36/unixclient.1.html 1970-01-01 01:00:00.000000000 +0100 +++ ucspi-unix-1.0/unixclient.1.html 2015-08-12 05:05:40.000000000 +0200 @@ -0,0 +1,139 @@ +<!-- Creator : groff version 1.22.2 --> +<!-- CreationDate: Tue Aug 11 21:05:39 2015 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta name="generator" content="groff -Thtml, see www.gnu.org"> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<meta name="Content-Style" content="text/css"> +<style type="text/css"> + p { margin-top: 0; margin-bottom: 0; vertical-align: top } + pre { margin-top: 0; margin-bottom: 0; vertical-align: top } + table { margin-top: 0; margin-bottom: 0; vertical-align: top } + h1 { text-align: center } +</style> +<title>UNIXCLIENT</title> + +</head> +<body> + +<h1 align="center">UNIXCLIENT</h1> + +<a href="#NAME">NAME</a><br> +<a href="#SYNOPSIS">SYNOPSIS</a><br> +<a href="#DESCRIPTION">DESCRIPTION</a><br> +<a href="#OPTIONS">OPTIONS</a><br> +<a href="#SEE ALSO">SEE ALSO</a><br> +<a href="#AUTHOR">AUTHOR</a><br> + +<hr> + + +<h2>NAME +<a name="NAME"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">unixclient - +UNIX domain socket client</p> + +<h2>SYNOPSIS +<a name="SYNOPSIS"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">unixclient +[options] socket program</p> + +<h2>DESCRIPTION +<a name="DESCRIPTION"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">Unixclient is +UNIX domain socket client that conform to UCSPI, the UNIX +Client-Server Program Interface.</p> + +<h2>OPTIONS +<a name="OPTIONS"></a> +</h2> + + +<table width="100%" border="0" rules="none" frame="void" + cellspacing="0" cellpadding="0"> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="3%"> +</td> +<td width="8%"></td> +<td width="78%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="3%"> + + +<p style="margin-top: 1em"><b>−q</b></p></td> +<td width="8%"></td> +<td width="78%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="3%"></td> +<td width="8%"></td> +<td width="78%"> + + +<p style="margin-top: 1em">Quiet. Do not print any +messages.</p> </td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="3%"> + + +<p><b>−Q</b></p></td> +<td width="8%"></td> +<td width="78%"> + + +<p>(default) Print error messages.</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="3%"> + + +<p><b>−v</b></p></td> +<td width="8%"></td> +<td width="78%"> + + +<p>Verbose. Print error and status messages. <b>−c +N</b> Do not handle more than N simultaneous connections. +(default 10)</p></td></tr> +</table> + +<h2>SEE ALSO +<a name="SEE ALSO"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">unixserver(1), +unixcat(1) http://cr.yp.to/proto/ucspi.txt</p> + +<h2>AUTHOR +<a name="AUTHOR"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">ucspi-unix +package was written by Bruce Guenter +<bru...@em.ca></p> + +<p style="margin-left:11%; margin-top: 1em">This manual +page was originally written by Tomas Kuliavas +<to...@bigfoot.com> for the Debian GNU/Linux system, +but may be used elsewhere under the GPL.</p> +<hr> +</body> +</html> diff -Nru ucspi-unix-0.36/unixserver.1.html ucspi-unix-1.0/unixserver.1.html --- ucspi-unix-0.36/unixserver.1.html 1970-01-01 01:00:00.000000000 +0100 +++ ucspi-unix-1.0/unixserver.1.html 2015-08-12 05:05:40.000000000 +0200 @@ -0,0 +1,294 @@ +<!-- Creator : groff version 1.22.2 --> +<!-- CreationDate: Tue Aug 11 21:05:39 2015 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta name="generator" content="groff -Thtml, see www.gnu.org"> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<meta name="Content-Style" content="text/css"> +<style type="text/css"> + p { margin-top: 0; margin-bottom: 0; vertical-align: top } + pre { margin-top: 0; margin-bottom: 0; vertical-align: top } + table { margin-top: 0; margin-bottom: 0; vertical-align: top } + h1 { text-align: center } +</style> +<title>UNIXSERVER</title> + +</head> +<body> + +<h1 align="center">UNIXSERVER</h1> + +<a href="#NAME">NAME</a><br> +<a href="#SYNOPSIS">SYNOPSIS</a><br> +<a href="#DESCRIPTION">DESCRIPTION</a><br> +<a href="#OPTIONS">OPTIONS</a><br> +<a href="#SEE ALSO">SEE ALSO</a><br> +<a href="#AUTHOR">AUTHOR</a><br> + +<hr> + + +<h2>NAME +<a name="NAME"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">unixserver - +UNIX domain socket server</p> + +<h2>SYNOPSIS +<a name="SYNOPSIS"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">unixserver +[options] socket program</p> + +<h2>DESCRIPTION +<a name="DESCRIPTION"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">Unixserver is +UNIX domain socket server that conform to UCSPI, the UNIX +Client-Server Program Interface.</p> + +<h2>OPTIONS +<a name="OPTIONS"></a> +</h2> + + +<table width="100%" border="0" rules="none" frame="void" + cellspacing="0" cellpadding="0"> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> +</td> +<td width="2%"></td> +<td width="69%"></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p style="margin-top: 1em"><b>−q</b></p></td> +<td width="2%"></td> +<td width="69%"> +</td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"></td> +<td width="2%"></td> +<td width="69%"> + + +<p style="margin-top: 1em">Quiet. Do not print any +messages.</p> </td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−Q</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>(default) Print error messages.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−v</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>Verbose. Print error and status messages.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−d</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>Do not delete the socket file on exit.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−D</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>(default) Delete the socket file on exit.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−u UID</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>Change user id to UID after creating socket.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−g GID</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>Change group id to GID after creating socket.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−U</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>Same as ’-u $UID -g $GID’.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−o UID</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>Make the socket owned by UID.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−r GID</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>Make the socket group owned by GID.</p></td> +<td width="9%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="9%"> + + +<p><b>−O</b></p></td> +<td width="2%"></td> +<td width="69%"> + + +<p>Same as ’-o $SOCKET_UID -r $SOCKET_GID’.</p></td> +<td width="9%"> +</td></tr> +</table> + +<p style="margin-left:11%;"><b>−p PERM</b></p> + +<p style="margin-left:22%;">Set the permissions on the +created socket (in octal). Note: this option, if set, +overrides the mask below. (defaults to 0666 minus umask)</p> + +<p style="margin-left:11%;"><b>−m MASK</b></p> + +<p style="margin-left:22%;">Set umask to MASK (in octal) +before creating socket. (defaults to 0, previous value is +restored afterwards)</p> + +<table width="100%" border="0" rules="none" frame="void" + cellspacing="0" cellpadding="0"> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="6%"> + + +<p><b>−c N</b></p></td> +<td width="5%"></td> +<td width="78%"> + + +<p>Do not handle more than N simultaneous connections. +(default 10)</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="6%"> + + +<p><b>−b N</b></p></td> +<td width="5%"></td> +<td width="78%"> + + +<p>Allow a backlog of N connections.</p></td></tr> +</table> + +<p style="margin-left:11%;"><b>−B BANNER</b></p> + +<p style="margin-left:22%;">Write BANNER to the client +immediately after connecting.</p> + +<h2>SEE ALSO +<a name="SEE ALSO"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">unixclient(1), +unixcat(1) http://cr.yp.to/proto/ucspi.txt</p> + +<h2>AUTHOR +<a name="AUTHOR"></a> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">ucspi-unix +package was written by Bruce Guenter +<bru...@em.ca></p> + +<p style="margin-left:11%; margin-top: 1em">This manual +page was originally written by Tomas Kuliavas +<to...@bigfoot.com> for the Debian GNU/Linux system, +but may be used elsewhere under the GPL.</p> +<hr> +</body> +</html>