From owner-freebsd-questions@FreeBSD.ORG Sun Aug 19 20:54:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71398106564A for ; Sun, 19 Aug 2012 20:54:54 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.206]) by mx1.freebsd.org (Postfix) with ESMTP id E43E68FC0C for ; Sun, 19 Aug 2012 20:54:53 +0000 (UTC) Date: Sun, 19 Aug 2012 22:54:52 +0200 From: vermaden To: Polytropon X-Mailer: interia.pl/pf09 In-Reply-To: <20120819213854.50408ec7.freebsd@edvax.de> References: <20120819213854.50408ec7.freebsd@edvax.de> X-Originating-IP: 95.41.114.23 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1345409692; bh=BY1wCS+I4KP+f4bMkOOxFlwHskOKMcl0jbayRhaiZ+E=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: X-Originating-IP:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding; b=kQwjV6xkOAcSbdgmQFCyd8R3wv0GKkVKdFUlNbC8KYa1+DXr9pUoaDV0D2Kiaqf9z qBbUkXDJLMaxjaqVoM3WPgN0tRjlfsI3NpR1AWMkPnCscpshU7VCbSZSvcAMr4+QVo 3ize5DuhuqDOyw5J5jbD1zXPOM6nWRceloofKAjY= Cc: freebsd-questions@freebsd.org Subject: Re: I Can Has Packages? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2012 20:54:54 -0000 Hai ;) "Polytropon" : > On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote: > > HI, > >=20 > > OpenBSD seems to have packages for everything, even > > for LAME (audio/lame), why FreeBSD can not provide > > package for LAME the same way as OpenBSD does? >=20 > j00 CAN haz pakagez. =3D^_^=3D >=20 > Packages for _everything_ is impossible because of the many > options that may or MAY NOT fit your needs, so things have > to be set at compile time. Just imagine how many different > packages you would have to host for OpenOffice! >=20 > In the past, "pkg_add -r de-openoffice" would have given > you a full-featured german version of OpenOffice, even > including a dictionary. Today, it's not that easy anymore. The OpenBSD team serves these 'complicated' packages by using *flavours* and *subpackages*, packages or their parts compiled with different options, its described in the OpenBSD FAQ here: http://openbsd.org/faq/faq15.html | 15.2.3 - Finding packages |=20 | (...) |=20 | You will notice that certain packages are available in a | few different varieties, formally called flavors. Others | are pieces of the same application which may be | installed separately. They are called subpackages. | This will be detailed further in Using flavors and | subpackages but flavor basically means they are | configured with different sets of options. Currently, | many packages have flavors, for example: database | support, support for systems without X, or network | additions like SSL and IPv6. Every flavor of a package | will have a different suffix in its package name. For | detailed information about package names, please | refer to packages-specs(7). =20 > There are also ports that draw a massive slew of dependencies. > Some of them are of minor importance, like documentation that > urges you to install LaTeX. If that's the default the package > has been created from, installing it will bring teTeX to your > system too, even if _you_ don't need it. >=20 > Also consider programs like mplayer that can have a lot of > codecs. Because it's illegal in the U.S. to listen to MP3, > those may not be included. :-) >=20 > Okay, you get the idea: There may apply "shipping restrictions". > If I remember correctly, there has been such an issue for lame > in the past, but I thought that it would have been resolved. > When trying "make package", it was not possible, and there > also was not package for use with pkg_add. You _had_ to compile > it yourself because the terms of use told so. >=20 > The ports collections has a specific field in Makefile that > gives you information about such issues: >=20 > RESTRICTED=3D patent issues, see http://www.mp3licensing.com/ >=20 > So if OpenBSD serves a lame package (I mean a package containing > lame), you should ask them in how far they have an agreement that > allows them to do so, in comparison to what patent issues prohibit > doing the same on FreeBSD. The OpenBSD port from here: http://openports.se/audio/lame Has its description of LAME as a *educational* tool, maybe that is the reason why they provide package for LAME: | LAME is an educational tool to be used for learning about MP3 | encoding. The goal of the LAME project is to improve the psycho | acoustics, quality and speed of MP3 encoding. My buddy has sent email to OpenBSD LAME port maintainer with question why they can distribute that without concerns, I will let You know if he gets the answer. Regards, vermaden > --=20 > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... ...