~alpine/aports

1

[alpine-aports] testing/snapraid: new aport

Xavier Garcia <xavier@xnaove.com>
Details
Message ID
<CAPipkoro++aVf3ZqWL3War1DpvLExN1P+02bowWUVE9msN2DQA@mail.gmail.com>
Sender timestamp
1464974742
DKIM signature
missing
Download raw message
# Contributor: Xavier Garcia <alpine@xnaove.com>
# Maintainer:
pkgname=snapraid
pkgver=10.0
pkgrel=0
pkgdesc="SnapRAID is a backup program for disk arrays. It stores parity
information and it recovers from up to six disk failures."
url="http://www.snapraid.it"
arch="all"
license="GPLv3"
depends=""
depends_dev="gcc"
makedepends="$depends_dev"
options="!strip"
install=""
subpackages="$pkgname-doc"
source="
https://github.com/amadvance/snapraid/releases/download/v$pkgver/snapraid-$pkgver.tar.gz
"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
        local i
        cd "$_builddir"
        for i in $source; do
                case $i in
                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
                esac
        done
}

build() {
        cd "$_builddir"
        ./configure
        make || return 1
}

package() {
        cd "$_builddir"
        make DESTDIR="$pkgdir" prefix="/usr" install || return 1
}
md5sums="b2da5734ca2e1a9b655837a39522867f  snapraid-10.0.tar.gz"
sha256sums="f7dcf19480256fc2c1db9ab976aa12f786e76da6044cc397f0451524e8031ad6
snapraid-10.0.tar.gz"
sha512sums="cd4af07c3dc3b2399287bf0aa273c01a32fd2e8fd4ad8b98f37e36a069b8092d7a4f69199fea4d110dda0d3059af5e8111e9fa7662829620a525efd01462872c
snapraid-10.0.tar.gz"
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20160622000300.7c92bde9@ncopa-desktop.copa.dup.pw>
In-Reply-To
<CAPipkoro++aVf3ZqWL3War1DpvLExN1P+02bowWUVE9msN2DQA@mail.gmail.com> (view parent)
Sender timestamp
1466546580
DKIM signature
missing
Download raw message
Hi,

Thank you for the patch, but `git am` was not very happy with the
following bits:

--001a113d059828d638053463030a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"># Contributor: Xavier Garcia &lt;<a href=3D"mailto:alpine@=
xnaove.com">alpine@xnaove.com</a>&gt;<br># Maintainer:<br>pkgname=3Dsnaprai=
d<br>pkgver=3D10.0<br>pkgrel=3D0<br>pkgdesc=3D&quot;SnapRAID is a backup pr=
ogram for disk arrays. It stores parity information and it recovers from up=
 to six disk failures.&quot;<br>url=3D&quot;<a href=3D"http://www.snapraid.=
it">http://www.snapraid.it</a>&quot;<br>arch=3D&quot;all&quot;<br>license=
=3D&quot;GPLv3&quot;<br>depends=3D&quot;&quot;<br>depends_dev=3D&quot;gcc&q=
uot;<br>makedepends=3D&quot;$depends_dev&quot;<br>options=3D&quot;!strip&qu=
ot;<br>install=3D&quot;&quot;<br>subpackages=3D&quot;$pkgname-doc&quot;<br>=
source=3D&quot;<a href=3D"https://github.com/amadvance/snapraid/releases/do=

In short, patch does not apply.

It would be nice if you could resend it as the original plain text so
that `git am` can accept it. git send-email can do that for you.

Alternatively, send the patch generated from `git format-patch` as attachment.

Thanks!

-nc


On Fri, 3 Jun 2016 19:25:42 +0200
Xavier Garcia <xavier@xnaove.com> wrote:

> # Contributor: Xavier Garcia <alpine@xnaove.com>
> # Maintainer:
> pkgname=snapraid
> pkgver=10.0
> pkgrel=0
> pkgdesc="SnapRAID is a backup program for disk arrays. It stores parity
> information and it recovers from up to six disk failures."
> url="http://www.snapraid.it"
> arch="all"
> license="GPLv3"
> depends=""
> depends_dev="gcc"
> makedepends="$depends_dev"
> options="!strip"
> install=""
> subpackages="$pkgname-doc"
> source="
> https://github.com/amadvance/snapraid/releases/download/v$pkgver/snapraid-$pkgver.tar.gz
> "
> 
> _builddir="$srcdir"/$pkgname-$pkgver
> prepare() {
>         local i
>         cd "$_builddir"
>         for i in $source; do
>                 case $i in
>                 *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
>                 esac
>         done
> }
> 
> build() {
>         cd "$_builddir"
>         ./configure
>         make || return 1
> }
> 
> package() {
>         cd "$_builddir"
>         make DESTDIR="$pkgdir" prefix="/usr" install || return 1
> }
> md5sums="b2da5734ca2e1a9b655837a39522867f  snapraid-10.0.tar.gz"
> sha256sums="f7dcf19480256fc2c1db9ab976aa12f786e76da6044cc397f0451524e8031ad6
> snapraid-10.0.tar.gz"
> sha512sums="cd4af07c3dc3b2399287bf0aa273c01a32fd2e8fd4ad8b98f37e36a069b8092d7a4f69199fea4d110dda0d3059af5e8111e9fa7662829620a525efd01462872c
> snapraid-10.0.tar.gz"



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)