NetBSD Problem Report #61103

From www@netbsd.org  Tue Dec  1 10:41:22 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EA7C81A923B
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  1 Dec 2026 10:41:21 +0000 (UTC)
Message-Id: <20261201104120.BDE631A923D@mollari.NetBSD.org>
Date: Tue,  1 Dec 2026 10:41:20 +0000 (UTC)
From: netbsd@scs.re
Reply-To: netbsd@scs.re
To: gnats-bugs@NetBSD.org
Subject: mail/sympa: etc/sympa is listed twice in +INSTALL, with two owners
X-Send-Pr-Version: www-1.0
X-From4GNATS: "netbsd@scs.re via gnats" <gnats-admin@NetBSD.org>

>Number:         61103
>Category:       pkg
>Synopsis:       mail/sympa: etc/sympa is listed twice in +INSTALL, with two owners
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bouyer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 01 10:45:00 +0000 2026
>Closed-Date:    Tue Dec 01 14:29:12 +0000 2026
>Last-Modified:  Tue Dec 01 14:30:01 +0000 2026
>Originator:     SCS
>Release:        pkgsrc-current, mail/sympa Makefile 1.87, on SmartOS trunk
>Organization:
>Environment:
SunOS pkgsrc.scs.re 5.11 joyent_20261121T172607Z i86pc i386 i86pc illumos
>Description:
Hi,

I'm new to pkgsrc, so I may be missing something.

A Sympa package I built from mail/sympa has these two lines in +INSTALL:

    # DIR: etc/sympa m 755 root root
    # DIR: etc/sympa mo 755 sympa sympa

So the same directory is listed twice, with two different owners.

As far as I can tell, the first line comes from pkgsrc itself, because
the Makefile sets PKG_SYSCONFSUBDIR=sympa. The second one comes from
this line in mail/sympa/Makefile:

    OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR} ${SYMPA_USER} ${SYMPA_GROUP} 755

Thanks!
>How-To-Repeat:
Build mail/sympa and look at +INSTALL in the package.
>Fix:
Maybe dropping that line and setting this instead would fix it?

    PKG_SYSCONFDIR_PERMS= ${SYMPA_USER} ${SYMPA_GROUP} 755

I haven't tested this yet, sorry.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bouyer
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 01 Dec 2026 10:50:28 +0000
Responsible-Changed-Why:
Over to MAINTAINER


State-Changed-From-To: open->closed
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Tue, 01 Dec 2026 14:29:12 +0000
State-Changed-Why:
Fixed as suggested, thanks !


From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/61103 CVS commit: pkgsrc/mail/sympa
Date: Tue, 1 Dec 2026 14:28:22 +0000

 Module Name:	pkgsrc
 Committed By:	bouyer
 Date:		Tue Dec  1 14:28:22 UTC 2026

 Modified Files:
 	pkgsrc/mail/sympa: Makefile

 Log Message:
 Avoid duplicate entry for etc/sympa in +INSTALL.
 Problem reported and fix suggested by netbsd@scs.re (PR pkg/61103)


 To generate a diff of this commit:
 cvs rdiff -u -r1.87 -r1.88 pkgsrc/mail/sympa/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.