Add Mac OS/X plist.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 1 Oct 2012 16:57:45 +0000 (12:57 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 1 Oct 2012 16:57:45 +0000 (12:57 -0400)
Makefile
NEWS
install.txt
org.catb.irkerd.plist [new file with mode: 0644]

index d004f41932b5aa8d04ca923ea368f48d80e4873e..8913ac8d969916fbaa7075b8bf97c7f8bcf1c95d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,13 +43,14 @@ pylint:
 
 
 SOURCES = README COPYING NEWS BUGS install.txt security.txt hacking.txt \
-       irkerd irkerhook.py Makefile irkerd.xml irkerhook.xml irker-logo.png
+       irkerd irkerhook.py Makefile irkerd.xml irkerhook.xml 
+EXTRA_DIST = irker-logo.png org.catb.irkerd.plist
 
 version:
        @echo $(VERS)
 
 irker-$(VERS).tar.gz: $(SOURCES) irkerd.8 irkerhook.1
-       tar --transform='s:^:irker-$(VERS)/:' --show-transformed-names -cvzf irker-$(VERS).tar.gz $(SOURCES)
+       tar --transform='s:^:irker-$(VERS)/:' --show-transformed-names -cvzf irker-$(VERS).tar.gz $(SOURCES) $(EXTRA_DIST)
 
 dist: irker-$(VERS).tar.gz
 
diff --git a/NEWS b/NEWS
index 7502f8f59a173783f73adf1a5d6a97262946c7cd..26db304c7dcb7d6c2dc9bf99ebaa5ecea8f677b1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,7 +22,8 @@
   Fix a bug in handling of channel names with no prefix.
 
 1.4 @
-  Graceful handling of flood disconnects and kicks.
+  Graceful handling of server disconnects and kicks.
+  Distribution now inclues an installable irkerd plist for Mac OS/X.
 
 
 
index f7f73f6bfe702c9869ad69b9f1ca3b510d4409f9..0602ad43b3d52162f0a73a913036093b99658885 100644 (file)
@@ -34,6 +34,9 @@ threading implementation that is faster and has much lower space
 overhead than system threads, making irkerd more resistant to
 potential DoS attacks.
 
+The file org.catb.irkerd.plist is a Mac OS/X plist that can be
+installed to launch irkerd as a boot-time service on that system.
+
 == Installing irkerhook.py ==
 
 irkerhook.py should be called from the post-commit hook of each 
diff --git a/org.catb.irkerd.plist b/org.catb.irkerd.plist
new file mode 100644 (file)
index 0000000..3b30f92
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>KeepAlive</key>
+       <true/>
+       <key>Label</key>
+       <string>org.catb.irkerd</string>
+       <key>ProgramArguments</key>
+       <array>
+               <string>/usr/bin/irkerd</string>
+       </array>
+       <key>RunAtLoad</key>
+       <true/>
+       <key>UserName</key>
+       <string>nobody</string>
+       <key>GroupName</key>
+       <string>nobody</string>
+</dict>
+</plist>