RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/dbus#b48caa7af02f0647a1a14d9abf6fcb486a990d04
This commit is contained in:
Petr Šabata 2020-10-14 23:28:41 +02:00
parent ac16378072
commit 52064c57ed
10 changed files with 1673 additions and 0 deletions

50
.gitignore vendored
View File

@ -0,0 +1,50 @@
/*.log
/dbus-*/
/*.src.rpm
/noarch/
/x86_64/
/dbus-1.3.2.885483.tar.gz
/dbus-1.4.0.tar.gz
/dbus-1.4.10.tar.gz
/dbus-1.4.20.tar.gz
/dbus-1.6.0.tar.gz
/dbus-1.6.6.tar.gz
/dbus-1.6.8.tar.gz
/dbus-1.6.12.tar.gz
/dbus-1.6.18.tar.gz
/dbus-1.8.4.tar.gz
/dbus-1.8.6.tar.gz
/dbus-1.8.12.tar.gz
/dbus-1.8.14.tar.gz
/dbus-1.8.16.tar.gz
/dubs-1.9.14.tar.gz
/dbus-1.9.16.tar.gz
/dbus-1.9.18.tar.gz
/dbus-1.9.20.tar.gz
/dbus-1.10.0.tar.gz
/dbus-1.10.2.tar.gz
/dbus-1.10.4.tar.gz
/dbus-1.10.6.tar.gz
/dbus-1.11.0.tar.gz
/dbus-1.11.2.tar.gz
/dbus-1.11.4.tar.gz
/dbus-1.11.6.tar.gz
/dbus-1.11.8.tar.gz
/dbus-1.11.10.tar.gz
/dbus-1.11.12.tar.gz
/dbus-1.11.14.tar.gz
/dbus-1.11.16.tar.gz
/dbus-1.11.18.tar.gz
/dbus-1.11.20.tar.gz
/dbus-1.11.22.tar.gz
/dbus-1.12.0.tar.gz
/dbus-1.12.8.tar.gz
/dbus-1.12.10.tar.gz
/dbus-1.12.12.tar.gz
/dbus-1.12.14.tar.gz
/dbus-1.12.16.tar.gz
/dbus-1.12.16.tar.gz.asc
/dbus-1.12.18.tar.gz
/dbus-1.12.18.tar.gz.asc
/dbus-1.12.20.tar.gz
/dbus-1.12.20.tar.gz.asc

14
00-start-message-bus.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
# Copyright (C) 2008 Red Hat, Inc.
#
# All rights reserved. This copyrighted material is made available to anyone
# wishing to use, modify, copy, or redistribute it subject to the terms and
# conditions of the GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi

View File

@ -0,0 +1,22 @@
From 59ddde9e1ed5de03b060ff3ce27e35509707dff2 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Tue, 31 Jul 2018 12:33:59 -0400
Subject: [PATCH] tools: Use Python3 for GetAllMatchRules
---
tools/GetAllMatchRules.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/GetAllMatchRules.py b/tools/GetAllMatchRules.py
index 6a7e4cd9..f7e340d6 100755
--- a/tools/GetAllMatchRules.py
+++ b/tools/GetAllMatchRules.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import sys
import argparse
--
2.17.1

15
dbus-daemon.service Normal file
View File

@ -0,0 +1,15 @@
[Unit]
Description=D-Bus System Message Bus
Documentation=man:dbus-daemon(1)
Requires=dbus.socket
[Service]
ExecStart=/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
ExecReload=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
OOMScoreAdjust=-900
[Install]
# Make sure that services can still refer to this under the name of the
# old SysV script (messagebus).
Alias=dbus.service messagebus.service
WantedBy=multi-user.target

11
dbus-daemon.user.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=D-Bus User Message Bus
Documentation=man:dbus-daemon(1)
Requires=dbus.socket
[Service]
ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
[Install]
Alias=dbus.service

8
dbus.socket Normal file
View File

@ -0,0 +1,8 @@
[Unit]
Description=D-Bus System Message Bus Socket
[Socket]
ListenStream=/run/dbus/system_bus_socket
[Install]
WantedBy=sockets.target

1542
dbus.spec Normal file

File diff suppressed because it is too large Load Diff

9
dbus.user.socket Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=D-Bus User Message Bus Socket
[Socket]
ListenStream=%t/bus
ExecStartPost=-/usr/bin/systemctl --user set-environment DBUS_SESSION_BUS_ADDRESS=unix:path=%t/bus
[Install]
WantedBy=sockets.target

Binary file not shown.

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (dbus-1.12.20.tar.gz) = 0964683bc6859374cc94e42e1ec0cdb542cca67971c205fcba4352500b6c0891665b0718e7d85eb060c81cb82e3346c313892bc02384da300ddd306c7eef0056
SHA512 (dbus-1.12.20.tar.gz.asc) = a31207b5abb0dc81ad16eeae99b510045d57bcd6da1bb640d32efaa1f1519394fad452b455e7d4d1eaa5f1542ade5f7ba410c91ac5d2a80adec14e54ee7bd705