diff options
author | Cem Keylan <cem@ckyln.com> | 2021-02-17 10:11:50 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-02-17 10:11:59 +0300 |
commit | 6687e646d44c0cdd72264408a9164a0d83c7dc79 (patch) | |
tree | 26e7d30c263d3dbda5dfda2a69e3c6d2356d18c3 /dbus | |
parent | 1ff47c0942af32860482018de2148f2455f64cc2 (diff) | |
download | repository-6687e646d44c0cdd72264408a9164a0d83c7dc79.tar.gz |
dbus: add new package at 1.12.20
I am truly sorry, please forgive me.
Diffstat (limited to 'dbus')
-rwxr-xr-x | dbus/dbus/build | 23 | ||||
-rw-r--r-- | dbus/dbus/checksums | 2 | ||||
-rw-r--r-- | dbus/dbus/depends | 1 | ||||
-rwxr-xr-x | dbus/dbus/files/dbus.run | 3 | ||||
-rwxr-xr-x | dbus/dbus/post-install | 20 | ||||
-rw-r--r-- | dbus/dbus/sources | 2 | ||||
-rw-r--r-- | dbus/dbus/version | 1 |
7 files changed, 52 insertions, 0 deletions
diff --git a/dbus/dbus/build b/dbus/dbus/build new file mode 100755 index 00000000..90ce53ef --- /dev/null +++ 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 new file mode 100644 index 00000000..a8c73b91 --- /dev/null +++ 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 new file mode 100644 index 00000000..ce073fe6 --- /dev/null +++ b/dbus/dbus/depends @@ -0,0 +1 @@ +expat diff --git a/dbus/dbus/files/dbus.run b/dbus/dbus/files/dbus.run new file mode 100755 index 00000000..dec1486a --- /dev/null +++ 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 new file mode 100755 index 00000000..5c47035c --- /dev/null +++ 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 new file mode 100644 index 00000000..b6a382c0 --- /dev/null +++ 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 new file mode 100644 index 00000000..052da8e5 --- /dev/null +++ b/dbus/dbus/version @@ -0,0 +1 @@ +1.12.20 1 |