Skip to content

Instantly share code, notes, and snippets.

@mattconnolly
Created March 24, 2013 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattconnolly/5230461 to your computer and use it in GitHub Desktop.
Save mattconnolly/5230461 to your computer and use it in GitHub Desktop.
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