Commit Diff
Diff:
6d56cbea595d04282bd0669cb574e5baa36edae9
c1f92d9ec8c166686b0b145e6505bf7b76a8f5cf
Commit:
c1f92d9ec8c166686b0b145e6505bf7b76a8f5cf
Tree:
825f8a28ef478005952195a9c10c5731f2c15d06
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Sat Nov 8 15:34:45 2014 UTC
Message:
* make wildcarddnsd compile on Mac OS X with default privileges of "nobody" * indicate install instructions for Mac OS X Yosemite (10.10)
blob - d08f60c474516bc04f93f5c1c50d03d5098f66f6
blob + 5a416470a9b3c65ed7628b0c624692331371e9d6
--- Makefile.macosx
+++ Makefile.macosx
@@ -1,7 +1,7 @@
PROG=wildcarddnsd
CC=gcc
-CFLAGS=-I/opt/local/include/db48 -L/opt/local/lib/db48 -D__APPLE_USE_RFC_3542=1
-LDADD=-ldb -lssl -lcrypto -DDEFAULT_PRIVILEGE="nobody"
+CFLAGS=-I/opt/local/include/db48 -L/opt/local/lib/db48 -D__APPLE_USE_RFC_3542=1 -DDEFAULT_PRIVILEGE='"nobody"'
+LDADD=-ldb -lssl -lcrypto -DDEFAULT_PRIVILEGE='"nobody"'
YACC=bison
build:
blob - a75bd17bf03866b6f54d2e664187670274b3d087
blob + 838eca428257d03242d75ec2017c33ecda5dadb8
--- README
+++ README
@@ -1,4 +1,4 @@
-$Id: README,v 1.33 2014/11/07 11:17:44 pjp Exp $
+$Id: README,v 1.34 2014/11/08 15:34:45 pjp Exp $
1. README
2. WHY WILDCARDNS?
@@ -149,7 +149,15 @@ $ make install
3.5 Mac OS X
------------
-In Mac OS X Mountain Lion I installed berkeley db 4.8 through Mac Ports.
+## configure for Mac OS X
+$ sh configure
+## Installed berkeley db 4.8 through Mac Ports.
+$ sudo port install db48
+## The binary is made with nobody as the unprivileged user
+$ make
+## cp the binary into /usr/local/sbin/
+$ sudo cp wildcarddnsd /usr/local/sbin/
+## done, create config file and start wildcarddnsd
4. COMPATIBILITY
@@ -166,8 +174,8 @@ OpenBSD 5.6 | yes | yes
------------------+--------------------+---------------------+-------------+
Linux | yes | yes | version 5 |
------------------+--------------------+---------------------+-------------+
-Mac OS X 10.9.5 | yes | unknown | version 4.6 |
- | | | |
+Mac OS X Yosemite | yes | yes | version 4.8 |
+with MacPorts | | | |
------------------+--------------------+---------------------+-------------+
Rasbian OS | yes *** | yes | version 5 |
------------------+--------------------+---------------------+-------------+
repomaster@centroid.eu