Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2005 18:20:32 GMT
From:      Evgeniy <dushistov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/86016: [PATCH] rc.d script for i2p port
Message-ID:  <200509121820.j8CIKWso074933@www.freebsd.org>
Resent-Message-ID: <200509121830.j8CIUGeh086230@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86016
>Category:       ports
>Synopsis:       [PATCH] rc.d script for i2p port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 12 18:30:15 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509121820.j8CIKWso074933>