pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/inspircd3 inspircd3: Don't "exit 1" when the grou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b2bfcdf7a68
branches:  trunk
changeset: 335612:6b2bfcdf7a68
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jun 23 10:04:26 2019 +0000

description:
inspircd3: Don't "exit 1" when the group we build as is "wheel".

diffstat:

 chat/inspircd3/Makefile                |   4 ++--
 chat/inspircd3/distinfo                |   3 ++-
 chat/inspircd3/patches/patch-configure |  18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 1b95ff7800ce -r 6b2bfcdf7a68 chat/inspircd3/Makefile
--- a/chat/inspircd3/Makefile   Sun Jun 23 09:47:03 2019 +0000
+++ b/chat/inspircd3/Makefile   Sun Jun 23 10:04:26 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2019/06/21 14:06:48 nia Exp $
+# $NetBSD: Makefile,v 1.9 2019/06/23 10:04:26 nia Exp $
 
 DISTNAME=      inspircd-3.1.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=inspircd/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r 1b95ff7800ce -r 6b2bfcdf7a68 chat/inspircd3/distinfo
--- a/chat/inspircd3/distinfo   Sun Jun 23 09:47:03 2019 +0000
+++ b/chat/inspircd3/distinfo   Sun Jun 23 10:04:26 2019 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.5 2019/05/17 09:59:18 nia Exp $
+$NetBSD: distinfo,v 1.6 2019/06/23 10:04:26 nia Exp $
 
 SHA1 (inspircd-3.1.0.tar.gz) = 5f520f97177c9c92337170d1e25695411ca3ef59
 RMD160 (inspircd-3.1.0.tar.gz) = 8ac3d8404266f2a211dd12e074a4f6a536e21f77
 SHA512 (inspircd-3.1.0.tar.gz) = 77e5602115d612be6bb1dc0123f5fde2e6ff0547376de04cd5c24de9376797654bbd62a01d058b6f27858bd338ae9126cdd0dcd8571ba0c33afc1f3e166e000c
 Size (inspircd-3.1.0.tar.gz) = 795435 bytes
+SHA1 (patch-configure) = b58da682a8add14cf9c35ea9af0020c7dfde6e14
 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 1b95ff7800ce -r 6b2bfcdf7a68 chat/inspircd3/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd3/patches/patch-configure    Sun Jun 23 10:04:26 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-configure,v 1.1 2019/06/23 10:04:27 nia Exp $
+
+Allow building as wheel group. We can't predict the gid the user will
+be assigned before the package is installed.
+
+--- configure.orig     2019-05-17 08:51:03.000000000 +0000
++++ configure
+@@ -219,10 +219,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];



Home | Main Index | Thread Index | Old Index