Permalink
Browse files

- initial version

svn path=/trunk/bluetooth/; revision=18331
  • Loading branch information...
0 parents commit a9cd25ef135b52160faad1f085395d8b0e99b85b @lslezak lslezak committed Aug 2, 2004
@@ -0,0 +1,20 @@
+Makefile
+Makefile.am
+Makefile.am.common
+Makefile.in
+aclocal.m4
+config.cache
+config.guess
+config.h.in
+config.log
+config.status
+config.sub
+configure
+configure.in
+depcomp
+install-sh
+missing
+mkinstalldirs
+stamp-h
+bluetooth.pot
+autom4te.cache
@@ -0,0 +1 @@
+Ladislav Slezak <lslezak@suse.cz>
@@ -0,0 +1,18 @@
+#
+# Makefile.cvs
+#
+configure: all
+ ./configure
+
+all:
+ y2tool y2autoconf
+ y2tool y2automake
+ autoreconf --force --install
+
+install: configure
+ make
+ make install
+
+reconf: all
+ ./config.status --recheck
+ ./config.status
@@ -0,0 +1 @@
+yast2-bluetooth
@@ -0,0 +1 @@
+2.10.0
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
@@ -0,0 +1,8 @@
+# Makefile.am for bluetooth/agents
+
+agent_SCRIPTS =
+
+scrconf_DATA = bt_hcid.scr \
+ cfg_bluetooth.scr
+
+EXTRA_DIST = $(agent_SCRIPTS) $(scrconf_DATA)
@@ -0,0 +1,39 @@
+/**
+ * File: bt_hcid.scr
+ * Summary: Agent for rading and writing of /etc/bluetooth/hcid.conf file
+ * Author: Ladislav Slezak <lslezak@suse.cz>
+ * Access: read, write
+ *
+ * $Id$
+ *
+ * This file is based on dns_named.conf
+ */
+.bluetooth.hcid
+
+// TODO: INI agent isn't optimal, in this file multiple occurences of one key
+// in one section may be possible, section on one line is handled as a
+// single value, and many many other problems are to be expected....
+// should be replaced in future by some better agent
+
+`ag_ini(
+ `IniAgent( "/etc/bluetooth/hcid.conf",
+ $[
+ "options" : [ "global_values", "repeat_names" ],
+ "comments" : [ "^[ \t]*#.*$", "^[ \t]*$" ],
+ "params" : [
+ $[ "match" : [ "([^ \t]+)[ \t]([^ \t]+(.*[^ \t]+)+)[ \t]*;$", "%s %s;" ]],
+ // (...)* made the agent crash when it did not match,
+ // changed it to ((...)*), #39597
+ // Still don't know why this is here at all
+ $[ "match" : [ "([^ \t]+)((.*[^ \t]+)*)[ \t]*\\{.*\\}[ \t]*;", "%s %s;" ]],
+ ],
+ "sections" : [
+ $[
+ "begin" : [ "[ \t]*([^ \t]+(.*[^ \t]+)*)[ \t]*\\{$", "%s {" ],
+ "end" : [ "^[ \t]*\\}", "}" ],
+ ],
+ ],
+ "subindent" : "\t"
+ ]
+))
+
@@ -0,0 +1,19 @@
+/**
+ * File:
+ * cfg_bluetooth.scr
+ * Summary:
+ * SCR Agent for reading/writing /etc/sysconfig/bluetooth
+ * using the ini-agent
+ * Access:
+ * read/write
+ * Authors:
+ * Ladislav Slezak <lslezak@suse.cz>
+ *
+ * $Id$
+ *
+ */
+.sysconfig.bluetooth
+
+`ag_ini(
+ `SysConfigFile("/etc/sysconfig/bluetooth")
+)
@@ -0,0 +1,12 @@
+## YCP module configure.in.in
+
+## Initialize
+@YAST2-INIT-COMMON@
+@YAST2-INIT-YCP@
+
+## some common checks
+@YAST2-CHECKS-COMMON@
+@YAST2-CHECKS-YCP@
+
+## and generate the output...
+@YAST2-OUTPUT@
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
@@ -0,0 +1,10 @@
+# Makefile.am for bluetooth/doc
+
+SUBDIRS = autodocs
+
+htmldir = $(docdir)
+
+doc_DATA =
+html_DATA =
+
+EXTRA_DIST = $(doc_DATA) $(html_DATA)
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.ybc
+.dep
Oops, something went wrong.

0 comments on commit a9cd25e

Please sign in to comment.