diff options
author | mich <mich@FreeBSD.org> | 2003-07-04 15:46:09 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2003-07-04 15:46:09 +0800 |
commit | 813d16863144a7fc55e5df2dcc81b6689ba9b3de (patch) | |
tree | 0f8f3836bdd4a5db90d35d565efda8f47b292801 /net-mgmt/cdpr | |
parent | 03bc1f6126074ccaeaa0b618effe72f5fe10ba7c (diff) | |
download | freebsd-ports-gnome-813d16863144a7fc55e5df2dcc81b6689ba9b3de.tar.gz freebsd-ports-gnome-813d16863144a7fc55e5df2dcc81b6689ba9b3de.tar.zst freebsd-ports-gnome-813d16863144a7fc55e5df2dcc81b6689ba9b3de.zip |
Updated to 2.0.0
- Support for HP procurve cdp packets.
- bugfixing.
Approved by: roberto (mentor)
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"
|