Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2021 20:29:00 GMT
From:      Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 12169c9d89d9 - main - www/pydio-cells: Update to 2.2.8
Message-ID:  <202106022029.152KT0OE062377@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by skozlov:

URL: https://cgit.FreeBSD.org/ports/commit/?id=12169c9d89d966bb70ffe494a25758c4b152e090

commit 12169c9d89d966bb70ffe494a25758c4b152e090
Author:     Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
AuthorDate: 2021-05-31 16:30:27 +0000
Commit:     Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
CommitDate: 2021-06-02 20:25:24 +0000

    www/pydio-cells: Update to 2.2.8
    
    - One patch has been upstreamed, deleted
    - Fixed unit tests by fixing keyring code
    
    Testing:
    - `portlint -AC` still OK
    - Smoke-tested in production
    - Unit tests pass
    
    Changelog:      https://github.com/pydio/cells/compare/v2.2.7...v2.2.8
---
 www/pydio-cells/Makefile                                |  6 ++++--
 www/pydio-cells/distinfo                                |  6 +++---
 www/pydio-cells/files/patch-cmd_start.go                | 15 ---------------
 ...thub.com_godbus_dbus_transport__unixcred__freebsd.go | 17 +++++++++++++++++
 4 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/www/pydio-cells/Makefile b/www/pydio-cells/Makefile
index caa8ef3bae4b..090c96e8a456 100644
--- a/www/pydio-cells/Makefile
+++ b/www/pydio-cells/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	cells
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.2.7
-PORTREVISION=	1
+DISTVERSION=	2.2.8
 CATEGORIES=	www
 PKGNAMEPREFIX=	pydio-
 
@@ -37,6 +36,9 @@ ZSH_PLIST_FILES=	share/zsh/site-functions/_${PORTNAME}
 post-patch:
 	${REINPLACE_CMD} -e "s|\$${GOPATH}/bin/packr|${LOCALBASE}/bin/pydio-packr|g" \
 		${WRKSRC}/Makefile
+	# Linux keyring code is compatible with FreeBSD
+	cd ${WRKSRC}/vendor/github.com/zalando/go-keyring && \
+		${LN} -s keyring_linux.go keyring_freebsd.go
 
 pre-build:
 	@cd ${WRKSRC} && \
diff --git a/www/pydio-cells/distinfo b/www/pydio-cells/distinfo
index 9ff4bb137b6e..5dfee3a64e2c 100644
--- a/www/pydio-cells/distinfo
+++ b/www/pydio-cells/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620685268
-SHA256 (pydio-cells-v2.2.7_GH0.tar.gz) = a03cb5c58086aa4c5c62bd313ed6c1b7533c14c9d285a546e74dbd74994701e2
-SIZE (pydio-cells-v2.2.7_GH0.tar.gz) = 99130816
+TIMESTAMP = 1622664125
+SHA256 (pydio-cells-v2.2.8_GH0.tar.gz) = 205df5bc051130e7d4fb69b684833e80b29e437c8140aa6a26002b80559d0c4c
+SIZE (pydio-cells-v2.2.8_GH0.tar.gz) = 99126120
diff --git a/www/pydio-cells/files/patch-cmd_start.go b/www/pydio-cells/files/patch-cmd_start.go
deleted file mode 100644
index 70beb4144f5e..000000000000
--- a/www/pydio-cells/files/patch-cmd_start.go
+++ /dev/null
@@ -1,15 +0,0 @@
---- cmd/start.go.orig	2021-05-06 12:02:02 UTC
-+++ cmd/start.go
-@@ -289,7 +289,11 @@ ENVIRONMENT
- 				if (process == nil || len(process.Services) == 0) && len(childrenProcesses) == 0 {
- 					return nil
- 				}
--				log.Info("Services are still running ", zap.Any("services", process.Services))
-+				// Already fixed upstream, should be in the next version after 2.2.7:
-+				// https://github.com/pydio/cells/issues/325
-+				if (process != nil) {
-+					log.Info("Services are still running ", zap.Any("services", process.Services))
-+				}
- 				continue
- 			case <-timeout:
- 				return nil
diff --git a/www/pydio-cells/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go b/www/pydio-cells/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go
new file mode 100644
index 000000000000..1b2bb0d7086f
--- /dev/null
+++ b/www/pydio-cells/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go
@@ -0,0 +1,17 @@
+--- vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go.orig	2021-05-06 12:02:02 UTC
++++ vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go
+@@ -4,12 +4,14 @@
+ // http://code.google.com/p/go/source/browse/unix/sockcmsg_linux.go?repo=sys
+ 
+ // Local implementation of the UnixCredentials system call for FreeBSD
++// Patch added from upstream project: https://github.com/godbus/dbus/commit/efee8394fa9a426004eb24eed1dee80f5efd90af
+ 
+ package dbus
+ 
+ /*
+ const int sizeofPtr = sizeof(void*);
+ #define _WANT_UCRED
++#include <sys/types.h>
+ #include <sys/ucred.h>
+ */
+ import "C"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106022029.152KT0OE062377>