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 70C9DDC0830 for ; Tue, 19 Jan 2016 23:25:15 +0000 (UTC) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id BF69FDC0189 for ; Tue, 19 Jan 2016 23:25:13 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id r129so110334546wmr.0 for ; Tue, 19 Jan 2016 15:25:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mrrQM3hlzFO/dSiTA60lEpZSfmAFb3B3GBHg0GP6sC8=; b=T+v7pS2mWapMSgGxPyRvzhGpFnGj3xPI8wnu3XiQjmIoN5X/hh5j9qgwRbAopYVhkE xuTXIF9eafnkYWjenArYqMuxuJuWjmMD1kYKHlO1dhaYRW8e1m2D723SSpO2HtALffjP oCeaIfglHBokC19nmS2RhE6jyaZuZH9PyoDsGxITj37Uhvvuv0647kcAKDlBvN8WZyx9 R+k7F0VoW6m6Lin9uskkKMimn6qRMTLs/2RzyDSAl8I7sjwMpQBvya78DdtCKPNTvtD9 9/lpJ0qbvxb2PCxsdJVFw9EHvMfqxn8YnGMN2oPlmqtKmBFaE4nGqwnNKgM4aW412hT2 ZHEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mrrQM3hlzFO/dSiTA60lEpZSfmAFb3B3GBHg0GP6sC8=; b=T4hI4J14W7Jr9cKevGh6+wpUY5aoi0E021/pWFG82wk79brChWskSOCueBfHfUEdiH nRilgJjP0D0lMUgF1DWnsTt3vdsFiOs9g5mPqAA4Hs/icx5jZ06fZm1D8yeLpqJTWffR y4J+bGhqR6DXpaIGtWOSu8X7uAsZ+DSzdrONGShKrEqHRUtTUkTHXxRP8hQi8zYbccT8 eIjiTanraZJPCkU4cw/St8bJbMgmvVflBIQ+wOmHL4AngX/CMCzWBzoK7UpMjyc76Hmw rEJsChYjMGGJRAwQ9rtq2zqk0fZrMueihZx43CH1cJDk0S2tY4yNtMQ8CHJrL6qLZ3fs gt1g== X-Gm-Message-State: AG10YOSlWtsVYD0bryEeR81Ru8MZdMGScC8Ce+teHjUWLmR9J/Jrz19xlVDJlIzwMhqnVxAfdNV5fF1KF8Thqg== X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.28.98.133 with SMTP id w127mr537252wmb.4.1453245911190; Tue, 19 Jan 2016 15:25:11 -0800 (PST) Received: by 10.28.6.193 with HTTP; Tue, 19 Jan 2016 15:25:11 -0800 (PST) Received: by 10.28.6.193 with HTTP; Tue, 19 Jan 2016 15:25:11 -0800 (PST) In-Reply-To: <20160119141101.5af72257@vostro> References: <1450097413-13305-1-git-send-email-valery.kartel@gmail.com> <20160119141101.5af72257@vostro> Date: Wed, 20 Jan 2016 01:25:11 +0200 Message-ID: Subject: Re: [alpine-aports] main/libspf2: 'spfquery' binary moved to -query subpackage, other binary examples are removed From: Valery Kartel To: Timo Teras Cc: alpine-aports@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001a1148d8524ed4740529b82e11 X-Virus-Scanned: ClamAV using ClamSMTP --001a1148d8524ed4740529b82e11 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable spfd is an ancient interface to libspf2. All spf-related things use it's api, not a daemon. About static, don't know why I stay it there. Maybe for -dev... don't know in any way. I resend it with static disabled and move spfd to separate subpackage. 19 =D1=81=D1=96=D1=87. 2016 14:11 "Timo Teras" =D0=BF= =D0=B8=D1=88=D0=B5: > On Mon, 14 Dec 2015 14:50:13 +0200 > Valery Kartel wrote: > > > --- > > main/libspf2/APKBUILD | 13 +++++++++++-- > > 1 file changed, 11 insertions(+), 2 deletions(-) > > > > diff --git a/main/libspf2/APKBUILD b/main/libspf2/APKBUILD > > index 5484e46..103400e 100644 > > --- a/main/libspf2/APKBUILD > > +++ b/main/libspf2/APKBUILD > > @@ -1,12 +1,13 @@ > > +# Contributor: Valery Kartel > > # Maintainer: Natanael Copa > > pkgname=3Dlibspf2 > > pkgver=3D1.2.10 > > -pkgrel=3D1 > > +pkgrel=3D2 > > pkgdesc=3D"Sender Policy Framework library, a part of the SPF/SRS > > protocol pair." url=3D"http://www.libspf2.org" > > arch=3D"all" > > license=3D"LGPL2.1 BSD-2" > > -subpackages=3D"$pkgname-dev" > > +subpackages=3D"$pkgname-dev $pkgname-query" > > makedepends=3D"autoconf automake libtool" > > depends=3D > > source=3D"http://www.libspf2.org/spf/libspf2-$pkgver.tar.gz > > @@ -44,6 +45,14 @@ package() { > > cd "$_builddir" > > make DESTDIR=3D"$pkgdir" install || return 1 > > } > > + > > +query() { > > + pkgdesc=3D"SPF command-line utility" > > + mkdir -p "$subpkgdir"/usr/bin > > + mv "$pkgdir"/usr/bin/spfquery "$subpkgdir"/usr/bin/ > > + rm -fr "$pkgdir"/usr/bin > > How about spfd? I think that should be kept in the base pkg. The others > can go. Perhaps also use --disable-static to configure to prevent the > static binary building? > > Otherwise it looks ok. Care to resend with the above changes? > > Thanks, > Timo > > > +} > > + > > md5sums=3D"7bb9937d0705649eaa8646de66dc3562 libspf2-1.2.10.tar.gz > > 24b77cb74901d56de89b24ef10b46b85 0001-provide-dn_skipname.patch > > 6dd2d5f33c5f1a5b7c14eec4c71767cd libspf2-libreplace-fix.patch > > --001a1148d8524ed4740529b82e11 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

spfd is an ancient interface to libspf2. All spf-related thi= ngs use it's api, not a daemon. About static, don't know why I stay= it there. Maybe for -dev... don't know in any way. I resend it with st= atic disabled and move spfd to separate subpackage.

19 =D1=81=D1=96=D1=87. 2016 14:11 "Timo Ter= as" <timo.teras@iki.fi>= =D0=BF=D0=B8=D1=88=D0=B5:
On Mon, 14 Dec 2015 14:50:13 +0200
Valery Kartel <valery.kartel@= gmail.com> wrote:

> ---
>=C2=A0 main/libspf2/APKBUILD | 13 +++++++++++--
>=C2=A0 1 file changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/main/libspf2/APKBUILD b/main/libspf2/APKBUILD
> index 5484e46..103400e 100644
> --- a/main/libspf2/APKBUILD
> +++ b/main/libspf2/APKBUILD
> @@ -1,12 +1,13 @@
> +# Contributor: Valery Kartel <valery.kartel@gmail.com>
>=C2=A0 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
>=C2=A0 pkgname=3Dlibspf2
>=C2=A0 pkgver=3D1.2.10
> -pkgrel=3D1
> +pkgrel=3D2
>=C2=A0 pkgdesc=3D"Sender Policy Framework library, a part of the S= PF/SRS
> protocol pair." url=3D"http://www.libspf2.org"
>=C2=A0 arch=3D"all"
>=C2=A0 license=3D"LGPL2.1 BSD-2"
> -subpackages=3D"$pkgname-dev"
> +subpackages=3D"$pkgname-dev $pkgname-query"
>=C2=A0 makedepends=3D"autoconf automake libtool"
>=C2=A0 depends=3D
>=C2=A0 source=3D"http://www.libspf2.org/sp= f/libspf2-$pkgver.tar.gz
> @@ -44,6 +45,14 @@ package() {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "$_builddir"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0make DESTDIR=3D"$pkgdir" install |= | return 1
>=C2=A0 }
> +
> +query() {
> +=C2=A0 =C2=A0 =C2=A0pkgdesc=3D"SPF command-line utility" > +=C2=A0 =C2=A0 =C2=A0mkdir -p "$subpkgdir"/usr/bin
> +=C2=A0 =C2=A0 =C2=A0mv "$pkgdir"/usr/bin/spfquery "$su= bpkgdir"/usr/bin/
> +=C2=A0 =C2=A0 =C2=A0rm -fr "$pkgdir"/usr/bin

How about spfd? I think that should be kept in the base pkg. The others
can go. Perhaps also use --disable-static to configure to prevent the
static binary building?

Otherwise it looks ok. Care to resend with the above changes?

Thanks,
Timo

> +}
> +
>=C2=A0 md5sums=3D"7bb9937d0705649eaa8646de66dc3562=C2=A0 libspf2-1= .2.10.tar.gz
>=C2=A0 24b77cb74901d56de89b24ef10b46b85=C2=A0 0001-provide-dn_skipname.= patch
>=C2=A0 6dd2d5f33c5f1a5b7c14eec4c71767cd=C2=A0 libspf2-libreplace-fix.pa= tch

--001a1148d8524ed4740529b82e11-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---