summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-04-03 20:45:56 +0200
committertnut <tnut at nutyx dot com>2012-04-03 20:45:56 +0200
commitf0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8 (patch)
tree5ef43049d1a9d89d6824ab0b1caa195e6bc2d32c /dbus
parent2c891bec631c57f3103e691306cab38e9116bcbf (diff)
downloadnutyx-pakxe-f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8.tar.gz
nutyx-pakxe-f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8.tar.bz2
nutyx-pakxe-f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8.tar.xz
nutyx-pakxe-f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8.zip
dbus est un service
Diffstat (limited to 'dbus')
-rw-r--r--dbus/.footprint.i68685
-rw-r--r--dbus/.footprint.x86_6485
-rw-r--r--dbus/.md5sum.i6863
-rw-r--r--dbus/.md5sum.x86_643
-rwxr-xr-xdbus/Pkgfile51
-rw-r--r--dbus/post-install5
-rw-r--r--dbus/session-local.conf9
7 files changed, 241 insertions, 0 deletions
diff --git a/dbus/.footprint.i686 b/dbus/.footprint.i686
new file mode 100644
index 000000000..9e172627b
--- /dev/null
+++ b/dbus/.footprint.i686
@@ -0,0 +1,85 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/dbus-1/
+-rw-r--r-- root/root etc/dbus-1/session-local.conf
+-rw-r--r-- root/root etc/dbus-1/session.conf
+drwxr-xr-x root/root etc/dbus-1/session.d/
+-rw-r--r-- root/root etc/dbus-1/system.conf
+drwxr-xr-x root/root etc/dbus-1/system.d/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K85dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K85dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/S20dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S20dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S20dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S20dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K85dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/dbus-cleanup-sockets
+-rwxr-xr-x root/root usr/bin/dbus-daemon
+-rwxr-xr-x root/root usr/bin/dbus-launch
+-rwxr-xr-x root/root usr/bin/dbus-monitor
+-rwxr-xr-x root/root usr/bin/dbus-send
+-rwxr-xr-x root/root usr/bin/dbus-uuidgen
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/dbus-1.0/
+drwxr-xr-x root/root usr/include/dbus-1.0/dbus/
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-address.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-bus.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-connection.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-errors.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-macros.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-memory.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-message.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-misc.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-pending-call.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-protocol.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-server.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-shared.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-signature.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-threads.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-types.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/dbus-1.0/
+-rwsr-x--- root/messagebus usr/lib/dbus-1.0/dbus-daemon-launch-helper
+drwxr-xr-x root/root usr/lib/dbus-1.0/include/
+drwxr-xr-x root/root usr/lib/dbus-1.0/include/dbus/
+-rw-r--r-- root/root usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h
+drwxr-xr-x root/root usr/lib/dbus-1.0/services/
+drwxr-xr-x root/root usr/lib/dbus-1.0/test/
+-rw-r--r-- root/root usr/lib/libdbus-1.a
+-rwxr-xr-x root/root usr/lib/libdbus-1.la
+lrwxrwxrwx root/root usr/lib/libdbus-1.so -> libdbus-1.so.3.6.4
+lrwxrwxrwx root/root usr/lib/libdbus-1.so.3 -> libdbus-1.so.3.6.4
+-rwxr-xr-x root/root usr/lib/libdbus-1.so.3.6.4
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/dbus-1.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/services/
+drwxr-xr-x root/root usr/share/dbus-1/system-services/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/dbus-cleanup-sockets.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-daemon.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-launch.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-monitor.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-send.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-uuidgen.1.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/dbus/
+drwxr-xr-x root/root var/run/
+drwxr-xr-x root/root var/run/dbus/
diff --git a/dbus/.footprint.x86_64 b/dbus/.footprint.x86_64
new file mode 100644
index 000000000..9e172627b
--- /dev/null
+++ b/dbus/.footprint.x86_64
@@ -0,0 +1,85 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/dbus-1/
+-rw-r--r-- root/root etc/dbus-1/session-local.conf
+-rw-r--r-- root/root etc/dbus-1/session.conf
+drwxr-xr-x root/root etc/dbus-1/session.d/
+-rw-r--r-- root/root etc/dbus-1/system.conf
+drwxr-xr-x root/root etc/dbus-1/system.d/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K85dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K85dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/S20dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S20dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S20dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S20dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K85dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/dbus-cleanup-sockets
+-rwxr-xr-x root/root usr/bin/dbus-daemon
+-rwxr-xr-x root/root usr/bin/dbus-launch
+-rwxr-xr-x root/root usr/bin/dbus-monitor
+-rwxr-xr-x root/root usr/bin/dbus-send
+-rwxr-xr-x root/root usr/bin/dbus-uuidgen
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/dbus-1.0/
+drwxr-xr-x root/root usr/include/dbus-1.0/dbus/
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-address.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-bus.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-connection.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-errors.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-macros.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-memory.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-message.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-misc.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-pending-call.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-protocol.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-server.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-shared.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-signature.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-threads.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-types.h
+-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/dbus-1.0/
+-rwsr-x--- root/messagebus usr/lib/dbus-1.0/dbus-daemon-launch-helper
+drwxr-xr-x root/root usr/lib/dbus-1.0/include/
+drwxr-xr-x root/root usr/lib/dbus-1.0/include/dbus/
+-rw-r--r-- root/root usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h
+drwxr-xr-x root/root usr/lib/dbus-1.0/services/
+drwxr-xr-x root/root usr/lib/dbus-1.0/test/
+-rw-r--r-- root/root usr/lib/libdbus-1.a
+-rwxr-xr-x root/root usr/lib/libdbus-1.la
+lrwxrwxrwx root/root usr/lib/libdbus-1.so -> libdbus-1.so.3.6.4
+lrwxrwxrwx root/root usr/lib/libdbus-1.so.3 -> libdbus-1.so.3.6.4
+-rwxr-xr-x root/root usr/lib/libdbus-1.so.3.6.4
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/dbus-1.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/services/
+drwxr-xr-x root/root usr/share/dbus-1/system-services/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/dbus-cleanup-sockets.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-daemon.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-launch.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-monitor.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-send.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dbus-uuidgen.1.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/dbus/
+drwxr-xr-x root/root var/run/
+drwxr-xr-x root/root var/run/dbus/
diff --git a/dbus/.md5sum.i686 b/dbus/.md5sum.i686
new file mode 100644
index 000000000..613bf5a1c
--- /dev/null
+++ b/dbus/.md5sum.i686
@@ -0,0 +1,3 @@
+01c0e87204957554edd0f2113c662326 dbus-1.4.8-tmpfs-1.patch
+87fee7d4de53d88abf93d4915a77a2c1 dbus-1.5.8.tar.gz
+f78a3655ff83e4e991f5679840fe1b0b session-local.conf
diff --git a/dbus/.md5sum.x86_64 b/dbus/.md5sum.x86_64
new file mode 100644
index 000000000..613bf5a1c
--- /dev/null
+++ b/dbus/.md5sum.x86_64
@@ -0,0 +1,3 @@
+01c0e87204957554edd0f2113c662326 dbus-1.4.8-tmpfs-1.patch
+87fee7d4de53d88abf93d4915a77a2c1 dbus-1.5.8.tar.gz
+f78a3655ff83e4e991f5679840fe1b0b session-local.conf
diff --git a/dbus/Pkgfile b/dbus/Pkgfile
new file mode 100755
index 000000000..971de7201
--- /dev/null
+++ b/dbus/Pkgfile
@@ -0,0 +1,51 @@
+# Description: Système de messages pour les bus
+# URL: http://dbus.freedesktop.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: xorg-libx11
+
+name=dbus
+version=1.5.8
+release=2
+source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \
+ session-local.conf \
+ http://nutyx.meticul.eu/files/patchs/$name/dbus-1.4.8-tmpfs-1.patch)
+
+build() {
+ source /etc/blfs-bootscripts
+ wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2
+# wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+
+ cd $name-$version
+ ./configure --prefix=/usr --with-x \
+ --libexecdir=/usr/lib/dbus-1.0 \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --enable-shared \
+ --with-xml=expat \
+ --with-system-pid-file=/var/run/dbus.pid \
+ --with-system-socket=/var/run/dbus/system_bus_socket \
+ --with-session-socket-dir=/tmp \
+ --with-dbus-user=messagebus
+
+ make
+ make DESTDIR=$PKG install
+ mkdir -p $PKG/etc/dbus-1
+ mv ../session-local.conf $PKG/etc/dbus-1/
+
+# rmdir $PKG/usr/lib/dbus-1.0/dbus-1
+
+ cd ../$scripts-$scriptsversion
+ patch -Np1 -i ../dbus-1.4.8-tmpfs-1.patch
+ make DESTDIR=$PKG install-dbus
+ mv $PKG/etc/rc.d/rc0.d/K{30,85}dbus
+ mv $PKG/etc/rc.d/rc6.d/K{30,85}dbus
+ mv $PKG/etc/rc.d/rc1.d/K{30,85}dbus
+ sed -i "s/dbus\/pid/dbus.pid/" $PKG/etc/rc.d/init.d/dbus
+ mkdir -p $PKG/usr/lib/dbus-1.0/services
+ mkdir -p $PKG/usr/share/dbus-1/services
+ mkdir -p $PKG/etc/dbus-1/system.d/
+ mkdir -p $PKG/etc/dbus-1/session.d/
+ rm -r $PKG/usr/share/doc
+}
diff --git a/dbus/post-install b/dbus/post-install
new file mode 100644
index 000000000..9f9715396
--- /dev/null
+++ b/dbus/post-install
@@ -0,0 +1,5 @@
+# getent group dbus >/dev/null || usr/sbin/groupadd -g 81 dbus
+# getent passwd dbus >/dev/null || usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
+usr/bin/passwd -l dbus &>/dev/null
+dbus-uuidgen --ensure
+
diff --git a/dbus/session-local.conf b/dbus/session-local.conf
new file mode 100644
index 000000000..38a46c4f2
--- /dev/null
+++ b/dbus/session-local.conf
@@ -0,0 +1,9 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- Search for .service files in /usr/local -->
+ <servicedir>/usr/local/share/dbus-1/services</servicedir>
+
+</busconfig>