From 2bc13a7ef9d24747a60af78dc49eb44071d15d8d Mon Sep 17 00:00:00 2001 From: krion 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 Approved by: maintainer timeout > 4 months --- net-mgmt/cdpd/Makefile | 2 +- net-mgmt/cdpd/files/cdpd.patch | 11 +++++++++++ net/cdpd/Makefile | 2 +- net/cdpd/files/cdpd.patch | 11 +++++++++++ 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 net-mgmt/cdpd/files/cdpd.patch create mode 100644 net/cdpd/files/cdpd.patch 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 diff --git a/net/cdpd/Makefile b/net/cdpd/Makefile index 0ab8cadff4eb..1d370cbe51a4 100644 --- a/net/cdpd/Makefile +++ b/net/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/cdpd/files/cdpd.patch b/net/cdpd/files/cdpd.patch new file mode 100644 index 000000000000..497ff9f311fc --- /dev/null +++ b/net/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