[Bug 204021] irc/unreal fails to start.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 25 22:26:03 UTC 2015
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 at FreeBSD.org
Reporter: loox at e-shell.net
Flags: maintainer-feedback?(mat at FreeBSD.org)
Assignee: mat at 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 at 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.
More information about the freebsd-ports-bugs
mailing list