From: Mark Wooding Date: Sun, 7 Oct 2012 22:40:15 +0000 (+0100) Subject: Debianization! X-Git-Tag: 1.0.0~18 X-Git-Url: https://git.distorted.org.uk/~mdw/rsync-backup/commitdiff_plain/06e716704cd26b675e977de45f69cd30369e1772?ds=sidebyside Debianization! --- diff --git a/Makefile.am b/Makefile.am index 36d5d92..f116932 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 index 0000000..3a6cded --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,5 @@ +*.log +*.substvars +rsync-backup +files +substvars diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..57f2c8a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +rsync-backup (0.99.1) unstable; urgency=low + + * Initial packaging. + + -- Mark Wooding Sun, 07 Oct 2012 23:27:24 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1503988 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: rsync-backup +Section: utils +Priority: extra +Maintainer: Mark Wooding +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 index 0000000..6d954c7 --- /dev/null +++ b/debian/copyright @@ -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 index 0000000..0649a22 --- /dev/null +++ b/debian/rsync-backup.examples @@ -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 index 0000000..6de5f27 --- /dev/null +++ b/debian/rules @@ -0,0 +1,2 @@ +#! /usr/bin/make -f +%:; dh $@ -Bdebian/build --parallel