diff options
-rw-r--r-- | dbus/.footprint.i686 | 95 | ||||
-rw-r--r-- | dbus/.footprint.x86_64 | 95 | ||||
-rw-r--r-- | dbus/.md5sum.i686 | 2 | ||||
-rw-r--r-- | dbus/.md5sum.x86_64 | 2 | ||||
-rwxr-xr-x | dbus/Pkgfile | 60 | ||||
-rw-r--r-- | dbus/post-install | 5 | ||||
-rw-r--r-- | dbus/session-local.conf | 9 |
7 files changed, 268 insertions, 0 deletions
diff --git a/dbus/.footprint.i686 b/dbus/.footprint.i686 new file mode 100644 index 000000000..f1431d736 --- /dev/null +++ b/dbus/.footprint.i686 @@ -0,0 +1,95 @@ +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/S15dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S15dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S15dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S15dbus -> ../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/rcS.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-syntax.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/ +-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.7.2 +lrwxrwxrwx root/root usr/lib/libdbus-1.so.3 -> libdbus-1.so.3.7.2 +-rwxr-xr-x root/root usr/lib/libdbus-1.so.3.7.2 +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/lib/systemd/ +drwxr-xr-x root/root usr/lib/systemd/system/ +-rw-r--r-- root/root usr/lib/systemd/system/dbus.service +-rw-r--r-- root/root usr/lib/systemd/system/dbus.socket +drwxr-xr-x root/root usr/lib/systemd/system/dbus.target.wants/ +lrwxrwxrwx root/root usr/lib/systemd/system/dbus.target.wants/dbus.socket -> ../dbus.socket +drwxr-xr-x root/root usr/lib/systemd/system/multi-user.target.wants/ +lrwxrwxrwx root/root usr/lib/systemd/system/multi-user.target.wants/dbus.service -> ../dbus.service +drwxr-xr-x root/root usr/lib/systemd/system/sockets.target.wants/ +lrwxrwxrwx root/root usr/lib/systemd/system/sockets.target.wants/dbus.socket -> ../dbus.socket +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..f1431d736 --- /dev/null +++ b/dbus/.footprint.x86_64 @@ -0,0 +1,95 @@ +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/S15dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S15dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S15dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S15dbus -> ../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/rcS.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-syntax.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/ +-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.7.2 +lrwxrwxrwx root/root usr/lib/libdbus-1.so.3 -> libdbus-1.so.3.7.2 +-rwxr-xr-x root/root usr/lib/libdbus-1.so.3.7.2 +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/lib/systemd/ +drwxr-xr-x root/root usr/lib/systemd/system/ +-rw-r--r-- root/root usr/lib/systemd/system/dbus.service +-rw-r--r-- root/root usr/lib/systemd/system/dbus.socket +drwxr-xr-x root/root usr/lib/systemd/system/dbus.target.wants/ +lrwxrwxrwx root/root usr/lib/systemd/system/dbus.target.wants/dbus.socket -> ../dbus.socket +drwxr-xr-x root/root usr/lib/systemd/system/multi-user.target.wants/ +lrwxrwxrwx root/root usr/lib/systemd/system/multi-user.target.wants/dbus.service -> ../dbus.service +drwxr-xr-x root/root usr/lib/systemd/system/sockets.target.wants/ +lrwxrwxrwx root/root usr/lib/systemd/system/sockets.target.wants/dbus.socket -> ../dbus.socket +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..435cb9fdc --- /dev/null +++ b/dbus/.md5sum.i686 @@ -0,0 +1,2 @@ +5ec43dc4554cba638917317b2b4f7640 dbus-1.6.4.tar.gz +f78a3655ff83e4e991f5679840fe1b0b session-local.conf diff --git a/dbus/.md5sum.x86_64 b/dbus/.md5sum.x86_64 new file mode 100644 index 000000000..435cb9fdc --- /dev/null +++ b/dbus/.md5sum.x86_64 @@ -0,0 +1,2 @@ +5ec43dc4554cba638917317b2b4f7640 dbus-1.6.4.tar.gz +f78a3655ff83e4e991f5679840fe1b0b session-local.conf diff --git a/dbus/Pkgfile b/dbus/Pkgfile new file mode 100755 index 000000000..826b50cb5 --- /dev/null +++ b/dbus/Pkgfile @@ -0,0 +1,60 @@ +# 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.6.4 +release=1 +source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz + session-local.conf) + +build() { + source /etc/blfs-bootscripts + if [ -f $PKGMK_SOURCE_DIR/$scripts-$scriptsversion.tar.bz2 ]; then + cp $PKGMK_SOURCE_DIR/$scripts-$scriptsversion.tar.bz2 . + else + wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + fi + tar xvf $scripts-$scriptsversion.tar.bz2 + + cd $name-$version + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/dbus-1.0 \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --enable-shared \ + --enable-systemd \ + --enable-x11-autolaunch \ + --with-x \ + --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 \ + --with-systemdsystemunitdir=/usr/lib/systemd/system + + 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 + make DESTDIR=$PKG install-dbus + mv $PKG/etc/rc.d/rc2.d/S{29,15}dbus + mv $PKG/etc/rc.d/rc3.d/S{29,15}dbus + mv $PKG/etc/rc.d/rc4.d/S{29,15}dbus + mv $PKG/etc/rc.d/rc5.d/S{29,15}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> |