Bug 168446 - [PATCH] net/dhcprelay: Fix for broken init script
Summary: [PATCH] net/dhcprelay: Fix for broken init script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Edwin Groothuis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 02:20 UTC by Sulev-Madis Silber
Modified: 2014-05-11 11:10 UTC (History)
1 user (show)

See Also:


Attachments
dhcprelay.diff (260 bytes, patch)
2012-05-30 02:20 UTC, Sulev-Madis Silber
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sulev-Madis Silber 2012-05-30 02:20:01 UTC
	
Port's init script is broken:

> /usr/local/etc/rc.d/dhcprelay 
/usr/local/etc/rc.d/dhcprelay: 28: Syntax error: Unterminated quoted string

Patch attached.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-30 09:16:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->edwin

edwin@mavetju.org => edwin@ (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-30 09:16:53 UTC
Maintainer of net/dhcprelay,

Please note that PR ports/168446 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/168446

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-30 09:16:57 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-11 11:03:33 UTC
State Changed
From-To: feedback->closed

Commited, thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-05-11 11:03:38 UTC
Author: edwin
Date: Sun May 11 10:03:32 2014
New Revision: 353666
URL: http://svnweb.freebsd.org/changeset/ports/353666
QAT: https://qat.redports.org/buildarchive/r353666/

Log:
  Fix rc script.
  
  PR:		168446
  Submitted by:	"Sulev-Madis 'ketas' Silber" <madis555@hot.ee>

Modified:
  head/net/dhcprelay/Makefile
  head/net/dhcprelay/files/dhcprelay.in

Modified: head/net/dhcprelay/Makefile
==============================================================================
--- head/net/dhcprelay/Makefile	Sun May 11 10:03:02 2014	(r353665)
+++ head/net/dhcprelay/Makefile	Sun May 11 10:03:32 2014	(r353666)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dhcprelay
 PORTVERSION=	1.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://www.mavetju.org/download/
 

Modified: head/net/dhcprelay/files/dhcprelay.in
==============================================================================
--- head/net/dhcprelay/files/dhcprelay.in	Sun May 11 10:03:02 2014	(r353665)
+++ head/net/dhcprelay/files/dhcprelay.in	Sun May 11 10:03:32 2014	(r353666)
@@ -25,6 +25,6 @@ command_args="${dhcprelay_ifaces} ${dhcp
 
 load_rc_config ${name}
 
-dhcprelay_enable=${dhcprelay_enable:"NO"}
+dhcprelay_enable=${dhcprelay_enable:-"NO"}
 
 run_rc_command "$1"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"