committing changes in /etc made by "-bash"

Package changes:
This commit is contained in:
2022-09-23 18:16:23 +03:00
parent 7b77c62e3b
commit 75751bf094
10 changed files with 104 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ mkdir -p './dkms/framework.conf.d'
mkdir -p './dnf/aliases.d' mkdir -p './dnf/aliases.d'
mkdir -p './dnf/modules.defaults.d' mkdir -p './dnf/modules.defaults.d'
mkdir -p './dnf/plugins/copr.d' mkdir -p './dnf/plugins/copr.d'
mkdir -p './egl/egl_external_platform.d'
mkdir -p './exports.d' mkdir -p './exports.d'
mkdir -p './fail2ban/fail2ban.d' mkdir -p './fail2ban/fail2ban.d'
mkdir -p './firewalld/helpers' mkdir -p './firewalld/helpers'
@@ -32,7 +33,7 @@ mkdir -p './firewalld/policies'
mkdir -p './firewalld/services' mkdir -p './firewalld/services'
mkdir -p './gdbinit.d' mkdir -p './gdbinit.d'
mkdir -p './glances' mkdir -p './glances'
mkdir -p './glvnd' mkdir -p './glvnd/egl_vendor.d'
mkdir -p './gnupg' mkdir -p './gnupg'
mkdir -p './groff/site-font' mkdir -p './groff/site-font'
mkdir -p './incron.d' mkdir -p './incron.d'
@@ -103,6 +104,7 @@ mkdir -p './systemd/system/php-fpm.service.d'
mkdir -p './terminfo' mkdir -p './terminfo'
mkdir -p './tuned/recommend.d' mkdir -p './tuned/recommend.d'
mkdir -p './udev/hwdb.d' mkdir -p './udev/hwdb.d'
mkdir -p './xdg/QtProject'
maybe chmod 0755 '.' maybe chmod 0755 '.'
maybe chmod 0700 '.etckeeper' maybe chmod 0700 '.etckeeper'
maybe chmod 0640 '.gitignore' maybe chmod 0640 '.gitignore'
@@ -149,6 +151,7 @@ maybe chmod 0755 'X11/applnk'
maybe chmod 0755 'X11/fontpath.d' maybe chmod 0755 'X11/fontpath.d'
maybe chmod 0755 'X11/xinit' maybe chmod 0755 'X11/xinit'
maybe chmod 0755 'X11/xinit/xinitrc.d' maybe chmod 0755 'X11/xinit/xinitrc.d'
maybe chmod 0755 'X11/xinit/xinitrc.d/10-qt5-check-opengl2.sh'
maybe chmod 0755 'X11/xinit/xinitrc.d/50-systemd-user.sh' maybe chmod 0755 'X11/xinit/xinitrc.d/50-systemd-user.sh'
maybe chmod 0755 'X11/xorg.conf.d' maybe chmod 0755 'X11/xorg.conf.d'
maybe chmod 0600 'aide.conf' maybe chmod 0600 'aide.conf'
@@ -166,6 +169,7 @@ maybe chmod 0755 'ansible'
maybe chmod 0644 'ansible/ansible.cfg' maybe chmod 0644 'ansible/ansible.cfg'
maybe chmod 0644 'ansible/hosts' maybe chmod 0644 'ansible/hosts'
maybe chmod 0755 'ansible/roles' maybe chmod 0755 'ansible/roles'
maybe chmod 0644 'appstream.conf'
maybe chmod 0755 'asciidoc' maybe chmod 0755 'asciidoc'
maybe chmod 0644 'asciidoc/asciidoc.conf' maybe chmod 0644 'asciidoc/asciidoc.conf'
maybe chmod 0644 'asciidoc/docbook45.conf' maybe chmod 0644 'asciidoc/docbook45.conf'
@@ -632,6 +636,8 @@ maybe chmod 0640 'dovecot/trash.conf'
maybe chmod 0644 'dracut.conf' maybe chmod 0644 'dracut.conf'
maybe chmod 0755 'dracut.conf.d' maybe chmod 0755 'dracut.conf.d'
maybe chmod 0644 'dracut.conf.d/40-fips.conf' maybe chmod 0644 'dracut.conf.d/40-fips.conf'
maybe chmod 0755 'egl'
maybe chmod 0755 'egl/egl_external_platform.d'
maybe chmod 0644 'environment' maybe chmod 0644 'environment'
maybe chmod 0755 'environment-modules' maybe chmod 0755 'environment-modules'
maybe chmod 0644 'environment-modules/initrc' maybe chmod 0644 'environment-modules/initrc'
@@ -895,6 +901,7 @@ maybe chmod 0644 'gdbinit'
maybe chmod 0755 'gdbinit.d' maybe chmod 0755 'gdbinit.d'
maybe chmod 0755 'glances' maybe chmod 0755 'glances'
maybe chmod 0755 'glvnd' maybe chmod 0755 'glvnd'
maybe chmod 0755 'glvnd/egl_vendor.d'
maybe chmod 0755 'gnupg' maybe chmod 0755 'gnupg'
maybe chmod 0640 'grc.conf' maybe chmod 0640 'grc.conf'
maybe chmod 0640 'grc.fish' maybe chmod 0640 'grc.fish'
@@ -4992,6 +4999,7 @@ maybe chmod 0644 'rndc.conf'
maybe chmod 0644 'rpc' maybe chmod 0644 'rpc'
maybe chmod 0755 'rpm' maybe chmod 0755 'rpm'
maybe chmod 0644 'rpm/macros.dist' maybe chmod 0644 'rpm/macros.dist'
maybe chmod 0644 'rpm/macros.zzz-epel-override'
maybe chmod 0755 'rpmlint' maybe chmod 0755 'rpmlint'
maybe chmod 0644 'rpmlint/mingw-rpmlint.config' maybe chmod 0644 'rpmlint/mingw-rpmlint.config'
maybe chmod 0755 'rspamd' maybe chmod 0755 'rspamd'
@@ -5564,8 +5572,11 @@ maybe chmod 0700 'wireguard'
maybe chmod 0644 'wireguard/wg0.conf' maybe chmod 0644 'wireguard/wg0.conf'
maybe chmod 0644 'xattr.conf' maybe chmod 0644 'xattr.conf'
maybe chmod 0755 'xdg' maybe chmod 0755 'xdg'
maybe chmod 0755 'xdg/QtProject'
maybe chmod 0755 'xdg/autostart' maybe chmod 0755 'xdg/autostart'
maybe chmod 0644 'xdg/autostart/snap-userd-autostart.desktop' maybe chmod 0644 'xdg/autostart/snap-userd-autostart.desktop'
maybe chmod 0755 'xdg/qtchooser'
maybe chmod 0644 'xdg/qtchooser/5-64.conf'
maybe chmod 0755 'xdg/systemd' maybe chmod 0755 'xdg/systemd'
maybe chmod 0600 'xinetd.conf' maybe chmod 0600 'xinetd.conf'
maybe chmod 0755 'xinetd.d' maybe chmod 0755 'xinetd.d'

View File

@@ -0,0 +1,14 @@
#!/bin/bash
if [ -z "$QT_XCB_FORCE_SOFTWARE_OPENGL" ]; then
QT5_CHECK_OPENGL_VERSION=`LANG=C glxinfo 2> /dev/null | grep '^OpenGL version string: ' | head -n 1 | sed -e 's/^OpenGL version string: \([0-9]\).*$/\1/g'` ||:
if [ "$QT5_CHECK_OPENGL_VERSION" == "1" ]; then
QT_XCB_FORCE_SOFTWARE_OPENGL=1
export QT_XCB_FORCE_SOFTWARE_OPENGL
fi
unset QT5_CHECK_OPENGL_VERSION
fi

1
alternatives/qtchooser-5 Symbolic link
View File

@@ -0,0 +1 @@
/etc/xdg/qtchooser/5-64.conf

View File

@@ -0,0 +1 @@
/etc/xdg/qtchooser/5.conf

29
appstream.conf Normal file
View File

@@ -0,0 +1,29 @@
#
# This is the configuration file for AppStream.
# If data for your distribution is missing, you can submit
# a patch to include it upstream.
# The distribution identifier is fetched from /etc/os-release
#
[general]
#
# Set this value to have AppStream always prefer data from a local metainfo file
# over data provided from a network source.
# This option is only useful in case one wants to test how data from local
# metainfo files looks like in the software center prior to making a release
# containing the new metadata.
#
#PreferLocalMetainfoData=true
#
# Distribution specific settings
#
[debian]
ScreenshotUrl=http://screenshots.debian.net
[opensuse]
ScreenshotUrl=http://software.opensuse.org/package
[ubuntu]
ScreenshotUrl=http://screenshots.ubuntu.com

View File

@@ -0,0 +1,43 @@
# This file is used _only_ to override macros which exist in RHEL.
# It should be used very sparingly.
# Override %__python3 here based on %%python3_pkgversion to avoid relying on the finicky
# python3X-rpm-macros packages.
# Backported from https://src.fedoraproject.org/rpms/python-rpm-macros/c/a8b26546eb699afe0dbfcef913a2aa7085fc5afb?branch=rawhide
#
# EPEL specific, RHEL defines this in the python3X-rpm-macros packages
# and the default is /usr/libexec/platform-python.
# Usually, we don't want EPEL packages to use platform-python.
# Packages that want to do that can explicitly override this.
%__python3 /usr/bin/python%{_python3_pkgversion_with_dot}
# RHEL 8's %%pytest does not work properly on non-default Python versions.
# Backported from https://src.fedoraproject.org/rpms/python-rpm-macros/c/02536540768555dde6d675935db45df81bcab7bf?branch=rawhide
# https://bugzilla.redhat.com/show_bug.cgi?id=2091462
%__pytest /usr/bin/pytest%(test %{python3_pkgversion} == 3 && echo -3 || echo -%{python3_version})
# RHEL 8's %%py3_dist does not work properly on non-default Python versions.
# This is copied here from https://git.centos.org/rpms/python-rpm-macros/pull-request/1
# until that lands in RHEL.
# https://bugzilla.redhat.com/show_bug.cgi?id=2090007
# Creates Python 3 dist tag(s) after converting names to canonical format
# Needs to first put all arguments into a list, because invoking a different
# macro (%py_dist_name) overwrites them
%py3_dist() %{lua:\
python3_pkgversion_with_dot = rpm.expand("%_python3_pkgversion_with_dot")\
args = {}\
arg = 1\
while (true) do\
name = rpm.expand("%{?" .. arg .. ":%{" .. arg .. "}}");\
if (name == nil or name == '') then\
break\
end\
args[arg] = name\
arg = arg + 1\
end\
for arg, name in ipairs(args) do\
canonical = rpm.expand("%py_dist_name " .. name);\
print("python" .. python3_pkgversion_with_dot .. "dist(" .. canonical .. ") ");\
end\
}

Binary file not shown.

2
xdg/qtchooser/5-64.conf Normal file
View File

@@ -0,0 +1,2 @@
/usr/lib64/qt5/bin
/usr

1
xdg/qtchooser/5.conf Symbolic link
View File

@@ -0,0 +1 @@
/etc/alternatives/qtchooser-5

1
xdg/qtchooser/default.conf Symbolic link
View File

@@ -0,0 +1 @@
/etc/alternatives/qtchooser-default