seafile-server: Update to 7.1.2, revamp package
authorJeffery To <redacted>
Fri, 6 Mar 2020 22:59:29 +0000 (06:59 +0800)
committerJeffery To <redacted>
Mon, 16 Mar 2020 09:46:30 +0000 (17:46 +0800)
commitcbfd166b15797e5a67e61340cf8ef7dd717e59d2
treec3286c811c38868dd7066a21ede1edf29fc8f3b8
parent1d275a8f2790600dfd766318b8275b071f1f4196
seafile-server: Update to 7.1.2, revamp package

* Package scripts that are shipped by upstream in their binary download

  * Includes setup scripts (setup-seafile.sh to use SQLite,
    setup-seafile-mysql.{sh,py} to use MySQL) and control scripts
    (seafile.sh, seahub.sh)

  * Does not include seafile-admin, which is not shipped in upstream's
    binary download. Combined with the fact that it hasn't been updated
    to Python 3 suggests the script has been abandoned.

* Replace previous init scripts with a simplified script

  * Previous init scripts (seafile.init, seahub.init) were modified from
    older versions of seafile.sh and seahub.sh, but they haven't kept up
    with changes to upstream's scripts

  * New init script (seafile-server.init) start/stops both Seafile and
    Seahub (there is no need to control them separately) by calling
    upstream's control scripts

* Replace previous package config file with new config file

  * Options in previous config file (seafile.conf) were mainly for using
    Seahub in FastCGI mode. FastCGI was deprecated in Django 1.7 and
    removed in 1.9; upstream's control script will only start Seahub
    using Gunicorn. (Options for Gunicorn including port number can be
    changed by editing /etc/seafile/conf/gunicorn.conf.py.)

  * New config file (seafile-server.config) has one option that controls
    where the Seafile/Seahub data directories are stored

* Patch scripts/binaries to use standard, system-wide directory
  locations

  * Script files (wrappers for binaries) in /usr/bin
  * Binaries (not meant to be run directly by the user) in /usr/libexec
  * Config files in /etc/seafile
  * Pid/socket files in /var/run/seafile
  * Logs in /var/log/seafile

* Include a new script to create the first admin account

  * With upstream's original scripts, the user is required to
    interactively create the first admin account when Seahub is started
    for the first time

  * The user will now use the new script (create-seafile-admin.sh) to
    create the first admin account after setup (using setup-seafile.sh
    or setup-seafile-mysql.sh) and before starting Seafile/Seahub

  * seahub.sh is patched to only check if there is at least one admin
    account and exit with an error if there is no admin account

* Remove build config options and add seafile-server-fuse package

  * The console option controls whether the console window is shown when
    Seafile server is run on Windows. It has no use on Linux.

  * The fuse option controls whether seaf-fuse is built. (seaf-fuse is a
    FUSE implementation that allows the Seafile database/file system to
    be mounted to a local directory.) seaf-fuse is now always built and
    is available in a separate package (seafile-server-fuse).

* Add myself as a maintainer

Signed-off-by: Jeffery To <redacted>
42 files changed:
net/seafile-server/Config.in [deleted file]
net/seafile-server/Makefile
net/seafile-server/README.md [new file with mode: 0644]
net/seafile-server/files/create-seafile-admin.sh [new file with mode: 0644]
net/seafile-server/files/seafile-server.config [new file with mode: 0644]
net/seafile-server/files/seafile-server.init [new file with mode: 0644]
net/seafile-server/files/seafile-server.upgrade [new file with mode: 0644]
net/seafile-server/files/seafile.conf [deleted file]
net/seafile-server/files/seafile.init [deleted file]
net/seafile-server/files/seahub.init [deleted file]
net/seafile-server/patches/010-configure-libevent_openssl.patch [new file with mode: 0644]
net/seafile-server/patches/011-configure-liconv.patch [new file with mode: 0644]
net/seafile-server/patches/020-installpath.patch [new file with mode: 0644]
net/seafile-server/patches/020-script-patches.patch [deleted file]
net/seafile-server/patches/021-bin-paths.patch [new file with mode: 0644]
net/seafile-server/patches/022-uci-conf.patch [new file with mode: 0644]
net/seafile-server/patches/023-pgrep-patterns.patch [new file with mode: 0644]
net/seafile-server/patches/024-seahub-pyc.patch [new file with mode: 0644]
net/seafile-server/patches/025-command-names.patch [new file with mode: 0644]
net/seafile-server/patches/030-controller-pid-dir-permissions.patch [new file with mode: 0644]
net/seafile-server/patches/030-pidfiles-in-same-directory.patch [deleted file]
net/seafile-server/patches/031-sqlite2mysql-bash-python3.patch [new file with mode: 0644]
net/seafile-server/patches/032-seafile-no-stat.patch [new file with mode: 0644]
net/seafile-server/patches/033-seahub-do-not-create-admin.patch [new file with mode: 0644]
net/seafile-server/patches/034-seaf-fuse-no-fuse_opt_h.patch [new file with mode: 0644]
net/seafile-server/patches/040-seafile-admin.patch [deleted file]
net/seafile-server/patches/040-setup-skip-dir-check.patch [new file with mode: 0644]
net/seafile-server/patches/041-setup-add-custom-seahub-settings.patch [new file with mode: 0644]
net/seafile-server/patches/042-setup-skip-user-manuals.patch [new file with mode: 0644]
net/seafile-server/patches/043-setup-skip-server-symlink.patch [new file with mode: 0644]
net/seafile-server/patches/044-setup-sleep-whole-number.patch [new file with mode: 0644]
net/seafile-server/patches/045-setup-copy-default-avatars.patch [new file with mode: 0644]
net/seafile-server/patches/046-setup-show-create-admin-message.patch [new file with mode: 0644]
net/seafile-server/patches/050-libseafile-makefile-fixes.patch
net/seafile-server/patches/060-timestamps-as-int64.patch
net/seafile-server/patches/070-fuse-mount.patch [deleted file]
net/seafile-server/patches/080-Remove-API-deprecated-in-openssl-1.1.patch [deleted file]
net/seafile-server/patches/090-django-11-compat.patch [deleted file]
net/seafile-server/patches/100-seafile-admin-Make-sure-ccnet-is-running.patch [deleted file]
net/seafile-server/patches/110-libevhtp-linking.patch
net/seafile-server/patches/120-recent-libevhtp.patch
net/seafile-server/patches/130-newer-libevhtp.patch
git clone https://git.99rst.org/PROJECT