Commit 190475a2 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated man-db to 2.9.4

parent 19d35412
all: all:
tar xf man-db-2.9.2.tar.xz tar xf man-db-2.9.4.tar.xz
patch -Np1 -d man-db-2.9.2 < man-db-2.9.2-fix_find_location.patch cd man-db-2.9.4 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --docdir=/usr/share/doc/man-db-2.9.4 --sysconfdir=/etc --disable-setuid --enable-cache-owner=bin --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap
cd man-db-2.9.2 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --docdir=/usr/share/doc/man-db-2.9.2 --sysconfdir=/etc --disable-setuid --enable-cache-owner=bin --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap $(MAKE) -C man-db-2.9.4
$(MAKE) -C man-db-2.9.2
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \ if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C man-db-2.9.2 check ; \ $(MAKE) -C man-db-2.9.4 check ; \
fi fi
$(MAKE) -C man-db-2.9.2 install $(MAKE) -C man-db-2.9.4 install
cd man-db-2.9.2 && sed -i "s:man man:root root:g" /usr/lib/tmpfiles.d/man-db.conf cd man-db-2.9.4 && sed -i "s:man man:root root:g" /usr/lib/tmpfiles.d/man-db.conf
rm -rf man-db-2.9.2 rm -rf man-db-2.9.4
diff -uNr man-db-2.9.2/init/systemd/man-db.service.in man-db-2.9.2-fix_find_location/init/systemd/man-db.service.in
--- man-db-2.9.2/init/systemd/man-db.service.in 2020-01-02 01:41:59.000000000 +1030
+++ man-db-2.9.2-fix_find_location/init/systemd/man-db.service.in 2022-02-01 19:18:31.414052273 +1030
@@ -8,7 +8,7 @@
# Recover from deletion, per FHS.
ExecStart=+/usr/bin/install -d -o @cache_top_owner@ -g @cache_top_owner@ -m 0755 /var/cache/man
# Expunge old catman pages which have not been read in a week.
-ExecStart=/usr/bin/find /var/cache/man -type f -name *.gz -atime +6 -delete
+ExecStart=/bin/find /var/cache/man -type f -name *.gz -atime +6 -delete
# Regenerate man database.
ExecStart=@bindir@/mandb --quiet
User=@cache_top_owner@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment