summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-29 22:27:12 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-29 22:27:12 +0000
commitaf91bad80841987a8634fd61e890c488e3dcaac5 (patch)
tree5a33227d1a3bba68900b688353d89b7690169db2
parent2ae5a722d2c5d6de65e6cb839b1b97e99f70f787 (diff)
add debian stuff
git-svn-id: file:///home/lennart/svn/public/bidilink/trunk@12 9cde1c1d-e4d0-0310-8a68-bf217395ea82
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control23
-rw-r--r--debian/copyright13
-rw-r--r--debian/dirs2
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules107
7 files changed, 153 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8faf3c1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+bidilink (0.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Lennart Poettering <mzovqvyvax@0pointer.de> Thu, 29 Jul 2004 23:58:42 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d67606b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: bidilink
+Section: utils
+Priority: optional
+Maintainer: Lennart Poettering <mzovqvyvax@0pointer.de>
+Build-Depends: debhelper (>= 4.0.0), xmltoman, lynx
+Standards-Version: 3.6.0
+
+Package: bidilink
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: a general purpose Unix tool for linking two bidirectional data streams
+ bidilink is a general purpose Unix tool for linking two bidirectional data streams.
+ It extends the standard Unix "filter" paradigma to bidrectional streams.
+ .
+ It has the following stream drivers:
+ * std: - STDIN, STDOUT of the process
+ * exec:PROGRAM - fork() off a process and use its STDIN and STDOUT
+ * tty:TTYDEVICE - Open a TTY device (like a serial port) as client
+ * pty:[PTYNAME] - Allocate a pseudo TTY device as master
+ * tcp-client:HOSTNAME:PORT - Connect to another or the local host via TCP/IP
+ * tcp-server:[IPADDRESS:]PORT - Listen on a local port and wait for an incoming connection
+ * unix-client:SOCKNAME - Connect to a local Unix domain socket
+ * unix-server:SOCKNAME - Listen on a local Unix domain socket
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..21eb877
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by Lennart Poettering <mzovqvyvax@0pointer.de> on
+Thu, 29 Jul 2004 23:58:42 +0200.
+
+It was downloaded from http://0pointer.de/lennart/projects/bidilink/
+
+Upstream Author(s): Lennart Poettering
+
+Copyright:
+
+You are free to distribute this software under the terms of the GNU
+General Public License. On Debian systems, the complete text of the
+GNU General Public License can be found in the file
+`/usr/share/common-licenses/GPL'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..ca882bb
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..eea69cd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,107 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #/usr/bin/docbook-to-man debian/bidilink.sgml > bidilink.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/bidilink.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/bidilink
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+# dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install