debian/0000755000000000000000000000000012203442746007172 5ustar debian/compat0000644000000000000000000000000212203442711010360 0ustar 8 debian/dirs0000644000000000000000000000001612203442711010043 0ustar usr/lib/tcltk debian/source/0000755000000000000000000000000012203442746010472 5ustar debian/source/format0000644000000000000000000000001412203442711011670 0ustar 3.0 (quilt) debian/control0000644000000000000000000000107312203442711010566 0ustar Source: tcludp Section: libs Priority: optional Maintainer: Sergei Golovan Build-Depends: debhelper (>= 8.0.0), dpkg-dev (>= 1.16.1~), tcl-dev Standards-Version: 3.9.4 Homepage: http://sourceforge.net/projects/tcludp Package: tcl-udp Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${tclsh:Depends} Conflicts: libudp-tcl Replaces: libudp-tcl Provides: libudp-tcl Description: UDP sockets for Tcl TclUDP provides a new channel type for UDP and permits the use of packet oriented UDP over stream oriented Tcl channels. debian/examples0000644000000000000000000000001012203442711010712 0ustar demos/* debian/rules0000755000000000000000000000144212203442711010243 0ustar #!/usr/bin/make -f # -*- makefile -*- DIR = $(CURDIR)/debian/tcl-udp DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: dh $@ override_dh_auto_clean: dh_auto_clean # # Remove stale manpage rm -f udp.n override_dh_auto_configure: dh_auto_configure -- \ --with-tcl=/usr/lib \ --with-tclinclude=/usr/include/tcl override_dh_auto_install: $(MAKE) install DESTDIR=$(DIR) # mv $(DIR)/usr/lib/udp* $(DIR)/usr/lib/tcltk find $(DIR) -empty -prune -exec rmdir \{\} \; override_dh_shlibdeps: tcltk-depends dh_shlibdeps get-orig-source: wget -O tcludp_1.0.8.orig.tar.gz \ http://prdownloads.sourceforge.net/tcludp/tcludp-1.0.8.tar.gz .PHONY: override_dh_auto_clean override_dh_auto_configure \ override_dh_auto_install override_dh_shlibdeps get-orig-source debian/docs0000644000000000000000000000000710466355522010046 0ustar README debian/copyright0000644000000000000000000000264310630755464011140 0ustar This package was debianized by Sergei Golovan on Mon, 04 Jun 2007 10:21:02 +0400 It was downloaded from http://sourceforge.net/projects/tcludp Upstream Authors: Xiaotao Wu , Pat Thoyts Copyright (c) 1999-2003 by Columbia University; all rights reserved Copyright (c) 2003-2006 Pat Thoyts Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/patches/0000755000000000000000000000000012203442746010621 5ustar debian/patches/manpage.diff0000644000000000000000000000371010753271347013071 0ustar Patch fixes manual page. It moves it to section 3tcl and fixes link to socket(3tcl) manpage. Index: tcludp-1.0.8/Makefile.in =================================================================== --- tcludp-1.0.8.orig/Makefile.in +++ tcludp-1.0.8/Makefile.in @@ -223,12 +223,12 @@ #======================================================================== install-doc: doc - @mkdir -p $(DESTDIR)$(mandir)/mann + @mkdir -p $(DESTDIR)$(mandir)/man3 @echo "Installing documentation in $(DESTDIR)$(mandir)" @list='$(srcdir)/doc/*.n'; for i in $$list; do \ echo "Installing $$i"; \ - rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \ - $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \ + rm -f $(DESTDIR)$(mandir)/man3/`basename $$i .n`.3tcl; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/man3/`basename $$i .n`.3tcl ; \ done test: binaries libraries Index: tcludp-1.0.8/doc/udp.n =================================================================== --- tcludp-1.0.8.orig/doc/udp.n +++ tcludp-1.0.8/doc/udp.n @@ -7,9 +7,9 @@ '\" script from tcllib: dtplite -o udp.n nroff udp.man '\" dtplite -o udp.html html udp.man '\" -.so man.macros -.TH "udp" n 1.0.7 udp "Tcl UDP extension" -.BS +'\" .so man.macros +.TH "udp" 3tcl 1.0.8 udp "Tcl UDP extension" +'\" .BS .SH "NAME" udp \- Create UDP sockets in Tcl .SH "SYNOPSIS" @@ -29,7 +29,7 @@ .sp \fBudp_peek\fR \fIsock\fR ?\fIbuffersize\fR? .sp -.BE +'\" .BE .SH "DESCRIPTION" This package provides support for using UDP through Tcl. The package provides a new channel type and attempts to permit the use of packet oriented UDP @@ -165,11 +165,11 @@ Enhancements to support binary data and to setup the package for the Tcl Extension Architecture by Pat Thoyts. .SH "SEE ALSO" -socket(n) +socket(3tcl) .SH "KEYWORDS" networking, socket, udp .SH "COPYRIGHT" .nf Copyright (c) 1999-2000 Columbia University; all rights reserved -.fi \ No newline at end of file +.fi debian/patches/non-linux.diff0000644000000000000000000000134310675146046013410 0ustar Patch fixes building on hurd-i386, kfreebsd-i386 and kfreebsd-amd64 architectures. Index: tcludp-1.0.8/configure =================================================================== --- tcludp-1.0.8.orig/configure +++ tcludp-1.0.8/configure @@ -8273,7 +8273,7 @@ fi fi ;; - Linux*) + Linux*|GNU*) SHLIB_CFLAGS="-fPIC" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" Index: tcludp-1.0.8/tclconfig/tcl.m4 =================================================================== --- tcludp-1.0.8.orig/tclconfig/tcl.m4 +++ tcludp-1.0.8/tclconfig/tcl.m4 @@ -1436,7 +1436,7 @@ fi fi ;; - Linux*) + Linux*|GNU*) SHLIB_CFLAGS="-fPIC" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" debian/patches/series0000644000000000000000000000003410675146046012040 0ustar manpage.diff non-linux.diff debian/changelog0000644000000000000000000000412712203442711011040 0ustar tcludp (1.0.8-7) unstable; urgency=low * Renamed the binary package to tcl-udp to match the Debian Tcl/Tk policy. * Switched to the 3.0 (quilt) source format. * Bumped debhelper compatibility version to 8. * Bumped standards version to 3.9.4. -- Sergei Golovan Fri, 16 Aug 2013 19:29:56 +0400 tcludp (1.0.8-6) unstable; urgency=low * Protected quilt call in debian/rules to make the package convertable to 3.0 (quilt) format (closes: #484922). * Added README.source with explanation on how to use quilt to apply patches to a pristine source. * Use Sourceforge redirector in debian/watch. * Bumped standards version to 3.8.4. -- Sergei Golovan Thu, 06 May 2010 21:51:01 +0400 tcludp (1.0.8-5) unstable; urgency=low * Added quotes around CFLAGS environment variable value when passing it to a shell to allow spaces within (closes: #476043). -- Sergei Golovan Mon, 14 Apr 2008 15:21:47 +0400 tcludp (1.0.8-4) unstable; urgency=low * Fixed --with-tcl and --with-tclinclude configure options in debian/rules. * Removed empty directories from the binary package. * Bumped standards version to 3.7.3. -- Sergei Golovan Sat, 09 Feb 2008 12:15:27 +0300 tcludp (1.0.8-3) unstable; urgency=low * Adapted the package to Debian Tcl/Tk policy. This includes moving the Tcl modules into a subdirectory of /usr/lib/tcltk and switching to default tcl package in dependencies. * Added Homepage field in debian/control. -- Sergei Golovan Sat, 22 Sep 2007 11:52:50 +0400 tcludp (1.0.8-2) unstable; urgency=low * Fixed building on hurd-i386, kfreebsd-i386 and kfreebsd-amd64 architectures. * Rewritten clean target in debian/rules to ignore only missing Makefile error. -- Sergei Golovan Sat, 22 Sep 2007 11:34:38 +0400 tcludp (1.0.8-1) unstable; urgency=low * Initial Release (closes: #439727). * Fixed manual page (removed link to nonexistent man.macros). -- Sergei Golovan Mon, 27 Aug 2007 11:41:02 +0400 debian/watch0000644000000000000000000000020311370601574010216 0ustar # Watch control file for uscan # Compulsory line, this is a version 3 file version=3 http://sf.net/tcludp/tcludp-([\d.]*).tar.gz