X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from smtp-2.adminflex.de (smtp-2.adminflex.de [84.38.79.76]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id CC175DC0094 for ; Thu, 31 Oct 2013 10:31:08 +0000 (UTC) Received: from 91-66-231-240-dynip.superkabel.de ([91.66.231.240] helo=[192.168.178.35]) by smtp-2.adminflex.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1VbpWs-00024l-4C for alpine-devel@lists.alpinelinux.org; Thu, 31 Oct 2013 10:31:06 +0000 Message-ID: <52723167.4070809@port-zero.com> Date: Thu, 31 Oct 2013 11:31:03 +0100 From: "Leslie P. Polzer | PORT ZERO" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] New aport: testing/tartarus Content-Type: multipart/mixed; boundary="------------020100010803050903040705" This is a multi-part message in MIME format. --------------020100010803050903040705 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Attached is a new aport commit for packaging the Tartarus backup system. Do take a look at the post-install file and let me know if that is the desired way of letting the installing user know of optional deps. Package granularity could be improved by having a separate subpackage for the included non-essential Charon helper utility (which depends on Perl= ), but right now it doesn't seem worth the bother since the chunk splitting functionality of Tartarus also requires Perl. Plus my guess is that Charon is wanted by the majority of Tartarus users anyway to remove old backup files. Leslie --=20 Dipl.Ing.(BA) Leslie P. Polzer | CTO - PORT ZERO UG (haftungsbeschr=E4nkt) Softwareentwicklung & IT Engineering Adalbertstra=DFe 7/8 10999 Berlin Tel.: +49 (0)30 - 69 200 907 - 0 Fax: +49 (0)30 - 69 200 907 - 9 http://www.port-zero.com --------------020100010803050903040705 Content-Type: text/x-patch; name="0001-testing-tartarus-new-aport.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-testing-tartarus-new-aport.patch" >From 9415f13c68985fc0d19d0557d9d31387071fe246 Mon Sep 17 00:00:00 2001 From: "Leslie P. Polzer" Date: Thu, 31 Oct 2013 11:22:07 +0100 Subject: [PATCH] testing/tartarus: new aport A flexible script based backup system http://wertarbyte.de/tartarus.shtml --- testing/tartarus/APKBUILD | 39 ++++++++++++++++++++++++++++++++++ testing/tartarus/tartarus.post-install | 7 ++++++ 2 files changed, 46 insertions(+) create mode 100644 testing/tartarus/APKBUILD create mode 100644 testing/tartarus/tartarus.post-install diff --git a/testing/tartarus/APKBUILD b/testing/tartarus/APKBUILD new file mode 100644 index 0000000..5edc45b --- /dev/null +++ b/testing/tartarus/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Leslie P. Polzer +# Maintainer: Leslie P. Polzer +pkgname=tartarus +pkgver=0.9.8 +pkgrel=0 +pkgdesc="A flexible script based backup system" +url="http://wertarbyte.de/tartarus.shtml" +arch="noarch" +license="GPL3" +depends="perl" # for charon +makedepends="perl" # pod2man for doc +subpackages="$pkgname-doc" +install="$pkgname.post-install" +source="http://wertarbyte.de/tartarus/tartarus-$pkgver.tar.bz2" + +_builddir="$srcdir/tartarus-$pkgver" +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + + mkdir -p "$pkgdir"/usr/bin + install -m755 bin/* "$pkgdir"/usr/bin + + mkdir -p "$pkgdir"/usr/lib/perl5/vendor_perl + cp -rv lib/Tartarus "$pkgdir"/usr/lib/perl5/vendor_perl/ + + mkdir -p "$pkgdir"/usr/share/man/man1 + install -m644 man/*.1 "$pkgdir"/usr/share/man/man1 + + chown -R 0:0 "$pkgdir" +} + +md5sums="4aa1cc8b550ded1c77fc50aeef146310 tartarus-0.9.8.tar.bz2" +sha256sums="cfd3158974e4c331bebf5b9fbf51eb3f884a71d60eaf2c82e8856a150691bcef tartarus-0.9.8.tar.bz2" +sha512sums="b879e214924643664e45165b227ceda9723be919854bd867fe11a2c474c1ae3cc9c2206992cb3a75ad02683c8feb44c21f884eb6f354caa398ca0ea9ce9f82d4 tartarus-0.9.8.tar.bz2" diff --git a/testing/tartarus/tartarus.post-install b/testing/tartarus/tartarus.post-install new file mode 100644 index 0000000..ddf64f8 --- /dev/null +++ b/testing/tartarus/tartarus.post-install @@ -0,0 +1,7 @@ +#!/bin/sh + +echo "Optional packages for Tartarus:" +echo " * afio: for using afio as archive format" +echo " * curl: for storing backups on FTP sites" +echo " * lvm2: for snapshot support" +echo " * gnupg: for encryption support" -- 1.8.4.2 --------------020100010803050903040705-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---