From nobody Fri Jan 26 13:18:49 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TLyvK758nz586MK for ; Fri, 26 Jan 2024 13:18:53 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TLyvK6Sc9z4DS3 for ; Fri, 26 Jan 2024 13:18:53 +0000 (UTC) (envelope-from mfechner@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706275133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JORLFA0Wos62t1AUYwH1mHH5PgdoaQEBnhTJUR2bMIo=; b=hmBu8LRi/6jeuFZRxcYY1ChqkpJ/TFwabNmhF+BSlATO69yeJeYYWyEuKZEiWGxgicddPc Ncm6gSjqMCohFFjdxQqMZEK8Njdm+nDYwyNQuprFDVntn8WApcWnMxoX78xzKiJKWC6fGU B0ufJmc47cVQQ5IW6VWdR5yRYbLnSx4C7nJqOoRpeB3wB4WNU2CGxXWK2Y92KSSMTnIvBp P5CHFX/NneKFKPopP5w3FMexMZ2nOEcPZMLYOEjzqxj9lrIwbz4uYx1cQoNaKM6gHQrIZR 7QY6Wd7eevsxexH0IFRKmC1j8NEs6Kt02/ASpOBSoL7ttHULE8OdYS/Od6Ulnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706275133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JORLFA0Wos62t1AUYwH1mHH5PgdoaQEBnhTJUR2bMIo=; b=pCCw4BtGzXSDp3u+CgYTsEQY2fPPZEK5vopvHztilFowB4X2Af1plHOuf2TgLoYlon2U6Y XkJBVmCb6t5bRS05Ot/qZXva1s6WM48XTqr8OoExAJ/jmH1b+/C2VK7yxmkiVMhnE0yZAA 8vgmZzr9sLqtXbPzLbM4I4wO89NsZx8vhxDIEsq9V0y5ZmfwI5ZrDe6v1fxqtTY7UVZwZD N8CPJjZg5BcJoojhJeNupCzRGqHc0AVsUrpXGi6/aKmuQuQDz0B8Zm8G51s8+htY+eKkFl bt9g8/su3G5qescPPawWZAJmLnbcM840JSKMSShESyrUFkDdBwZMylsRaW7l5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706275133; a=rsa-sha256; cv=none; b=beBLhlx2gRXGemeeDoPBioytZXuQ5Gd0PZybTNraAtcyVn4lyDIG9hVK0Utwjx220PvOy7 8vEeE+v9pUacfXb8r0c2kE0fokF4tJppVoe3hZa7nes1/Fi6mq0mbBaB+B4EyC1AvAHJJW Xzni4Fgb3xoK8aqmV6ar/DqH6nDanLPX6ybMyyoxSuE9dsOd7+y26NJUrZ5fhoOI4Eahz9 vP1mJk27ngOPmo6EVyk7dKhvhsB51/QrTHsMgbRN/0H+CzrwsneJti7T6kdHLr9/i71t/y Q/cKSycZjm1PdeBV+hOHvnulAIILhJq54dYKDmNPpCe9puskhmFwo8Gm75Kfcw== Received: from [192.168.0.151] (unknown [212.108.138.39]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mfechner) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TLyvK1jxKzWRN for ; Fri, 26 Jan 2024 13:18:53 +0000 (UTC) (envelope-from mfechner@freebsd.org) Content-Type: multipart/alternative; boundary="------------mj1wQzdbmHogBCanbTq1MRpH" Message-ID: <52c58ca6-5acc-4c2d-932a-8580af8adbf2@freebsd.org> Date: Fri, 26 Jan 2024 15:18:49 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: This is going to break port building without poudriere! To: ports@freebsd.org References: Content-Language: en-US From: Matthias Fechner In-Reply-To: This is a multi-part message in MIME format. --------------mj1wQzdbmHogBCanbTq1MRpH Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 26.01.2024 um 10:41 schrieb Gleb Popov: > P.S. I made a little writeup on Ports features, which tries to explain > what subpackages really are. You might find it useful: > http://arrowd.name/ports_writeup > > P.P.S. It took a while to properly trim quotes from your message, > because your mail software did not mark Stefan's message as quotes. very nice write-up. Are subpackages already available? At least I cannot find anything in: https://docs.freebsd.org/en/books/porters-handbook/ I have a use-case for it with www/gitlab-ce and www/gitlab-workhorse which maybe could use subpackages. Currently gitlab-workhorse goes into a subdir to build the workhorse part, not sure if this is a use case. But if I use subpackages, the source has maybe only to be extracted once and `make makesum` has only to be executed once. This is maybe also a case for a slave port. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook --------------mj1wQzdbmHogBCanbTq1MRpH Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 26.01.2024 um 10:41 schrieb Gleb Popov:
P.S. I made a little writeup on Ports features, which tries to explain
what subpackages really are. You might find it useful:
http://arrowd.name/ports_writeup

P.P.S. It took a while to properly trim quotes from your message,
because your mail software did not mark Stefan's message as quotes.

very nice write-up.

Are subpackages already available?
At least I cannot find anything in:
https://docs.freebsd.org/en/books/porters-handbook/

I have a use-case for it with www/gitlab-ce and www/gitlab-workhorse which maybe could use subpackages.
Currently gitlab-workhorse goes into a subdir to build the workhorse part, not sure if this is a use case.
But if I use subpackages, the source has maybe only to be extracted once and `make makesum` has only to be executed once.

This is maybe also a case for a slave port.


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--------------mj1wQzdbmHogBCanbTq1MRpH--