summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorQuentin Glidic2013-02-02 11:43:04 +0100
committerQuentin Glidic2013-02-02 11:44:00 +0100
commit4694d9c3285b5e1c0e1002ab92ca2a992feafd17 (patch)
tree44bc1db341329a27178bf50a736ef7df04521260 /packages
parent44455c205da57af9483f1f842e426671c57bef27 (diff)
downloadsardemff7-pending-4694d9c3285b5e1c0e1002ab92ca2a992feafd17.tar.xz
mozilla-sync*: In ::sardemff7
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'packages')
-rw-r--r--packages/net-misc/mozilla-sync-core/mozilla-sync-core-scm.exheres-028
-rw-r--r--packages/net-misc/mozilla-sync-reg/mozilla-sync-reg-scm.exheres-031
-rw-r--r--packages/net-misc/mozilla-sync-storage/mozilla-sync-storage-scm.exheres-035
-rw-r--r--packages/net-misc/mozilla-sync/files/SyncServer.ini.example66
-rw-r--r--packages/net-misc/mozilla-sync/files/SyncServer.wsgi14
-rw-r--r--packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-045
6 files changed, 0 insertions, 219 deletions
diff --git a/packages/net-misc/mozilla-sync-core/mozilla-sync-core-scm.exheres-0 b/packages/net-misc/mozilla-sync-core/mozilla-sync-core-scm.exheres-0
deleted file mode 100644
index a786404..0000000
--- a/packages/net-misc/mozilla-sync-core/mozilla-sync-core-scm.exheres-0
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 2012 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-
-SCM_REPOSITORY="https://hg.mozilla.org/services/server-core"
-
-require scm-hg setuptools
-
-PLATFORMS="~amd64"
-SLOT="0"
-
-# Wrong targets
-RESTRICT="test"
-
-DEPENDENCIES="
- build+run:
- dev-python/cef
- dev-python/metlog-cef
- dev-python/metlog-py
- dev-python/Paste
- dev-python/PasteDeploy
- dev-python/Routes
- dev-python/simplejson
- dev-python/SQLAlchemy
- dev-python/WebOb
- dev-python/WSGIProxy
-"
-
diff --git a/packages/net-misc/mozilla-sync-reg/mozilla-sync-reg-scm.exheres-0 b/packages/net-misc/mozilla-sync-reg/mozilla-sync-reg-scm.exheres-0
deleted file mode 100644
index b39a80a..0000000
--- a/packages/net-misc/mozilla-sync-reg/mozilla-sync-reg-scm.exheres-0
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 2012 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-
-SCM_REPOSITORY="https://hg.mozilla.org/services/server-reg"
-
-require scm-hg distutils
-
-PLATFORMS="~amd64"
-SLOT="0"
-
-# Wrong targets
-RESTRICT="test"
-
-DEPENDENCIES="
- build:
- dev-python/setuptools
- run:
- dev-python/cef
- dev-python/Mako
- dev-python/PasteDeploy
- dev-python/recaptcha-client
- dev-python/Routes
- dev-python/simplejson
- dev-python/SQLAlchemy
- dev-python/WebOb
- net-misc/mozilla-sync-core
- suggestion:
- dev-python/python-ldap [[ description = [ LDAP registration ] ]]
-"
-
diff --git a/packages/net-misc/mozilla-sync-storage/mozilla-sync-storage-scm.exheres-0 b/packages/net-misc/mozilla-sync-storage/mozilla-sync-storage-scm.exheres-0
deleted file mode 100644
index cbb740b..0000000
--- a/packages/net-misc/mozilla-sync-storage/mozilla-sync-storage-scm.exheres-0
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 2012 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-
-SCM_REPOSITORY="https://hg.mozilla.org/services/server-storage"
-
-require scm-hg setuptools
-
-PLATFORMS="~amd64"
-SLOT="0"
-
-# Wrong targets
-RESTRICT="test"
-
-# Potential deps:
-# pylibmc
-# pymysql_sa
-# PyMySQL
-DEPENDENCIES="
- build+run:
- dev-python/cef
- dev-python/docopt
- dev-python/metlog-cef
- dev-python/metlog-py
- dev-python/PasteDeploy
- dev-python/repoze-lru [[ note = [ not in setup.py ] ]]
- dev-python/Routes
- dev-python/simplejson
- dev-python/SQLAlchemy
- dev-python/WebOb
- net-misc/mozilla-sync-core
- suggestion:
- dev-python/psycopg2 [[ description = [ PostgreSQL storage ] ]]
-"
-
diff --git a/packages/net-misc/mozilla-sync/files/SyncServer.ini.example b/packages/net-misc/mozilla-sync/files/SyncServer.ini.example
deleted file mode 100644
index 9873a3b..0000000
--- a/packages/net-misc/mozilla-sync/files/SyncServer.ini.example
+++ /dev/null
@@ -1,66 +0,0 @@
-[DEFAULT]
-debug = False
-translogger = False
-profile = False
-
-[server:main]
-use = egg:Paste#http
-host = 0.0.0.0
-port = 5000
-use_threadpool = True
-threadpool_workers = 60
-
-[app:main]
-use = egg:SyncServer
-configuration = file:/etc/mozilla-sync/sync.conf
-
-#
-# logging
-#
-[loggers]
-keys = root,syncserver
-
-[handlers]
-keys = global,syncserver,syncserver_errors
-
-[formatters]
-keys = generic
-
-[logger_root]
-level = WARNING
-handlers = global
-
-[logger_syncserver]
-qualname = syncserver
-level = ERROR
-handlers = syncserver,syncserver_errors
-propagate = 0
-
-[logger_syncserver_errors]
-qualname = syncserver
-level = ERROR
-handlers = syncserver_errors
-propagate = 0
-
-
-[handler_global]
-class = StreamHandler
-args = (sys.stderr,)
-level = DEBUG
-formatter = generic
-
-[handler_syncserver]
-class = StreamHandler
-args = (sys.stderr,)
-level = INFO
-formatter = generic
-
-[handler_syncserver_errors]
-class = handlers.RotatingFileHandler
-args = ('/tmp/sync-error.log',)
-level = ERROR
-formatter = generic
-
-[formatter_generic]
-format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
-datefmt = %Y-%m-%d %H:%M:%S
diff --git a/packages/net-misc/mozilla-sync/files/SyncServer.wsgi b/packages/net-misc/mozilla-sync/files/SyncServer.wsgi
deleted file mode 100644
index 32beed2..0000000
--- a/packages/net-misc/mozilla-sync/files/SyncServer.wsgi
+++ /dev/null
@@ -1,14 +0,0 @@
-import os
-import sys
-import site
-from logging.config import fileConfig
-from ConfigParser import NoSectionError
-
-ini_file = os.path.join('/etc/mozilla-sync/SyncServer.ini')
-try:
- fileConfig(ini_file)
-except NoSectionError:
- pass
-
-from paste.deploy import loadapp
-application = loadapp('config:%s'% ini_file)
diff --git a/packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0 b/packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0
deleted file mode 100644
index 41551b1..0000000
--- a/packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2012 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-
-SCM_REPOSITORY="https://hg.mozilla.org/services/server-full"
-
-require scm-hg setuptools
-
-PLATFORMS="~amd64"
-SLOT="0"
-MYOPTIONS="apache"
-
-# Wrong targets
-RESTRICT="test"
-
-DEPENDENCIES="
- build+run:
- user/weave
- group/weave
- dev-python/PasteScript
- net-misc/mozilla-sync-reg
- net-misc/mozilla-sync-storage
- run:
- dev-python/metlog-py
- apache? ( apache-mod/mod_wsgi )
-"
-
-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
-}