On Thu, 2010-10-21 at 05:08 +0000, Jeremy Thomerson wrote:
> this package was created because I wanted rdiff-backup, and it> requires librsync
nice! I didn't know there was a lib for the rsync algorithm.
> ---> testing/librsync/APKBUILD | 29 +++++++++++++++++++++++++++++> 1 files changed, 29 insertions(+), 0 deletions(-)> create mode 100644 testing/librsync/APKBUILD> > diff --git a/testing/librsync/APKBUILD b/testing/librsync/APKBUILD> new file mode 100644> index 0000000..965a274> --- /dev/null> +++ b/testing/librsync/APKBUILD> @@ -0,0 +1,29 @@> +# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>> +# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
I should write a doc on what is expected from maintainers on the wiki...
Anyways, the librsync was applied.
Thanks!
-nc
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
Re: [alpine-devel] [PATCH 2/2] create new package for rdiff-backup
On Mon, Oct 25, 2010 at 3:39 AM, Natanael Copa <ncopa@alpinelinux.org>wrote:
> On Thu, 2010-10-21 at 05:08 +0000, Jeremy Thomerson wrote:> > ---> > testing/rdiff-backup/APKBUILD | 26 ++++++++++++++++++++++++++>> This looks like an interesting project. Talked the other day with Timo> (fabled) about simplifying updating CF installs with Alpine Linux.> Currently you need to download the iso image, mount it, copy the files> to CF and reboot. This can be done with the setup-bootable tool, but> still, its not efficient. So we talked about alternatives.>> rdiff-backup might be worth look at for that purpose.>
I've used rdiff-backup for several years to backup my home fileserver to an
offsite location. The save-a-diff functionality has saved me several times
where rsync overwriting the previous file would have killed me. For
instance, you accidentally echo "" > some-important-file, but don't realize
it until a day or two later. rsync would have blown away my remote backup,
too. With rdiff, I can restore from a previous point in time (like version
control for backups).
> > 1 files changed, 26 insertions(+), 0 deletions(-)> > create mode 100644 testing/rdiff-backup/APKBUILD>> It fails to build:> ...> copying rdiff_backup/rpath.py -> build/lib.linux-i686-2.6/rdiff_backup> copying rdiff_backup/log.py -> build/lib.linux-i686-2.6/rdiff_backup> running build_ext> error: invalid Python installation: unable to> open /usr/include/python2.6/pyconfig.h (No such file or directory)> ...>> > +makedepends="librsync-dev"> ^^^> It needs python-dev in makedepends>> Care to resend?>> Thanks!> -nc>>
Sure, I have some questions that I'm hoping you can help me with to get
better at this.
It built for me, which must mean that I installed python-dev at some point
during my trial-and-error approach to creating these aports. Is there some
way to know "hey, this thing is dependent on something that I already have
installed on my system"? Do you just build on a box with absolutely nothing
installed (only alpine-sdk for instance)?
Jeremy
Re: [alpine-devel] [PATCH 2/2] create new package for rdiff-backup
On Thu, 2010-10-21 at 05:08 +0000, Jeremy Thomerson wrote:
> ---> testing/rdiff-backup/APKBUILD | 26 ++++++++++++++++++++++++++
This looks like an interesting project. Talked the other day with Timo
(fabled) about simplifying updating CF installs with Alpine Linux.
Currently you need to download the iso image, mount it, copy the files
to CF and reboot. This can be done with the setup-bootable tool, but
still, its not efficient. So we talked about alternatives.
rdiff-backup might be worth look at for that purpose.
> 1 files changed, 26 insertions(+), 0 deletions(-)> create mode 100644 testing/rdiff-backup/APKBUILD
It fails to build:
...
copying rdiff_backup/rpath.py -> build/lib.linux-i686-2.6/rdiff_backup
copying rdiff_backup/log.py -> build/lib.linux-i686-2.6/rdiff_backup
running build_ext
error: invalid Python installation: unable to
open /usr/include/python2.6/pyconfig.h (No such file or directory)
...
> diff --git a/testing/rdiff-backup/APKBUILD b/testing/rdiff-backup/APKBUILD> new file mode 100644> index 0000000..6ffd197> --- /dev/null> +++ b/testing/rdiff-backup/APKBUILD> @@ -0,0 +1,26 @@> +# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>> +# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>> +pkgname=rdiff-backup> +pkgver=1.2.8> +pkgrel=0> +pkgdesc="A backup utility that maintains extra reverse diffs so that files can be restored from previous backups."> +url="http://www.gnu.org/savannah-checkouts/non-gnu/rdiff-backup/"> +license="GPL"> +depends="python"> +makedepends="librsync-dev"
^^^
It needs python-dev in makedepends
Care to resend?
Thanks!
-nc
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---