1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-16 12:23:59 +02:00
Commit Graph

56 Commits

Author SHA1 Message Date
Alexandru Ardelean
1e27dd7f8f seafile: remove myself as maintainer of these packages
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-05-17 10:40:56 +03:00
Florian Eckert
6f00afc97b seafile-server: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Jeffery To
d183759998
seafile-server: Update to 7.1.5, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-13 06:42:27 +08:00
Rosen Penev
684a9a6b4f
seafile-server: remove GCC_LIBSSP
The variable is gone as of b933f9cf0cb254e368027cad6d5799e45b237df5

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-17 20:08:59 -07:00
Jeffery To
f350b5620b seafile-server: Update to 7.1.4, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-21 15:53:54 +08:00
Jeffery To
1c54706b97 libevhtp: Fix dependencies not selected when building static library
When libevhtp is added to a package's PKG_BUILD_DEPENDS (i.e. for
seafile-server), libevhtp's target package dependencies are not
automatically selected, in particular libevent2-openssl and
libevent2-pthreads.

Moreover, if libevent-openssl and libevent2-pthreads are not selected,
OpenSSL and thread support are disabled when compiling libevent2, which
in turn causes a compile error when building libevhtp.

This adds a config option, LIBEVHTP_BUILD_DEPENDS, that will select
libevent2-openssl and libevent2-pthreads (via LIBEVHTP_BUILD_SELECT)
when it is selected.

Other build dependencies are moved to PKG_BUILD_DEPENDS.

This also updates seafile-server to remove the (indirect) dependencies
added in 13d843fec1 and instead select
LIBEVHTP_BUILD_DEPENDS.

This also updates the maintainer's email address and adds myself as
another maintainer.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-05 23:03:30 -03:00
Alexandru Ardelean
427aa37c3a net: seafile-server: select procps-ng
Otherwise seafile-server isn't selectable since it depends that this
package be enabled.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-28 12:18:23 +03:00
Alexandru Ardelean
13d843fec1 net: seafile-server: add libevent2 deps on PKG_BUILD_DEPENDS
And libevent2-pthreads to DEPENDS.

While building with -j12 I seem to get:
[ sometimes this also includes libevent2-openssl ]

```
-- EVHTP_VERSION            :  1.2.18
-- EVHTP_DISABLE_SSL        :  OFF
-- EVHTP_DISABLE_EVTHR      :  OFF
-- EVHTP_DISABLE_REGEX      :  OFF
-- EVHTP_BUILD_SHARED       :
-- EVHTP_USE_JEMALLOC       :
-- EVHTP_USE_TCMALLOC       :

-- CMAKE_BUILD_TYPE         : Release
-- CMAKE_INSTALL_PREFIX     : /usr
-- CMAKE_BINARY_DIR         : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- CMAKE_CURRENT_BINARY_DIR : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- CMAKE_CURRENT_SOURCE_DIR : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- PROJECT_BINARY_DIR       : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- PROJECT_SOURCE_DIR       : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- CMAKE_MODULE_PATH        : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/cmake
-- CMAKE_SYSTEM_NAME        : Linux
-- CMAKE_SYSTEM_VERSION     : 1
-- CMAKE_C_COMPILER         : /home/sandu/work/openwrt/openwrt/staging_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/bin/i486-openwrt-linux-musl-gcc
-- CMAKE_AR                 : /home/sandu/work/openwrt/openwrt/staging_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/bin/i486-openwrt-linux-musl-gcc-ar
-- CMAKE_RANLIB             : /home/sandu/work/openwrt/openwrt/staging_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/bin/i486-openwrt-linux-musl-gcc-ranlib
-- CFLAGS                   :   -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18=libevhtp-1.2.18 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro
                              -DNDEBUG

-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBEVENT_THREAD
    linked by target "evhtp" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
    linked by target "test_proxy" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_basic" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_client" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_https_client" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_vhost" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_basic" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_extensive" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_chunked" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_query" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_perf" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_pause" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_https_server" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_vhost" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_request_fini" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER
    CMAKE_ASM_COMPILER_ARG1
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    DL_LIBRARY

CMake Generate step failed.  Build files cannot be regenerated correctly.
```

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-28 12:16:38 +03:00
Jeffery To
81e99fa7ff seafile: Remove Python variants, update Python packaging
This removes Python build variants and adds PYTHON3_PKG_BUILD:=0 (where
appropriate) for the Seafile packages.

This also updates the way the Python bindings packages are packaged,
using automake installation instead of manual install recipes.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
7328bcc15e seafile-server: Update to 7.1.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-08 17:06:35 +08:00
Jeffery To
2fae7ce7de seafile-server: Remove Python 2 bindings
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-01 02:08:50 +08:00
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