From owner-freebsd-ports@freebsd.org Sun Jul 5 01:08:11 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E482C35CD6A for ; Sun, 5 Jul 2020 01:08:11 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zrDB58qPz4K2w for ; Sun, 5 Jul 2020 01:08:09 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-ot1-x329.google.com with SMTP id d4so29189174otk.2 for ; Sat, 04 Jul 2020 18:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ju5tS46NGbz3hzFDyltN6e/oQP08iqhooyuWLorCMyU=; b=gPMldw458D2A3GsKfD5GmGSub6+CxbVoyoQWMjfONi+j/3ZqZUITS6utsANI2+tzka KqY9wudhJRakuQKa4PB9XWmoob4myLg4liSvIo6V9G5LiCEJMVyP30DgGoTGjxjjvJQX d13cccqF5rSGaKWo4UyH/PfprVK54c6y+PFGDQ9PcfnrYu4VQcD09KKjVhz+3jpeQVE1 rmSfmTcCSdJMZIjGrjKMFo5xIgmosJMVpPfE7llBNUaLeUzXGEHK2Z61DSYWhpWgR4h0 K0fFtibbGMUb1ZWg6MtDz6G4B24GmC6zHQWYJIRv+38ZnvtF1YaolFTGNONBEGef8MX0 qsrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Ju5tS46NGbz3hzFDyltN6e/oQP08iqhooyuWLorCMyU=; b=FDKFo7TKaaqEuypVg1S/z7FH8vt+tUksiKlukX55Z4LNdu0Q2hSiecopQG/PF2A/L+ rhfgjJ4cW4Ix/LaQKajf3sxppGW0WtbqIxpAsWGNVRVGg5Fvx7Bb4TR/GchEhRcdhezh ++3tXDn5Mu65hfoTESoosJBibLJdMpXMdD73qA2LTK8a3oe7ZSZzrrAlGBjYcNPqzyqd SfgNNe7GIBEfdoSwxCJTf9NkEiD1V30FEoScPdwXTdp64Km1ofTmY1lsO6mcp5KmJWhD Mo1V0isRrXoIrDIHrCsk6LgTYPTddM0JQs3he//Lksn0QIZQUn34Aurx3n2h+Ki/3Ytq 1xxA== X-Gm-Message-State: AOAM531OPDhwE94MLHNYmz7oCy5wM6aMH/xTw0kyE2YPNWufKIBeAPP9 2SmU7OGA9ta84rYz7bqkmrg34ChNkKdlq9g16PsefQ== X-Google-Smtp-Source: ABdhPJzPjcGEPBtUyOxQFDQFM0VfaPfCmz2/DqFcErL3ndQ0l5OhFHLoUW6MCwYVevbSD3l6kD4bMjicmyv0vcRQGoI= X-Received: by 2002:a9d:24e5:: with SMTP id z92mr38729893ota.255.1593911288672; Sat, 04 Jul 2020 18:08:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Chen Date: Sun, 5 Jul 2020 13:07:53 +1200 Message-ID: Subject: Re: Porting Practice To: Brandon helsley Cc: freebsd-ports Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49zrDB58qPz4K2w X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chen-org-nz.20150623.gappssmtp.com header.s=20150623 header.b=gPMldw45; dmarc=none; spf=softfail (mx1.freebsd.org: 2607:f8b0:4864:20::329 is neither permitted nor denied by domain of jonc@chen.org.nz) smtp.mailfrom=jonc@chen.org.nz X-Spamd-Result: default: False [-1.42 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.92)[-0.921]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.76)[0.763]; NEURAL_HAM_LONG(-0.97)[-0.965]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[chen.org.nz]; R_SPF_SOFTFAIL(0.00)[~all]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::329:from]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2020 01:08:12 -0000 On Sun, 5 Jul 2020 at 12:47, Brandon helsley wrote: > > I have gotten a couple of emails from portscout about ports that need upd= ated and maintained. Before I go about updating and maintaining these ports= I wanted to do some practice on a couple that I use like x11/nvidia-settin= gs. I have recieved alot of help on the forums and from the documentation, = but i'm still at a loss as to how the diff process works. [...] This is my personal workflow: 1. Take a simple copy of the port into my working directory 2. Get the port working in my working directory. 3. cd my-working-directory 4. diff -ruN /usr/ports/x11/nvidia-settings . > /tmp/nvidia-settings.patch 5. submit patch onto bugs.freebsd.org Hope that helps. --=20 Jonathan Chen