From owner-freebsd-ports@freebsd.org Wed Sep 14 19:20:14 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 852C4BD6F14 for ; Wed, 14 Sep 2016 19:20:14 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4335B190C for ; Wed, 14 Sep 2016 19:20:14 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-yw0-x233.google.com with SMTP id i129so37939365ywb.0 for ; Wed, 14 Sep 2016 12:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=d+ugivQm4Zld8JVSNtqCNZIvEzBXTKYeHdQhQr2rNGc=; b=OC6uh1PRQ7FFSLbFnGZ+J/QllNdpHjnRO2qNIniNb2dNooeHL6s+jmVOeLEsuX/lQg tki3xWclRrqM0nv61rum+ODBKXaipFps7EwslQ9Z/pFNqEfR9SlcpLTZYjk4VTPYEJzR s6VKn31e5Vg2ciSsWh0vCWNAFkiVh4PD1lvaGHGfvw4RVuu5Ds2mJONLnw7MGSW+yBvb B9ERdHQTc+cFRpFNlfRhcBrJfRBTtqmMHeDX6WJMznudbgIB81vFGrNa8BWSQtEjZT/0 iZuAjLa6q2+z0d/al3zoif6vodlXvZOnWriNbPLsqo7BoCHS24qUpfFkYbSCiiBxTD1M +GxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=d+ugivQm4Zld8JVSNtqCNZIvEzBXTKYeHdQhQr2rNGc=; b=b75CZ+jtLeNrvKVCESTfEPey5iJSwIKRWJhOEzuVnwHXJdctF/B12KrZqBF6/3iqqp +l/mYJqCnoqtZPM2f6aGVOLtzHs2bwdd7atbwcXN8ImGtvd54moSxXVgLB1oShFsLd8s xbFLmwLRgqcTFVFJBynd0itQdqWPwRX73IOBOVkbp2WNdJaRmepEc4T1D6kcrJmpDtHN gl4aITKe7TB9t5ssap+y+g5wYqXAaenlDQne01qg4rPK2MhFi86HALLFP8VbOK/U003u n2C61GA36ivY28qt2Vp+yO4Y96m2AZZlPQb8rocXWDBkYDYDq/K1BzwDw4R7LoeCMngS lDyw== X-Gm-Message-State: AE9vXwPxrOsEto9p+c8dvbbEOUSzZ9Q7fRYXpcE88uUzyhkG1qRKaxlfquXFqofwMaI61fX+ct3Do87xEWmeOA== X-Received: by 10.129.153.215 with SMTP id q206mr4939906ywg.107.1473880813490; Wed, 14 Sep 2016 12:20:13 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.35.200 with HTTP; Wed, 14 Sep 2016 12:20:13 -0700 (PDT) In-Reply-To: <57D99EF0.5040202@abinet.ru> References: <57D99EF0.5040202@abinet.ru> From: Kevin Oberman Date: Wed, 14 Sep 2016 12:20:13 -0700 X-Google-Sender-Auth: gGHgFcM-GgBxVrTNGrL-FhiMrQc Message-ID: Subject: Re: What exactly are slave ports? To: abi Cc: FreeBSD Ports ML Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 19:20:14 -0000 On Wed, Sep 14, 2016 at 12:03 PM, abi wrote: > Hello, > > I want to add to existing port another one for the same program, but with > different git branch and (possibly) with slightly different dependencies. > Is this a good case for slave port ? > Slave ports are not documented in porter handbook and I'm not sure how > they work and when used. > > Thanks. > A slave port is a minor modification of the port to support different functions. E.g. security/ssh-guard has slightly different builds, all from a common source. One for each of the commonly used firewalls; ipfw, pf, null. If the sources are different, a slave is not appropriate. Examples are the various versions of postfix and clang. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683