From owner-svn-ports-head@freebsd.org Tue Oct 27 13:44:33 2015 Return-Path: Delivered-To: svn-ports-head@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 5E10FA1E6A1; Tue, 27 Oct 2015 13:44:33 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 26A6C1FD0; Tue, 27 Oct 2015 13:44:33 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9RDiWUe009543; Tue, 27 Oct 2015 13:44:32 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9RDiWoY009541; Tue, 27 Oct 2015 13:44:32 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201510271344.t9RDiWoY009541@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 27 Oct 2015 13:44:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400241 - in head/irc/unreal: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2015 13:44:33 -0000 Author: mat Date: Tue Oct 27 13:44:31 2015 New Revision: 400241 URL: https://svnweb.freebsd.org/changeset/ports/400241 Log: Fix startup. Don't install as root:wheel/0700. PR: 204021 Submitted by: loox e-shell net Sponsored by: Absolight Added: head/irc/unreal/files/patch-src_s__bsd.c (contents, props changed) Modified: head/irc/unreal/Makefile Modified: head/irc/unreal/Makefile ============================================================================== --- head/irc/unreal/Makefile Tue Oct 27 13:44:27 2015 (r400240) +++ head/irc/unreal/Makefile Tue Oct 27 13:44:31 2015 (r400241) @@ -3,7 +3,7 @@ PORTNAME= Unreal PORTVERSION= 3.2.10.5 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= irc ipv6 MASTER_SITES= http://www.unrealircd.com/downloads/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -111,8 +111,9 @@ post-patch: @${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch .endif @${REINPLACE_CMD} -e "/Your system does not support IPv6/ s|as_fn_error|echo|" ${WRKSRC}/configure + do-install: - ${INSTALL} -m 0700 ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/ircd + ${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/ircd ${MKDIR} ${STAGEDIR}${MODULESDIR} ${MKDIR} ${STAGEDIR}${CONFIGDIR} || true ${MKDIR} ${STAGEDIR}${CONFIGDIR}/aliases || true Added: head/irc/unreal/files/patch-src_s__bsd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/unreal/files/patch-src_s__bsd.c Tue Oct 27 13:44:31 2015 (r400241) @@ -0,0 +1,11 @@ +--- src/s_bsd.c.orig 2015-08-16 06:44:25 UTC ++++ src/s_bsd.c +@@ -455,7 +455,7 @@ int inetport(aClient *cptr, char *name, + */ + if (cptr->fd == -1) + { +- cptr->fd = socket(AFINET, SOCK_STREAM, 0); ++ cptr->fd = socket(AFINET, SOCK_STREAM, IPPROTO_TCP); + } + if (cptr->fd < 0) + {