chiark / gitweb /
Debianization!
authorMark Wooding <mdw@distorted.org.uk>
Sun, 7 Oct 2012 22:40:15 +0000 (23:40 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 7 Oct 2012 22:40:15 +0000 (23:40 +0100)
Makefile.am
debian/.gitignore [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rsync-backup.examples [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 36d5d924de2263a4922fd900ec594604b07c5ce8..f116932d9aa4e9055bfb0bdee4163519bc6e623d 100644 (file)
@@ -100,4 +100,11 @@ EXTRA_DIST         += config/auto-version
 dist-hook:
        echo $(VERSION) >$(distdir)/RELEASE
 
+###--------------------------------------------------------------------------
+### Debian packaging.
+
+EXTRA_DIST             += debian/copyright debian/changelog
+EXTRA_DIST             += debian/control debian/rules
+EXTRA_DIST             += debian/compat
+
 ###----- That's all, folks --------------------------------------------------
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644 (file)
index 0000000..3a6cded
--- /dev/null
@@ -0,0 +1,5 @@
+*.log
+*.substvars
+rsync-backup
+files
+substvars
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..57f2c8a
--- /dev/null
@@ -0,0 +1,6 @@
+rsync-backup (0.99.1) unstable; urgency=low
+
+  * Initial packaging.
+
+ -- Mark Wooding <mdw@distorted.org.uk>  Sun, 07 Oct 2012 23:27:24 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1503988
--- /dev/null
@@ -0,0 +1,22 @@
+Source: rsync-backup
+Section: utils
+Priority: extra
+Maintainer: Mark Wooding <mdw@distorted.org.uk>
+XS-Python-Version: >= 2.5
+Build-Depends: mlib-dev (>= 2.1.0), debhelper (>= 8.1)
+Standards-Version: 3.1.1
+
+Package: rsync-backup
+Architecture: any
+Depends: ${shlibs:Depends}, rsync, openssh-client
+Recommends: lvm2
+Description: Yet another `rsync --link-dest' backup script.
+ It uses rsync's ability to create hardlinks from (apparently) similar
+ existing local trees to make incre- mental dumps efficient, even from remote
+ sources.  Restoring files is easy because the backups created are just
+ directories full of files, exactly as they were on the source - and this is
+ verified using the fshash(1) program (included).
+ .
+ The script does more than just running rsync.  It is also responsible for
+ creating and removing snapshots of volumes to be backed up, and expiring old
+ dumps according to a user-specified retention policy.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..6d954c7
--- /dev/null
@@ -0,0 +1,16 @@
+rsync-backup is copyright (c) 2012 Mark Wooding.
+
+rsync-backup is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+rsync-backup is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License in
+/usr/share/common-licenses/GPL; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
diff --git a/debian/rsync-backup.examples b/debian/rsync-backup.examples
new file mode 100644 (file)
index 0000000..0649a22
--- /dev/null
@@ -0,0 +1,3 @@
+create-backup-volume
+mount-backup-volume
+umount-backup-volume
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..6de5f27
--- /dev/null
@@ -0,0 +1,2 @@
+#! /usr/bin/make -f
+%:; dh $@ -Bdebian/build --parallel