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 AD7FEDC0709 for ; Wed, 10 Feb 2016 16:49:13 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 382D0DC025E for ; Wed, 10 Feb 2016 16:49:12 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id 78so15538112lfy.3 for ; Wed, 10 Feb 2016 08:49:12 -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=Uw0NvG1/QQe2eDwraAv2Os0OgyRGEoJStm4PtuG1MLY=; b=fggF0dzY3xX7DDee7nzP48BvOWH6md7EEEMeM04IaZRBxSQ/271eP9EIllyCLfW4Uv a6dMSIeRl5rZLG/8G0+eyt0pdjPsOjIDyD2zugJJ2qEcJ0ZhiMkITWUPVXDPffw45T1U n/X6EUi5rheKnC04ueKEZ3vlFHHCzX8231Z0lm6h0FJ2UqI5cz6i6NgyI1JhxktsnxA+ ZFPvuCe/WfXZTRAIOdb43pWeWg/QVWimM4o5TrGlSHgnes1eD1WO2Sg4r5GQ+YF/Vt3I v1Lu74i00nDA5D5fatySArwT2FEaX7LKvLxEPxP/WsvsbDAcZrBF5p7TRPhK92Hi1M/D S1Fw== 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=Uw0NvG1/QQe2eDwraAv2Os0OgyRGEoJStm4PtuG1MLY=; b=lIaLtavgJgZU6aaIwAeV8+q5cQg+elPJyFXGPiBxOBd4kEwsO6OiMfNJ6lvJIpCms9 XLHO464LainSVW51C2G4QntATo2npQS2Z7ImBhQfiVxWaG8wtBIMWqjul8KTiZL7Mi/R Msihe0Qs72iyat1hPnflzpQBjkOduKP9zTjPTPNMiBtlp3RiH12usSG1cWA4sBHOknDf H0T4JNSC+SNBI3bP2I/yJ7XYtDKORAcad5Xet364sw9oT+kSm4TjaC+HKwxKuxReka96 lnp8S/20YFZEHGjqM7ROcxVVjGESlAw2l8QtUC+0PIjaA1peFsyZQpm81UAwNe4rMU7c zDGQ== X-Gm-Message-State: AG10YORLcykdJ8jzGnmuJCdmCsI1pIBXZMB1HMCtQbemndlXtXDDOSQqFW5OQJTLDAcygxusLXLXF5HMwMoOMw== 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.25.79.14 with SMTP id d14mr11798720lfb.98.1455122950460; Wed, 10 Feb 2016 08:49:10 -0800 (PST) Received: by 10.25.39.4 with HTTP; Wed, 10 Feb 2016 08:49:10 -0800 (PST) Received: by 10.25.39.4 with HTTP; Wed, 10 Feb 2016 08:49:10 -0800 (PST) In-Reply-To: <20160210113837.GA21833@francium.lan> References: <1454934359-3536-1-git-send-email-valery.kartel@gmail.com> <20160210113837.GA21833@francium.lan> Date: Wed, 10 Feb 2016 18:49:10 +0200 Message-ID: Subject: Re: [alpine-aports] [PATCH] main/dropbear: add ssh command in -ssh subpackage From: Valery Kartel To: =?UTF-8?Q?S=C3=B6ren_Tempel?= Cc: alpine-aports@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001a1141ef5a91197d052b6d3683 X-Virus-Scanned: ClamAV using ClamSMTP --001a1141ef5a91197d052b6d3683 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I just add ssh exactly like scp. I think it's better to include it all to main package and allow opennssh-client to replace it with own binaries. In other words, made it like busybox with symlinks, that are replaced by linux-utils, coreutils etc. 10 =D0=BB=D1=8E=D1=82. 2016 13:38 "S=C3=B6ren Tempel" =D0=BF=D0=B8=D1=88=D0=B5: > On 08.02.16, Valery Kartel wrote: > > +_ssh() { > > + pkgdesc=3D"Dropbear ssh command" > > + depends=3D"dropbear !openssh-client" > > + arch=3D"noarch" > > + mkdir -p "$subpkgdir"/usr/bin > > + mv "$pkgdir"/usr/bin/ssh "$subpkgdir"/usr/bin/ > > +} > > I like the idea of having -ssh and -scp subpackages for dropbear, > however, correct me if I am wrong but the `/usr/bin/ssh` is just a > symlink to dropbear multi (so is `/usr/bin/scp`) does it really make > sense to have subpackages for symlinks? Wouldn't it make more sense to > not use the multicall binary if we want to split this package into > multiple subpackages? > > S=C3=B6ren. > --001a1141ef5a91197d052b6d3683 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I just add ssh exactly like scp. I think it's better to = include it all to main package and allow opennssh-client to replace it with= own binaries. In other words, made it like busybox with symlinks, that are= replaced by linux-utils, coreutils etc.

10 =D0=BB=D1=8E=D1=82. 2016 13:38 "S=C3=B6r= en Tempel" <soeren@soer= en-tempel.net> =D0=BF=D0=B8=D1=88=D0=B5:
On 08.02.16, Valery Kartel wrote:
> +_ssh() {
> +=C2=A0 =C2=A0 =C2=A0pkgdesc=3D"Dropbear ssh command"
> +=C2=A0 =C2=A0 =C2=A0depends=3D"dropbear !openssh-client" > +=C2=A0 =C2=A0 =C2=A0arch=3D"noarch"
> +=C2=A0 =C2=A0 =C2=A0mkdir -p "$subpkgdir"/usr/bin
> +=C2=A0 =C2=A0 =C2=A0mv "$pkgdir"/usr/bin/ssh "$subpkgd= ir"/usr/bin/
> +}

I like the idea of having -ssh and -scp subpackages for dropbear,
however, correct me if I am wrong but the `/usr/bin/ssh` is just a
symlink to dropbear multi (so is `/usr/bin/scp`) does it really make
sense to have subpackages for symlinks? Wouldn't it make more sense to<= br> not use the multicall binary if we want to split this package into
multiple subpackages?

S=C3=B6ren.
--001a1141ef5a91197d052b6d3683-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---