1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- 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
This commit is contained in:
Kirill Ponomarev 2003-11-16 12:59:32 +00:00
parent ae5a6dfaa3
commit efb0cba3b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94089
4 changed files with 24 additions and 2 deletions

View File

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

View File

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

View File

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

11
net/cdpd/files/cdpd.patch Normal file
View File

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