Date: Tue, 29 Dec 2015 10:30:21 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404730 - in head/net/dpinger: . files Message-ID: <201512291030.tBTAUL0U082777@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: garga Date: Tue Dec 29 10:30:21 2015 New Revision: 404730 URL: https://svnweb.freebsd.org/changeset/ports/404730 Log: - Update net/dpinger to 1.2 - Fix build on FreeBSD < 10 Added: head/net/dpinger/files/ head/net/dpinger/files/patch-dpinger.c (contents, props changed) Modified: head/net/dpinger/Makefile head/net/dpinger/distinfo Modified: head/net/dpinger/Makefile ============================================================================== --- head/net/dpinger/Makefile Tue Dec 29 10:21:18 2015 (r404729) +++ head/net/dpinger/Makefile Tue Dec 29 10:30:21 2015 (r404730) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= dpinger -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= net MAINTAINER= garga@FreeBSD.org @@ -13,7 +13,7 @@ USES= uidfix USE_GITHUB= yes GH_ACCOUNT= dennypage GH_PROJECT= dpinger -GH_TAGNAME= v1.1 +GH_TAGNAME= v${PORTVERSION} PLIST_FILES= bin/dpinger Modified: head/net/dpinger/distinfo ============================================================================== --- head/net/dpinger/distinfo Tue Dec 29 10:21:18 2015 (r404729) +++ head/net/dpinger/distinfo Tue Dec 29 10:30:21 2015 (r404730) @@ -1,2 +1,2 @@ -SHA256 (dennypage-dpinger-1.1-v1.1_GH0.tar.gz) = 2a0d7fad1122bdcedfbd481cfcc06c70a1a12b74263138e40b7ffaff76dc8d97 -SIZE (dennypage-dpinger-1.1-v1.1_GH0.tar.gz) = 9529 +SHA256 (dennypage-dpinger-1.2-v1.2_GH0.tar.gz) = a904dcb5993ae9f25388634d90c21bdea87b45b9e1b271c0a4cbc7eb0dd6a314 +SIZE (dennypage-dpinger-1.2-v1.2_GH0.tar.gz) = 9809 Added: head/net/dpinger/files/patch-dpinger.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dpinger/files/patch-dpinger.c Tue Dec 29 10:30:21 2015 (r404730) @@ -0,0 +1,23 @@ +--- dpinger.c.orig 2015-12-29 10:25:51 UTC ++++ dpinger.c +@@ -1106,13 +1106,19 @@ main( + fatal("socket name too large\n"); + } + +- usocket_fd = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); ++ usocket_fd = socket(AF_UNIX, SOCK_STREAM, 0); + if (usocket_fd == -1) + { + perror("socket"); + fatal("cannot create unix domain socket\n"); + } + ++ if (fcntl(usocket_fd, F_SETFD, FD_CLOEXEC) == -1) ++ { ++ perror("socket"); ++ fatal("cannot set cloexec on unix domain socket\n"); ++ } ++ + (void) unlink(usocket_name); + + memset(&uaddr, 0, sizeof(uaddr));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512291030.tBTAUL0U082777>