From owner-freebsd-questions@freebsd.org Sat Oct 29 20:28:06 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41516C25ABA for ; Sat, 29 Oct 2016 20:28:06 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1509BE8; Sat, 29 Oct 2016 20:28:05 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-it0-f54.google.com with SMTP id u205so37278524itc.0; Sat, 29 Oct 2016 13:28:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=4944xO1kqYaubkROovERUuUXd4wckhHOaQQW7HzE2Ms=; b=fXO/lhasvYGW3hhckOtRiL63ShIZSIh3KkFcLJG74jpPok0+OKOjbyMoccrrovHXPk BoVkfFHDq+NO3xJ4Qq9YgK6WdLB8Jp20LF3AeQO79mvwiMJX2uwUxXN/VNjDHJ+EByAI 4mK15rdx/NF3wzgcb+TMWQ6peCi5wORkxU5+wqb/nYjbM6WMiwh+vkmSiLAUU3CWO4Xt aXFa5srQJuL0YtZgk2+KgnX3wJo5Y8n0YRgssAdfJTv/bVmafAc8d9Keno7/+vWCE3Ud QeH3A1emrUlAWwaZRsM9rw4PlomcD5jBUtAV30nb0UGAu1r5N0uJ6zPM/DVPrBM0pK1j 61FQ== X-Gm-Message-State: ABUngvftc5edyJ7EQgVeDtLBJe1UuNfpgoSnvTl4BOfE5aHMv5tMalTIFp4XtYu9N/ckEg== X-Received: by 10.107.148.4 with SMTP id w4mr15461995iod.135.1477771470766; Sat, 29 Oct 2016 13:04:30 -0700 (PDT) Received: from WorkBox (174-30-233-74.mpls.qwest.net. [174.30.233.74]) by smtp.gmail.com with ESMTPSA id g127sm5553055itc.7.2016.10.29.13.04.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Oct 2016 13:04:29 -0700 (PDT) Received: from localhost (WorkBox [local]) by WorkBox (OpenSMTPD) with ESMTPA id 2b260bdf; Sat, 29 Oct 2016 15:04:30 -0500 (CDT) References: <20161028213914.0876d1cf@KoggyBSD.org> <20161029053035.7801824a.freebsd@edvax.de> <44cbd684-9df1-9756-05a6-d8a2264f438f@FreeBSD.org> User-agent: mu4e 0.9.16; emacs 25.1.1 From: Brandon J. Wandersee To: Matthew Seaman Cc: freebsd-questions@freebsd.org Subject: Re: LAME Package Question In-reply-to: <44cbd684-9df1-9756-05a6-d8a2264f438f@FreeBSD.org> Date: Sat, 29 Oct 2016 15:04:30 -0500 Message-ID: <86d1iiudkh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2016 20:28:06 -0000 Matthew Seaman writes: > On 29/10/2016 04:30, Polytropon wrote: >> As far as I remember, installing LAME from source is the only >> "official" way to install it. Due to certain restrictions, this >> port cannot be packaged (and therefore no official package is >> available for use with the "pkg install" command). >> >> As you can see from https://svnweb.freebsd.org/ports/head/audio/lame/ >> the port has set the RESTRICTED option - it cannot be packaged. > > On a point of pedantry: the restriction is that this software cannot be > distributed as a compiled package, but only as source code. You can > build packages of LAME for your own personal use no problem. > > Cheers, > > Matthew To add a little to this: the reasons why a port might not be packaged change on a port-by-port basis. Some software, as Matthew said, can legally only be obtained straight from the original source. It cannot be redistributed in a different format by third parties. net-p2p/btsync is another example of this: there's an official pre-compiled FreeBSD build for it, but it's not freely licensed and must be directly obtained from the project's homepage. Still other software found in the ports tree cannot be packaged because the user must explicitly accept the EULA before downloading and installing it, and I would guess it's not worth the bother to add support to pkg(8) for handling such corner cases. And of course, there are ports that can't be packaged because they conflict with system defaults that the port system can't gracefully handle, like Python 3 packages. Grrr. -- :: Brandon J. Wandersee :: brandon.wandersee@gmail.com :: -------------------------------------------------- :: 'The best design is as little design as possible.' :: --- Dieter Rams ----------------------------------