From nobody Tue Apr 12 07:19:08 2022 X-Original-To: questions@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 35ADE5D5F2A for ; Tue, 12 Apr 2022 07:19:20 +0000 (UTC) (envelope-from 4250.82.1d4dd000514d8e1.79ebbfb6da6c490e4416c31b7de1b6dd@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KcxtH1RPCz4r38 for ; Tue, 12 Apr 2022 07:19:19 +0000 (UTC) (envelope-from 4250.82.1d4dd000514d8e1.79ebbfb6da6c490e4416c31b7de1b6dd@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1649747959; x=1652339959; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=HHYHSqscKQZrk2hbfm1vYQmgpP/+WjZYAUO2Yluo8Ug=; b=DeGl4+LoazBGwWSVyQGTHAqfdE++qwllPU8zJVQV3iwSJX5lCo2LArYuk7yOK9yOgA//WlampXtaVE3Z/mzYkQzxU0nH0+hIYwtGeW4m6V5FqSYRnVeO9CaM0qoBNVRJFYUJEo6pu5/7wOEOonrvD66pJ8PGI14CZCbxamduPDE= X-Thread-Info: NDI1MC4xMi4xZDRkZDAwMDUxNGQ4ZTEucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 12 Apr 2022 03:19:10 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 12 Apr 2022 03:19:10 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1neAnt-000Fto-2b for questions@freebsd.org; Tue, 12 Apr 2022 08:19:09 +0100 Date: Tue, 12 Apr 2022 08:19:08 +0100 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: Suggestions for making private packages? Message-Id: <20220412081908.1c177ebaa4e038a5448e5d90@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KcxtH1RPCz4r38 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=DeGl4+Lo; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4dd000514d8e1.79ebbfb6da6c490e4416c31b7de1b6dd@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4dd000514d8e1.79ebbfb6da6c490e4416c31b7de1b6dd@email-od.com X-Spamd-Result: default: False [-1.70 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[142.0.191.3:received]; MLMMJ_DEST(0.00)[questions]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4dd000514d8e1.79ebbfb6da6c490e4416c31b7de1b6dd@email-od.com]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4dd000514d8e1.79ebbfb6da6c490e4416c31b7de1b6dd@email-od.com]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On Mon, 11 Apr 2022 23:58:05 -0700 "Pat Maddox" wrote: > We are considering using FreeBSD to deploy the proprietary software we > build. > > I am interested in using the package system to build and distribute the > software to our servers. I believe this will help us maintain > consistency and cleanliness. > > Right now I have a few ideas of how to do this: > > 1. Fork the ports tree, and add a directory for our software. Build as > usual. In a software development environment this is the way to go, you get flexibility and control along with standardisation and familiar tools that are easy to integrate with anything else you choose to use. I've used this approach with great success. > 2. Use portshaker to overlay our software onto the ports tree. This is a powerful ports tree mix and match system that's overkill for what you seem to want and well stocked with foot shooting opportunities. I'd reserve it for jobs nothing else will handle. > 3. Use pkg-create directly. Masochism IMHO, goferit if you enjoy it. -- Steve O'Hara-Smith