[Pkg-bluetooth-commits] r758 - in /packages/bluez-utils/trunk/debian: README.Debian changelog passkey-agent-makefile patches/007_always_default_passkey_agent.patch
filippo at users.alioth.debian.org
filippo at users.alioth.debian.org
Mon Oct 6 13:51:53 UTC 2008
Author: filippo
Date: Mon Oct 6 13:51:53 2008
New Revision: 758
URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=758
Log:
Add patch to always make example passkey-agent register as default agent,
as otherwise it wouldn't work (Closes: #501222)
Added:
packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch
Modified:
packages/bluez-utils/trunk/debian/README.Debian
packages/bluez-utils/trunk/debian/changelog
packages/bluez-utils/trunk/debian/passkey-agent-makefile
Modified: packages/bluez-utils/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez-utils/trunk/debian/README.Debian?rev=758&op=diff
==============================================================================
--- packages/bluez-utils/trunk/debian/README.Debian (original)
+++ packages/bluez-utils/trunk/debian/README.Debian Mon Oct 6 13:51:53 2008
@@ -38,9 +38,11 @@
PIN (or passkey) management
---------------------------
-For asking a PIN when necessary a passkey agent is required, the
-bluez-gnome provides one, another one is provided as an example in
-/usr/share/doc/bluez-utils/examples/passkey-agent.c
+For asking a PIN when necessary a passkey agent is required, the bluez-gnome
+package provides one, another one is provided as an example in
+/usr/share/doc/bluez-utils/examples/passkey-agent.c After compilation launch as
+"./passkey-agent <your_passkey>"
+
The old infrastructure /etc/bluetooth/passkey has been removed since the agent
is supposed to be started by a user session. It is not meant to be system-wide.
Modified: packages/bluez-utils/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez-utils/trunk/debian/changelog?rev=758&op=diff
==============================================================================
--- packages/bluez-utils/trunk/debian/changelog (original)
+++ packages/bluez-utils/trunk/debian/changelog Mon Oct 6 13:51:53 2008
@@ -1,3 +1,10 @@
+bluez-utils (3.36-2) unstable; urgency=medium
+
+ * Add patch to always make example passkey-agent register as default agent,
+ as otherwise it wouldn't work (Closes: #501222)
+
+ -- Filippo Giunchedi <filippo at debian.org> Mon, 06 Oct 2008 15:50:11 +0200
+
bluez-utils (3.36-1) unstable; urgency=medium
* New upstream version
Modified: packages/bluez-utils/trunk/debian/passkey-agent-makefile
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez-utils/trunk/debian/passkey-agent-makefile?rev=758&op=diff
==============================================================================
--- packages/bluez-utils/trunk/debian/passkey-agent-makefile (original)
+++ packages/bluez-utils/trunk/debian/passkey-agent-makefile Mon Oct 6 13:51:53 2008
@@ -1,3 +1,4 @@
# this Makefile is for building passkey-agent.c, it depends on pkg-config libdbus-1-dev (and build-essential) packages
+# After compilation launch as "./passkey-agent <your_passkey>"
passkey-agent: passkey-agent.c
$(CC) `pkg-config --libs --cflags dbus-1` -DDBUS_API_SUBJECT_TO_CHANGE -DVERSION="\"unknown\"" -o passkey-agent passkey-agent.c
Added: packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch?rev=758&op=file
==============================================================================
--- packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch (added)
+++ packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch Mon Oct 6 13:51:53 2008
@@ -1,0 +1,20 @@
+--- test/passkey-agent.c
++++ test/passkey-agent.c
+@@ -310,7 +310,7 @@
+ printf("Bluetooth passkey agent ver %s\n\n", VERSION);
+
+ printf("Usage:\n"
+- "\tpasskey-agent [--default] [--path agent-path] <passkey> [address]\n"
++ "\tpasskey-agent [--path agent-path] <passkey>\n"
+ "\n");
+ }
+
+@@ -327,7 +327,7 @@
+ struct sigaction sa;
+ DBusConnection *conn;
+ char match_string[128], default_path[128], *agent_path = NULL;
+- int opt, use_default = 0;
++ int opt, use_default = 1;
+
+ snprintf(default_path, sizeof(default_path),
+ "/org/bluez/passkey_agent_%d", getpid());
More information about the Pkg-bluetooth-commits
mailing list