aboutsummaryrefslogtreecommitdiff
path: root/network/seafile-server
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-03-01 06:05:47 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:40 +0700
commit8a3448e0934ad5aa6232dd10545018897aa8e166 (patch)
tree6ac8744a586f5860c41e419ec896013296ff204c /network/seafile-server
parent74b4119d3a0fb73a11b830298ca76ec7fdd25a70 (diff)
network/seafile-server: Updated for version 8.0.6.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/seafile-server')
-rw-r--r--network/seafile-server/patch-seafile-controller-pid-path.diff11
-rw-r--r--network/seafile-server/seafile-server.SlackBuild12
-rw-r--r--network/seafile-server/seafile-server.info6
3 files changed, 9 insertions, 20 deletions
diff --git a/network/seafile-server/patch-seafile-controller-pid-path.diff b/network/seafile-server/patch-seafile-controller-pid-path.diff
deleted file mode 100644
index b9698206eaab..000000000000
--- a/network/seafile-server/patch-seafile-controller-pid-path.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- controller/seafile-controller.c.orig 2015-02-05 13:00:40.096813074 +0100
-+++ controller/seafile-controller.c 2015-02-05 13:03:44.628487779 +0100
-@@ -576,7 +576,7 @@
- static void
- init_pidfile_path (SeafileController *ctl)
- {
-- char *pid_dir = g_build_filename (topdir, "pids", NULL);
-+ char *pid_dir = g_build_filename (ctl->seafile_dir, "pids", NULL);
- if (!g_file_test(pid_dir, G_FILE_TEST_EXISTS)) {
- if (g_mkdir(pid_dir, 0777) < 0) {
- seaf_warning("failed to create pid dir %s: %s", pid_dir, strerror(errno));
diff --git a/network/seafile-server/seafile-server.SlackBuild b/network/seafile-server/seafile-server.SlackBuild
index 2dbc83dde8b0..caf7e314254d 100644
--- a/network/seafile-server/seafile-server.SlackBuild
+++ b/network/seafile-server/seafile-server.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=seafile-server
SRCNAM=seafile
-VERSION=${VERSION:-4.4.6}
+VERSION=${VERSION:-8.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,9 +86,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/v$VERSION-server.tar.gz || \
- tar xvf $CWD/$SRCNAM-$VERSION-server.tar.gz
-cd $SRCNAM-$VERSION-server
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -96,8 +95,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cat $CWD/patch-seafile-controller-pid-path.diff | patch -p0
-
sh autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -119,6 +116,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+# rm libtool file
+rm -f $PKG/usr/lib64/libseafile.la
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/network/seafile-server/seafile-server.info b/network/seafile-server/seafile-server.info
index 568008a66030..26440aea91e5 100644
--- a/network/seafile-server/seafile-server.info
+++ b/network/seafile-server/seafile-server.info
@@ -1,8 +1,8 @@
PRGNAM="seafile-server"
-VERSION="4.4.6"
+VERSION="8.0.6"
HOMEPAGE="http://seafile.com/"
-DOWNLOAD="https://github.com/haiwen/seafile/archive/v4.4.6-server.tar.gz"
-MD5SUM="753db8ec00c8f4e43270afff097a23af"
+DOWNLOAD="https://github.com/haiwen/seafile/archive/v8.0.6/seafile-8.0.6.tar.gz"
+MD5SUM="cb23a1b7bcd2a89f5efec87867c5eabb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ccnet libevhtp seahub"