From f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8 Mon Sep 17 00:00:00 2001 From: tnut Date: Tue, 3 Apr 2012 20:45:56 +0200 Subject: dbus est un service --- dbus/.footprint.i686 | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ dbus/.footprint.x86_64 | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ dbus/.md5sum.i686 | 3 ++ dbus/.md5sum.x86_64 | 3 ++ dbus/Pkgfile | 51 +++++++++++++++++++++++++++++ dbus/post-install | 5 +++ dbus/session-local.conf | 9 ++++++ 7 files changed, 241 insertions(+) create mode 100644 dbus/.footprint.i686 create mode 100644 dbus/.footprint.x86_64 create mode 100644 dbus/.md5sum.i686 create mode 100644 dbus/.md5sum.x86_64 create mode 100755 dbus/Pkgfile create mode 100644 dbus/post-install create mode 100644 dbus/session-local.conf (limited to 'dbus') 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 @@ + + + + + /usr/local/share/dbus-1/services + + -- cgit v1.2.3-70-g09d2