pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/inspircd3 inspircd3: Disable configuration prompt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/430fc66dccef
branches:  trunk
changeset: 405956:430fc66dccef
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Dec 12 00:13:52 2019 +0000

description:
inspircd3: Disable configuration prompt for uid.

Build fix for certain pkgsrc build environments.

diffstat:

 chat/inspircd3/distinfo                |   4 ++--
 chat/inspircd3/patches/patch-configure |  21 ++++++++++++++++-----
 2 files changed, 18 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 91ead10c53fd -r 430fc66dccef chat/inspircd3/distinfo
--- a/chat/inspircd3/distinfo   Wed Dec 11 23:36:29 2019 +0000
+++ b/chat/inspircd3/distinfo   Thu Dec 12 00:13:52 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.9 2019/10/25 11:01:55 nia Exp $
+$NetBSD: distinfo,v 1.10 2019/12/12 00:13:52 nia Exp $
 
 SHA1 (inspircd-3.4.0.tar.gz) = 62229ac2827c0377cf0f3f52cc016b2a14600b46
 RMD160 (inspircd-3.4.0.tar.gz) = 3b2e28f8f1825b6d2de3b2ebbf98a6756f44f6f9
 SHA512 (inspircd-3.4.0.tar.gz) = 871fefff5e337dc6228fae223ff7ac534e159b5bfb838419247b1d16339c860b0b939a28dd4610cf3b8c37328b5e6ccba2ddd80adbd27638f4f3fa28e4f99066
 Size (inspircd-3.4.0.tar.gz) = 809845 bytes
-SHA1 (patch-configure) = b58da682a8add14cf9c35ea9af0020c7dfde6e14
+SHA1 (patch-configure) = cd3a8459c60539fd505b36523129cebc3804e3a8
 SHA1 (patch-docs_conf_inspircd.conf.example) = 077c5b474c7ce70096b25b48b66817422b134ce0
 SHA1 (patch-docs_conf_modules.conf.example) = 4a4ef063ae1c908268a34f0407a00c1df70a6a18
 SHA1 (patch-docs_conf_services_anope.conf.example) = ab9078cf3bbe5e7393a8463c95b8db02bc5c019f
diff -r 91ead10c53fd -r 430fc66dccef chat/inspircd3/patches/patch-configure
--- a/chat/inspircd3/patches/patch-configure    Wed Dec 11 23:36:29 2019 +0000
+++ b/chat/inspircd3/patches/patch-configure    Thu Dec 12 00:13:52 2019 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-configure,v 1.1 2019/06/23 10:04:27 nia Exp $
+$NetBSD: patch-configure,v 1.2 2019/12/12 00:13:52 nia Exp $
 
-Allow building as wheel group. We can't predict the gid the user will
-be assigned before the package is installed.
+We can't predict the uid/gid the user will be assigned before the package
+is installed.
 
---- configure.orig     2019-05-17 08:51:03.000000000 +0000
+--- configure.orig     2019-10-25 10:40:44.000000000 +0000
 +++ configure
-@@ -219,10 +219,6 @@ This is almost never what you should do.
+@@ -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
@@ -16,3 +16,14 @@
        }
  }
  $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];



Home | Main Index | Thread Index | Old Index