1 |
commit: b5b7254c3b19bdf4f8d5e514c98c7d36b2cfdbe9 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 1 22:13:48 2019 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 22:14:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b7254c |
7 |
|
8 |
net-misc/dropbox: add new dropbox@ service |
9 |
|
10 |
Closes: https://bugs.gentoo.org/618580 |
11 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
12 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
13 |
|
14 |
net-misc/dropbox/dropbox-81.4.195.ebuild | 4 +-- |
15 |
net-misc/dropbox/files/dropbox_at.service-r2 | 37 ++++++++++++++++++++++++++++ |
16 |
2 files changed, 39 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/dropbox/dropbox-81.4.195.ebuild b/net-misc/dropbox/dropbox-81.4.195.ebuild |
19 |
index 48e763d95e0..c21396bd015 100644 |
20 |
--- a/net-misc/dropbox/dropbox-81.4.195.ebuild |
21 |
+++ b/net-misc/dropbox/dropbox-81.4.195.ebuild |
22 |
@@ -11,7 +11,7 @@ SRC_URI=" |
23 |
x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz ) |
24 |
amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz )" |
25 |
|
26 |
-LICENSE="CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox" |
27 |
+LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox" |
28 |
SLOT="0" |
29 |
KEYWORDS="~amd64 ~x86 ~x86-linux" |
30 |
IUSE="+librsync-bundled selinux X" |
31 |
@@ -98,7 +98,7 @@ src_install() { |
32 |
|
33 |
newinitd "${FILESDIR}"/dropbox.initd dropbox |
34 |
newconfd "${FILESDIR}"/dropbox.conf dropbox |
35 |
- systemd_newunit "${FILESDIR}"/dropbox_at.service-r1 "dropbox@.service" |
36 |
+ systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service" |
37 |
|
38 |
dodoc "${T}"/{README,ACKNOWLEDGEMENTS} |
39 |
} |
40 |
|
41 |
diff --git a/net-misc/dropbox/files/dropbox_at.service-r2 b/net-misc/dropbox/files/dropbox_at.service-r2 |
42 |
new file mode 100644 |
43 |
index 00000000000..a21362f3ca7 |
44 |
--- /dev/null |
45 |
+++ b/net-misc/dropbox/files/dropbox_at.service-r2 |
46 |
@@ -0,0 +1,37 @@ |
47 |
+# Copyright (c) 2015, Joe Roback |
48 |
+# All rights reserved. |
49 |
+# |
50 |
+# Redistribution and use in source and binary forms, with or without |
51 |
+# modification, are permitted provided that the following conditions are met: |
52 |
+# |
53 |
+# * Redistributions of source code must retain the above copyright notice, this |
54 |
+# list of conditions and the following disclaimer. |
55 |
+# |
56 |
+# * Redistributions in binary form must reproduce the above copyright notice, |
57 |
+# this list of conditions and the following disclaimer in the documentation |
58 |
+# and/or other materials provided with the distribution. |
59 |
+# |
60 |
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
61 |
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
62 |
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
63 |
+# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
64 |
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
65 |
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
66 |
+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
67 |
+# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
68 |
+# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
69 |
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
70 |
+ |
71 |
+[Unit] |
72 |
+Description=Dropbox as a system service |
73 |
+After=local-fs.target network.target |
74 |
+ |
75 |
+[Service] |
76 |
+Type=simple |
77 |
+ExecStart=/usr/bin/env "/home/%i/.dropbox-dist/dropboxd" |
78 |
+Restart=on-failure |
79 |
+RestartSec=1 |
80 |
+User=%i |
81 |
+ |
82 |
+[Install] |
83 |
+WantedBy=multi-user.target |