Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] man-db: add system account man:man
@ 2019-10-23 13:43 voidlinux-github
  2019-10-31  1:13 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-23 13:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

There is a new pull request by zdtcd against master on the void-packages repository

https://github.com/zdtcd/void-packages man-db
https://github.com/void-linux/void-packages/pull/15737

man-db: add system account man:man
man-db complains that:
> mandb: the setuid man user "man" does not exist

A patch file from https://github.com/void-linux/void-packages/pull/15737.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-man-db-15737.patch --]
[-- Type: text/x-diff, Size: 1622 bytes --]

From 109d518cb3276d53bde2ab75a117cf6f2c2b40bf Mon Sep 17 00:00:00 2001
From: Doan Tran Cong Danh <congdanhqx@gmail.com>
Date: Wed, 23 Oct 2019 08:18:33 +0700
Subject: [PATCH] man-db: add system account man:man

man-db complains that:
> mandb: the setuid man user "man" does not exist
---
 srcpkgs/man-db/files/man-db.cron-daily | 1 +
 srcpkgs/man-db/template                | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/man-db/files/man-db.cron-daily b/srcpkgs/man-db/files/man-db.cron-daily
index 6953b76560f..ed5c2342a09 100755
--- a/srcpkgs/man-db/files/man-db.cron-daily
+++ b/srcpkgs/man-db/files/man-db.cron-daily
@@ -7,6 +7,7 @@ set -e
 if ! [ -d /var/cache/man ]; then
     # Recover from deletion, per FHS.
     mkdir -p /var/cache/man
+    chown man:man /var/cache/man
     chmod 755 /var/cache/man
 fi
 
diff --git a/srcpkgs/man-db/template b/srcpkgs/man-db/template
index b6cf1489eca..cbd5e6c2d99 100644
--- a/srcpkgs/man-db/template
+++ b/srcpkgs/man-db/template
@@ -1,7 +1,7 @@
 # Template file for 'man-db'
 pkgname=man-db
 version=2.8.7
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--with-db=db --with-pager=less --with-gzip=/usr/bin/gzip
  --with-bzip2=/usr/bin/bzip2 --disable-rpath --enable-threads=posix
@@ -21,6 +21,9 @@ distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=b9cd5bb996305d08bfe9e1114edc30b4c97be807093b88af8033ed1cf9beb326
 provides="man-0_1"
 lib32disabled=yes
+system_accounts="man"
+man_homedir="/var/cache/man"
+make_dirs="/var/cache/man 0755 man man"
 
 alternatives="
  man:man:/usr/bin/mandb-man

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-11-11  2:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 13:43 [PR PATCH] man-db: add system account man:man voidlinux-github
2019-10-31  1:13 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-31  1:13 ` voidlinux-github
2019-10-31 14:14 ` voidlinux-github
2019-11-01  0:43 ` voidlinux-github
2019-11-01  0:45 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-01  0:45 ` voidlinux-github
2019-11-01  0:49 ` voidlinux-github
2019-11-10 10:08 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-11  2:37 ` [PR PATCH] [Updated] [NO MERGE] man-db: add system account _man:_man voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).