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 3B2F0DC01EF for ; Mon, 8 Jun 2015 18:54:36 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id CE347DC00CD for ; Mon, 8 Jun 2015 18:54:30 +0000 (UTC) Received: by lbcmx3 with SMTP id mx3so86605035lbc.1 for ; Mon, 08 Jun 2015 11:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=zJeK3GFMjyOg5e2Qqf3zP36AhLwC7S0vFGLV2atyWyw=; b=gAonIiRnCb4+Ywq+DaEoy7h2oWasNC/daGMCdwwzsks+fHvdgFbKjav3zhYvPLQFW1 aEEF78+fkr64jvlPpK5kklt+Tn++VBTyJopBjhjcQiHZh190iUhtdvsYBnx83l7rM6V6 /OEnit/zvcg9BpZYYVbOhYW/8sNnqYP1hbtCm1kI46Np1E1NH2MBThg+cB0jU528SS/V c3BYST13RT8YDeOUFis6JcsyWPAf/x/z4HhqAoqXEaZQEyL0GZ/02BiQuvQf/Vqh5j23 4hN1MluIFAOd3n1wecf9gq1WryISgFWnAtXMWCVpaDBDvJZFA1U+zIWGNDmak+kRWg+k oqXQ== X-Received: by 10.152.6.166 with SMTP id c6mr18760828laa.62.1433789667723; Mon, 08 Jun 2015 11:54:27 -0700 (PDT) Received: from vostro ([83.145.235.202]) by mx.google.com with ESMTPSA id z6sm821257laj.10.2015.06.08.11.54.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jun 2015 11:54:27 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Mon, 8 Jun 2015 21:54:22 +0300 From: Timo Teras To: Nathan Angelacos Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/kamailio add new mohqueue module not yet upstreamed Message-ID: <20150608215422.235de4ed@vostro> In-Reply-To: <1433784316-27929-1-git-send-email-nangel@alpinelinux.org> References: <1433784316-27929-1-git-send-email-nangel@alpinelinux.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; 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=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 8 Jun 2015 17:25:16 +0000 Nathan Angelacos wrote: > diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD > index ccf91bb..5d75f0c 100644 > --- a/main/kamailio/APKBUILD > +++ b/main/kamailio/APKBUILD > @@ -11,9 +11,10 @@ pkgname=kamailio > _giturl="git://github.com/$pkgname/$pkgname.git" > _gittag=HEAD > > +_mohqueuever=v0.11 > > pkgver=4.2.5 > -pkgrel=0 > +pkgrel=1 > [ -z "${_gitcommit}" ] && _suffix="_src" || _suffix="-${_gitcommit}" > > pkgdesc="Open Source SIP Server" > @@ -232,6 +233,7 @@ > source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}${_su > kamailio.cfg > kamailio.initd > + > https://github.com/rdboisvert/mohqueue/archive/${_mohqueuever}.zip " As minimum save-as feature should be used, so the file will not conflict in builder cache. As in: kamailio-mohqueue-${_mohqueuever}zip::https://github.com/rdboisvert/mohqueue/archive/${_mohqueuever}.zip ... but. I'm thinking it'd probably be more appropriate to just have this as a patch? See below. > _builddir="$srcdir"/${pkgname}-fb-${_ver} > @@ -254,6 +256,9 @@ snapshot() { > _builddir="$srcdir"/$pkgname-$pkgver > prepare() { > cd "$_builddir" > + > + cp -r "$srcdir"/mohqueue-${_mohqueuever}/* modules/mohqueue/ > + This would not work e.g. if there's files removed with the changes. It'll also happily downgrade when kamailio gets upgraded to version containing that version + potentially other fixes done in kamalio git only. Thanks. --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---