X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by mail.alpinelinux.org (Postfix) with ESMTP id 26D84130EC3A for ; Mon, 27 Jun 2011 08:53:44 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 0AF00AE4002; Mon, 27 Jun 2011 08:53:44 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Uf6WUU5C4hJ; Mon, 27 Jun 2011 08:53:42 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 531A0AE4001; Mon, 27 Jun 2011 08:53:42 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 0D1C360AA1CF8; Mon, 27 Jun 2011 08:53:42 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (ncopa-desktop.nor.wtbts.net [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id D456B60AA1CE0; Mon, 27 Jun 2011 08:53:41 +0000 (UTC) Date: Mon, 27 Jun 2011 10:49:30 +0200 From: Natanael Copa To: Fabian Affolter Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] Initial APKBUILD of halberd Message-ID: <20110627104930.14a46e55@ncopa-desktop.nor.wtbts.net> In-Reply-To: <1309038270-10413-1-git-send-email-fabian@affolter-engineering.ch> References: <1309038270-10413-1-git-send-email-fabian@affolter-engineering.ch> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.5; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP You got "halberd" in the summary line in commit message. Good! On Sat, 25 Jun 2011 21:44:30 +0000 Fabian Affolter wrote: > --- > testing/halberd/APKBUILD | 42 > ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 > insertions(+), 0 deletions(-) create mode 100644 > testing/halberd/APKBUILD > > diff --git a/testing/halberd/APKBUILD b/testing/halberd/APKBUILD > new file mode 100644 > index 0000000..bc62684 > --- /dev/null > +++ b/testing/halberd/APKBUILD > @@ -0,0 +1,42 @@ > +# Contributor: Fabian Affolter > +# Maintainer: > +pkgname=halberd > +pkgver=0.2.4 > +pkgrel=0 > +pkgdesc="Tool to discover HTTP load balancers" Nice and short description. Good! > +url="http://halberd.superadditive.com" > +arch="noarch" > +license="GPL2+" > +depends="python" We dont have any special magic for autodetecting python dependency so adding python to depends is correct. Good! > +makedepends="python-dev " > +install="" > +subpackages="$pkgname-doc" > +source="http://$pkgname.superadditive.com/dist/$pkgname-$pkgver.tar.gz > + $pkgname-sslwrap.patch" > + > +_builddir="$srcdir"/$pkgname-$pkgver > + > +prepare() { > + cd "$_builddir" > + patch -p1 -i "$srcdir"/$pkgname-sslwrap.patch || return 1 > +} Applying patches in prepare section. Good! > + > +build() { > + cd "$_builddir" > + python setup.py build || return 1 > +} > + > +package() { > + cd "$_builddir" > + python setup.py bdist_dumb --keep-temp --bdist-dir "$pkgdir" > || return 1 +} > + > +doc() { > + # The man page is not picked-up automatically > + mkdir -p "$subpkgdir"/usr/share/man || return 1 > + mv "$_builddir"/man/man* "$subpkgdir"/usr/share/man/ || return 1 > +} Moving manpage to proper location. Good! > + > + > +md5sums="d60d0fba8f379ea72c623ad1dd6052c3 halberd-0.2.4.tar.gz > +1fe48ed2a0ef58e8a387ab23368d637c halberd-sslwrap.patch" md5sum: can't open 'halberd-sslwrap.patch': No such file or directory I think you forgot to 'git add halberd-sslwrap.patch' before you did git commit. Care to send a new patch? You can use 'git add --amend ....' to redo a commit in your local git repo. Thanks! --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---