Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A patch for netatalk 3.0.2 to build on SmartOS. Thanks to http://opusmagnus.wordpress.com/2012/11/01/quick-tip-netatalk-3-0-1-on-joyent-smartos/
diff --git a/distrib/initscripts/Makefile.am b/distrib/initscripts/Makefile.am
index 5bdf951..bee3677 100644
--- a/distrib/initscripts/Makefile.am
+++ b/distrib/initscripts/Makefile.am
@@ -140,7 +140,7 @@ endif
if USE_SOLARIS
-servicedir = /lib/svc/manifest/network/
+servicedir = /var/svc/manifest/network/
service_DATA = netatalk.xml
install-data-hook:
diff --git a/distrib/initscripts/Makefile.in b/distrib/initscripts/Makefile.in
index ae22058..6548676 100644
--- a/distrib/initscripts/Makefile.in
+++ b/distrib/initscripts/Makefile.in
@@ -382,7 +382,7 @@ noinst_DATA = $(GENERATED_FILES)
#
# checking for Solaris init scripts
#
-@USE_SOLARIS_TRUE@servicedir = /lib/svc/manifest/network/
+@USE_SOLARIS_TRUE@servicedir = /var/svc/manifest/network/
#
# checking for general systemd scripts:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.