X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 78D75DC0CFF for ; Tue, 26 Jan 2016 21:41:32 +0000 (UTC) Received: from newmail.tetrasec.net (unknown [74.117.189.116]) by mail.alpinelinux.org (Postfix) with ESMTP id 58ADFDC0240 for ; Tue, 26 Jan 2016 21:41:32 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (103.63.200.37.customer.cdi.no [37.200.63.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id 96E3A5A01B2; Tue, 26 Jan 2016 21:41:31 +0000 (GMT) Date: Tue, 26 Jan 2016 22:41:26 +0100 From: Natanael Copa To: Valery Kartel Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/curl: [V2] strip to subpackages and some cleanups Message-ID: <20160126224126.070163c1@ncopa-desktop.alpinelinux.org> In-Reply-To: <1453726976-17087-1-git-send-email-valery.kartel@gmail.com> References: <1453726976-17087-1-git-send-email-valery.kartel@gmail.com> X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 25 Jan 2016 15:02:56 +0200 Valery Kartel wrote: > - remove unused patch > - move libcurl and zsh completion to subpackages Thank you! I changed the commit message, removed the [V2] as it does not make sense in git log. you can do: git format-patch --subject-prefix=3D"PATCH v2" ... or git send-email --subject-prefix=3D"PATCH v2" ... and the subject line would have become: [PATCH v2] main/curl: strip to subpackages and some cleanups git will then remove that '[PATCH v2]' for me when I do `git am` and I will save a few valuable seconds. It also saves me for the manual cleanup on http://patchwork.alpinelinux.org. More details here: http://wiki.alpinelinux.org/wiki/Creating_patches#Resend_an_updated_patch > --- Things you write under that '---' line in the patch will not be included in git commit either, so here you can write things that is meant for discussion on the mailing list but is not meant to go into the git history. Thanks! -nc > ...-generate-code-for-disable-manual-as-well.patch | 42 > ---------------------- > main/curl/APKBUILD | 33 > ++++++++++++----- 2 files changed, 25 insertions(+), 50 deletions(-) > delete mode 100644 > main/curl/0001-mkhelp-generate-code-for-disable-manual-as-well.patch >=20 > diff --git > a/main/curl/0001-mkhelp-generate-code-for-disable-manual-as-well.patch > b/main/curl/0001-mkhelp-generate-code-for-disable-manual-as-well.patch > deleted file mode 100644 index d23b484..0000000 --- > a/main/curl/0001-mkhelp-generate-code-for-disable-manual-as-well.patch > +++ /dev/null @@ -1,42 +0,0 @@ > -From 38d582ff541353d738858299d4a2b78bafac03ed Mon Sep 17 00:00:00 > 2001 -From: Daniel Stenberg > -Date: Wed, 26 Mar 2014 13:22:10 +0100 > -Subject: [PATCH] mkhelp: generate code for --disable-manual as well > - > -This allows configure --disable-manual to run and build without > having -to regenerate the src/tool_hugehelp.c file which otherwise is > necessary -since we ship tarballs with that file present. > - > -Reported-by: Remi Gacogne > -Bug: http://curl.haxx.se/bug/view.cgi?id=3D1350 > ---- > - src/mkhelp.pl | 6 +++++- > - 1 file changed, 5 insertions(+), 1 deletion(-) > - > -diff --git a/src/mkhelp.pl b/src/mkhelp.pl > -index 444b669..7ed86f7 100644 > ---- a/src/mkhelp.pl > -+++ b/src/mkhelp.pl > -@@ -6,7 +6,7 @@ > - # | (__| |_| | _ <| |___ > - # \___|\___/|_| \_\_____| > - # > --# Copyright (C) 1998 - 2011, Daniel Stenberg, , et > al. -+# Copyright (C) 1998 - 2014, Daniel Stenberg, , > et al. > - # > - # This software is licensed as described in the file COPYING, which > - # you should have received as part of this distribution. The terms > -@@ -256,6 +256,10 @@ foot(); > -=20 > - sub foot { > - print < -+#else /* !USE_MANUAL */ > -+/* built-in manual is disabled, blank function */ > -+#include "tool_hugehelp.h" > -+void hugehelp(void) {} > - #endif /* USE_MANUAL */ > - FOOT > - ; > ---=20 > -1.9.1 > - > diff --git a/main/curl/APKBUILD b/main/curl/APKBUILD > index 4962d9e..e34df81 100644 > --- a/main/curl/APKBUILD > +++ b/main/curl/APKBUILD > @@ -1,20 +1,20 @@ > +# Contributor: Valery Kartel > # Contributor: =C5=81ukasz Jendrysik > # Maintainer: Natanael Copa > pkgname=3Dcurl > pkgver=3D7.46.0 > -pkgrel=3D1 > +pkgrel=3D2 > pkgdesc=3D"An URL retrival utility and library" > url=3D"http://curl.haxx.se" > arch=3D"all" > license=3D"MIT" > depends=3D"ca-certificates" > depends_dev=3D"zlib-dev openssl-dev libssh2-dev" > -makedepends=3D"groff $depends_dev perl" > -source=3D"http://curl.haxx.se/download/curl-$pkgver.tar.bz2" > -subpackages=3D"$pkgname-doc $pkgname-dev" > - > -_builddir=3D"$srcdir/$pkgname-$pkgver" > +makedepends=3D"$depends_dev groff perl" > +source=3D"http://curl.haxx.se/download/$pkgname-$pkgver.tar.bz2" > +subpackages=3D"$pkgname-doc $pkgname-dev libcurl > $pkgname-zsh-completion:zshcomp"=20 > +_builddir=3D"$srcdir"/$pkgname-$pkgver > prepare() { > local i > cd "$_builddir" > @@ -24,17 +24,19 @@ prepare() { > esac > done > } > + > build() { > cd "$_builddir" > ./configure \ > --build=3D$CBUILD \ > --host=3D$CHOST \ > --prefix=3D/usr \ > - --mandir=3D/usr/share/man \ > - --without-libidn \ > --enable-ipv6 \ > --enable-unix-sockets \ > + --without-libidn \ > + --disable-static \ > --disable-ldap \ > + --with-pic \ > || return 1 > make || return 1 > } > @@ -44,6 +46,21 @@ package() { > make DESTDIR=3D"$pkgdir" install || return 1 > } > =20 > +libcurl() { > + pkgdesc=3D"The multiprotocol file transfer library" > + mkdir -p "$subpkgdir"/usr > + mv "$pkgdir"/usr/lib "$subpkgdir"/usr > +} > + > +zshcomp() { > + pkgdesc=3D"Zsh completion for $pkgname" > + arch=3D"noarch" > + depends=3D"" > + install_if=3D"$pkgname=3D$pkgver-r$pkgrel zsh" > + mkdir -p "$subpkgdir"/usr/share > + mv "$pkgdir"/usr/share/zsh "$subpkgdir"/usr/share > +} > + > md5sums=3D"9979f989a2a9930d10f1b3deeabc2148 curl-7.46.0.tar.bz2" > sha256sums=3D"b7d726cdd8ed4b6db0fa1b474a3c59ebbbe4dcd4c61ac5e7ade0e0270d= 3195ad > curl-7.46.0.tar.bz2" > sha512sums=3D"ff47216a2b4a2d14a2e98e0e87867897a9bf059c58d2d73aa47a69ccd94= 977367e2de15bea641abfb00e236a8b016ee869675c2cc702f7919da5fe612bd8b5e1 > curl-7.46.0.tar.bz2" --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---