~carbslinux/repository

6687e646d44c0cdd72264408a9164a0d83c7dc79 — Cem Keylan 8 months ago 1ff47c0
dbus: add new package at 1.12.20

I am truly sorry, please forgive me.
A dbus/dbus/build => dbus/dbus/build +23 -0
@@ 0,0 1,23 @@
#!/bin/sh -e

xorg=--without-x
cpt l libX11 libSM libICE >/dev/null 2>&1 && xorg=--with-x

./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --enable-user-session \
    --disable-asserts \
    --with-dbus-user=dbus \
    --with-system-socket=/run/dbus/system_bus_socket \
    --with-system-pid-file=/run/dus/pid \
    --with-console-auth-dir=/run/console \
    "$xorg" \
    --disable-systemd \
    --disable-doxygen-docs

make
make DESTDIR="$1" install

DESTDIR=$1 install-sv dbus.run

A dbus/dbus/checksums => dbus/dbus/checksums +2 -0
@@ 0,0 1,2 @@
f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa7de5fe  dbus-1.12.20.tar.gz
cdaf6273c6a779dd739b217726e5724b4a37a811901a41ee1d0dae188a46f708  dbus.run

A dbus/dbus/depends => dbus/dbus/depends +1 -0
@@ 0,0 1,1 @@
expat

A dbus/dbus/files/dbus.run => dbus/dbus/files/dbus.run +3 -0
@@ 0,0 1,3 @@
#!/bin/sh -e
mkdir -p /run/dbus
exec dbus-daemon --system --nofork --nopidfile

A dbus/dbus/post-install => dbus/dbus/post-install +20 -0
@@ 0,0 1,20 @@
#!/bin/sh -e

mkdir -p "$CPT_ROOT/var/lib/dbus" "$CPT_ROOT/etc/dbus-1/session.d"

chr() {
    # Run in chroot if CPT_ROOT variable exists
    if [ "$CPT_ROOT" ]; then
        chroot "$CPT_ROOT" "$@"
    else
        "$@"
    fi
}

grep -q ^dbus: "$CPT_ROOT/etc/passwd" || {
    chr addgroup -g 22 -S dbus
    chr adduser  -u 22 -S -H -G dbus dbus
}
chown root:dbus "$CPT_ROOT/usr/libexec/dbus-daemon-launch-helper"
chmod 4750      "$CPT_ROOT/usr/libexec/dbus-daemon-launch-helper"
chr /usr/bin/dbus-uuidgen --ensure || :

A dbus/dbus/sources => dbus/dbus/sources +2 -0
@@ 0,0 1,2 @@
https://dbus.freedesktop.org/releases/dbus/dbus-1.12.20.tar.gz
files/dbus.run

A dbus/dbus/version => dbus/dbus/version +1 -0
@@ 0,0 1,1 @@
1.12.20 1