Bug 86023 - [PATCH] rc.d script for freenet port
Summary: [PATCH] rc.d script for freenet port
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: Mario Sergio Fujikawa Ferreira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 20:10 UTC by Evgeniy
Modified: 2005-10-10 07:21 UTC (History)
0 users

See Also:


Attachments
file.diff (219 bytes, patch)
2005-09-12 20:10 UTC, Evgeniy
no flags Details | Diff
file.diff (481 bytes, patch)
2005-09-12 20:10 UTC, Evgeniy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy 2005-09-12 20:10:09 UTC
In freenet package there is freenet script, 
to start freenet after system boot, 
you need exec something like this (freenet -i).

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, like this:
script_enable="YES"

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

PS
I email to mantainer of freenet, but without luck.

Fix: post-install:
        @${CAT} ${PKGMESSAGE}
+       @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/freenet.sh ${PREFIX}/etc/rc.d/freenet.sh

 .include <bsd.port.mk>
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-09-12 22:57:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lioux

Over to maintainer.
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2005-10-10 07:21:42 UTC
State Changed
From-To: open->closed

A rc.subr(8) startup script has just been committed. Thanks!