From owner-freebsd-ports@freebsd.org Thu Dec 13 15:12:03 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4617813283E0 for ; Thu, 13 Dec 2018 15:12:03 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [46.251.251.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "0x20.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C51658BD7C for ; Thu, 13 Dec 2018 15:12:02 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from e.0x20.net (mail.0x20.net [46.251.251.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 4D50D9D138; Thu, 13 Dec 2018 16:11:53 +0100 (CET) Received: (from lars@localhost) by e.0x20.net (8.15.2/8.15.2/Submit) id wBDFBqgT032711; Thu, 13 Dec 2018 16:11:52 +0100 (CET) (envelope-from lars) Date: Thu, 13 Dec 2018 16:11:52 +0100 From: Lars Engels To: Arthur Pirika Cc: "freebsd-ports@freebsd.org" Subject: Re: A potential new porter seeking some clarifications Message-ID: <20181213151151.GG37809@e.0x20.net> References: <5c126f7f.1c69fb81.88ea9.6a7a@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5c126f7f.1c69fb81.88ea9.6a7a@mx.google.com> X-Editor: VIM - Vi IMproved 8.0 User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: C51658BD7C X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.27 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; MX_INVALID(0.50)[cached]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[0x20.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.67)[0.671,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.21)[-0.208,0]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[lars.engels@0x20.net,lars@e.0x20.net]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31400, ipnet:46.251.251.0/24, country:DE]; FROM_NEQ_ENVFROM(0.00)[lars.engels@0x20.net,lars@e.0x20.net]; IP_SCORE(0.10)[ip: (-0.91), ipnet: 46.251.251.0/24(-0.46), asn: 31400(1.89), country: DE(-0.01)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2018 15:12:03 -0000 On Thu, Dec 13, 2018 at 10:41:01PM +0800, Arthur Pirika wrote: > Hi all! I’m hoping to get into porting for FreeBSD, right now just > focusing on one package, a plugin for bitlbee, however I’d like to > extend my hand to maintain other ports in the future once I have more > knowledge and practice with the system. Welcome! :-) > > Before I start, though, I just need some clarifications of things from the porter’s handbook. > > 1. If I understand correctly, the version of the ports tree as fetched > by portsnap isn’t the best for working on the tree. I should instead > make another copy of the tree as an svn checkout? Distfiles, however, > still go to /usr/ports/distfiles You can change this by setting DISTDIR variable in /etc/make.conf to a directory you like. See ports(7) manpage. > 2. Is it absolutely necessary to use poudriere before submitting a > port? I’m still getting to grips with how it works, and if I need to > get comfortable with it first, I’ll do so. That really depends on the change's size. Trivial patches can often be sub-/committed without a poudriere run. portlint -ac, make check-plist and make package can find potential issues for you. Bigger changes should be build in poudriere. You don't need to attach the logs to the PR, though.