From: Martin Mares Date: Tue, 12 Jun 2001 12:37:05 +0000 (+0000) Subject: Debianized. X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=d16f888a94a7d570beff049678301f79f3d569fe;p=sock.git Debianized. --- diff --git a/ChangeLog b/ChangeLog index 0ffa77f..e894dc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * 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). diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..afd5e8e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,9 @@ +sock (1.1) unstable; urgency=low + + * First debian package. + + -- Martin Mares Tue, 12 Jun 2001 14:32:22 +0100 + +Local variables: + mode: debian-changelog + End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e6d8f53 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: sock +Section: ucw +Priority: optional +Maintainer: Martin Mares +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2017a44 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,17 @@ +Sock -- A universal socket tool +Copyright (c) 1998--2001 Martin Mares + +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. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ca68409 --- /dev/null +++ b/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f +# Rules for building of sock Debian/UCW Package +# (c) 2001 Martin Mares + +# 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