From nobody@FreeBSD.org  Mon Sep 12 18:20:33 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6395E16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2005 18:20:33 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3534043D46
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2005 18:20:33 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j8CIKWOR074934
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2005 18:20:33 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j8CIKWso074933;
	Mon, 12 Sep 2005 18:20:32 GMT
	(envelope-from nobody)
Message-Id: <200509121820.j8CIKWso074933@www.freebsd.org>
Date: Mon, 12 Sep 2005 18:20:32 GMT
From: Evgeniy <dushistov@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] rc.d script for i2p port
X-Send-Pr-Version: www-2.3

>Number:         86016
>Category:       ports
>Synopsis:       [PATCH] rc.d script for i2p port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lioux
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 12 18:30:15 GMT 2005
>Closed-Date:    Mon Oct 10 06:59:22 GMT 2005
>Last-Modified:  Mon Oct 10 06:59:22 GMT 2005
>Originator:     Evgeniy
>Release:        FreeBSD 5.4-RELEASE
>Organization:
no
>Environment:
FreeBSD cage.localdomain 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386      
>Description:
In i2p package there is i2prouter script, 
to start i2p after system boot, you need exec it.

As I know, there is common way to do it in FreeBSD:
script in /usr/local/etc/rc.d
and
line in /etc/rc.conf
script_enable="YES"

And I suppose, will be good have such feature for i2p by default.

PS
I email to mantainer of i2p, but didn't recieve any responce.
>How-To-Repeat:
      
>Fix:
--- /root/i2p/Makefile  Sat Sep  3 00:12:29 2005
+++ /usr/ports/net/i2p/Makefile Fri Sep  2 23:41:23 2005
@@ -85,6 +85,8 @@
 # wrapper
        @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
                ${PREFIX}/sbin/i2prouter
+#rc.d script
+       @${LN} -s ${PREFIX}/sbin/i2prouter ${PREFIX}/etc/rc.d/i2p.sh
 # doc
 .ifndef(NOPORTDOCS)
        @${MKDIR} ${DOCSDIR}

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lioux 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Sep 12 21:57:36 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86016 
State-Changed-From-To: open->closed 
State-Changed-By: lioux 
State-Changed-When: Mon Oct 10 06:59:21 GMT 2005 
State-Changed-Why:  
A rc.subr(8) startup script has just been committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86016 
>Unformatted:
