Skip to content

Instantly share code, notes, and snippets.

@kaworu
Created October 20, 2015 10:17
Show Gist options
  • Select an option

  • Save kaworu/a0d546490518b08f915a to your computer and use it in GitHub Desktop.

Select an option

Save kaworu/a0d546490518b08f915a to your computer and use it in GitHub Desktop.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/iodine/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile 19 Jun 2014 22:45:56 -0000 1.14
+++ Makefile 20 Oct 2015 10:17:13 -0000
@@ -4,6 +4,7 @@ COMMENT= tunnel IPv4 data through DNS
DISTNAME= iodine-0.7.0
CATEGORIES= net
+REVISION= 0
HOMEPAGE= http://code.kryo.se/iodine/
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/iodine/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST 30 Mar 2009 09:17:45 -0000 1.3
+++ pkg/PLIST 20 Oct 2015 10:17:13 -0000
@@ -4,3 +4,4 @@
@man man/man8/iodine.8
@bin sbin/iodine
@bin sbin/iodined
+@rcscript ${RCDIR}/iodined
Index: pkg/iodined.rc
===================================================================
RCS file: pkg/iodined.rc
diff -N pkg/iodined.rc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/iodined.rc 20 Oct 2015 10:17:13 -0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+daemon="${TRUEPREFIX}/sbin/iodined"
+
+. /etc/rc.d/rc.subr
+
+pexp="${daemon} .*"
+rc_reload=NO
+
+rc_cmd $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment