Merge lp:~ballot/turku/turku-agent into lp:turku/turku-agent

Proposed by Benjamin Allot
Status: Needs review
Proposed branch: lp:~ballot/turku/turku-agent
Merge into: lp:turku/turku-agent
Diff against target: 155 lines (+99/-0)
11 files modified
debian/changelog (+31/-0)
debian/compat (+1/-0)
debian/control (+14/-0)
debian/copyright (+13/-0)
debian/dirs (+2/-0)
debian/install (+2/-0)
debian/rules (+14/-0)
debian/source/format (+1/-0)
debian/turku-agent-rsyncd.conf (+8/-0)
debian/turku-agent-rsyncd.service (+10/-0)
debian/turku-agent.cron.d (+3/-0)
To merge this branch: bzr merge lp:~ballot/turku/turku-agent
Reviewer Review Type Date Requested Status
Turku Pending
Review via email: mp+425241@code.launchpad.net

Commit message

Add debian directory for packaging.

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Unmerged revisions

58. By Benjamin Allot

Add debian directory for packaging.

Lintian errors are still there

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'debian'
2=== added file 'debian/changelog'
3--- debian/changelog 1970-01-01 00:00:00 +0000
4+++ debian/changelog 2022-06-22 14:48:45 +0000
5@@ -0,0 +1,31 @@
6+turku-agent (0.1.0~bzr43) precise-cat; urgency=medium
7+
8+ * turku-agent r43
9+
10+ -- Laurent Sesques <laurent.sesques@canonical.com> Mon, 22 May 2017 11:33:17 +0200
11+
12+turku-agent (0.1.0~bzr40-1~0.IS.12.04) precise-cat; urgency=low
13+
14+ * precise-cat rebuild (no changes)
15+
16+ -- Ryan Finnie <ryan.finnie@canonical.com> Sun, 29 Mar 2015 17:25:09 +0000
17+
18+turku-agent (0.1.0~bzr40-1) lucid; urgency=low
19+
20+ * turku-agent r40
21+ * upstart file is not (yet) updated to turku-agent-rsyncd-wrapper, to
22+ assist in a mass migration.
23+
24+ -- Ryan Finnie <ryan.finnie@canonical.com> Sun, 29 Mar 2015 08:19:25 +0000
25+
26+turku-agent (0.0.20150318-1) lucid; urgency=low
27+
28+ * turku-agent r26
29+
30+ -- Ryan Finnie <ryan.finnie@canonical.com> Wed, 18 Mar 2015 05:48:26 +0000
31+
32+turku-agent (0.0.20150225-1) trusty; urgency=medium
33+
34+ * Initial packaging.
35+
36+ -- Ryan Finnie <ryan.finnie@canonical.com> Fri, 06 Mar 2015 05:52:34 +0000
37
38=== added file 'debian/compat'
39--- debian/compat 1970-01-01 00:00:00 +0000
40+++ debian/compat 2022-06-22 14:48:45 +0000
41@@ -0,0 +1,1 @@
42+7
43
44=== added file 'debian/control'
45--- debian/control 1970-01-01 00:00:00 +0000
46+++ debian/control 2022-06-22 14:48:45 +0000
47@@ -0,0 +1,14 @@
48+Source: turku-agent
49+Priority: extra
50+Maintainer: Ryan Finnie <ryan.finnie@canonical.com>
51+Build-Depends: debhelper (>= 7.0.50~), python3-all, dh-python
52+Standards-Version: 3.9.2
53+Section: admin
54+
55+Package: turku-agent
56+Section: admin
57+Architecture: all
58+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, rsync
59+Recommends: upstart
60+Description: Turku backups (agent)
61+ This package contains the Turku backups agent.
62
63=== added file 'debian/copyright'
64--- debian/copyright 1970-01-01 00:00:00 +0000
65+++ debian/copyright 2022-06-22 14:48:45 +0000
66@@ -0,0 +1,13 @@
67+Copyright 2015 Canonical Ltd.
68+
69+This program is free software: you can redistribute it and/or modify it
70+under the terms of the GNU General Public License version 3, as published by
71+the Free Software Foundation.
72+
73+This program is distributed in the hope that it will be useful, but WITHOUT
74+ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
75+SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
76+General Public License for more details.
77+
78+You should have received a copy of the GNU General Public License along with
79+this program. If not, see /usr/share/common-licenses/GPL-3
80
81=== added file 'debian/dirs'
82--- debian/dirs 1970-01-01 00:00:00 +0000
83+++ debian/dirs 2022-06-22 14:48:45 +0000
84@@ -0,0 +1,2 @@
85+etc/turku-agent/config.d
86+etc/turku-agent/sources.d
87
88=== added file 'debian/install'
89--- debian/install 1970-01-01 00:00:00 +0000
90+++ debian/install 2022-06-22 14:48:45 +0000
91@@ -0,0 +1,2 @@
92+debian/turku-agent-rsyncd.conf etc/init
93+debian/turku-agent-rsyncd.service lib/systemd/system
94
95=== added file 'debian/rules'
96--- debian/rules 1970-01-01 00:00:00 +0000
97+++ debian/rules 2022-06-22 14:48:45 +0000
98@@ -0,0 +1,14 @@
99+#!/usr/bin/make -f
100+# -*- makefile -*-
101+# Sample debian/rules that uses debhelper.
102+# This file was originally written by Joey Hess and Craig Small.
103+# As a special exception, when this file is copied by dh-make into a
104+# dh-make output file, you may use that output file without restriction.
105+# This special exception was added by Craig Small in version 0.37 of dh-make.
106+
107+# Uncomment this to turn on verbose mode.
108+export DH_VERBOSE=1
109+export PYBUILD_NAME=turku-agent
110+
111+%:
112+ dh $@ --with python3 --buildsystem=pybuild
113
114=== added directory 'debian/source'
115=== added file 'debian/source/format'
116--- debian/source/format 1970-01-01 00:00:00 +0000
117+++ debian/source/format 2022-06-22 14:48:45 +0000
118@@ -0,0 +1,1 @@
119+1.0
120
121=== added file 'debian/turku-agent-rsyncd.conf'
122--- debian/turku-agent-rsyncd.conf 1970-01-01 00:00:00 +0000
123+++ debian/turku-agent-rsyncd.conf 2022-06-22 14:48:45 +0000
124@@ -0,0 +1,8 @@
125+description "turku rsync daemon"
126+
127+start on runlevel [2345]
128+stop on runlevel [!2345]
129+
130+respawn
131+
132+exec /usr/bin/rsync --no-detach --daemon --config=/var/lib/turku-agent/rsyncd.conf
133
134=== added file 'debian/turku-agent-rsyncd.service'
135--- debian/turku-agent-rsyncd.service 1970-01-01 00:00:00 +0000
136+++ debian/turku-agent-rsyncd.service 2022-06-22 14:48:45 +0000
137@@ -0,0 +1,10 @@
138+[Unit]
139+Description=turku rsyncd daemon
140+ConditionPathExists=/var/lib/turku-agent/rsyncd.conf
141+
142+[Service]
143+ExecStart=/usr/bin/env turku-agent-rsyncd-wrapper
144+Restart=always
145+
146+[Install]
147+WantedBy=multi-user.target
148
149=== added file 'debian/turku-agent.cron.d'
150--- debian/turku-agent.cron.d 1970-01-01 00:00:00 +0000
151+++ debian/turku-agent.cron.d 2022-06-22 14:48:45 +0000
152@@ -0,0 +1,3 @@
153+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
154+*/5 * * * * root turku-agent-ping --wait=300 >/dev/null 2>/dev/null
155+0 0,12 * * * root turku-update-config --wait=7200 >/dev/null 2>/dev/null

Subscribers

People subscribed via source and target branches

to all changes: