From 2c1b94f009d834408dce67d1cc97a840b2e94f2e Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 13 Aug 2008 05:57:37 +0200 Subject: [PATCH] Add blootooth stack and experimental bluetooth cellphone/modem for red --- config/rootfiles/packages/bluez | 69 +++++++++ config/rootfiles/packages/dbus | 53 +++++++ config/rootfiles/packages/glib | 246 ++++++++++++++++++++++-------- doc/packages-list.txt | 4 +- html/cgi-bin/pppsetup.cgi | 6 +- lfs/bluez | 109 +++++++++++++ lfs/dbus | 85 +++++++++++ lfs/glib | 7 +- lfs/initscripts | 6 + make.sh | 2 + src/initscripts/init.d/bluetooth | 53 +++++++ src/initscripts/init.d/messagebus | 45 ++++++ src/paks/dbus/install.sh | 27 ++++ src/paks/dbus/uninstall.sh | 26 ++++ src/paks/dbus/update.sh | 24 +++ 15 files changed, 689 insertions(+), 73 deletions(-) create mode 100644 config/rootfiles/packages/bluez create mode 100644 config/rootfiles/packages/dbus create mode 100644 lfs/bluez create mode 100644 lfs/dbus create mode 100644 src/initscripts/init.d/bluetooth create mode 100644 src/initscripts/init.d/messagebus create mode 100644 src/paks/dbus/install.sh create mode 100644 src/paks/dbus/uninstall.sh create mode 100644 src/paks/dbus/update.sh diff --git a/config/rootfiles/packages/bluez b/config/rootfiles/packages/bluez new file mode 100644 index 0000000000..188292b4ba --- /dev/null +++ b/config/rootfiles/packages/bluez @@ -0,0 +1,69 @@ +etc/rc.d/init.d/bluetooth +etc/rc.d/rc3.d/S16bluetooth +etc/rc.d/rc0.d/K84bluetooth +etc/rc.d/rc6.d/K84bluetooth +#etc/bluetooth +etc/bluetooth/hcid.conf +etc/bluetooth/rfcomm.conf +etc/dbus-1/system.d/bluetooth.conf +lib/firmware/BCM-LEGAL.txt +lib/firmware/BCM2033-FW.bin +lib/firmware/BCM2033-MD.hex +lib/firmware/STLC2500_R4_00_03.ptc +lib/firmware/STLC2500_R4_00_06.ssf +lib/firmware/STLC2500_R4_02_02_WLAN.ssf +lib/firmware/STLC2500_R4_02_04.ptc +usr/bin/ciptool +usr/bin/hcitool +usr/bin/l2ping +usr/bin/rfcomm +usr/bin/sdptool +usr/bin/passkey-agent +#usr/include/bluetooth +#usr/include/bluetooth/bluetooth.h +#usr/include/bluetooth/bnep.h +#usr/include/bluetooth/cmtp.h +#usr/include/bluetooth/hci.h +#usr/include/bluetooth/hci_lib.h +#usr/include/bluetooth/hidp.h +#usr/include/bluetooth/l2cap.h +#usr/include/bluetooth/rfcomm.h +#usr/include/bluetooth/sco.h +#usr/include/bluetooth/sdp.h +#usr/include/bluetooth/sdp_lib.h +#usr/lib/alsa-lib/libasound_module_ctl_bluetooth.la +usr/lib/alsa-lib/libasound_module_ctl_bluetooth.so +#usr/lib/alsa-lib/libasound_module_pcm_bluetooth.la +usr/lib/alsa-lib/libasound_module_pcm_bluetooth.so +#usr/lib/bluetooth +#usr/lib/bluetooth/plugins +#usr/lib/bluetooth/plugins/audio.la +usr/lib/bluetooth/plugins/audio.so +#usr/lib/bluetooth/plugins/input.la +usr/lib/bluetooth/plugins/input.so +#usr/lib/bluetooth/plugins/network.la +usr/lib/bluetooth/plugins/network.so +#usr/lib/bluetooth/plugins/serial.la +usr/lib/bluetooth/plugins/serial.so +#usr/lib/libbluetooth.a +#usr/lib/libbluetooth.la +usr/lib/libbluetooth.so +usr/lib/libbluetooth.so.2 +usr/lib/libbluetooth.so.2.11.2 +#usr/lib/pkgconfig/bluez.pc +usr/sbin/hciattach +usr/sbin/hciconfig +usr/sbin/hcid +usr/sbin/hcidump +#usr/share/aclocal/bluez.m4 +#usr/share/man/man1/ciptool.1 +#usr/share/man/man1/hcitool.1 +#usr/share/man/man1/l2ping.1 +#usr/share/man/man1/rfcomm.1 +#usr/share/man/man1/sdptool.1 +#usr/share/man/man5/hcid.conf.5 +#usr/share/man/man8/hciattach.8 +#usr/share/man/man8/hciconfig.8 +#usr/share/man/man8/hcid.8 +#usr/share/man/man8/hcidump.8 +var/lib/bluetooth diff --git a/config/rootfiles/packages/dbus b/config/rootfiles/packages/dbus new file mode 100644 index 0000000000..2d31a13d88 --- /dev/null +++ b/config/rootfiles/packages/dbus @@ -0,0 +1,53 @@ +etc/rc.d/init.d/messagebus +etc/rc.d/rc3.d/S15messagebus +etc/rc.d/rc0.d/K85messagebus +etc/rc.d/rc6.d/K85messagebus +#etc/dbus-1 +etc/dbus-1/session.conf +etc/dbus-1/session.d +etc/dbus-1/system.conf +etc/dbus-1/system.d +usr/bin/dbus-cleanup-sockets +usr/bin/dbus-daemon +usr/bin/dbus-launch +usr/bin/dbus-monitor +usr/bin/dbus-send +usr/bin/dbus-uuidgen +#usr/include/dbus-1.0 +#usr/include/dbus-1.0/dbus +#usr/include/dbus-1.0/dbus/dbus-address.h +#usr/include/dbus-1.0/dbus/dbus-bus.h +#usr/include/dbus-1.0/dbus/dbus-connection.h +#usr/include/dbus-1.0/dbus/dbus-errors.h +#usr/include/dbus-1.0/dbus/dbus-macros.h +#usr/include/dbus-1.0/dbus/dbus-memory.h +#usr/include/dbus-1.0/dbus/dbus-message.h +#usr/include/dbus-1.0/dbus/dbus-misc.h +#usr/include/dbus-1.0/dbus/dbus-pending-call.h +#usr/include/dbus-1.0/dbus/dbus-protocol.h +#usr/include/dbus-1.0/dbus/dbus-server.h +#usr/include/dbus-1.0/dbus/dbus-shared.h +#usr/include/dbus-1.0/dbus/dbus-signature.h +#usr/include/dbus-1.0/dbus/dbus-threads.h +#usr/include/dbus-1.0/dbus/dbus-types.h +#usr/include/dbus-1.0/dbus/dbus.h +#usr/lib/dbus-1.0 +#usr/lib/dbus-1.0/include +#usr/lib/dbus-1.0/include/dbus +#usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h +#usr/lib/libdbus-1.a +#usr/lib/libdbus-1.la +usr/lib/libdbus-1.so +usr/lib/libdbus-1.so.3 +usr/lib/libdbus-1.so.3.2.0 +#usr/lib/pkgconfig/dbus-1.pc +#usr/share/dbus-1 +usr/share/dbus-1/services +#usr/share/man/man1/dbus-cleanup-sockets.1 +#usr/share/man/man1/dbus-daemon.1 +#usr/share/man/man1/dbus-launch.1 +#usr/share/man/man1/dbus-monitor.1 +#usr/share/man/man1/dbus-send.1 +#usr/share/man/man1/dbus-uuidgen.1 +var/lib/dbus +var/run/dbus diff --git a/config/rootfiles/packages/glib b/config/rootfiles/packages/glib index 7fb52aa839..fe0ec97b44 100644 --- a/config/rootfiles/packages/glib +++ b/config/rootfiles/packages/glib @@ -2,7 +2,56 @@ #usr/bin/glib-gettextize #usr/bin/glib-mkenums #usr/bin/gobject-query +#usr/bin/gtester +#usr/bin/gtester-report +#usr/include/gio-unix-2.0 +#usr/include/gio-unix-2.0/gio +#usr/include/gio-unix-2.0/gio/gdesktopappinfo.h +#usr/include/gio-unix-2.0/gio/gunixinputstream.h +#usr/include/gio-unix-2.0/gio/gunixmounts.h +#usr/include/gio-unix-2.0/gio/gunixoutputstream.h #usr/include/glib-2.0 +#usr/include/glib-2.0/gio +#usr/include/glib-2.0/gio/gappinfo.h +#usr/include/glib-2.0/gio/gasyncresult.h +#usr/include/glib-2.0/gio/gbufferedinputstream.h +#usr/include/glib-2.0/gio/gbufferedoutputstream.h +#usr/include/glib-2.0/gio/gcancellable.h +#usr/include/glib-2.0/gio/gcontenttype.h +#usr/include/glib-2.0/gio/gdatainputstream.h +#usr/include/glib-2.0/gio/gdataoutputstream.h +#usr/include/glib-2.0/gio/gdrive.h +#usr/include/glib-2.0/gio/gfile.h +#usr/include/glib-2.0/gio/gfileattribute.h +#usr/include/glib-2.0/gio/gfileenumerator.h +#usr/include/glib-2.0/gio/gfileicon.h +#usr/include/glib-2.0/gio/gfileinfo.h +#usr/include/glib-2.0/gio/gfileinputstream.h +#usr/include/glib-2.0/gio/gfilemonitor.h +#usr/include/glib-2.0/gio/gfilenamecompleter.h +#usr/include/glib-2.0/gio/gfileoutputstream.h +#usr/include/glib-2.0/gio/gfilterinputstream.h +#usr/include/glib-2.0/gio/gfilteroutputstream.h +#usr/include/glib-2.0/gio/gicon.h +#usr/include/glib-2.0/gio/ginputstream.h +#usr/include/glib-2.0/gio/gio.h +#usr/include/glib-2.0/gio/gioenumtypes.h +#usr/include/glib-2.0/gio/gioerror.h +#usr/include/glib-2.0/gio/giomodule.h +#usr/include/glib-2.0/gio/gioscheduler.h +#usr/include/glib-2.0/gio/gloadableicon.h +#usr/include/glib-2.0/gio/gmemoryinputstream.h +#usr/include/glib-2.0/gio/gmemoryoutputstream.h +#usr/include/glib-2.0/gio/gmount.h +#usr/include/glib-2.0/gio/gmountoperation.h +#usr/include/glib-2.0/gio/gnativevolumemonitor.h +#usr/include/glib-2.0/gio/goutputstream.h +#usr/include/glib-2.0/gio/gseekable.h +#usr/include/glib-2.0/gio/gsimpleasyncresult.h +#usr/include/glib-2.0/gio/gthemedicon.h +#usr/include/glib-2.0/gio/gvfs.h +#usr/include/glib-2.0/gio/gvolume.h +#usr/include/glib-2.0/gio/gvolumemonitor.h #usr/include/glib-2.0/glib #usr/include/glib-2.0/glib-object.h #usr/include/glib-2.0/glib.h @@ -11,7 +60,10 @@ #usr/include/glib-2.0/glib/gasyncqueue.h #usr/include/glib-2.0/glib/gatomic.h #usr/include/glib-2.0/glib/gbacktrace.h +#usr/include/glib-2.0/glib/gbase64.h +#usr/include/glib-2.0/glib/gbookmarkfile.h #usr/include/glib-2.0/glib/gcache.h +#usr/include/glib-2.0/glib/gchecksum.h #usr/include/glib-2.0/glib/gcompletion.h #usr/include/glib-2.0/glib/gconvert.h #usr/include/glib-2.0/glib/gdataset.h @@ -41,8 +93,10 @@ #usr/include/glib-2.0/glib/gquark.h #usr/include/glib-2.0/glib/gqueue.h #usr/include/glib-2.0/glib/grand.h +#usr/include/glib-2.0/glib/gregex.h #usr/include/glib-2.0/glib/grel.h #usr/include/glib-2.0/glib/gscanner.h +#usr/include/glib-2.0/glib/gsequence.h #usr/include/glib-2.0/glib/gshell.h #usr/include/glib-2.0/glib/gslice.h #usr/include/glib-2.0/glib/gslist.h @@ -50,12 +104,14 @@ #usr/include/glib-2.0/glib/gstdio.h #usr/include/glib-2.0/glib/gstrfuncs.h #usr/include/glib-2.0/glib/gstring.h +#usr/include/glib-2.0/glib/gtestutils.h #usr/include/glib-2.0/glib/gthread.h #usr/include/glib-2.0/glib/gthreadpool.h #usr/include/glib-2.0/glib/gtimer.h #usr/include/glib-2.0/glib/gtree.h #usr/include/glib-2.0/glib/gtypes.h #usr/include/glib-2.0/glib/gunicode.h +#usr/include/glib-2.0/glib/gurifuncs.h #usr/include/glib-2.0/glib/gutils.h #usr/include/glib-2.0/glib/gwin32.h #usr/include/glib-2.0/gmodule.h @@ -80,32 +136,34 @@ #usr/lib/glib-2.0 #usr/lib/glib-2.0/include #usr/lib/glib-2.0/include/glibconfig.h +#usr/lib/libgio-2.0.la +usr/lib/libgio-2.0.so +usr/lib/libgio-2.0.so.0 +usr/lib/libgio-2.0.so.0.0.0 #usr/lib/libglib-2.0.la usr/lib/libglib-2.0.so usr/lib/libglib-2.0.so.0 -usr/lib/libglib-2.0.so.0.902.4 +usr/lib/libglib-2.0.so.0.1600.5 #usr/lib/libgmodule-2.0.la usr/lib/libgmodule-2.0.so usr/lib/libgmodule-2.0.so.0 -usr/lib/libgmodule-2.0.so.0.902.4 +usr/lib/libgmodule-2.0.so.0.1600.5 #usr/lib/libgobject-2.0.la usr/lib/libgobject-2.0.so usr/lib/libgobject-2.0.so.0 -usr/lib/libgobject-2.0.so.0.902.4 +usr/lib/libgobject-2.0.so.0.1600.5 #usr/lib/libgthread-2.0.la usr/lib/libgthread-2.0.so usr/lib/libgthread-2.0.so.0 -usr/lib/libgthread-2.0.so.0.902.4 +usr/lib/libgthread-2.0.so.0.1600.5 +#usr/lib/pkgconfig/gio-2.0.pc +#usr/lib/pkgconfig/gio-unix-2.0.pc #usr/lib/pkgconfig/glib-2.0.pc #usr/lib/pkgconfig/gmodule-2.0.pc #usr/lib/pkgconfig/gmodule-export-2.0.pc #usr/lib/pkgconfig/gmodule-no-export-2.0.pc #usr/lib/pkgconfig/gobject-2.0.pc #usr/lib/pkgconfig/gthread-2.0.pc -#usr/man/man1/glib-genmarshal.1 -#usr/man/man1/glib-gettextize.1 -#usr/man/man1/glib-mkenums.1 -#usr/man/man1/gobject-query.1 #usr/share/aclocal/glib-2.0.m4 #usr/share/aclocal/glib-gettext.m4 #usr/share/glib-2.0 @@ -113,6 +171,81 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/glib-2.0/gettext/mkinstalldirs #usr/share/glib-2.0/gettext/po #usr/share/glib-2.0/gettext/po/Makefile.in.in +#usr/share/gtk-doc/html/gio +#usr/share/gtk-doc/html/gio/GAppInfo.html +#usr/share/gtk-doc/html/gio/GAsyncResult.html +#usr/share/gtk-doc/html/gio/GBufferedInputStream.html +#usr/share/gtk-doc/html/gio/GBufferedOutputStream.html +#usr/share/gtk-doc/html/gio/GCancellable.html +#usr/share/gtk-doc/html/gio/GDataInputStream.html +#usr/share/gtk-doc/html/gio/GDataOutputStream.html +#usr/share/gtk-doc/html/gio/GDrive.html +#usr/share/gtk-doc/html/gio/GFile.html +#usr/share/gtk-doc/html/gio/GFileEnumerator.html +#usr/share/gtk-doc/html/gio/GFileIcon.html +#usr/share/gtk-doc/html/gio/GFileInfo.html +#usr/share/gtk-doc/html/gio/GFileInputStream.html +#usr/share/gtk-doc/html/gio/GFileMonitor.html +#usr/share/gtk-doc/html/gio/GFileOutputStream.html +#usr/share/gtk-doc/html/gio/GFilenameCompleter.html +#usr/share/gtk-doc/html/gio/GFilterInputStream.html +#usr/share/gtk-doc/html/gio/GFilterOutputStream.html +#usr/share/gtk-doc/html/gio/GIOModule.html +#usr/share/gtk-doc/html/gio/GIcon.html +#usr/share/gtk-doc/html/gio/GInputStream.html +#usr/share/gtk-doc/html/gio/GLoadableIcon.html +#usr/share/gtk-doc/html/gio/GMemoryInputStream.html +#usr/share/gtk-doc/html/gio/GMemoryOutputStream.html +#usr/share/gtk-doc/html/gio/GMount.html +#usr/share/gtk-doc/html/gio/GMountOperation.html +#usr/share/gtk-doc/html/gio/GOutputStream.html +#usr/share/gtk-doc/html/gio/GSeekable.html +#usr/share/gtk-doc/html/gio/GSimpleAsyncResult.html +#usr/share/gtk-doc/html/gio/GThemedIcon.html +#usr/share/gtk-doc/html/gio/GUnixInputStream.html +#usr/share/gtk-doc/html/gio/GUnixOutputStream.html +#usr/share/gtk-doc/html/gio/GVfs.html +#usr/share/gtk-doc/html/gio/GVolume.html +#usr/share/gtk-doc/html/gio/GVolumeMonitor.html +#usr/share/gtk-doc/html/gio/async.html +#usr/share/gtk-doc/html/gio/ch01.html +#usr/share/gtk-doc/html/gio/ch02.html +#usr/share/gtk-doc/html/gio/ch03.html +#usr/share/gtk-doc/html/gio/ch14.html +#usr/share/gtk-doc/html/gio/ch15.html +#usr/share/gtk-doc/html/gio/ch15s02.html +#usr/share/gtk-doc/html/gio/ch15s03.html +#usr/share/gtk-doc/html/gio/extending.html +#usr/share/gtk-doc/html/gio/file_mon.html +#usr/share/gtk-doc/html/gio/file_ops.html +#usr/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +#usr/share/gtk-doc/html/gio/gio-Extension-Points.html +#usr/share/gtk-doc/html/gio/gio-GContentType.html +#usr/share/gtk-doc/html/gio/gio-GFileAttribute.html +#usr/share/gtk-doc/html/gio/gio-GIOError.html +#usr/share/gtk-doc/html/gio/gio-GIOScheduler.html +#usr/share/gtk-doc/html/gio/gio-Unix-Mounts.html +#usr/share/gtk-doc/html/gio/gio-extension-points.html +#usr/share/gtk-doc/html/gio/gio-hierarchy.html +#usr/share/gtk-doc/html/gio/gio.devhelp +#usr/share/gtk-doc/html/gio/gio.devhelp2 +#usr/share/gtk-doc/html/gio/gvfs-overview.png +#usr/share/gtk-doc/html/gio/home.png +#usr/share/gtk-doc/html/gio/icons.html +#usr/share/gtk-doc/html/gio/index.html +#usr/share/gtk-doc/html/gio/index.sgml +#usr/share/gtk-doc/html/gio/ix01.html +#usr/share/gtk-doc/html/gio/left.png +#usr/share/gtk-doc/html/gio/migrating.html +#usr/share/gtk-doc/html/gio/pt01.html +#usr/share/gtk-doc/html/gio/pt02.html +#usr/share/gtk-doc/html/gio/right.png +#usr/share/gtk-doc/html/gio/streaming.html +#usr/share/gtk-doc/html/gio/style.css +#usr/share/gtk-doc/html/gio/types.html +#usr/share/gtk-doc/html/gio/up.png +#usr/share/gtk-doc/html/gio/utils.html +#usr/share/gtk-doc/html/gio/volume_mon.html #usr/share/gtk-doc/html/glib #usr/share/gtk-doc/html/glib/file-name-encodings.png #usr/share/gtk-doc/html/glib/glib-Arrays.html @@ -120,12 +253,15 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/gtk-doc/html/glib/glib-Atomic-Operations.html #usr/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html #usr/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +#usr/share/gtk-doc/html/glib/glib-Base64-Encoding.html #usr/share/gtk-doc/html/glib/glib-Basic-Types.html +#usr/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html #usr/share/gtk-doc/html/glib/glib-Byte-Arrays.html #usr/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html #usr/share/gtk-doc/html/glib/glib-Caches.html #usr/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html #usr/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +#usr/share/gtk-doc/html/glib/glib-Data-Checksums.html #usr/share/gtk-doc/html/glib/glib-Datasets.html #usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html #usr/share/gtk-doc/html/glib/glib-Double-ended-Queues.html @@ -151,10 +287,12 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html #usr/share/gtk-doc/html/glib/glib-N-ary-Trees.html #usr/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +#usr/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html #usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html #usr/share/gtk-doc/html/glib/glib-Quarks.html #usr/share/gtk-doc/html/glib/glib-Random-Numbers.html #usr/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +#usr/share/gtk-doc/html/glib/glib-Sequences.html #usr/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html #usr/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html #usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html @@ -163,12 +301,14 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/gtk-doc/html/glib/glib-String-Chunks.html #usr/share/gtk-doc/html/glib/glib-String-Utility-Functions.html #usr/share/gtk-doc/html/glib/glib-Strings.html +#usr/share/gtk-doc/html/glib/glib-Testing.html #usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html #usr/share/gtk-doc/html/glib/glib-Thread-Pools.html #usr/share/gtk-doc/html/glib/glib-Threads.html #usr/share/gtk-doc/html/glib/glib-Timers.html #usr/share/gtk-doc/html/glib/glib-Trash-Stacks.html #usr/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +#usr/share/gtk-doc/html/glib/glib-URI-Functions.html #usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html #usr/share/gtk-doc/html/glib/glib-Version-Information.html #usr/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html @@ -181,6 +321,7 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/gtk-doc/html/glib/glib-data-types.html #usr/share/gtk-doc/html/glib/glib-fundamentals.html #usr/share/gtk-doc/html/glib/glib-gettextize.html +#usr/share/gtk-doc/html/glib/glib-regex-syntax.html #usr/share/gtk-doc/html/glib/glib-resources.html #usr/share/gtk-doc/html/glib/glib-running.html #usr/share/gtk-doc/html/glib/glib-utilities.html @@ -197,6 +338,9 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/gtk-doc/html/glib/ix05.html #usr/share/gtk-doc/html/glib/ix06.html #usr/share/gtk-doc/html/glib/ix07.html +#usr/share/gtk-doc/html/glib/ix08.html +#usr/share/gtk-doc/html/glib/ix09.html +#usr/share/gtk-doc/html/glib/ix10.html #usr/share/gtk-doc/html/glib/left.png #usr/share/gtk-doc/html/glib/mainloop-states.gif #usr/share/gtk-doc/html/glib/right.png @@ -206,13 +350,13 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/gtk-doc/html/gobject #usr/share/gtk-doc/html/gobject/GTypeModule.html #usr/share/gtk-doc/html/gobject/GTypePlugin.html -#usr/share/gtk-doc/html/gobject/ch01.html #usr/share/gtk-doc/html/gobject/ch01s02.html -#usr/share/gtk-doc/html/gobject/ch02.html #usr/share/gtk-doc/html/gobject/ch06s03.html #usr/share/gtk-doc/html/gobject/ch07s02.html #usr/share/gtk-doc/html/gobject/ch07s03.html #usr/share/gtk-doc/html/gobject/chapter-gobject.html +#usr/share/gtk-doc/html/gobject/chapter-gtype.html +#usr/share/gtk-doc/html/gobject/chapter-intro.html #usr/share/gtk-doc/html/gobject/chapter-signal.html #usr/share/gtk-doc/html/gobject/glib-genmarshal.html #usr/share/gtk-doc/html/gobject/glib-mkenums.html @@ -257,6 +401,8 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/gtk-doc/html/gobject/ix05.html #usr/share/gtk-doc/html/gobject/ix06.html #usr/share/gtk-doc/html/gobject/ix07.html +#usr/share/gtk-doc/html/gobject/ix08.html +#usr/share/gtk-doc/html/gobject/ix09.html #usr/share/gtk-doc/html/gobject/left.png #usr/share/gtk-doc/html/gobject/pr01.html #usr/share/gtk-doc/html/gobject/pt01.html @@ -275,29 +421,27 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/locale/am #usr/share/locale/am/LC_MESSAGES #usr/share/locale/am/LC_MESSAGES/glib20.mo -#usr/share/locale/ar -#usr/share/locale/ar/LC_MESSAGES #usr/share/locale/ar/LC_MESSAGES/glib20.mo +#usr/share/locale/as/LC_MESSAGES/glib20.mo #usr/share/locale/az #usr/share/locale/az/LC_MESSAGES #usr/share/locale/az/LC_MESSAGES/glib20.mo #usr/share/locale/be/LC_MESSAGES/glib20.mo -#usr/share/locale/bg -#usr/share/locale/bg/LC_MESSAGES +#usr/share/locale/be@latin +#usr/share/locale/be@latin/LC_MESSAGES +#usr/share/locale/be@latin/LC_MESSAGES/glib20.mo #usr/share/locale/bg/LC_MESSAGES/glib20.mo -#usr/share/locale/bn -#usr/share/locale/bn/LC_MESSAGES #usr/share/locale/bn/LC_MESSAGES/glib20.mo -#usr/share/locale/bs -#usr/share/locale/bs/LC_MESSAGES +#usr/share/locale/bn_IN/LC_MESSAGES/glib20.mo #usr/share/locale/bs/LC_MESSAGES/glib20.mo #usr/share/locale/ca/LC_MESSAGES/glib20.mo #usr/share/locale/cs/LC_MESSAGES/glib20.mo -#usr/share/locale/cy -#usr/share/locale/cy/LC_MESSAGES #usr/share/locale/cy/LC_MESSAGES/glib20.mo #usr/share/locale/da/LC_MESSAGES/glib20.mo #usr/share/locale/de/LC_MESSAGES/glib20.mo +#usr/share/locale/dz +#usr/share/locale/dz/LC_MESSAGES +#usr/share/locale/dz/LC_MESSAGES/glib20.mo #usr/share/locale/el/LC_MESSAGES/glib20.mo #usr/share/locale/en_CA #usr/share/locale/en_CA/LC_MESSAGES @@ -320,67 +464,44 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/locale/ga/LC_MESSAGES #usr/share/locale/ga/LC_MESSAGES/glib20.mo #usr/share/locale/gl/LC_MESSAGES/glib20.mo -#usr/share/locale/gu -#usr/share/locale/gu/LC_MESSAGES #usr/share/locale/gu/LC_MESSAGES/glib20.mo -#usr/share/locale/he -#usr/share/locale/he/LC_MESSAGES #usr/share/locale/he/LC_MESSAGES/glib20.mo -#usr/share/locale/hi -#usr/share/locale/hi/LC_MESSAGES #usr/share/locale/hi/LC_MESSAGES/glib20.mo #usr/share/locale/hr/LC_MESSAGES/glib20.mo #usr/share/locale/hu/LC_MESSAGES/glib20.mo -#usr/share/locale/id -#usr/share/locale/id/LC_MESSAGES +#usr/share/locale/hy/LC_MESSAGES/glib20.mo #usr/share/locale/id/LC_MESSAGES/glib20.mo -#usr/share/locale/is -#usr/share/locale/is/LC_MESSAGES #usr/share/locale/is/LC_MESSAGES/glib20.mo #usr/share/locale/it/LC_MESSAGES/glib20.mo #usr/share/locale/ja/LC_MESSAGES/glib20.mo +#usr/share/locale/ka/LC_MESSAGES/glib20.mo +#usr/share/locale/kn/LC_MESSAGES/glib20.mo #usr/share/locale/ko/LC_MESSAGES/glib20.mo -#usr/share/locale/ku -#usr/share/locale/ku/LC_MESSAGES #usr/share/locale/ku/LC_MESSAGES/glib20.mo -#usr/share/locale/lt -#usr/share/locale/lt/LC_MESSAGES #usr/share/locale/lt/LC_MESSAGES/glib20.mo -#usr/share/locale/lv -#usr/share/locale/lv/LC_MESSAGES #usr/share/locale/lv/LC_MESSAGES/glib20.mo -#usr/share/locale/mk -#usr/share/locale/mk/LC_MESSAGES +#usr/share/locale/mg +#usr/share/locale/mg/LC_MESSAGES +#usr/share/locale/mg/LC_MESSAGES/glib20.mo #usr/share/locale/mk/LC_MESSAGES/glib20.mo -#usr/share/locale/ml -#usr/share/locale/ml/LC_MESSAGES #usr/share/locale/ml/LC_MESSAGES/glib20.mo #usr/share/locale/mn #usr/share/locale/mn/LC_MESSAGES #usr/share/locale/mn/LC_MESSAGES/glib20.mo -#usr/share/locale/ms -#usr/share/locale/ms/LC_MESSAGES +#usr/share/locale/mr/LC_MESSAGES/glib20.mo #usr/share/locale/ms/LC_MESSAGES/glib20.mo #usr/share/locale/nb/LC_MESSAGES/glib20.mo #usr/share/locale/ne #usr/share/locale/ne/LC_MESSAGES #usr/share/locale/ne/LC_MESSAGES/glib20.mo #usr/share/locale/nl/LC_MESSAGES/glib20.mo -#usr/share/locale/nn -#usr/share/locale/nn/LC_MESSAGES #usr/share/locale/nn/LC_MESSAGES/glib20.mo -#usr/share/locale/no -#usr/share/locale/no/LC_MESSAGES -#usr/share/locale/no/LC_MESSAGES/glib20.mo -#usr/share/locale/or -#usr/share/locale/or/LC_MESSAGES +#usr/share/locale/oc +#usr/share/locale/oc/LC_MESSAGES +#usr/share/locale/oc/LC_MESSAGES/glib20.mo #usr/share/locale/or/LC_MESSAGES/glib20.mo -#usr/share/locale/pa -#usr/share/locale/pa/LC_MESSAGES #usr/share/locale/pa/LC_MESSAGES/glib20.mo #usr/share/locale/pl/LC_MESSAGES/glib20.mo -#usr/share/locale/pt -#usr/share/locale/pt/LC_MESSAGES #usr/share/locale/pt/LC_MESSAGES/glib20.mo #usr/share/locale/pt_BR/LC_MESSAGES/glib20.mo #usr/share/locale/ro/LC_MESSAGES/glib20.mo @@ -388,26 +509,17 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/locale/rw #usr/share/locale/rw/LC_MESSAGES #usr/share/locale/rw/LC_MESSAGES/glib20.mo +#usr/share/locale/si/LC_MESSAGES/glib20.mo #usr/share/locale/sk/LC_MESSAGES/glib20.mo #usr/share/locale/sl/LC_MESSAGES/glib20.mo -#usr/share/locale/sq -#usr/share/locale/sq/LC_MESSAGES #usr/share/locale/sq/LC_MESSAGES/glib20.mo -#usr/share/locale/sr -#usr/share/locale/sr/LC_MESSAGES #usr/share/locale/sr/LC_MESSAGES/glib20.mo -#usr/share/locale/sr@Latn -#usr/share/locale/sr@Latn/LC_MESSAGES #usr/share/locale/sr@Latn/LC_MESSAGES/glib20.mo #usr/share/locale/sr@ije #usr/share/locale/sr@ije/LC_MESSAGES #usr/share/locale/sr@ije/LC_MESSAGES/glib20.mo #usr/share/locale/sv/LC_MESSAGES/glib20.mo -#usr/share/locale/ta -#usr/share/locale/ta/LC_MESSAGES #usr/share/locale/ta/LC_MESSAGES/glib20.mo -#usr/share/locale/te -#usr/share/locale/te/LC_MESSAGES #usr/share/locale/te/LC_MESSAGES/glib20.mo #usr/share/locale/th #usr/share/locale/th/LC_MESSAGES @@ -420,11 +532,7 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/locale/tt/LC_MESSAGES #usr/share/locale/tt/LC_MESSAGES/glib20.mo #usr/share/locale/uk/LC_MESSAGES/glib20.mo -#usr/share/locale/vi -#usr/share/locale/vi/LC_MESSAGES #usr/share/locale/vi/LC_MESSAGES/glib20.mo -#usr/share/locale/wa -#usr/share/locale/wa/LC_MESSAGES #usr/share/locale/wa/LC_MESSAGES/glib20.mo #usr/share/locale/xh #usr/share/locale/xh/LC_MESSAGES @@ -437,3 +545,7 @@ usr/lib/libgthread-2.0.so.0.902.4 #usr/share/locale/zh_HK/LC_MESSAGES #usr/share/locale/zh_HK/LC_MESSAGES/glib20.mo #usr/share/locale/zh_TW/LC_MESSAGES/glib20.mo +#usr/share/man/man1/glib-genmarshal.1 +#usr/share/man/man1/glib-gettextize.1 +#usr/share/man/man1/glib-mkenums.1 +#usr/share/man/man1/gobject-query.1 diff --git a/doc/packages-list.txt b/doc/packages-list.txt index a8275ec031..c294727f97 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -50,6 +50,7 @@ * bind-9.3.2 * binutils-2.16.1 * bison-2.2 +* bluez-libs-3.36 * br2684ctl * bridge-utils-1.1 * busybox-1.2.2 @@ -71,6 +72,7 @@ * cyrus-imapd-2.2.12 * cyrus-sasl-2.1.21 * db-4.4.20 +* dbus-1.0.3 * dhcp-3.1.0 * dhcpcd-2.0.8 * diffutils-2.8.1 @@ -105,7 +107,7 @@ * gdbm-1.8.3 * gettext-0.14.5 * git-1.5.6 -* glib-2.9.6 +* glib-2.16.5 * glibc-2.3.6 * gmp-4.2 * gnump3d-3.0 diff --git a/html/cgi-bin/pppsetup.cgi b/html/cgi-bin/pppsetup.cgi index d3a59e2ab0..f9744b0088 100644 --- a/html/cgi-bin/pppsetup.cgi +++ b/html/cgi-bin/pppsetup.cgi @@ -72,7 +72,7 @@ elsif ($pppsettings{'ACTION'} eq $Lang::tr{'refresh'}) } elsif ($pppsettings{'ACTION'} eq $Lang::tr{'save'}) { - if ($pppsettings{'TYPE'} =~ /^(modem|serial|isdn)$/ && $pppsettings{'COMPORT'} !~ /^(ttyS0|ttyS1|ttyS2|ttyS3|ttyS4|ttyACM0|ttyACM1|ttyACM2|ttyACM3|ttyUSB0|ttyUSB1|ttyUSB2|ttyUSB3|isdn1|isdn2)$/) { + if ($pppsettings{'TYPE'} =~ /^(modem|serial|isdn)$/ && $pppsettings{'COMPORT'} !~ /^(ttyS0|ttyS1|ttyS2|ttyS3|ttyS4|ttyACM0|ttyACM1|ttyACM2|ttyACM3|ttyUSB0|ttyUSB1|ttyUSB2|ttyUSB3|rfcomm0|rfcomm1|isdn1|isdn2)$/) { $errormessage = $Lang::tr{'invalid input'}; goto ERROR; } if ($pppsettings{'TYPE'} =~ /^(modem|serial)$/ && $pppsettings{'DTERATE'} !~ /^(9600|19200|38400|57600|115200|230400|460800|921600)$/) { @@ -333,6 +333,8 @@ $selected{'COMPORT'}{'ttyUSB0'} = ''; $selected{'COMPORT'}{'ttyUSB1'} = ''; $selected{'COMPORT'}{'ttyUSB2'} = ''; $selected{'COMPORT'}{'ttyUSB3'} = ''; +$selected{'COMPORT'}{'rfcomm0'} = ''; +$selected{'COMPORT'}{'rfcomm1'} = ''; $selected{'COMPORT'}{$pppsettings{'COMPORT'}} = "selected='selected'"; $selected{'DTERATE'}{'9600'} = ''; @@ -564,6 +566,8 @@ END + + END ; if ($pppsettings{'TYPE'} ne 'serial' ) { diff --git a/lfs/bluez b/lfs/bluez new file mode 100644 index 0000000000..6ced28d151 --- /dev/null +++ b/lfs/bluez @@ -0,0 +1,109 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# 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 3 of the License, 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. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 3.36 + +THISAPP = bluez-libs-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = bluez +PAK_VER = 1 + +DEPS = "dbus glib" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) bluez-utils-$(VER).tar.gz bluez-firmware-1.2.tar.gz bluez-hcidump-1.42.tar.gz + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) +bluez-utils-$(VER).tar.gz = $(DL_FROM)/bluez-utils-$(VER).tar.gz +bluez-firmware-1.2.tar.gz = $(DL_FROM)/bluez-firmware-1.2.tar.gz +bluez-hcidump-1.42.tar.gz = $(DL_FROM)/bluez-hcidump-1.42.tar.gz + +$(DL_FILE)_MD5 = 8c2ca546c0e7bb73dbd0e906fce7f6b1 +bluez-utils-$(VER).tar.gz_MD5 = 4fc292b635ba7b442c7aaf5680199012 +bluez-firmware-1.2.tar.gz_MD5 = 1cc3cefad872e937e05de5a0a2b390dd +bluez-hcidump-1.42.tar.gz_MD5 = 5704737aaf72104eeaf77335218a1827 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_SRC)/bluez* + cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr \ + --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + cd $(DIR_SRC) && tar xzf $(DIR_DL)/bluez-utils-$(VER).tar.gz + cd $(DIR_SRC)/bluez-utils-$(VER) && ./configure --prefix=/usr \ + --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib \ + --enable-test + cd $(DIR_SRC)/bluez-utils-$(VER) && make $(MAKETUNING) + cd $(DIR_SRC)/bluez-utils-$(VER) && make install + cd $(DIR_SRC)/bluez-utils-$(VER) && install -m 755 \ + test/passkey-agent /usr/bin/passkey-agent + cd $(DIR_SRC) && tar xzf $(DIR_DL)/bluez-firmware-1.2.tar.gz + cd $(DIR_SRC)/bluez-firmware-1.2 && ./configure --libdir=/lib + cd $(DIR_SRC)/bluez-firmware-1.2 && make $(MAKETUNING) + cd $(DIR_SRC)/bluez-firmware-1.2 && make install + cd $(DIR_SRC) && tar xzf $(DIR_DL)/bluez-hcidump-1.42.tar.gz + cd $(DIR_SRC)/bluez-hcidump-1.42 && ./configure --prefix=/usr \ + --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib + cd $(DIR_SRC)/bluez-hcidump-1.42 && make $(MAKETUNING) + cd $(DIR_SRC)/bluez-hcidump-1.42 && make install + @rm -rf $(DIR_SRC)/bluez* + @$(POSTBUILD) diff --git a/lfs/dbus b/lfs/dbus new file mode 100644 index 0000000000..818b89ea40 --- /dev/null +++ b/lfs/dbus @@ -0,0 +1,85 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# 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 3 of the License, 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. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.0.3 + +THISAPP = dbus-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = dbus +PAK_VER = 1 + +DEPS = "" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = ce328423db5743fe9006d39113b5324d +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_SRC)/dbus* + cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_SRC)/dbus* + @$(POSTBUILD) diff --git a/lfs/glib b/lfs/glib index 461c9b6d67..e2a1e775a5 100644 --- a/lfs/glib +++ b/lfs/glib @@ -24,7 +24,7 @@ include Config -VER = 2.9.6 +VER = 2.16.5 THISAPP = glib-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = glib -PAK_VER = 1 +PAK_VER = 2 DEPS = "" @@ -44,8 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 2ba1146e767454e14ac0788187c35892 - +$(DL_FILE)_MD5 = 039f02d47d4071322a3f00abf031e5d9 install : $(TARGET) check : $(patsubst %,$(DIR_CHK)/%,$(objects)) diff --git a/lfs/initscripts b/lfs/initscripts index 8de4269abb..0249734604 100644 --- a/lfs/initscripts +++ b/lfs/initscripts @@ -97,6 +97,12 @@ $(TARGET) : ln -sf ../init.d/halt /etc/rc.d/rc0.d/S99halt ln -sf ../init.d/sysklogd /etc/rc.d/rc3.d/S10sysklogd ln -sf ../init.d/smartenabler /etc/rc.d/rc3.d/S19smartenabler + ln -sf ../init.d/messagebus /etc/rc.d/rc3.d/S15messagebus + ln -sf ../init.d/messagebus /etc/rc.d/rc0.d/K85messagebus + ln -sf ../init.d/messagebus /etc/rc.d/rc6.d/K85messagebus + ln -sf ../init.d/bluetooth /etc/rc.d/rc3.d/S16bluetooth + ln -sf ../init.d/bluetooth /etc/rc.d/rc0.d/K84bluetooth + ln -sf ../init.d/bluetooth /etc/rc.d/rc6.d/K84bluetooth ln -sf ../init.d/cpufreq /etc/rc.d/rc3.d/S18cpufreq ln -sf ../init.d/sysklogd /etc/rc.d/rc6.d/K90sysklogd ln -sf ../init.d/sendsignals /etc/rc.d/rc6.d/S60sendsignals diff --git a/make.sh b/make.sh index 7de5dbe8f2..a6aa6427b9 100755 --- a/make.sh +++ b/make.sh @@ -589,6 +589,8 @@ buildipfire() { ipfiremake syslinux ipfiremake tftp-hpa ipfiremake cpufrequtils + ipfiremake dbus + ipfiremake bluez echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild echo >> $BASEDIR/build/var/ipfire/firebuild diff --git a/src/initscripts/init.d/bluetooth b/src/initscripts/init.d/bluetooth new file mode 100644 index 0000000000..4dd8ed322c --- /dev/null +++ b/src/initscripts/init.d/bluetooth @@ -0,0 +1,53 @@ +#!/bin/sh +# Begin $rc_base/init.d/bluetooth + +# Based on sysklogd script from LFS-3.1 and earlier. +# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org + +. /etc/sysconfig/rc +. $rc_functions + +case "$1" in + start) + boot_mesg "Starting Bluetooth daemon..." + loadproc /usr/sbin/hcid + sleep 1 + + # The passkey-agent is only needed for pairing + #boot_mesg "Starting Bluetooth passkey-agent..." + #loadproc /usr/bin/passkey-agent --default 12345 & + + # Bind rfcomm to a blootooth cellphone/modem + #boot_mesg "Bind rfcomm0 to cellphone/modem..." + #rfcomm bind /dev/rfcomm0 00:11:22:33:44:55 1 + #evaluate_retval + ;; + + stop) + #boot_mesg "Realease rfcomm0..." + #rfcomm release rfcomm0 + #boot_mesg "Stopping Bluetooth passkey-agent..." + #killproc /usr/bin/passkey-agent + boot_mesg "Stopping Bluetooth daemon..." + killproc /usr/sbin/hcid + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + status) + statusproc /usr/sbin/hcid + statusproc /usr/bin/passkey-agent + + ;; + + *) + echo "Usage: $0 {start|stop|restart|status}" + exit 1 + ;; +esac + +# End $rc_base/init.d/bluetooth diff --git a/src/initscripts/init.d/messagebus b/src/initscripts/init.d/messagebus new file mode 100644 index 0000000000..fc719c99ac --- /dev/null +++ b/src/initscripts/init.d/messagebus @@ -0,0 +1,45 @@ +#!/bin/sh +# Begin $rc_base/init.d/messagebus + +# Based on sysklogd script from LFS-3.1 and earlier. +# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org + +#$LastChangedBy: dnicholson $ +#$Date: 2007-10-21 11:33:30 -0500 (Sun, 21 Oct 2007) $ + +. /etc/sysconfig/rc +. $rc_functions + +pidfile=/var/run/dbus/pid +socket=/var/run/dbus/system_bus_socket + +case "$1" in + start) + boot_mesg "Starting the D-Bus Messagebus Daemon..." + /usr/bin/dbus-uuidgen --ensure + loadproc -p "$pidfile" /usr/bin/dbus-daemon --system + ;; + + stop) + boot_mesg "Stopping the D-Bus Messagebus Daemon..." + killproc -p "$pidfile" /usr/bin/dbus-daemon + [ $? -eq 0 ] && rm -f "$socket" + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + status) + statusproc -p $pidfile /usr/bin/dbus-daemon + ;; + + *) + echo "Usage: $0 {start|stop|restart|status}" + exit 1 + ;; +esac + +# End $rc_base/init.d/messagebus diff --git a/src/paks/dbus/install.sh b/src/paks/dbus/install.sh new file mode 100644 index 0000000000..8b5c749bef --- /dev/null +++ b/src/paks/dbus/install.sh @@ -0,0 +1,27 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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 3 of the License, or # +# (at your option) any later version. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +extract_files +useradd messagebus +start_service ${NAME} diff --git a/src/paks/dbus/uninstall.sh b/src/paks/dbus/uninstall.sh new file mode 100644 index 0000000000..f5b8042aed --- /dev/null +++ b/src/paks/dbus/uninstall.sh @@ -0,0 +1,26 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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 3 of the License, or # +# (at your option) any later version. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +stop_service ${NAME} +remove_files diff --git a/src/paks/dbus/update.sh b/src/paks/dbus/update.sh new file mode 100644 index 0000000000..dfdb04f58c --- /dev/null +++ b/src/paks/dbus/update.sh @@ -0,0 +1,24 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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 3 of the License, or # +# (at your option) any later version. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh -- 2.39.2