summaryrefslogtreecommitdiff
path: root/net-mgmt/cdpd
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-08-23 01:51:21 +0000
committerJohn Marino <marino@FreeBSD.org>2016-08-23 01:51:21 +0000
commitf7502b66bb352eb69e01c52ac8bf8a023c2db729 (patch)
tree568b4498bd8f4c7b1366e664e22a936350f7eec3 /net-mgmt/cdpd
parent- Pass maintainership to submitter (diff)
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)
Notes
Notes: svn path=/head/; revision=420640
Diffstat (limited to 'net-mgmt/cdpd')
-rw-r--r--net-mgmt/cdpd/Makefile6
-rw-r--r--net-mgmt/cdpd/files/patch-cdpd.c11
2 files changed, 16 insertions, 1 deletions
diff --git a/net-mgmt/cdpd/Makefile b/net-mgmt/cdpd/Makefile
index 10123d91b247..469ee07faa64 100644
--- a/net-mgmt/cdpd/Makefile
+++ b/net-mgmt/cdpd/Makefile
@@ -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
diff --git a/net-mgmt/cdpd/files/patch-cdpd.c b/net-mgmt/cdpd/files/patch-cdpd.c
new file mode 100644
index 000000000000..18e41da64821
--- /dev/null
+++ b/net-mgmt/cdpd/files/patch-cdpd.c
@@ -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;