ports/86016: [PATCH] rc.d script for i2p port
Evgeniy
dushistov at gmail.com
Mon Sep 12 18:30:18 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list