summaryrefslogtreecommitdiffstats
path: root/packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0
diff options
context:
space:
mode:
Diffstat (limited to 'packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0')
-rw-r--r--packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-058
1 files changed, 58 insertions, 0 deletions
diff --git a/packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0 b/packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0
new file mode 100644
index 0000000..4692d17
--- /dev/null
+++ b/packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0
@@ -0,0 +1,58 @@
+
+SCM_REPOSITORY="https://hg.mozilla.org/services/server-full"
+
+
+require scm-hg distutils
+
+
+SLOT="0"
+
+PLATFORMS="~amd64"
+
+DEPENDENCIES="
+ build:
+ dev-python/setuptools
+ run:
+ group/weave
+ user/weave
+ apache? ( apache-mod/mod_wsgi )
+ dev-python/Beaker
+ dev-python/cef
+ dev-python/Mako
+ dev-python/MarkupSafe
+ dev-python/Paste
+ dev-python/PasteDeploy
+ dev-python/PasteScript
+ dev-python/python-memcached
+ dev-python/recaptcha-client
+ dev-python/Routes
+ dev-python/simplejson
+ dev-python/SQLAlchemy
+ dev-python/WebOb
+ dev-python/WSGIProxy
+ net-misc/mozilla-sync-core
+ net-misc/mozilla-sync-reg
+ net-misc/mozilla-sync-storage
+"
+
+MYOPTIONS="apache"
+
+
+src_install() {
+ distutils_src_install
+
+ insinto /usr/share/doc/${PNVR}/conf
+ doins "${FILES}"/SyncServer.ini.example
+ edo pushd "${WORK}"/etc
+ for f in *.conf; do
+ doins ${f}
+ done
+ edo popd
+
+ insinto /usr/share/${PN}
+ doins "${FILES}"/SyncServer.wsgi
+
+ keepdir /etc/${PN}
+
+ keepdir /var/lib/weave
+}