diff --git a/.abf.yml b/.abf.yml index 8846033..e59cf6c 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,4 +1,6 @@ sources: crypt_blowfish-1.2.tar.gz: 306ff83af206fac786900ce5e4800516cae909d9 - glibc-manpages.tar.bz2: ca54bfb832b703c8e35170fcc1c1f5470b45ff0f + crypt_blowfish-1.2.tar.gz.sign: 982d2d5585d60fc01d18005c2b5e57a1a44b45d7 glibc-2.19.tar.xz: b29e1f94b8a32e283e1cb66c9a913950c496fb51 + glibc-2.19.tar.xz.sig: 68baae89199300ce9b0f51f959a6c4df5bc18685 + glibc-manpages.tar.bz2: ca54bfb832b703c8e35170fcc1c1f5470b45ff0f diff --git a/glibc.spec b/glibc.spec index b06c3e6..d96a907 100644 --- a/glibc.spec +++ b/glibc.spec @@ -57,7 +57,7 @@ Summary: The GNU libc libraries Name: glibc Epoch: 6 Version: 2.19 -Release: 19 +Release: 20 License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Group: System/Libraries Url: http://www.eglibc.org/ @@ -67,6 +67,7 @@ Source1: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz.sig # From Fedora Source2: glibc_post_upgrade.c Source3: glibc-manpages.tar.bz2 +Source4: nscd.conf Source5: glibc-check.sh Source6: nscd.service Source7: nscd.socket @@ -502,6 +503,7 @@ performance with NIS+, and may help with DNS as well. %pre -n nscd %_pre_useradd nscd / /sbin/nologin + systemd-tmpfiles --create %{name}.conf %post -n nscd %_post_service nscd @@ -517,6 +519,7 @@ performance with NIS+, and may help with DNS as well. %files -n nscd %config(noreplace) %{_sysconfdir}/nscd.conf +%{_tmpfilesdir}/nscd.conf %{_unitdir}/nscd.service %{_unitdir}/nscd.socket %{_sbindir}/nscd @@ -1155,6 +1158,8 @@ install -m 644 mandriva/nsswitch.conf %{buildroot}%{_sysconfdir}/nsswitch.conf %if %{with nscd} install -m644 nscd/nscd.conf -D %{buildroot}%{_sysconfdir}/nscd.conf install -m755 %{SOURCE6} -D %{buildroot}%{_unitdir}/nscd.service + mkdir -p %{buildroot}%{_tmpfilesdir} + install -m 644 %{SOURCE4} %{buildroot}%{_tmpfilesdir} install -m755 %{SOURCE7} -D %{buildroot}%{_unitdir}/nscd.socket install -m755 -d %{buildroot}/var/db/nscd %endif diff --git a/nscd.conf b/nscd.conf new file mode 100644 index 0000000..8a24a78 --- /dev/null +++ b/nscd.conf @@ -0,0 +1 @@ +d /run/nscd 0755 root root