diff options
author | Michael Landin <mich@FreeBSD.org> | 2003-07-04 07:46:09 +0000 |
---|---|---|
committer | Michael Landin <mich@FreeBSD.org> | 2003-07-04 07:46:09 +0000 |
commit | 5794a744f67ec25bf1ed39febc780bfcbaf29539 (patch) | |
tree | ac8769c8fef3288dda716a71afd5e66878684b77 /net-mgmt/cdpr | |
parent | Update 0.35 (diff) |
Updated to 2.0.0
- Support for HP procurve cdp packets.
- bugfixing.
Approved by: roberto (mentor)
Notes
Notes:
svn path=/head/; revision=84185
Diffstat (limited to 'net-mgmt/cdpr')
-rw-r--r-- | net-mgmt/cdpr/Makefile | 9 | ||||
-rw-r--r-- | net-mgmt/cdpr/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/cdpr/files/patch-aa | 10 |
3 files changed, 14 insertions, 7 deletions
diff --git a/net-mgmt/cdpr/Makefile b/net-mgmt/cdpr/Makefile index 145b340385ff..f5302126bcc4 100644 --- a/net-mgmt/cdpr/Makefile +++ b/net-mgmt/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-mgmt/cdpr/distinfo b/net-mgmt/cdpr/distinfo index dc89437d994a..e68629607965 100644 --- a/net-mgmt/cdpr/distinfo +++ b/net-mgmt/cdpr/distinfo @@ -1 +1 @@ -MD5 (cdpr-1.0.8.tgz) = c254a396bd341f134225fbb6b06cb050 +MD5 (cdpr-2.0.0.tar.gz) = 22d9bca09fb8188aa2b97640f0120343 diff --git a/net-mgmt/cdpr/files/patch-aa b/net-mgmt/cdpr/files/patch-aa new file mode 100644 index 000000000000..13728e24b06c --- /dev/null +++ b/net-mgmt/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"
|