repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit 6687e646d44c0cdd72264408a9164a0d83c7dc79
parent 1ff47c0942af32860482018de2148f2455f64cc2
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 17 Feb 2021 10:11:50 +0300

dbus: add new package at 1.12.20

I am truly sorry, please forgive me.

Diffstat:
Adbus/dbus/build | 23+++++++++++++++++++++++
Adbus/dbus/checksums | 2++
Adbus/dbus/depends | 1+
Adbus/dbus/files/dbus.run | 3+++
Adbus/dbus/post-install | 20++++++++++++++++++++
Adbus/dbus/sources | 2++
Adbus/dbus/version | 1+
7 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/dbus/dbus/build b/dbus/dbus/build @@ -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 diff --git a/dbus/dbus/checksums b/dbus/dbus/checksums @@ -0,0 +1,2 @@ +f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa7de5fe dbus-1.12.20.tar.gz +cdaf6273c6a779dd739b217726e5724b4a37a811901a41ee1d0dae188a46f708 dbus.run diff --git a/dbus/dbus/depends b/dbus/dbus/depends @@ -0,0 +1 @@ +expat diff --git a/dbus/dbus/files/dbus.run b/dbus/dbus/files/dbus.run @@ -0,0 +1,3 @@ +#!/bin/sh -e +mkdir -p /run/dbus +exec dbus-daemon --system --nofork --nopidfile diff --git a/dbus/dbus/post-install b/dbus/dbus/post-install @@ -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 || : diff --git a/dbus/dbus/sources b/dbus/dbus/sources @@ -0,0 +1,2 @@ +https://dbus.freedesktop.org/releases/dbus/dbus-1.12.20.tar.gz +files/dbus.run diff --git a/dbus/dbus/version b/dbus/dbus/version @@ -0,0 +1 @@ +1.12.20 1