]> mj.ucw.cz Git - sock.git/commitdiff
Debianized.
authorMartin Mares <mj@ucw.cz>
Tue, 12 Jun 2001 12:37:05 +0000 (12:37 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 12 Jun 2001 12:37:05 +0000 (12:37 +0000)
ChangeLog
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 0ffa77f056a260a58d5b41dd44cb0a55478af3eb..e894dc7627bec034521281b2f99ca4d9510cce85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
        * Released as version 1.1.
 
 
        * 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).
        * 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 (file)
index 0000000..afd5e8e
--- /dev/null
@@ -0,0 +1,9 @@
+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:
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..e6d8f53
--- /dev/null
@@ -0,0 +1,12 @@
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..2017a44
--- /dev/null
@@ -0,0 +1,17 @@
+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.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..ca68409
--- /dev/null
@@ -0,0 +1,52 @@
+#!/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