Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 17:30:19 +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: r402403 - in head/net: . dpinger dpinger/files
Message-ID:  <201511251730.tAPHUJ5q062581@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Wed Nov 25 17:30:19 2015
New Revision: 402403
URL: https://svnweb.freebsd.org/changeset/ports/402403

Log:
  Add net/dpinger:
  
  IP device monitoring tool
  
  WWW: https://github.com/dennypage/dpinger
  
  Sponsored by:	Rubicon Communications (Netgate)

Added:
  head/net/dpinger/
  head/net/dpinger/Makefile   (contents, props changed)
  head/net/dpinger/distinfo   (contents, props changed)
  head/net/dpinger/files/
  head/net/dpinger/files/patch-Makefile   (contents, props changed)
  head/net/dpinger/files/patch-dpinger.c   (contents, props changed)
  head/net/dpinger/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Wed Nov 25 17:27:05 2015	(r402402)
+++ head/net/Makefile	Wed Nov 25 17:30:19 2015	(r402403)
@@ -106,6 +106,7 @@
     SUBDIR += dimes
     SUBDIR += dosdetector
     SUBDIR += dpdk
+    SUBDIR += dpinger
     SUBDIR += drawterm
     SUBDIR += dropbox-api-command
     SUBDIR += dropbox-uploader

Added: head/net/dpinger/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/dpinger/Makefile	Wed Nov 25 17:30:19 2015	(r402403)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME=	dpinger
+PORTVERSION=	0.0.1.20151125
+CATEGORIES=	net
+
+MAINTAINER=	garga@FreeBSD.org
+COMMENT=	IP device monitoring tool
+
+LICENSE=	BSD2CLAUSE
+
+USES=		uidfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	dennypage
+GH_PROJECT=	dpinger
+GH_TAGNAME=	21942bac3a
+
+PLIST_FILES=	bin/dpinger
+
+.include <bsd.port.mk>

Added: head/net/dpinger/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/dpinger/distinfo	Wed Nov 25 17:30:19 2015	(r402403)
@@ -0,0 +1,2 @@
+SHA256 (dennypage-dpinger-0.0.1.20151125-21942bac3a_GH0.tar.gz) = 6b4f1911dfc38d35f103df61cd776f74def536ebc260b6b00832f5724c754701
+SIZE (dennypage-dpinger-0.0.1.20151125-21942bac3a_GH0.tar.gz) = 6073

Added: head/net/dpinger/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/dpinger/files/patch-Makefile	Wed Nov 25 17:30:19 2015	(r402403)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2015-11-25 04:21:35 UTC
++++ Makefile
+@@ -4,7 +4,7 @@ MAN=
+ BINDIR=	${PREFIX}/bin
+ WARNS=	6
+ 
+-CFLAGS=	-g
++#CFLAGS=	-g
+ LDADD=	-lpthread
+ 
+ .include <bsd.prog.mk>

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	Wed Nov 25 17:30:19 2015	(r402403)
@@ -0,0 +1,11 @@
+--- dpinger.c.orig	2015-11-25 04:21:35 UTC
++++ dpinger.c
+@@ -164,7 +164,7 @@ cksum(
+ 
+     if (len == 1)
+     {
+-	sum += (uint16_t) *((uint8_t *) p);
++	sum += (uint16_t) *((const uint8_t *) p);
+     }
+ 
+     sum = (sum >> 16) + (sum & 0xFFFF);

Added: head/net/dpinger/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/dpinger/pkg-descr	Wed Nov 25 17:30:19 2015	(r402403)
@@ -0,0 +1,3 @@
+IP device monitoring tool
+
+WWW: https://github.com/dennypage/dpinger



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511251730.tAPHUJ5q062581>