svn commit: r420640 - in head/net-mgmt/cdpd: . files
John Marino
marino at FreeBSD.org
Tue Aug 23 01:51:22 UTC 2016
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 at 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;
More information about the svn-ports-all
mailing list