From nobody Fri Apr 12 06:17:55 2024 X-Original-To: freebsd-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 4VG5wc5vrWz5GlLQ for ; Fri, 12 Apr 2024 06:18:24 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-vk1-f181.google.com (mail-vk1-f181.google.com [209.85.221.181]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VG5wc46dbz4rlK; Fri, 12 Apr 2024 06:18:24 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-vk1-f181.google.com with SMTP id 71dfb90a1353d-4daa83054easo171011e0c.1; Thu, 11 Apr 2024 23:18:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712902703; x=1713507503; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=deHVFJ1HGxyPfxuo2JrrDZuJqUCuSMnVZOcKDVYmB7A=; b=EP0eSlBYo8mSAQF4PJ0/UogYgMHX7AB1nkx75gRL/wgEsDa63Vwax3/q9ZU+6JdMPU GpuV+nDKqH4roH1jTBcnqudmFic2HV+Qb+yLJtkYhXXoui3GF30z9830/PqJYPjhBCD2 c6lVpe0pKkDJR4jpo3ZDmgCjfd6Ne4v1IC/atYE+wN+bWM1pZSmRxNkg53p4eWKPbN96 KyrJcB3L/R5TuMue+5Oa3eF22KL7JDTPWeAGae7jvlazMAakzZwQheBgB0CGWN0ed/Xa hMjvdh5auCZ3hWWNRL7cLN+wty9tSy4omp6oDM5K8qVwNh3BalZivd/dJcWvqIDVPDMS C8OA== X-Gm-Message-State: AOJu0Yx2lIsKVOs5JyASft7AWnr+ZfJaHERB/LYxOLqPL4RvhnHRd63o dsYlTzeXj8NDIp/OISIfIM1aaXomDOAoXXjKUQPdh8wAMv985g4gvn5OtPcGdsE= X-Google-Smtp-Source: AGHT+IGANIer5GDpccGgYDk4WKcSSBmWVMepZTsqKiL+hjRn45gdc1QNMw/3ZkSqdTLyukC2+RP57g== X-Received: by 2002:a05:6122:c81:b0:4d1:34a1:c892 with SMTP id ba1-20020a0561220c8100b004d134a1c892mr2045464vkb.13.1712902702896; Thu, 11 Apr 2024 23:18:22 -0700 (PDT) Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com. [209.85.222.45]) by smtp.gmail.com with ESMTPSA id dz19-20020a0561221ab300b004d8aa5653e6sm396493vkb.33.2024.04.11.23.18.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Apr 2024 23:18:22 -0700 (PDT) Received: by mail-ua1-f45.google.com with SMTP id a1e0cc1a2514c-7e6b9c1f636so167463241.3; Thu, 11 Apr 2024 23:18:22 -0700 (PDT) X-Received: by 2002:a05:6122:c81:b0:4d1:34a1:c892 with SMTP id ba1-20020a0561220c8100b004d134a1c892mr2045450vkb.13.1712902702560; Thu, 11 Apr 2024 23:18:22 -0700 (PDT) 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 References: <58745d45-46f3-4152-bc30-eee0794fe55c@freebsd.org> In-Reply-To: <58745d45-46f3-4152-bc30-eee0794fe55c@freebsd.org> From: Gleb Popov Date: Fri, 12 Apr 2024 09:17:55 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Package a second port (gitlab-ee instead of gitlab-ce) To: Matthias Fechner Cc: "freebsd-ports@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4VG5wc46dbz4rlK On Fri, Apr 12, 2024 at 7:54=E2=80=AFAM Matthias Fechner wrote: > > Dear all, > > I maintain the www/gitlab-ce port and would like to make also a > www/gitlab-ee port available. > The ee port only needs another distfile and some very small > modifications in the FreeBSD Makefile. > > Is a slave port here an option? > > Or should I use another technique (maybe just include the gitlab-ce > Makefile in the ee port and overwrite and extend some targets?) > > Maybe someone has a suggestion here? > > Here a short diff, it will maybe best explain what I want: > https://gitlab.fechner.net/mfechner/Gitlab/-/commit/6240f36dba538becb3482= d0d3a16af2cd873bd31 The - GL_PROJECT=3D gitlab-foos + GL_PROJECT=3D gitlab part makes it use a completely different distfile. The problem is best solved by using FLAVORS, I guess. See https://docs.freebsd.org/en/books/porters-handbook/book/#flavors