summaryrefslogtreecommitdiffstats
path: root/net/cdpr
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2003-07-04 07:46:09 +0000
committermich <mich@FreeBSD.org>2003-07-04 07:46:09 +0000
commit813d16863144a7fc55e5df2dcc81b6689ba9b3de (patch)
tree0f8f3836bdd4a5db90d35d565efda8f47b292801 /net/cdpr
parent03bc1f6126074ccaeaa0b618effe72f5fe10ba7c (diff)
downloadFreeBSD-ports-813d16863144a7fc55e5df2dcc81b6689ba9b3de.zip
FreeBSD-ports-813d16863144a7fc55e5df2dcc81b6689ba9b3de.tar.gz
Updated to 2.0.0
- Support for HP procurve cdp packets. - bugfixing. Approved by: roberto (mentor)
Diffstat (limited to 'net/cdpr')
-rw-r--r--net/cdpr/Makefile9
-rw-r--r--net/cdpr/distinfo2
-rw-r--r--net/cdpr/files/patch-aa10
3 files changed, 14 insertions, 7 deletions
diff --git a/net/cdpr/Makefile b/net/cdpr/Makefile
index 145b340..f530212 100644
--- a/net/cdpr/Makefile
+++ b/net/cdpr/Makefile
@@ -7,13 +7,10 @@
#
PORTNAME= cdpr
-PORTVERSION= 1.0.8
+PORTVERSION= 2.0.0
CATEGORIES= net
-MASTER_SITES= http://freebsdcluster.org/~mich/software/ \
- http://www.monkeymental.com/mmfiles/ \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= http://www.monkeymental.com/mmfiles/
MASTER_SITE_SUBDIR= ${PORTNAME}
-EXTRACT_SUFX= .tgz
MAINTAINER= mich@FreeBSD.org
COMMENT= Cisco Discovery Protocol Reporter
@@ -24,7 +21,7 @@ LDFLAGS+= -L${LOCALBASE}/lib -lpcap
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
do-build:
- (cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c cdprs.c conffile.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
diff --git a/net/cdpr/distinfo b/net/cdpr/distinfo
index dc89437..e686296 100644
--- a/net/cdpr/distinfo
+++ b/net/cdpr/distinfo
@@ -1 +1 @@
-MD5 (cdpr-1.0.8.tgz) = c254a396bd341f134225fbb6b06cb050
+MD5 (cdpr-2.0.0.tar.gz) = 22d9bca09fb8188aa2b97640f0120343
diff --git a/net/cdpr/files/patch-aa b/net/cdpr/files/patch-aa
new file mode 100644
index 0000000..13728e2
--- /dev/null
+++ b/net/cdpr/files/patch-aa
@@ -0,0 +1,10 @@
+--- conffile.c.orig Fri Jun 27 16:38:56 2003
++++ conffile.c Fri Jun 27 16:37:14 2003
+@@ -6,6 +6,7 @@
+ #if WIN32
+ #include "Winsock2.h"
+ #else
++#include "sys/types.h"
+ #include "sys/socket.h"
+ #include "netinet/in.h"
+ #include "arpa/inet.h"
OpenPOWER on IntegriCloud