aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2003-07-04 07:46:09 +0000
committerMichael Landin <mich@FreeBSD.org>2003-07-04 07:46:09 +0000
commit5794a744f67ec25bf1ed39febc780bfcbaf29539 (patch)
treeac8769c8fef3288dda716a71afd5e66878684b77
parent0039455c976ece2c50c230d479e2450fe508ea71 (diff)
downloadports-5794a744f67ec25bf1ed39febc780bfcbaf29539.tar.gz
ports-5794a744f67ec25bf1ed39febc780bfcbaf29539.zip
Notes
-rw-r--r--net-mgmt/cdpr/Makefile9
-rw-r--r--net-mgmt/cdpr/distinfo2
-rw-r--r--net-mgmt/cdpr/files/patch-aa10
-rw-r--r--net/cdpr/Makefile9
-rw-r--r--net/cdpr/distinfo2
-rw-r--r--net/cdpr/files/patch-aa10
6 files changed, 28 insertions, 14 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"
diff --git a/net/cdpr/Makefile b/net/cdpr/Makefile
index 145b340385ff..f5302126bcc4 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 dc89437d994a..e68629607965 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 000000000000..13728e24b06c
--- /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"