Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2016 01:51:21 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420640 - in head/net-mgmt/cdpd: . files
Message-ID:  <201608230151.u7N1pLQM021988@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Tue Aug 23 01:51:21 2016
New Revision: 420640
URL: https://svnweb.freebsd.org/changeset/ports/420640

Log:
  net-mgmt/cdpd: Fix runtime on armv6
  
  While here, pet portlint and define the 2-clause BSD license
  
  PR:		208216
  Submitted by:	Mikael Urankar (gmail)

Added:
  head/net-mgmt/cdpd/files/patch-cdpd.c   (contents, props changed)
Modified:
  head/net-mgmt/cdpd/Makefile

Modified: head/net-mgmt/cdpd/Makefile
==============================================================================
--- head/net-mgmt/cdpd/Makefile	Mon Aug 22 23:57:12 2016	(r420639)
+++ head/net-mgmt/cdpd/Makefile	Tue Aug 23 01:51:21 2016	(r420640)
@@ -3,14 +3,18 @@
 
 PORTNAME=	cdpd
 PORTVERSION=	1.0.4.1
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://snar.spb.ru/prog/cdpd/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Daemon to send CDP/LLDP announces over ethernet
 
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
+
+USES=		tar:tgz
 GNU_CONFIGURE=	yes
-EXTRACT_SUFX=	.tgz
 
 USE_RC_SUBR=	cdpd
 PLIST_FILES=	sbin/cdpd man/man8/cdpd.8.gz

Added: head/net-mgmt/cdpd/files/patch-cdpd.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/cdpd/files/patch-cdpd.c	Tue Aug 23 01:51:21 2016	(r420640)
@@ -0,0 +1,11 @@
+--- cdpd.c.orig	2016-03-22 18:37:16 UTC
++++ cdpd.c
+@@ -606,7 +606,7 @@ cdp_debug_packet(struct cdp_interface* c
+ int
+ main(int argc, char* argv[])
+ { 
+-	char c;
++	int c;
+ 	int timeout=60, ret=0;
+ 	unsigned char buffer[1600];
+ 	int offset;



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