Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] owncloudclient: add service
Date: Mon, 04 Nov 2019 21:08:03 +0100	[thread overview]
Message-ID: <20191104200803.aF19fkzEi2KH3iZzdjtbKZKqxC68I10SOtqnFf3c964@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16119@inbox.vuxu.org>

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

There is an updated 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

owncloudclient: 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: 2548 bytes --]

From 99ff597a93641097dc5800c44537c800981d2bb9 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Mon, 4 Nov 2019 10:32:29 -0600
Subject: [PATCH] owncloudclient: 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..0bc97a0ca56
--- /dev/null
+++ b/srcpkgs/owncloudclient/files/owncloudclient/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+USER=
+PASSWORD=
+SERVER=
+FOLDER=
+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
+}

  parent reply	other threads:[~2019-11-04 20:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 19:24 [PR PATCH] owncloudcustom: " 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 ` voidlinux-github [this message]
2019-11-04 20:10 ` voidlinux-github
2019-11-04 20:44 ` voidlinux-github
2019-11-04 21:44 ` [PR PATCH] [Closed]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191104200803.aF19fkzEi2KH3iZzdjtbKZKqxC68I10SOtqnFf3c964@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).