]> git.pld-linux.org Git - packages/man-db.git/commitdiff
- updated to 2.8.5 auto/th/man-db-2.8.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Feb 2019 17:04:57 +0000 (18:04 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Feb 2019 17:04:57 +0000 (18:04 +0100)
- added sandbox patch (add times() to allowed syscalls, required by nroff)

man-db-sandbox.patch [new file with mode: 0644]
man-db.spec

diff --git a/man-db-sandbox.patch b/man-db-sandbox.patch
new file mode 100644 (file)
index 0000000..6ea0102
--- /dev/null
@@ -0,0 +1,10 @@
+--- man-db-2.8.5/lib/sandbox.c.orig    2019-01-05 10:08:56.000000000 +0100
++++ man-db-2.8.5/lib/sandbox.c 2019-02-14 17:52:29.314997003 +0100
+@@ -454,6 +454,7 @@
+       SC_ALLOW ("fork");
+       SC_ALLOW ("getrusage");
+       SC_ALLOW ("prctl");
++      SC_ALLOW ("times");
+       SC_ALLOW ("vfork");
+       SC_ALLOW ("wait4");
+       SC_ALLOW ("waitid");
index f9921bfe52e0e9afe12bc69646c85543da109771..5bcb31a14cb311fae2802bb2c4837f57283405ae 100644 (file)
@@ -6,18 +6,20 @@
 Summary:       Tools for searching and reading man pages
 Summary(pl.UTF-8):     Narzędzia do przeszukiwania i czytania stron podręcznika man
 Name:          man-db
-Version:       2.8.4
+Version:       2.8.5
 Release:       1
 # project man-db  GPLv2+
 # Gnulib part     GPLv3+
 License:       GPL v2+ and GPL v3+
 Group:         Base
 Source0:       http://download.savannah.gnu.org/releases/man-db/%{name}-%{version}.tar.xz
-# Source0-md5: ab41db551f500e4a595b11203b86c67a
+# Source0-md5: c5c6c3434be14a5527d43b5ad0f09a13
 Source1:       %{name}.daily
 Source2:       %{name}.sysconfig
 # Resolves: #655385 - use old format of nroff output
 Patch0:                sgr.patch
+# recent nroff uses times()
+Patch1:                %{name}-sandbox.patch
 URL:           http://www.nongnu.org/man-db/
 BuildRequires: gdbm-devel
 BuildRequires: gettext-tools >= 0.18.1
@@ -67,6 +69,7 @@ man (nazywanych man-pages): man, whatis, apropos, manpath i lexgrog:
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure \
@@ -137,6 +140,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libexecdir}/man-db/zsoelim
 %{_libexecdir}/man-db/globbing
 %{_libexecdir}/man-db/manconv
+%{systemdunitdir}/man-db.service
+# TODO: as cron.daily replacement
+#%{systemdunitdir}/man-db.timer
 %{systemdtmpfilesdir}/man-db.conf
 %dir %{pkgcachedir}
 # documentation and translation
@@ -160,6 +166,7 @@ rm -rf $RPM_BUILD_ROOT
 %lang(ja) %{_mandir}/ja/man*/*
 %lang(nl) %{_mandir}/nl/man*/*
 %lang(pl) %{_mandir}/pl/man*/*
+%lang(pt) %{_mandir}/pt/man*/*
 %lang(pt_BR) %{_mandir}/pt_BR/man*/*
 %lang(ru) %{_mandir}/ru/man*/*
 %lang(sr) %{_mandir}/sr/man*/*
This page took 0.122321 seconds and 4 git commands to generate.