Date: Sun, 25 Oct 2015 22:26:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 204021] irc/unreal fails to start. Message-ID: <bug-204021-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204021-13>