From nobody Thu Sep 15 13:51:25 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MSzC31M3sz4cJyR for ; Thu, 15 Sep 2022 13:51:43 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MSzC149glz3ysM for ; Thu, 15 Sep 2022 13:51:40 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 28FDpPwc030910; Thu, 15 Sep 2022 22:51:26 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Thu, 15 Sep 2022 22:51:25 +0900 From: Tomoaki AOKI To: Axel Rau Cc: ports@FreeBSD.org Subject: Re: /ports/Mk/Scripts/do-users-groups.sh: 8: parameter not set Message-Id: <20220915225125.d3d547767bc030b50ab54ba3@dec.sakura.ne.jp> In-Reply-To: References: <20220915021531.bd9cf0642fb2ea463020ebda@dec.sakura.ne.jp> <3A42215F-773F-4C5A-9F3B-167C929596A3@Chaos1.DE> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4MSzC149glz3ysM X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [-1.60 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[ports@FreeBSD.org]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_ORG_HEADER(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 15 Sep 2022 10:44:56 +0200 Axel Rau wrote: > > > > Am 14.09.2022 um 19:45 schrieb Axel Rau : > > > > > > > >> Am 14.09.2022 um 19:15 schrieb Tomoaki AOKI >: > >> > >> On Wed, 14 Sep 2022 18:36:06 +0200 > >> Axel Rau > wrote: > >> > >>> /ports/Mk/Scripts/do-users-groups.sh: 8: parameter not set > >>> *** Error code 2 > >>> - - - > >> Without them, /ports/Mk/Scripts/do-users-groups.sh cannot know what to > >> add. > > > > root@home2l:/usr/local/src/fbsd_local_ports/net/home2l # grep home2l /usr/ports/UIDs > > home2l:*:765:765:home2l Daemon:/usr/local/home2l:/usr/local/bin/bash > > root@home2l:/usr/local/src/fbsd_local_ports/net/home2l # grep home2l /usr/ports/GIDs > > home2l:*:765 > Added the missing trailing colon, but getting still same error. > tar archive of port attached. > > clueless, > Axel > > > --- > PGP-Key: CDE74120 ☀ computing @ chaos claudius Maybe I got it. UIDs needs 10 field delimited with ":", but yours have only 7 (insufficient). For intermediate blank field, looks like "::", but usually class field only. You would need class, change, expire fields. class is usually blank or daemon, and remaining ones are usually 0 (no need to change password, user does not expire automatically). And for GID, needs 4, but yours have 3 (insufficient, too). Fixing GIDs alone is insufficient. IIUC, entries for UIDs and GIDs would be (respectively) like below. Sorry, UIDs is broken into 2 lines by my MUA. UIDs home2l:*:765:765::0:0:home2l Daemon:/usr/local/home2l:/usr/local/bin/bash GIDs home2l:*:765: See `man 5 passwd` and `man 5 group` for detail. Sorry, not having enough time to look into attached port. Hope someone more skilled pops in. -- Tomoaki AOKI