| |
@@ -20,7 +20,7 @@
|
| |
Name: systemd
|
| |
Url: https://www.freedesktop.org/wiki/Software/systemd
|
| |
Version: 246~rc1
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
# For a breakdown of the licensing, see README
|
| |
License: LGPLv2+ and MIT and GPLv2+
|
| |
Summary: System and Service Manager
|
| |
@@ -70,8 +70,6 @@
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1738828
|
| |
Patch0001: use-bfq-scheduler.patch
|
| |
|
| |
- Patch0998: 0998-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
|
| |
-
|
| |
%ifarch %{ix86} x86_64 aarch64
|
| |
%global have_gnu_efi 1
|
| |
%endif
|
| |
@@ -379,6 +377,9 @@
|
| |
-Dman=true
|
| |
-Dversion-tag=v%{version}-%{release}
|
| |
-Dfallback-hostname=fedora
|
| |
+ -Ddefault-dnssec=no
|
| |
+ -Ddefault-mdns=resolve
|
| |
+ -Ddefault-llmnr=resolve
|
| |
)
|
| |
|
| |
%meson "${CONFIGURE_OPTS[@]}"
|
| |
@@ -623,18 +624,16 @@
|
| |
|
| |
function mod_nss() {
|
| |
if [ -f "$1" ] ; then
|
| |
- # sed-fu to add myhostname to hosts line
|
| |
- grep -E -q '^hosts:.* myhostname' "$1" ||
|
| |
- sed -i.bak -e '
|
| |
- /^hosts:/ !b
|
| |
- /\<myhostname\>/ b
|
| |
- s/[[:blank:]]*$/ myhostname/
|
| |
- ' "$1" &>/dev/null || :
|
| |
-
|
| |
# Add nss-systemd to passwd and group
|
| |
grep -E -q '^(passwd|group):.* systemd' "$1" ||
|
| |
sed -i.bak -r -e '
|
| |
- s/^(passwd|group):(.*)/\1: \2 systemd/
|
| |
+ s/^(passwd|group):(.*)/\1:\2 systemd/
|
| |
+ ' "$1" &>/dev/null || :
|
| |
+
|
| |
+ # Add nss-resolve to hosts
|
| |
+ grep -E -q '^hosts:.* resolve' "$1" ||
|
| |
+ sed -i.bak -r -e '
|
| |
+ s/^(hosts):(.*) files( mdns4_minimal .NOTFOUND=return.)? dns myhostname/\1:\2 resolve [!UNAVAIL=return] myhostname files\3 dns/
|
| |
' "$1" &>/dev/null || :
|
| |
fi
|
| |
}
|
| |
@@ -773,6 +772,11 @@
|
| |
%files tests -f .file-list-tests
|
| |
|
| |
%changelog
|
| |
+ * Sun Jul 12 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 246~rc1-2
|
| |
+ - Enable systemd-resolved (with DNSSEC disabled by default, and LLMNR
|
| |
+ and mDNS support in resolve-only mode by default).
|
| |
+ See https://fedoraproject.org/wiki/Changes/systemd-resolved.
|
| |
+
|
| |
* Thu Jul 9 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 246~rc1-1
|
| |
- New upstream release, see
|
| |
https://raw.githubusercontent.com/systemd/systemd/v246-rc1/NEWS.
|
| |
/cc @mcatanzaro