Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] owncloudcustom: add service
@ 2019-11-04 19:24 voidlinux-github
  2019-11-04 19:44 ` [PR PATCH] [Updated] owncloudclient: " voidlinux-github
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: voidlinux-github @ 2019-11-04 19:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

There is a new pull request by ndowens against master on the void-packages repository

https://github.com/ndowens/void-packages owncloudcustom
https://github.com/void-linux/void-packages/pull/16119

owncloudcustom: add service
Added service, as one can sync folder without the need of GUI
Adopt; contacted maintainer and he said I could take

A patch file from https://github.com/void-linux/void-packages/pull/16119.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-owncloudcustom-16119.patch --]
[-- Type: text/x-diff, Size: 2553 bytes --]

From 52291b0401decbdcda1bf96a032a61c3d0117cc0 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Mon, 4 Nov 2019 10:32:29 -0600
Subject: [PATCH] owncloudcustom: add service

Added service, as one can sync folder without the need of GUI
Adopt; contacted maintainer and he said I could take
---
 srcpkgs/owncloudclient/INSTALL.msg              | 9 +++++++++
 srcpkgs/owncloudclient/files/owncloudclient/run | 6 ++++++
 srcpkgs/owncloudclient/template                 | 9 +++++++--
 3 files changed, 22 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/owncloudclient/INSTALL.msg
 create mode 100644 srcpkgs/owncloudclient/files/owncloudclient/run

diff --git a/srcpkgs/owncloudclient/INSTALL.msg b/srcpkgs/owncloudclient/INSTALL.msg
new file mode 100644
index 00000000000..6d7b82392ae
--- /dev/null
+++ b/srcpkgs/owncloudclient/INSTALL.msg
@@ -0,0 +1,9 @@
+In order to use the owncloudclient service:
+
+Edit /etc/sv/owncloudclient/run
+
+Add your login, password, and folder details
+E.G.:
+USER=owncloud
+PASSWORD=owncloud
+FOLDER=/home/owncloud
diff --git a/srcpkgs/owncloudclient/files/owncloudclient/run b/srcpkgs/owncloudclient/files/owncloudclient/run
new file mode 100644
index 00000000000..b9c7081255b
--- /dev/null
+++ b/srcpkgs/owncloudclient/files/owncloudclient/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+USER=
+PASSWORD=
+SERVER=
+FOLDER=
+exec sleep 2m ; owncloudcmd ${FOLDER} https://${USER}:${PASSWORD}@${SERVER}
diff --git a/srcpkgs/owncloudclient/template b/srcpkgs/owncloudclient/template
index 406b515b45c..3886e94b46b 100644
--- a/srcpkgs/owncloudclient/template
+++ b/srcpkgs/owncloudclient/template
@@ -1,7 +1,7 @@
 # Template file for 'owncloudclient'
 pkgname=owncloudclient
 version=2.5.4.11654
-revision=1
+revision=2
 build_style=cmake
 configure_args="-Wno-dev -DNO_SHIBBOLETH=TRUE"
 hostmakedepends="pkg-config"
@@ -11,12 +11,17 @@ makedepends="qtkeychain-qt5-devel sqlite-devel qt5-declarative-devel
 depends="qt5-plugin-sqlite"
 conf_files="/etc/ownCloud/sync-exclude.lst"
 short_desc="Connect to ownCloud servers"
-maintainer="Samuel Chodur <samuelchodur@gmail.com>"
+maintainer="Nathan Owens <ndowens04@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://www.owncloud.org"
 distfiles="https://download.owncloud.com/desktop/stable/${pkgname}-${version}.tar.xz"
 checksum=615439c6a224e263cee0d554b8b5f98b57c331dbc18df7ae5d99197480cf563f
+system_accounts="owncloud"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-host-tools qt5-tools-devel"
 fi
+
+post_install() {
+	vsv owncloudclient
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-11-04 21:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04 19:24 [PR PATCH] owncloudcustom: add service voidlinux-github
2019-11-04 19:44 ` [PR PATCH] [Updated] owncloudclient: " voidlinux-github
2019-11-04 19:58 ` voidlinux-github
2019-11-04 20:00 ` voidlinux-github
2019-11-04 20:05 ` voidlinux-github
2019-11-04 20:08 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-04 20:10 ` voidlinux-github
2019-11-04 20:44 ` voidlinux-github
2019-11-04 21:44 ` [PR PATCH] [Closed]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).