aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Gallamore <ultima@FreeBSD.org>2022-05-22 21:01:18 +0000
committerRichard Gallamore <ultima@FreeBSD.org>2022-05-22 21:01:18 +0000
commite7369794df9c98c7e165a5f395f27af55dbfbb98 (patch)
tree041b1831b44eac19747581414438cd671ab557fe
parente790cd1c68a5dd18017090ebbae82b970f49c114 (diff)
downloadports-e7369794df9c98c7e165a5f395f27af55dbfbb98.tar.gz
ports-e7369794df9c98c7e165a5f395f27af55dbfbb98.zip
net-mgmt/seafile-gui: Updated to 8.0.7
-rw-r--r--net-mgmt/seafile-client/Makefile2
-rw-r--r--net-mgmt/seafile-client/distinfo6
-rw-r--r--net-mgmt/seafile-client/files/patch-lib_utils.h24
-rw-r--r--net-mgmt/seafile-gui/Makefile2
-rw-r--r--net-mgmt/seafile-gui/distinfo6
-rw-r--r--net-mgmt/seafile-gui/files/patch-CMakeLists.txt43
6 files changed, 38 insertions, 45 deletions
diff --git a/net-mgmt/seafile-client/Makefile b/net-mgmt/seafile-client/Makefile
index 4f64851b7dd8..150320ef06b2 100644
--- a/net-mgmt/seafile-client/Makefile
+++ b/net-mgmt/seafile-client/Makefile
@@ -1,6 +1,6 @@
PORTNAME= seafile-client
DISTVERSIONPREFIX= v
-DISTVERSION= 7.0.9
+DISTVERSION= 8.0.7
CATEGORIES= net-mgmt
MAINTAINER= ultima@FreeBSD.org
diff --git a/net-mgmt/seafile-client/distinfo b/net-mgmt/seafile-client/distinfo
index c9320a27eaf7..4b91b8d10ba2 100644
--- a/net-mgmt/seafile-client/distinfo
+++ b/net-mgmt/seafile-client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600241412
-SHA256 (haiwen-seafile-v7.0.9_GH0.tar.gz) = f127b735e5d4cbd7e692d52eda54113f1a4ca31bd8328fbccf01a5462bbba5e8
-SIZE (haiwen-seafile-v7.0.9_GH0.tar.gz) = 706859
+TIMESTAMP = 1653164969
+SHA256 (haiwen-seafile-v8.0.7_GH0.tar.gz) = c6c703476907b9c84ec25fd681d85bced876ee2528409060f7e24058c73cad0a
+SIZE (haiwen-seafile-v8.0.7_GH0.tar.gz) = 737925
diff --git a/net-mgmt/seafile-client/files/patch-lib_utils.h b/net-mgmt/seafile-client/files/patch-lib_utils.h
index 6d9d2709e1a0..2fd56d0ed075 100644
--- a/net-mgmt/seafile-client/files/patch-lib_utils.h
+++ b/net-mgmt/seafile-client/files/patch-lib_utils.h
@@ -1,16 +1,17 @@
---- lib/utils.h.orig 2015-09-21 03:42:11 UTC
+--- lib/utils.h.orig 2022-04-25 10:27:18 UTC
+++ lib/utils.h
-@@ -3,6 +3,9 @@
- #ifndef CCNET_UTILS_H
- #define CCNET_UTILS_H
+@@ -11,6 +11,10 @@
+ #include <windows.h>
+ #endif
+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#include <netinet/in.h>
+#endif
++
+ #ifndef WIN32
#include <sys/time.h>
- #include <time.h>
- #include <stdint.h>
-@@ -13,7 +16,9 @@
+ #include <unistd.h>
+@@ -23,7 +27,9 @@
#include <stdlib.h>
#include <sys/stat.h>
@@ -21,3 +22,12 @@
#include <event2/util.h>
#else
#include <evutil.h>
+@@ -33,7 +39,7 @@
+ #include <endian.h>
+ #endif
+
+-#ifdef __OpenBSD__
++#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ #include <machine/endian.h>
+ #endif
+
diff --git a/net-mgmt/seafile-gui/Makefile b/net-mgmt/seafile-gui/Makefile
index 0404b07934b6..0e8dbc019450 100644
--- a/net-mgmt/seafile-gui/Makefile
+++ b/net-mgmt/seafile-gui/Makefile
@@ -1,6 +1,6 @@
PORTNAME= seafile-gui
DISTVERSIONPREFIX= v
-DISTVERSION= 7.0.9
+DISTVERSION= 8.0.7
CATEGORIES= net-mgmt devel
MAINTAINER= ultima@FreeBSD.org
diff --git a/net-mgmt/seafile-gui/distinfo b/net-mgmt/seafile-gui/distinfo
index 7eb452fba94d..26011edd70b1 100644
--- a/net-mgmt/seafile-gui/distinfo
+++ b/net-mgmt/seafile-gui/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600241429
-SHA256 (haiwen-seafile-client-v7.0.9_GH0.tar.gz) = 200b258339cafcaf809f85d88cc53ff15b265673d74f3777c86809e26bf49738
-SIZE (haiwen-seafile-client-v7.0.9_GH0.tar.gz) = 2367747
+TIMESTAMP = 1653165001
+SHA256 (haiwen-seafile-client-v8.0.7_GH0.tar.gz) = e7d66cf8d2fa738a1ad2d87d0459fed3914b5a316e794477962b691538058636
+SIZE (haiwen-seafile-client-v8.0.7_GH0.tar.gz) = 11712880
diff --git a/net-mgmt/seafile-gui/files/patch-CMakeLists.txt b/net-mgmt/seafile-gui/files/patch-CMakeLists.txt
index d9b7a2081d24..0b43f30d67fb 100644
--- a/net-mgmt/seafile-gui/files/patch-CMakeLists.txt
+++ b/net-mgmt/seafile-gui/files/patch-CMakeLists.txt
@@ -1,23 +1,6 @@
---- CMakeLists.txt.orig 2020-07-29 02:24:40 UTC
+--- CMakeLists.txt.orig 2022-04-25 04:00:03 UTC
+++ CMakeLists.txt
-@@ -6,6 +6,7 @@ SET(SEAFILE_CLIENT_VERSION_MINOR 0)
- SET(SEAFILE_CLIENT_VERSION_PATCH 9)
- SET(PROJECT_VERSION "${SEAFILE_CLIENT_VERSION_MAJOR}.${SEAFILE_CLIENT_VERSION_MINOR}.${SEAFILE_CLIENT_VERSION_PATCH}")
- ADD_DEFINITIONS(-DSEAFILE_CLIENT_VERSION=${PROJECT_VERSION})
-+ADD_DEFINITIONS(-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26)
- INCLUDE(FindPkgConfig)
-
- ## Build crash repoter on release build as default
-@@ -109,7 +110,7 @@ IF (WIN32)
- SET(SPARKLE_LIBS ${CMAKE_SOURCE_DIR}/WinSparkle.lib)
- ENDIF()
-
--ELSEIF (LINUX)
-+ELSEIF (LINUX OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
- INCLUDE_DIRECTORIES(${QT_QTDBUS_INCLUDE_DIR})
- LINK_DIRECTORIES(${QT_QTDBUS_LIBRARIES})
- SET(EXTRA_LIBS ${EXTRA_LIBS} ${QT_QTDBUS_LIBRARIES})
-@@ -185,7 +186,7 @@ IF (BUILD_SHIBBOLETH_SUPPORT)
+@@ -171,7 +171,7 @@ IF (BUILD_SHIBBOLETH_SUPPORT)
ADD_DEFINITIONS(-DHAVE_SHIBBOLETH_SUPPORT)
ENDIF()
@@ -26,7 +9,7 @@
SET(USE_QT_LIBRARIES ${USE_QT_LIBRARIES} "DBus")
ENDIF()
-@@ -372,7 +373,7 @@ PKG_CHECK_MODULES(JANSSON REQUIRED jansson>=2.0)
+@@ -383,7 +383,7 @@ PKG_CHECK_MODULES(JANSSON REQUIRED jansson>=2.0)
PKG_CHECK_MODULES(LIBSEARPC REQUIRED libsearpc>=1.0)
@@ -35,21 +18,21 @@
PKG_CHECK_MODULES(LIBSEAFILE REQUIRED libseafile>=1.7)
-@@ -583,7 +584,7 @@ IF (WIN32)
- src/utils/registry.cpp
- src/utils/utils-win.cpp
- )
--ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD")
-+ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
+@@ -601,7 +601,7 @@ LIST(APPEND utils_sources
+ src/utils/stl.cpp
+ src/utils/seafile-error.cpp
+ )
+-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD")
++IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
LIST(APPEND utils_sources
src/utils/process-linux.cpp
)
-@@ -794,7 +795,7 @@ target_link_libraries(seafile-applet Qt5::${WEBKIT_NAM
+@@ -797,7 +797,7 @@ IF (BUILD_SHIBBOLETH_SUPPORT)
ENDIF()
## QtBus
-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD")
+IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
- target_link_libraries(seafile-applet Qt5::DBus)
- ENDIF()
-
+ IF(QT_VERSION_MAJOR EQUAL 6)
+ target_link_libraries(seafile-applet Qt6::DBus)
+ ELSE()