From owner-freebsd-ports@freebsd.org Sun Jul 5 00:46:43 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 8AD2035CD04 for ; Sun, 5 Jul 2020 00:46:43 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn20804.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5a::804]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zqlQ2gMgz4JL7 for ; Sun, 5 Jul 2020 00:46:42 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D9ZOLL1h61feZ5aD/AnLXTkl22uv+QmfmIDujbSXqQ12N7OtGwFszyPVuSaDH4hyMoUsl2vfiFX0PXA/+GBf3oNlZd3u4V91y/NS+xrksFWdQnc8cz4CQ54l2WE6GX6jzr4p8nAEhq3YGWHBQd+Uo6W+sW4cj4RxQ17gJElh1QZ8Ycu49gWv47Glrgm2j1cdawfyLk5dwex8ZbelKJLyhAmK5ygf2VcIwX3NETIAFUqOz9jEd4zCIDc1Cel4iqXgGRMOeCZ5ICFzokne1aB3bAVPAjubki3JDvD9PxHGKc6qe+10Vn5Mhwsw17gUmT5pFCbPLaXKA7+Z5ra7XvOVlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+wwhgigLyn08ovRbkh0UjUMcZKO75AFfFo2e1MwO1rM=; b=SwWhHkXN/CrMjx2KxGiQOwTbZcgDbf2Lww/MRwPE59zCxJCCcHfACeuwpc3uY+T3WvIwrKDToZS52olOksVr8coAtWKDoQFE+pOVn+spNAk+S+B6NGM+dTFLwYyiNjFIEgEHY3W8tHpEwD0hqNrfSLIkbOp8Q5KA7GRhS14H6ffgCA4P7MXOxVrgEKLwTWmo6UEmyx5TB+nxchBNXH5Aw9NdKMVCbG3V4O+PrYyI2fofBUggJB3vOz5tOKtjgnZUaW3P7RujR4ifD9DSQsewhRqRzgdErSLxoeFZTCx93hoanCUvpOpMeezBn/E6dDOwawUtTxBRj4QoU7ImNhlpFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+wwhgigLyn08ovRbkh0UjUMcZKO75AFfFo2e1MwO1rM=; b=C975Gez8kmxycoxiEC8clETeg2xIN52dftTsHVeO36KcxFPGswBAnEemEEiFPghMrtU2lktQln4bqGDsKaEa9lcq9gf+9WHvlIoIOwYWNd9SDlHAEcTPPzCN8c6inqwNj9hhm2v9pA1WXNr/Aj0mgdlZ25s1ul0WvalfzNMQcwXqr8zoI8CwItNy91Hl6amNngC4igbocLZNG9K67xK2X0sOG8CqXrp24L9W0eaqPOAq5giugk9GFrTD2zM681C/HG/IbAzx+1aNbbTycUVw3XeJnmvgOCuJXOVyvEpRe1oFVnJ44udlYyue0Zo0gYawm7fkPdHgSbcSt9Rhs2+aIA== Received: from MW2NAM12FT055.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::4a) by MW2NAM12HT006.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.9; Sun, 5 Jul 2020 00:46:39 +0000 Received: from CY4PR19MB0104.namprd19.prod.outlook.com (2a01:111:e400:fc65::49) by MW2NAM12FT055.mail.protection.outlook.com (2a01:111:e400:fc65::223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.9 via Frontend Transport; Sun, 5 Jul 2020 00:46:39 +0000 Received: from CY4PR19MB0104.namprd19.prod.outlook.com ([fe80::3cba:126c:494b:642e]) by CY4PR19MB0104.namprd19.prod.outlook.com ([fe80::3cba:126c:494b:642e%3]) with mapi id 15.20.3153.029; Sun, 5 Jul 2020 00:46:39 +0000 From: Brandon helsley To: freebsd-ports Subject: Porting Practice Thread-Topic: Porting Practice Thread-Index: AQHWUmKWxKU91Dk26kmDWx70JXV5ag== Date: Sun, 5 Jul 2020 00:46:39 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:FFD93383AEF2BBD33212DF58AB10C6E5469074271F9F1618BD8E97ABE8C01791; UpperCasedChecksum:AB1D1F97B16E4F638E73DE8969E2AAD0E879905846DD7D0026134F756EFF7319; SizeAsReceived:6597; Count:41 x-tmn: [ipUOlvNEVoQfcc+QfRnrTqCHlqMWTiXM] x-ms-publictraffictype: Email x-incomingheadercount: 41 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: a43ed3f5-0c86-4b6c-8076-08d8207ce0d0 x-ms-traffictypediagnostic: MW2NAM12HT006: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4clcfc0m39w4CigtjuwvG6dNKP0lq7BsrYmhgmUGuIf3VhJCQcqZHPoGb6BXLdxULZzUjFtCvN83fX2EKgngy6shfptnJlzAWWrKPSfVIZDfUTW1vK/rhZrFYtL0ucEnyd1LkspCeNizApifP6or2TzqzQk4gjxxn9F80jDwEhmp+Td5Xc0OS1a5HbIIINbYOARN2y3BL0sEUTiMUFlj7Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR19MB0104.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: /rSm/IeOZo3d13gYQUnmTLl55h/AJuOUr7h2MblLmA0Jrgc3v6YLOrAEKa64sJE3DKGa4A6Wna1rATT7REP3LsvdJ7Wtl8xHzOIdX4ywT85GaKjefukO3KWVyquHrOlxl3dCAwmd4dnvX4qshvJp7A== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT055.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: a43ed3f5-0c86-4b6c-8076-08d8207ce0d0 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2020 00:46:39.1366 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM12HT006 X-Rspamd-Queue-Id: 49zqlQ2gMgz4JL7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=C975Gez8; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 2a01:111:f400:fe5a::804 as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-4.70 / 15.00]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; NEURAL_HAM_MEDIUM(-1.01)[-1.005]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; NEURAL_HAM_LONG(-0.97)[-0.973]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f400:fe5a::804:from]; NEURAL_HAM_SHORT(-0.72)[-0.718]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; RCVD_TLS_LAST(0.00)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] 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 00:46:43 -0000 I have gotten a couple of emails from portscout about ports that need updat= ed 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-settings= . I have recieved alot of help on the forums and from the documentation, bu= t i'm still at a loss as to how the diff process works. Also, i've gotten s= tuck at a few spots along the way. I use svn to checkout a copy of the nvid= ia-settings port which has no maintainer. The copy goes into my root direct= ory either in a work directory or not. After I make the changes to the file= s and issue the command... MAKE CONFIG:root@machine17:/usr/ports/x11/nvidia-settings # make config =3D=3D=3D> No options to configure make patch and make configure both work. PORTLINT:root@machine17:/usr/ports/x11/nvidia-settings # portlint WARN: Makefile: Consider adding support for a NLS knob to conditionally dis= able gettext support. 0 fatal errors and 1 warning found. So once I get past this point and have succesfully tested the port with por= tlint and poudriere testport, I'm confused as to how I am supposed to build= the package, and create a suitable diff to patch the port either with svn = or diff -u. The documentation for (diff -u) says "To create a suitable diff for a singl= e patch, copy the file that needs patching to something.orig, save the chan= ges to something and then create the patch:" % diff -u something.orig something > something.diff Im not sure really the meaning of this documentation. What file needs patch= ing, which file to copy, where to save changes to exactly, and how and why = the svn method is different. Which method should I choose? I know it says t= hat unified diff and svn are preffered but since I am new maybe the (diff -= u) command would be easier to begin with? Please help and include anything = that's relevant even if i didn't mention it. I'm really excited to get star= ted and will absorb like a sponge any know how that's offered!!! One last thing. I have not attempted a poudriere testport today but for the= last ten or so times I have tried, my computer shuts down after a few minu= tes of testing. Is this a overheating or is it some kind of another problem= ?=