From owner-freebsd-ports-bugs@freebsd.org Sun Oct 25 22:26:03 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C455DA171BA for ; Sun, 25 Oct 2015 22:26:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96F0F1182 for ; Sun, 25 Oct 2015 22:26:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9PMQ35U082592 for ; Sun, 25 Oct 2015 22:26:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 204021] irc/unreal fails to start. Date: Sun, 25 Oct 2015 22:26:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: loox@e-shell.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mat@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2015 22:26:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204021 Bug ID: 204021 Summary: irc/unreal fails to start. Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mat@FreeBSD.org Reporter: loox@e-shell.net Flags: maintainer-feedback?(mat@FreeBSD.org) Assignee: mat@FreeBSD.org After installing Unreal-3.2.10.5 from pkgs unreal fails to start with the following error: [Sun Oct 25 14:41:23 2015] - Cannot open stream socket() irc.example.com[]:Protocol not supported FreeBSD io 10.1-RELEASE-p16 FreeBSD 10.1-RELEASE-p16 #0: Tue Jul 28 12:04:19 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 This patch fixes, and allows to start: cat files/patch-src__s_bsd.c --- src/s_bsd.c.orig 2015-10-25 15:01:31.329347815 -0600 +++ src/s_bsd.c 2015-10-25 15:02:46.495342670 -0600 @@ -455,7 +455,7 @@ */ if (cptr->fd == -1) { - cptr->fd = socket(AFINET, SOCK_STREAM, 0); + cptr->fd = socket(AFINET, SOCK_STREAM, IPPROTO_TCP); } if (cptr->fd < 0) { Running on a jail with ipv4 if that makes a difference. Also the ircd binary is installed with 700 permissions, which prevents run it as another user. install -m 0700 /tmp/usr/ports/irc/unreal/work/Unreal3.2.10.5/src/ircd /tmp/usr/ports/irc/unreal/work/stage/usr/local/libexec/ircd -- You are receiving this mail because: You are the assignee for the bug.