* Released as version 1.1.
+ * Created a Debian package.
+
* sock.c, configure.in: Portability fixes for FreeBSD, Solaris and IRIX.
* sock.c (main): Cast arg 4 of setsockopt to void * (portability).
--- /dev/null
+sock (1.1) unstable; urgency=low
+
+ * First debian package.
+
+ -- Martin Mares <mj@ucw.cz> Tue, 12 Jun 2001 14:32:22 +0100
+
+Local variables:
+ mode: debian-changelog
+ End:
--- /dev/null
+Source: sock
+Section: ucw
+Priority: optional
+Maintainer: Martin Mares <mj@ucw.cz>
+Standards-Version: 2.1.0.0
+
+Package: sock
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Universal socket tool
+ This program serves as an interface for network sockets for use
+ in both shell scripts and manually from the command line.
--- /dev/null
+Sock -- A universal socket tool
+Copyright (c) 1998--2001 Martin Mares <mj@ucw.cz>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program in the file /usr/doc/copyright/GPL. If not,
+write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
+MA 02139, USA.
--- /dev/null
+#!/usr/bin/make -f
+# Rules for building of sock Debian/UCW Package
+# (c) 2001 Martin Mares <mj@ucw.cz>
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ CFLAGS="-O2" ./configure --prefix=/usr
+ $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ $(MAKE) distclean
+ dh_clean
+
+binary-indep: build
+
+binary-arch: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs usr usr/bin usr/man usr/man/man1
+
+ $(MAKE) prefix=`pwd`/debian/tmp/usr install
+
+# dh_installdocs
+# dh_installexamples
+# dh_installmenu
+# dh_installinit
+# dh_installcron
+ dh_installmanpages
+ dh_installchangelogs
+ dh_strip
+# dh_compress
+ dh_fixperms
+# dh_suidregister
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+# dh_makeshlibs
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary