1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Updated to 2.0.0

- Support for HP procurve cdp packets.
 - bugfixing.

Approved by:		roberto (mentor)
This commit is contained in:
Michael Landin 2003-07-04 07:46:09 +00:00
parent 0039455c97
commit 5794a744f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84185
6 changed files with 28 additions and 14 deletions

View File

@ -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}

View File

@ -1 +1 @@
MD5 (cdpr-1.0.8.tgz) = c254a396bd341f134225fbb6b06cb050
MD5 (cdpr-2.0.0.tar.gz) = 22d9bca09fb8188aa2b97640f0120343

View File

@ -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"

View File

@ -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}

View File

@ -1 +1 @@
MD5 (cdpr-1.0.8.tgz) = c254a396bd341f134225fbb6b06cb050
MD5 (cdpr-2.0.0.tar.gz) = 22d9bca09fb8188aa2b97640f0120343

10
net/cdpr/files/patch-aa Normal file
View File

@ -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"