1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 03:13:54 +02:00
Commit Graph

45 Commits

Author SHA1 Message Date
Jeffery To
cbfd166b15 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 <jeffery.to@gmail.com>
2020-03-16 17:46:30 +08:00
Eneas U de Queiroz
ae057405f8
seafile-server: depend on libevent2-threads
seafile-server uses libevhtp pthreads support.  libevhtp needs
libevent2-pthreads for that. However, since there is no installable
package for libevhtp--the library is build static-only--then
seafile-server, its consumer, needs to add the dependecy.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-11-11 08:42:23 -03:00
Alexandru Ardelean
817cdbd7c9 python-mysql: rename to python-mysqlclient & bump to version 1.4.4
The package on PyPi is named `mysqlclient`.
This should have been named `python-mysqlclient` from the start.
There is a `mysql` package on PyPi already but that's a different
code/package.

Doing this should avoid any future confusion.
There is no good time to do this rename; at least 19.07 has been branched
already and this can go into the next release [in a year or so].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-02 15:06:28 +03:00
Alexandru Ardelean
4bc29f54ac seafile-server: fix build with libssp & non-musl libc
Fixes: https://github.com/openwrt/packages/issues/9255

This seems to fail the build for this package only.
So, this change patches the build, to add `-lssp` to the LDFLAGS of this
package, in case the build uses GCC's libssp.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-06-20 20:54:14 +08:00
Eneas U de Queiroz
93e1a4f5ae
seafile-server: adjust to libevhtp 1.2.18
libevhtp 1.2.18 made API changes, and unbundled oniguruma.

To adapt seafile-server, some patches from Alexandre Rossi's debian
packaging at http://sousmonlit.zincube.net/~niol/repositories.git/
were applied.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-24 14:55:56 -03:00
Eneas U de Queiroz
d3726210ff
seafile-server: release bump due to libevhtp bump
Libevhtp is building a static library, used by seafile-server.
Every time the libevhtp binary changes, seafile-server needs a release
bump.
Leave a note in the libevhtp Makefile, as a reminder.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-22 09:10:25 -03:00
Alexandru Ardelean
ffb716efb7 treewide,python: take over maintainership from Gergely Kiss
This change changes the maintainer to
 `Alexandru Ardelean <ardeleanalex@gmail.com`
for all Python packages owned by
 `Gergely Kiss <mail.gery@gmail.com>`

No functional changes.
Bumping PKG_RELEASE on each package that is updated.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-04-30 08:12:58 -03:00
Eneas U de Queiroz
fcfaea54e6 seafile-server: fix django 1.11 detect, tidy up
Django 1.11 is supported, but seafile-admin was still looking for v. 1.8.
Replaced current patch with the patch from haiwen/seafile-server#147.

Cleaned up unsupported configure options, including riak backend.

Check that the seafile-server version is the same as seafile-seanet's at
build time, removing the static EXTRA_DEPENDS check done at install
time.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-03-29 10:22:30 +08:00
Rosen Penev
543f4a5c47 seafile-server: Update to 6.3.4
Switched to codeload for simplicity and easier package bumping.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-13 14:30:10 -08:00
Rosen Penev
0722916ff6 seafile-ccnet: Update to 6.3.4
Switched to codeload for easier package bumping.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-29 21:46:02 -07:00
Eneas U de Queiroz
06dbce29e3 seafile-server: avoid error creating superuser
Make sure ccnet-server is running during the final setup step to avoid
an error creating django superuser

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-27 11:21:00 -03:00
Eneas U de Queiroz
05f890950e seafile-server: Fix SystemInfo table in sqlite db.
Added a patch applied upstream.
 - Fix that table SystemInfo can't be created in sqlite db.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-22 14:32:18 -03:00
Eneas U de Queiroz
302454f527 seafile-server: bump to 6.3.0
Added patch to remove openssl 1.1 deprecated API.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-11 16:15:48 -03:00
Alexandru Ardelean
1476739d5f treewide: use local python-package.mk & python3-package.mk files
This guarantees for the package feeds that
the mk files will always be available for all packages.

Will need to see about external-feed Python packages
a bit later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:23 +02:00
Gergely Kiss
252442d294 seafile: upgrade to 6.2.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-22 23:43:09 +02:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Gergely Kiss
1534aca7f2 seafile: update to version 6.0.7
Update several dependencies, as well:

* django-compressor -> 2.1.1
* django-constance -> 1.3.4
* django-restframework -> 3.5.4
* django-statici18n -> 1.3.0
* django -> 1.8.17
* openpyxl -> 2.4.2
* python-dateutil -> 2.6.0
* python-urllib3 -> 1.20

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-02-13 22:03:14 +01:00
Matthias Schiffer
4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
Gergely Kiss
20b00cfdef seafile: upgrade to version 5.1.4
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-31 19:38:49 +02:00
Gergely Kiss
2e8122cb1c seafile: add comment regarding explicitly enabling -minterlink-mips16
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-25 08:26:13 +02:00
Gergely Kiss
ec7acabfb4 seafile: add condition for -minterlink-mips16 cflag
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 23:45:31 +02:00
Gergely Kiss
8952b4ad62 seafile-server: fix dependency specification
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:34 +00:00
Gergely Kiss
2d17695c08 seafile-server: add config options for extra features
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:34 +00:00
Gergely Kiss
79563b699f libevhtp: downgrading due to compatibility issues
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:34 +00:00
Gergely Kiss
670c2a48f7 seafile-server: do not run postinst script in a build environment
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:34 +00:00
Gergely Kiss
d9c0b51582 seafile-server: fix dependencies
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:34 +00:00
Gergely Kiss
6a4deff01d seafile-server: fix patch file
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:33 +00:00
Gergely Kiss
c323886963 seafile: fix path of host built valac
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:33 +00:00
Gergely Kiss
437621931a seafile: import version 5.1.1 and its dependencies
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:33 +00:00
Gergely Kiss
c2393dd796 seafile-server: make postinst script work with Image Generator
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-11-01 00:45:12 +01:00
Gergely Kiss
cd3e8088fb seafile-server: fix broken dependency on seafile-ccnet
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-10-31 19:56:38 +01:00
Gergely Kiss
08142f27da seafile-server: fix libevent2 includes
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-09-14 20:24:48 +02:00
Gergely Kiss
625414da68 seafile-server: fix libevent2 include paths
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-09-04 11:12:00 +02:00
Gergely Kiss
7d4cf29e58 seafile-server: bump PKG_RELEASE
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-08-28 17:40:34 +02:00
Gergely Kiss
d7a48b048b seafile-server: use pkill from procps-ng
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-08-27 22:34:44 +02:00
Gergely Kiss
4b897fe764 seafile: build against libevhtp 1.1 instead of 1.2
This fixes multiple issues like upload/download problems on seahub
and also makes it possible to use the new HTTP syncing feature
which doesn't work with libevhtp 1.2.10 at all.
2015-06-14 18:04:23 +02:00
Gergely Kiss
d1270720dc seafile: missing config file added 2015-05-03 21:05:35 +02:00
Gergely Kiss
c5743c7b0b seafile: create config file in a more elegant way 2015-05-03 21:01:21 +02:00
Gergely Kiss
b7396c9334 seafile: added configuration file to turn fastcgi mode on/off
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-05-02 13:55:16 +02:00
Gergely Kiss
69c18b28cd seafile: update to version 4.1.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-05-02 13:54:17 +02:00
Gergely Kiss
5d276af52a seafile: deleted outdated patch
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-02-20 23:15:07 +01:00
Gergely Kiss
05264f3f00 seafile: update to version 4.0.6
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-02-10 23:56:28 +01:00
Gergely Kiss
e06d1cae3b seafile-server: fix fastcgi mode settings in seafile-admin script
* Use the correct path for the pidfile
* Start a multithreaded daemon instead of pre-forking worker processes.
  This avoids consuming too much memory and makes context switches faster

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-22 21:56:04 +01:00
Gergely Kiss
92b36e4a14 seafile: fetch sources using commit hashes instead of release tags
Avoids source filename conflicts and the need to delete source packages
at the end of the prepare stage. This has forced the buildenv to rebuild
the packages even if they were built already.

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-16 08:54:39 +01:00
Gergely Kiss
8e781d1a48 seafile: import seafile-server package and its dependencies
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-16 08:54:39 +01:00