update to 3.1.12 [release 3.1.12-1mamba;Thu Jan 01 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 17:43:08 +01:00
parent c0db735f7a
commit b61311d262
3 changed files with 39 additions and 3 deletions

View File

@ -0,0 +1,19 @@
--- seafile-3.1.12/scripts/seafile.sh.orig 2015-01-01 22:17:54.549863094 +0100
+++ seafile-3.1.12/scripts/seafile.sh 2015-01-01 22:18:16.363850459 +0100
@@ -98,14 +98,14 @@
validate_already_running;
validate_ccnet_conf_dir;
read_seafile_data_dir;
+
+ sleep 3
test_config;
echo "Starting seafile server, please wait ..."
LD_LIBRARY_PATH=$SEAFILE_LD_LIBRARY_PATH ${seaf_controller} -c "${default_ccnet_conf_dir}" -d "${seafile_data_dir}"
- sleep 3
-
# check if seafile server started successfully
if ! pgrep -f "seafile-controller -c ${default_ccnet_conf_dir}" 2>/dev/null 1>&2; then
echo "Failed to start seafile server"

View File

@ -1,7 +1,7 @@
[Unit] [Unit]
Description=Seafile Description=Seafile
# add mysql.service or postgresql.service depending on your database to the line below # add mysql.service or postgresql.service depending on your database to the line below
After=network.target After=network.target mysql.target
[Service] [Service]
Type=oneshot Type=oneshot

View File

@ -1,7 +1,7 @@
%define seafile_groupid 65435 %define seafile_groupid 65435
%define seafile_userid 65435 %define seafile_userid 65435
Name: seafile Name: seafile
Version: 3.1.11 Version: 3.1.12
Release: 1mamba Release: 1mamba
Summary: A next-generation open source cloud storage system with advanced support for file syncing Summary: A next-generation open source cloud storage system with advanced support for file syncing
Group: Applications/Web Group: Applications/Web
@ -14,23 +14,36 @@ Source: https://github.com/haiwen/seafile.git/v%{version}/seafile-%{versi
Source1: seafile-seafile.service Source1: seafile-seafile.service
Source2: seafile-seahub.service Source2: seafile-seahub.service
Source3: seafile-client.service Source3: seafile-client.service
Patch0: seafile-3.1.12-delay-start-after-mysql.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libarchive-devel
BuildRequires: libattr-devel
BuildRequires: libbzip2-devel
BuildRequires: libccnet-devel BuildRequires: libccnet-devel
BuildRequires: libevent-devel BuildRequires: libevent-devel
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: libfuse-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libjansson-devel BuildRequires: libjansson-devel
BuildRequires: liblzma-devel
BuildRequires: liblzo-devel
BuildRequires: libmysql5-devel
BuildRequires: libnettle-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libpostgresql-devel
BuildRequires: libpython-devel BuildRequires: libpython-devel
BuildRequires: libsearpc-devel BuildRequires: libsearpc-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libsqlite-devel BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libzdb-devel BuildRequires: libzdb-devel
## AUTOBUILDREQ-END
BuildRequires: libevhtp-devel BuildRequires: libevhtp-devel
Requires: ccnet Requires: ccnet
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@ -90,6 +103,7 @@ This package contains python bindings to %{name}.
%prep %prep
%setup -q %setup -q
#-D -T #-D -T
%patch0 -p1
%build %build
#:<< ___EOF #:<< ___EOF
@ -224,6 +238,9 @@ fi
%{python_sitearch}/seaserv/*.py* %{python_sitearch}/seaserv/*.py*
%changelog %changelog
* Thu Jan 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.12-1mamba
- update to 3.1.12
* Sat Dec 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.11-1mamba * Sat Dec 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.11-1mamba
- update to 3.1.11 - update to 3.1.11