diff options
| -rw-r--r-- | Library/Formula/cherokee.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/couchdb-lucene.rb | 19 | ||||
| -rw-r--r-- | Library/Formula/couchdb.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/d-bus.rb | 3 | ||||
| -rw-r--r-- | Library/Formula/ddclient.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/dnsmasq.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/elasticsearch.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/isc-dhcp.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/jenkins.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/mariadb.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/memcached.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/mongodb.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/mysql.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/nginx.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/offline-imap.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/openvpn.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/pgbouncer.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/pincaster.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/postgresql.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/rabbitmq.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/redis.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/sickbeard.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/staticrouted.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/tor.rb | 1 |
24 files changed, 35 insertions, 10 deletions
diff --git a/Library/Formula/cherokee.rb b/Library/Formula/cherokee.rb index affd9c235..bf6126f4c 100644 --- a/Library/Formula/cherokee.rb +++ b/Library/Formula/cherokee.rb @@ -40,6 +40,7 @@ class Cherokee < Formula system "make install" prefix.install "org.cherokee.webserver.plist" + (prefix+'org.cherokee.webserver.plist').chmod 0644 (share+'cherokee/admin/server.py').chmod 0755 end end diff --git a/Library/Formula/couchdb-lucene.rb b/Library/Formula/couchdb-lucene.rb index 9a646db17..8747dadc6 100644 --- a/Library/Formula/couchdb-lucene.rb +++ b/Library/Formula/couchdb-lucene.rb @@ -18,19 +18,20 @@ class CouchdbLucene < Formula system "mv couchdb-lucene-#{version}/* #{prefix}" (etc + "couchdb/local.d/couchdb-lucene.ini").write ini_file - (prefix + "couchdb-lucene.plist").write plist_file + (prefix+"couchdb-lucene.plist").write plist_file + (prefix+"couchdb-lucene.plist").chmod 0644 end - def caveats; <<-EOS -You can enable couchdb-lucene to automatically load on login with: + def caveats; <<-EOS.undent + You can enable couchdb-lucene to automatically load on login with: - mkdir -p ~/Library/LaunchAgents - cp "#{prefix}/couchdb-lucene.plist" ~/Library/LaunchAgents/ - launchctl load -w ~/Library/LaunchAgents/couchdb-lucene.plist + mkdir -p ~/Library/LaunchAgents + cp "#{prefix}/couchdb-lucene.plist" ~/Library/LaunchAgents/ + launchctl load -w ~/Library/LaunchAgents/couchdb-lucene.plist -Or start it manually with: - #{bin}/run -EOS + Or start it manually with: + #{bin}/run + EOS end def ini_file diff --git a/Library/Formula/couchdb.rb b/Library/Formula/couchdb.rb index 6a7c01969..a17d00ba8 100644 --- a/Library/Formula/couchdb.rb +++ b/Library/Formula/couchdb.rb @@ -23,6 +23,7 @@ class Couchdb < Formula system "make" system "make install" + (prefix+"Library/LaunchDaemons/org.apache.couchdb.plist").chmod 0644 (lib+'couchdb/bin/couchjs').chmod 0755 (var+'lib/couchdb').mkpath (var+'log/couchdb').mkpath diff --git a/Library/Formula/d-bus.rb b/Library/Formula/d-bus.rb index 554bb5f4f..3e856e394 100644 --- a/Library/Formula/d-bus.rb +++ b/Library/Formula/d-bus.rb @@ -14,7 +14,6 @@ class DBus < Formula # Fix the TMPDIR to one D-Bus doesn't reject due to odd symbols ENV["TMPDIR"] = "/tmp" - system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-xml-docs", @@ -26,6 +25,8 @@ class DBus < Formula ENV.deparallelize system "make install" + (prefix+'org.freedesktop.dbus-session.plist').chmod 0644 + # Generate D-Bus's UUID for this machine system "#{bin}/dbus-uuidgen", "--ensure=#{prefix}/var/lib/dbus/machine-id" end diff --git a/Library/Formula/ddclient.rb b/Library/Formula/ddclient.rb index 7f3293d59..6d6ce7c74 100644 --- a/Library/Formula/ddclient.rb +++ b/Library/Formula/ddclient.rb @@ -40,6 +40,7 @@ class Ddclient < Formula # Write the launchd script (prefix + 'org.ddclient.plist').write startup_plist + (prefix + 'org.ddclient.plist').chmod 0644 end def caveats; <<-EOS diff --git a/Library/Formula/dnsmasq.rb b/Library/Formula/dnsmasq.rb index 1167d6b8c..36a040915 100644 --- a/Library/Formula/dnsmasq.rb +++ b/Library/Formula/dnsmasq.rb @@ -21,6 +21,7 @@ class Dnsmasq < Formula prefix.install "dnsmasq.conf.example" (prefix + "uk.org.thekelleys.dnsmasq.plist").write startup_plist + (prefix + "uk.org.thekelleys.dnsmasq.plist").chmod 0644 end def caveats; <<-EOS.undent diff --git a/Library/Formula/elasticsearch.rb b/Library/Formula/elasticsearch.rb index 73ddf803d..86f8f1455 100644 --- a/Library/Formula/elasticsearch.rb +++ b/Library/Formula/elasticsearch.rb @@ -29,6 +29,7 @@ class Elasticsearch < Formula # Write PLIST file for `launchd` (prefix+'org.elasticsearch.plist').write startup_plist + (prefix+'org.elasticsearch.plist').chmod 0644 end def caveats diff --git a/Library/Formula/isc-dhcp.rb b/Library/Formula/isc-dhcp.rb index c1bbcfe81..45526d10e 100644 --- a/Library/Formula/isc-dhcp.rb +++ b/Library/Formula/isc-dhcp.rb @@ -67,7 +67,9 @@ class IscDhcp < Formula # sample launchd plists (prefix+'org.isc.dhcpd.plist').write dhcpd_plist + (prefix+'org.isc.dhcpd.plist').chmod 0644 (prefix+'org.isc.dhcpd6.plist').write dhcpd6_plist + (prefix+'org.isc.dhcpd6.plist').chmod 0644 end def caveats diff --git a/Library/Formula/jenkins.rb b/Library/Formula/jenkins.rb index d72512a05..0918890a9 100644 --- a/Library/Formula/jenkins.rb +++ b/Library/Formula/jenkins.rb @@ -9,6 +9,7 @@ class Jenkins < Formula def install lib.install "jenkins.war" (prefix+'org.jenkins-ci.plist').write startup_plist + (prefix+'org.jenkins-ci.plist').chmod 0644 end def caveats; <<-EOS diff --git a/Library/Formula/mariadb.rb b/Library/Formula/mariadb.rb index 818b9124e..22d47249e 100644 --- a/Library/Formula/mariadb.rb +++ b/Library/Formula/mariadb.rb @@ -59,6 +59,7 @@ class Mariadb < Formula (prefix+'sql-bench').rmtree unless ARGV.include? '--with-bench' (prefix+'com.mysql.mysqld.plist').write startup_plist + (prefix+'com.mysql.mysqld.plist').chmod 0644 end def caveats; <<-EOS.undent diff --git a/Library/Formula/memcached.rb b/Library/Formula/memcached.rb index 353ba2b44..2c3af9946 100644 --- a/Library/Formula/memcached.rb +++ b/Library/Formula/memcached.rb @@ -21,6 +21,7 @@ class Memcached < Formula system "make install" (prefix+'com.danga.memcached.plist').write startup_plist + (prefix+'com.danga.memcached.plist').chmod 0644 end def caveats; <<-EOS.undent diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index eacadb0bb..14e0e8d5c 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -59,6 +59,7 @@ class Mongodb < Formula # Write the configuration files and launchd script (prefix+'mongod.conf').write mongodb_conf (prefix+'org.mongodb.mongod.plist').write startup_plist + (prefix+'org.mongodb.mongod.plist').chmod 0644 end def caveats diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index ab2947668..4ad93dc00 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -70,6 +70,7 @@ class Mysql < Formula system "make install" (prefix+'com.mysql.mysqld.plist').write startup_plist + (prefix+'com.mysql.mysqld.plist').chmod 0644 # Don't create databases inside of the prefix! # See: https://github.com/mxcl/homebrew/issues/4975 diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb index 4aa9af252..355910a3e 100644 --- a/Library/Formula/nginx.rb +++ b/Library/Formula/nginx.rb @@ -56,6 +56,7 @@ class Nginx < Formula system "make install" (prefix+'org.nginx.nginx.plist').write startup_plist + (prefix+'org.nginx.nginx.plist').chmod 0644 end def caveats; <<-EOS.undent diff --git a/Library/Formula/offline-imap.rb b/Library/Formula/offline-imap.rb index f4b92f8ff..89a687798 100644 --- a/Library/Formula/offline-imap.rb +++ b/Library/Formula/offline-imap.rb @@ -12,6 +12,7 @@ class OfflineImap < Formula bin.mkpath ln_s libexec+'offlineimap.py', bin+'offlineimap' (prefix+'org.offlineimap.plist').write startup_plist + (prefix+'org.offlineimap.plist').chmod 0644 end def caveats; <<-EOS.undent diff --git a/Library/Formula/openvpn.rb b/Library/Formula/openvpn.rb index 248645c73..eb0a2050c 100644 --- a/Library/Formula/openvpn.rb +++ b/Library/Formula/openvpn.rb @@ -39,6 +39,7 @@ class Openvpn < Formula # Write the launchd script (prefix + 'org.openvpn.plist').write startup_plist + (prefix + 'org.openvpn.plist').chmod 0644 end def caveats; <<-EOS diff --git a/Library/Formula/pgbouncer.rb b/Library/Formula/pgbouncer.rb index 639ebf18c..15b1cd10f 100644 --- a/Library/Formula/pgbouncer.rb +++ b/Library/Formula/pgbouncer.rb @@ -16,6 +16,7 @@ class Pgbouncer < Formula etc.install %w(etc/pgbouncer.ini etc/userlist.txt) (prefix+'org.postgresql.pgbouncer.plist').write startup_plist + (prefix+'org.postgresql.pgbouncer.plist').chmod 0644 end def caveats diff --git a/Library/Formula/pincaster.rb b/Library/Formula/pincaster.rb index b5b35d39a..b1e299207 100644 --- a/Library/Formula/pincaster.rb +++ b/Library/Formula/pincaster.rb @@ -17,6 +17,7 @@ class Pincaster < Formula etc.install "pincaster.conf" (var+"db/pincaster/").mkpath (prefix+'com.github.pincaster.plist').write startup_plist + (prefix+'com.github.pincaster.plist').chmod 0644 end def caveats diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index 6fca2a6d9..6d9af4535 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -64,6 +64,7 @@ class Postgresql < Formula end (prefix+'org.postgresql.postgres.plist').write startup_plist + (prefix+'org.postgresql.postgres.plist').chmod 0644 end def check_python_arch diff --git a/Library/Formula/rabbitmq.rb b/Library/Formula/rabbitmq.rb index 0e6382050..c70f6bd6d 100644 --- a/Library/Formula/rabbitmq.rb +++ b/Library/Formula/rabbitmq.rb @@ -36,6 +36,7 @@ class Rabbitmq < Formula inreplace sbin+'rabbitmq-env', '${SCRIPT_DIR}/..', target_dir (prefix+'com.rabbitmq.rabbitmq-server.plist').write startup_plist + (prefix+'com.rabbitmq.rabbitmq-server.plist').chmod 0644 end def caveats diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index 600082f45..3699e844c 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -31,6 +31,7 @@ class Redis < Formula doc.install Dir["doc/*"] etc.install "redis.conf" (prefix+'io.redis.redis-server.plist').write startup_plist + (prefix+'io.redis.redis-server.plist').chmod 0644 end def caveats diff --git a/Library/Formula/sickbeard.rb b/Library/Formula/sickbeard.rb index d6a5a773b..8beb3e462 100644 --- a/Library/Formula/sickbeard.rb +++ b/Library/Formula/sickbeard.rb @@ -14,6 +14,7 @@ class Sickbeard < Formula bin.mkpath (bin+"sickbeard").write(startup_script) (prefix+"com.sickbeard.sickbeard.plist").write(startup_plist) + (prefix+"com.sickbeard.sickbeard.plist").chmod 0644 end def startup_plist; <<-EOS.undent diff --git a/Library/Formula/staticrouted.rb b/Library/Formula/staticrouted.rb index 0feccd28f..cd155ed7c 100644 --- a/Library/Formula/staticrouted.rb +++ b/Library/Formula/staticrouted.rb @@ -11,6 +11,7 @@ class Staticrouted < Formula sbin.install ["build/Release/staticroute", "build/Release/staticrouted"] man8.install ["staticroute.8", "staticrouted.8"] prefix.install "com.coriolis-systems.staticrouted.plist" + (prefix+"com.coriolis-systems.staticrouted.plist").chmod 0644 end def caveats; <<-EOS.undent diff --git a/Library/Formula/tor.rb b/Library/Formula/tor.rb index 2ecacfaf5..e9870e957 100644 --- a/Library/Formula/tor.rb +++ b/Library/Formula/tor.rb @@ -17,6 +17,7 @@ class Tor < Formula system "make install" (prefix+'org.tor.plist').write startup_plist + (prefix+'org.tor.plist').chmod 0644 end def startup_plist |
