aboutsummaryrefslogtreecommitdiffstats
path: root/community/seahub
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-11-14 01:37:14 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-11-14 01:37:14 +0100
commitc692cb66623d99edfc727e79d58a34178c950037 (patch)
tree918f879598de324f6b44793ff5a67a9fc6f40cc2 /community/seahub
parentd3c4ea88b13c42aae893bac0ca287fbd8dbc7983 (diff)
downloadaports-c692cb66623d99edfc727e79d58a34178c950037.tar.bz2
aports-c692cb66623d99edfc727e79d58a34178c950037.tar.xz
unmaintained/seahub: move from testing
This package is disabled for quite a long time.
Diffstat (limited to 'community/seahub')
-rw-r--r--community/seahub/APKBUILD50
-rw-r--r--community/seahub/seahub.confd7
-rw-r--r--community/seahub/seahub.initd19
-rw-r--r--community/seahub/seahub.post-install9
4 files changed, 0 insertions, 85 deletions
diff --git a/community/seahub/APKBUILD b/community/seahub/APKBUILD
deleted file mode 100644
index 74119b4fb1..0000000000
--- a/community/seahub/APKBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Contributor: <xmingske@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=seahub
-pkgver=4.0.1
-pkgrel=1
-pkgdesc="web frontend for Seafile"
-url="https://github.com/haiwen/seahub/"
-arch=""
-license="Apache"
-depends="bash py-dateutil py-mako py-simplejson py-pillow py-pip py-virtualenv py-six
- python2 py-django1.5 py-gunicorn py-chardet py-django-djblets py-ccnet py-libsearpc
- py-django-simple-captcha py-django-registration py-flup py-seafile seafile-server"
-source="$pkgname-$pkgver.tar.gz::https://github.com/haiwen/seahub/archive/v${pkgver}-server.tar.gz
- seahub.confd seahub.initd"
-install="seahub.post-install"
-
-_builddir="${srcdir}/${pkgname}-${pkgver}-server"
-
-prepare() {
- local pf
- cd "${_builddir}"
- for pf in $source; do
- case $pf in
- *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;;
- esac
- done
-}
-
-build() {
- echo
-}
-
-package() {
- cd "${_builddir}"
- mkdir -m 755 -p "${pkgdir}"/usr/share/seahub || return 1
- cp -ar "${_builddir}"/* "${pkgdir}"/usr/share/seahub
- install -D -m0644 "${srcdir}"/seahub.confd "${pkgdir}"/etc/conf.d/seahub \
- || return 1
- install -D -m0755 "${srcdir}"/seahub.initd "${pkgdir}"/etc/init.d/seahub \
- || return 1
-}
-md5sums="93e8755aec1cd7d028538e04683f30e7 seahub-4.0.1.tar.gz
-e1ed5467cd78159fb7e73e2d2d925a8e seahub.confd
-1a1777dd469cbbc6773b2c31e265cb37 seahub.initd"
-sha256sums="7429751f1b47dbaf6ecc5b8cb32f00b85c817f536b34b923fb47cc046559c6d3 seahub-4.0.1.tar.gz
-8b0e8bf45d278bbf32f4dca4a402f2584a87e46adee2e24732804acebd1c2cff seahub.confd
-2da114c938efa349f7762466d5cffc26393262968db5194cd469c2fd79077396 seahub.initd"
-sha512sums="85c793893dcada7b0600abdc4ab6c0fcc7ee978d8828af1cd7dc6a711c30c45e9b217c906de282b7d901923f582882361a2ac2f39ed6d49c8d8c5b6816dfc14e seahub-4.0.1.tar.gz
-d55dbd3e59ae48a930cbcb42ec840689a17f6cb1cb16f6d0d155e646b24accb8a5e5c1f59f549f66941bb21475b2c6ce55a3bb014d016bfeddea13602984c2a6 seahub.confd
-71445244d966d5770618c2b4b003959ae135e737657d7b7cb79b2def8787655d0a50f8a7fdb1fee64108e51410e99d1a52144c707c2247bc7ffd8d422c5c7f4c seahub.initd"
diff --git a/community/seahub/seahub.confd b/community/seahub/seahub.confd
deleted file mode 100644
index a72045dc1e..0000000000
--- a/community/seahub/seahub.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-instance="default"
-
-seafile_user="seafile"
-seafile_group="seafile"
-
-# to run seahub in fcgi mode uncomment the following line
-#seafile_opts="--fastcgi --port 8500"
diff --git a/community/seahub/seahub.initd b/community/seahub/seahub.initd
deleted file mode 100644
index faee878e3b..0000000000
--- a/community/seahub/seahub.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-
-export SEAHUB_LOG_DIR=/var/lib/seafile/$instance/logs
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting Seafile $instance instance"
- start-stop-daemon --chdir /var/lib/seafile/$instance --user $seafile_user \
- --group $seafile_group /usr/bin/seafile-admin start
-}
-
-stop() {
- ebegin "Stopping Seafile $instance instance"
- start-stop-daemon --chdir /var/lib/seafile/$instance /usr/bin/seafile-admin \
- stop
-}
diff --git a/community/seahub/seahub.post-install b/community/seahub/seahub.post-install
deleted file mode 100644
index 262e8be8fe..0000000000
--- a/community/seahub/seahub.post-install
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-SEAFILE_HOME=/var/lib/seafile
-SEAFILE_DEFAULT=$SEAFILE_HOME/default
-
-if [[ ! -h $SEAFILE_DEFAULT/seafile-server/seahub ]]; then
- su seafile -c "mkdir -m 755 -p $SEAFILE_DEFAULT/seafile-server" 2>/dev/null
- su seafile -c "cp -R /usr/share/seahub $SEAFILE_DEFAULT/seafile-server" 2>/dev/null
-fi \ No newline at end of file