Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id AEDAF781AC4 for <~alpine/apk-tools@lists.alpinelinux.org>; Mon, 3 Feb 2020 22:28:30 +0000 (UTC) Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 48BMt54dBtzQlCK; Mon, 3 Feb 2020 23:28:29 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craftyguy.net; s=MBO0001; t=1580768907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=OznnlbnFz6G8gCw9IpzSsnT5tABtLC04bvRPtl38KT8=; b=AVCD3oTBSKR2eEeXK5S/d+DJw11hx1LV9rirLPSOf7uSqR/qj48S8plNYv3ex0N4Jiu+UH 4sveXd5SIpw0frotgFIN870lTjqmNbUI5ZGmCkgBPAj1Q+aepwtK+CnmOmQprs7FYzoIUG 6GZrxxjcRRcDNFtOtR0YhDnHF3nwfprxiKAeseZW/2Sv1cZ2sJvgAkQPeMCpLvTM+KPyrp xfeFxGGoKGTJy3Rv6Bc5+n0q3nCuTfy5A/UvEr/EYl8emDv2q5kz0XJgu34OKFBVvj/kSY QIEfK0Nca5gcZaHI4rJeeFIrmebTksJV7keT0UAmk38T+Axzd7xY+3k37f6Bkw== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id 6LA7RhHvN8ZD; Mon, 3 Feb 2020 23:28:26 +0100 (CET) Date: Mon, 3 Feb 2020 14:28:21 -0800 From: Clayton Craft To: ~alpine/apk-tools@lists.alpinelinux.org Subject: supporting multiple versions of same package in single repo Message-ID: <20200203222821.wty53efr5u2sx3gk@computer.craftyguy.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3lapl27v565nq5rf" Content-Disposition: inline --3lapl27v565nq5rf Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In postmarketOS we are attempting to have 2 versions of mesa: 'mesa' (from upstream Alpine), and 'mesa-git' (tracks upstream mesa master branch). The goal is to have both packages + their respective subpackages provide system mesa for an install. Only one (mesa or mesa-git) is expected to be installed on a single system at one time. When a user installs 'mesa-git', and then (for example) installs a package which depends on 'mesa-dev', the idea is that 'mesa-git-dev' would be installed instead of 'mesa-dev'. We want 2 versions of mesa since some devices pmos supports require a newer mesa than what is currently in the latest mesa stable branch. We are having a very hard time coming up with a mesa-git APKBUILD that can do this. In IRC, it was mentioned that we could use a virtual package, and rename 'mesa' to something else, and handle installing either of the 2 packages in the virtual package. This would probably work (?) but is less than ideal since we'd have to keep the renamed mesa package in sync with upstream Alpine's mesa package. Arch Linux seems to be able to handle this scenario without issue, AUR has a mesa-git package which results in mesa-git-* subpackages being installed at the right time (when something depends on mesa-dev, etc). Is apk/APKBUILD capable of supporting this, or does anyone have any advice/suggestions on how this goal could be achieved? -Clayton --3lapl27v565nq5rf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwg7UY5aqqncO8SLrI6MNptQGs1UFAl44noUACgkQI6MNptQG s1USHhAArDmyXGkiW/9+ak5MGoepZo9425uCwaRDW+eaPtGyTUtgrVjpxdBMNVIN REW+GWBM6xwq8dKqjttnpKRQVxl84RA44juvr5rOqk9+aHFUHMEA9eQA4k/KHty0 7zRxR9oHtS/oysZYleNg3BbTWPh1P7UvzM0clKshVj6bnc36mbH2tiqkxgrsRxWA W4yllwVDBlptGrvGGM6xdWMGOt5qP7teBLs1NKFtzZb1vEOjlKXmK3DgTsYu+Wy4 KShGv3s0URkD2Kb9pi+QXNs4/3MfROtpfgSFEzBxiRHcIpkiC24YgwOYIbthMX7u 7rGWBBciPWsWw8WAfNdM0LZrZXBAaXPbNe3bo5MT7+xV5bO9xLNMUinO8oHqRoGm NxiSYIdCOAwAe8u6PAB40ClPR2IHmoJlkwk+CPuiTVgsJtMd10sCmIQiA3H+X0DD JOR63/rOm8/bcYtewZfheSgyXhB+SD/0buf2F5gOxjQp/hJK2IUM04TOs3LjJbmS n2rzyn9RalTKw6lqWsaZGx4hFmW6HgkyTYGzZRKT496ktMpyUx9sOYWedWXX6cux 1P41MedSA6RhfTaQwWrNiyNtQakLqk9/1DhIHAuhqWhAu0B+KjNjL5yWDrtmm31K LiyJYsGjsiAi2ZBjBUCIJ7YRqw6TMqhyjrQMpMHjz15jQw5nsF0= =VA+K -----END PGP SIGNATURE----- --3lapl27v565nq5rf--