[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: [UPDATE] iodine 0.5.2 -> 0.6.0-rc1
From:       William Orr <will () worrbase ! com>
Date:       2011-02-28 13:27:57
Message-ID: AANLkTingB+4f0vuwbk+sFSgDOjX_e8hXuaD33AsbShBO () mail ! gmail ! com
[Download RAW message or body]

On Mon, Feb 28, 2011 at 1:30 AM, Antoine Jacoutot <ajacoutot@bsdfrog.org> wrote:
> On Sun, 27 Feb 2011, William Orr wrote:
>
>> Index: net/iodine/pkg/iodined.rc
>> ===================================================================
>> RCS file: net/iodine/pkg/iodined.rc
>> diff -N net/iodine/pkg/iodined.rc
>> --- /dev/null   1 Jan 1970 00:00:00 -0000
>> +++ net/iodine/pkg/iodined.rc   28 Feb 2011 01:49:58 -0000
>> @@ -0,0 +1,9 @@
>> +#!/bin/sh
>> +
>> +daemon=/usr/local/sbin/iodined
>
> Please don't hardcode /usr/local here.
>
> --
> Antoine
>

Ok, fixed that. Should that be documented in rc.subr(8)? Or is it
already documented in some other manpage that I'm not aware of?

Index: net/iodine/Makefile
===================================================================
RCS file: /cvs/ports/net/iodine/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- net/iodine/Makefile 3 Dec 2010 07:47:44 -0000   1.11
+++ net/iodine/Makefile 28 Feb 2011 01:43:21 -0000
@@ -3,7 +3,7 @@
 COMMENT=       tunnel IPv4 data through DNS

 DISTNAME=      iodine-0.5.2
-REVISION=      0
+REVISION=      1
 CATEGORIES=        net

 HOMEPAGE=      http://code.kryo.se/iodine/
Index: net/iodine/patches/patch-man_iodine_8
===================================================================
RCS file: net/iodine/patches/patch-man_iodine_8
diff -N net/iodine/patches/patch-man_iodine_8
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ net/iodine/patches/patch-man_iodine_8   22 Feb 2011 04:43:52 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+--- man/iodine.8.orig  Tue Jan  4 21:00:27 2011
++++ man/iodine.8   Tue Jan  4 21:01:53 2011
+@@ -103,10 +103,10 @@ Print usage info and exit.
+ Keep running in foreground.
+ .TP
+ .B -u user
+-Drop privileges and run as user 'user' after setting up tunnel.
++Drop privileges and run as user 'user' after setting up tunnel.
Default is _iodine.
+ .TP
+ .B -t chrootdir
+-Chroot to 'chrootdir' after setting up tunnel.
++Chroot to 'chrootdir' after setting up tunnel. Default is /var/empty.
+ .TP
+ .B -d device
+ Use the TUN device 'device' instead of the normal one, which is dnsX on Linux
Index: net/iodine/pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/iodine/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- net/iodine/pkg/PLIST    30 Mar 2009 09:17:45 -0000  1.3
+++ net/iodine/pkg/PLIST    22 Feb 2011 04:45:28 -0000
@@ -4,3 +4,4 @@
 @man man/man8/iodine.8
 @bin sbin/iodine
 @bin sbin/iodined
+@rcscript ${RCDIR}/iodined
Index: net/iodine/pkg/iodined.rc
===================================================================
RCS file: net/iodine/pkg/iodined.rc
diff -N net/iodine/pkg/iodined.rc
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ net/iodine/pkg/iodined.rc   28 Feb 2011 08:24:58 -0000
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+daemon="${TRUEPREFIX}/sbin/iodined"
+
+. /etc/rc.d/rc.subr
+
+pexp=${daemon}



-- 
-Will Orr


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic