From efb0cba3b2fc8879581e03c95cccbfd30f06368f Mon Sep 17 00:00:00 2001
From: Kirill Ponomarev <krion@FreeBSD.org>
Date: Sun, 16 Nov 2003 12:59:32 +0000
Subject: - Add minor patch to remove double CR from start/stop script - Pet
 portlint

PR:		54837
Submitted by:	Andrew <andrew@ugh.net.au>
Approved by:	maintainer timeout > 4 months
---
 net-mgmt/cdpd/Makefile         |  2 +-
 net-mgmt/cdpd/files/cdpd.patch | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 net-mgmt/cdpd/files/cdpd.patch

(limited to 'net-mgmt/cdpd')

diff --git a/net-mgmt/cdpd/Makefile b/net-mgmt/cdpd/Makefile
index 0ab8cadff4eb..1d370cbe51a4 100644
--- a/net-mgmt/cdpd/Makefile
+++ b/net-mgmt/cdpd/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES=	ftp://ftp.lexa.ru/pub/domestic/snar/
 MAINTAINER=	snar@paranoia.ru
 COMMENT=	CDPdaemon - sends Cisco Discovery Protocol announces over ethernet
 
-BUILD_DEPENDS=  ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
 
 GNU_CONFIGURE=	yes
 
diff --git a/net-mgmt/cdpd/files/cdpd.patch b/net-mgmt/cdpd/files/cdpd.patch
new file mode 100644
index 000000000000..497ff9f311fc
--- /dev/null
+++ b/net-mgmt/cdpd/files/cdpd.patch
@@ -0,0 +1,11 @@
+--- cdpd.sh.in.orig	Fri Jul 25 07:28:15 2003
++++ cdpd.sh.in	Fri Jul 25 07:28:23 2003
+@@ -3,7 +3,7 @@
+ case $1 in
+ start) 
+ 	[ -x @prefix@@libexecdir@/cdpd ] && @prefix@@libexecdir@/cdpd -a;
+-	echo ' cdpd';
++	echo -n ' cdpd';
+ ;;
+ stop)
+ 	killall cdpd
-- 
cgit v1.2.3