From 11aae73b301b6791d11bd974ab301bd2b20bba55 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Sun, 27 Jul 2008 14:29:05 +0000 Subject: [PATCH] Added debian packaging files for btpasskey --- packaging/btpasskey-debian/README.Debian | 6 ++ .../btpasskey-debian/btpasskey.substvars | 1 + packaging/btpasskey-debian/changelog | 6 ++ packaging/btpasskey-debian/compat | 1 + packaging/btpasskey-debian/control | 14 +++ packaging/btpasskey-debian/copyright | 19 ++++ packaging/btpasskey-debian/dirs | 2 + packaging/btpasskey-debian/docs | 0 packaging/btpasskey-debian/files | 1 + packaging/btpasskey-debian/rules | 98 +++++++++++++++++++ 10 files changed, 148 insertions(+) create mode 100644 packaging/btpasskey-debian/README.Debian create mode 100644 packaging/btpasskey-debian/btpasskey.substvars create mode 100644 packaging/btpasskey-debian/changelog create mode 100644 packaging/btpasskey-debian/compat create mode 100644 packaging/btpasskey-debian/control create mode 100644 packaging/btpasskey-debian/copyright create mode 100644 packaging/btpasskey-debian/dirs create mode 100644 packaging/btpasskey-debian/docs create mode 100644 packaging/btpasskey-debian/files create mode 100755 packaging/btpasskey-debian/rules diff --git a/packaging/btpasskey-debian/README.Debian b/packaging/btpasskey-debian/README.Debian new file mode 100644 index 0000000..5cc6c38 --- /dev/null +++ b/packaging/btpasskey-debian/README.Debian @@ -0,0 +1,6 @@ +btpasskey for Debian +-------------------- + +This program is initially developed for Debian etch + + -- Victor Wagner Sun, 11 Nov 2007 22:22:00 +0300 diff --git a/packaging/btpasskey-debian/btpasskey.substvars b/packaging/btpasskey-debian/btpasskey.substvars new file mode 100644 index 0000000..2852127 --- /dev/null +++ b/packaging/btpasskey-debian/btpasskey.substvars @@ -0,0 +1 @@ +shlibs:Depends=libbluetooth2 (>= 3.0), libc6 (>= 2.3.6-6), libdbus-1-3 (>= 0.94) diff --git a/packaging/btpasskey-debian/changelog b/packaging/btpasskey-debian/changelog new file mode 100644 index 0000000..8490305 --- /dev/null +++ b/packaging/btpasskey-debian/changelog @@ -0,0 +1,6 @@ +btpasskey (1.0-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Victor Wagner Sun, 11 Nov 2007 22:22:00 +0300 + diff --git a/packaging/btpasskey-debian/compat b/packaging/btpasskey-debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/packaging/btpasskey-debian/compat @@ -0,0 +1 @@ +5 diff --git a/packaging/btpasskey-debian/control b/packaging/btpasskey-debian/control new file mode 100644 index 0000000..6dabbed --- /dev/null +++ b/packaging/btpasskey-debian/control @@ -0,0 +1,14 @@ +Source: btpasskey +Section: unknown +Priority: extra +Maintainer: Victor Wagner +Build-Depends: debhelper (>= 5), libdbus-1-dev, libbluetooth-dev +Standards-Version: 3.7.2 + +Package: btpasskey +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Command-line passkey agent for bluez linux stack + btpasskey is small program which listens on D-BUS, and when passkey for + pairing is requested, prints message on stdout and expects passkey to + be entered from stdin diff --git a/packaging/btpasskey-debian/copyright b/packaging/btpasskey-debian/copyright new file mode 100644 index 0000000..199857a --- /dev/null +++ b/packaging/btpasskey-debian/copyright @@ -0,0 +1,19 @@ +This package was debianized by Victor Wagner on +Sun, 11 Nov 2007 22:22:00 +0300. + +It was never downloaded. Original site is debian-cosy repository +http://ftp.wagner.pp.ru/pub/debian-cosy/dists/etch/local + +Upstream Author: Victor Wagner + +Copyright: 2007, Victor Wagner + +License: + +GPL + +The Debian packaging is (C) 2007, Victor Wagner and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + + + diff --git a/packaging/btpasskey-debian/dirs b/packaging/btpasskey-debian/dirs new file mode 100644 index 0000000..98d1583 --- /dev/null +++ b/packaging/btpasskey-debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 diff --git a/packaging/btpasskey-debian/docs b/packaging/btpasskey-debian/docs new file mode 100644 index 0000000..e69de29 diff --git a/packaging/btpasskey-debian/files b/packaging/btpasskey-debian/files new file mode 100644 index 0000000..fc31fd9 --- /dev/null +++ b/packaging/btpasskey-debian/files @@ -0,0 +1 @@ +btpasskey_1.0-1_i386.deb unknown extra diff --git a/packaging/btpasskey-debian/rules b/packaging/btpasskey-debian/rules new file mode 100755 index 0000000..83f852d --- /dev/null +++ b/packaging/btpasskey-debian/rules @@ -0,0 +1,98 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/btpasskey.sgml > btpasskey.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/btpasskey. + $(MAKE) DESTDIR=$(CURDIR)/debian/btpasskey install + + +# 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_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman btpasskey.1 + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# 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 configure -- 2.39.2