From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:38:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 237224DB for ; Fri, 26 Dec 2014 23:38:39 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0136.outbound.protection.outlook.com [157.56.110.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDAF6665A9 for ; Fri, 26 Dec 2014 23:38:37 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by BN3PR0301MB0834.namprd03.prod.outlook.com (25.160.154.144) with Microsoft SMTP Server (TLS) id 15.1.49.12; Fri, 26 Dec 2014 23:22:51 +0000 Message-ID: <549DEDC4.5020008@my.hennepintech.edu> Date: Fri, 26 Dec 2014 17:22:44 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Subject: Re: Do I want to switch to the new pkg(8) format? References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0048.prod.exchangelabs.com (10.255.242.38) To BN3PR0301MB0834.namprd03.prod.outlook.com (25.160.154.144) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0834; X-Forefront-PRVS: 04371797A5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(6009001)(199003)(24454002)(51704005)(189002)(4396001)(50986999)(83506001)(450100001)(62966003)(77156002)(76176999)(87266999)(46102003)(40100003)(54356999)(65816999)(97736003)(42186005)(80316001)(64126003)(50466002)(59896002)(75432002)(33656002)(93886004)(23676002)(66066001)(99396003)(120916001)(65956001)(107046002)(2351001)(110136001)(107886001)(122386002)(68736005)(101416001)(31966008)(86362001)(92566001)(21056001)(77096005)(20776003)(2950100001)(64706001)(47776003)(105586002)(87976001)(106356001)(89122001)(89472002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB0834; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2014 23:22:51.1340 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB0834 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:38:39 -0000 On 2014.12.26 16:57, Chris Stankevitz wrote: > If both statement are indeed true, then I must conclude: > > 1. Upgrading ports is not a "package management" operation. Incorrect. You can't upgrade anything (and track it) if you don't have a package. Whether you create a package or someone else does is irrelevant. Using normal ports tools builds and installs packages. > > 2. There are many different "operations" you can do with ports and packages. Sure. There's fetching (or updating) the ports tree, calculating dependencies, fetching source code, configuring, building, staging, packaging, installing, and uninstalling (in that order), as well as a few other miscellaneous things. Who goes through all the stages up to and including packaging is again, irrelevant. > > 3. Each "operation" might use a different tool. Sometimes pkg, > portmaster, portsnap, make, cvs, pkg_, portsclean, portupgrade, etc. And ultimately, you install or uninstall a binary package with pkg. The process of getting from ports metadata and a source tarball to a package can involve different tools for different stages. Some tools are wrappers around several of those stages that call other tools (e.g., poudriere and portmaster). You cannot actually do much of anything useful without pkg, since it is responsible for calculating dependencies, creating packages, and installing packages (among other things).