Date: Tue, 27 Oct 2015 14:03:02 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r400246 - in branches/2015Q4/irc/unreal: . files Message-ID: <201510271403.t9RE32Zh016941@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Tue Oct 27 14:03:02 2015 New Revision: 400246 URL: https://svnweb.freebsd.org/changeset/ports/400246 Log: MFH: r400241 Fix startup. Don't install as root:wheel/0700. PR: 204021 Submitted by: loox e-shell net Sponsored by: Absolight Added: branches/2015Q4/irc/unreal/files/patch-src_s__bsd.c - copied unchanged from r400241, head/irc/unreal/files/patch-src_s__bsd.c Modified: branches/2015Q4/irc/unreal/Makefile Directory Properties: branches/2015Q4/ (props changed) Modified: branches/2015Q4/irc/unreal/Makefile ============================================================================== --- branches/2015Q4/irc/unreal/Makefile Tue Oct 27 14:01:59 2015 (r400245) +++ branches/2015Q4/irc/unreal/Makefile Tue Oct 27 14:03:02 2015 (r400246) @@ -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 Copied: branches/2015Q4/irc/unreal/files/patch-src_s__bsd.c (from r400241, head/irc/unreal/files/patch-src_s__bsd.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2015Q4/irc/unreal/files/patch-src_s__bsd.c Tue Oct 27 14:03:02 2015 (r400246, copy of r400241, head/irc/unreal/files/patch-src_s__bsd.c) @@ -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) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510271403.t9RE32Zh016941>