head 1.3; access; symbols pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.4 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.1.0.4 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.2 pkgsrc-2019Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2020.06.10.21.16.58; author nia; state dead; branches; next 1.2; commitid SBZZonGvpV4OSIbC; 1.2 date 2019.12.12.00.13.52; author nia; state Exp; branches; next 1.1; commitid g1dHE86ReqT2IlOB; 1.1 date 2019.06.23.10.04.27; author nia; state Exp; branches; next ; commitid ubSmEFEF5LJwvisB; desc @@ 1.3 log @chat: Remove inspircd. Requested by upstream @ text @$NetBSD: patch-configure,v 1.2 2019/12/12 00:13:52 nia Exp $ We can't predict the uid/gid the user will be assigned before the package is installed. --- configure.orig 2019-10-25 10:40:44.000000000 +0000 +++ configure @@@@ -224,10 +224,6 @@@@ This is almost never what you should do. unprivileged user/group to build and run as or pass the '--gid [id|name]' flag to specify an unprivileged group to run as. EOW - if (!prompt_bool $interactive, "Are you sure you want to build as the $group[0] group?", 0) { - say STDERR "If you are sure you want to build as the $group[0] group pass the --gid $group[2] flag." unless $interactive; - exit 1; - } } } $config{GROUP} = $group[0]; @@@@ -250,10 +246,6 @@@@ This is almost never what you should do. unprivileged user/group to build and run as or pass the '--uid [id|name]' flag to specify an unprivileged user to run as. EOW - if (!prompt_bool $interactive, "Are you sure you want to build as the $user[0] user?", 0) { - say STDERR "If you are sure you want to build as the $user[0] user pass the --uid $user[2] flag." unless $interactive; - exit 1; - } } } $config{USER} = $user[0]; @ 1.2 log @inspircd3: Disable configuration prompt for uid. Build fix for certain pkgsrc build environments. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2019/06/23 10:04:27 nia Exp $ @ 1.1 log @inspircd3: Don't "exit 1" when the group we build as is "wheel". @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 Allow building as wheel group. We can't predict the gid the user will be assigned before the package is installed. d6 1 a6 1 --- configure.orig 2019-05-17 08:51:03.000000000 +0000 d8 1 a8 1 @@@@ -219,10 +219,6 @@@@ This is almost never what you should do. d19 11 @