From owner-freebsd-questions@FreeBSD.ORG Sat Jun 19 19:45:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14EBF16A4CE for ; Sat, 19 Jun 2004 19:45:50 +0000 (GMT) Received: from outfbmx007.isp.belgacom.be (outfbmx007.isp.belgacom.be [195.238.3.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8970843D48 for ; Sat, 19 Jun 2004 19:45:49 +0000 (GMT) (envelope-from geert@lori.mine.nu) Received: from outmx013.isp.belgacom.be (outmx013.isp.belgacom.be [195.238.3.64]) (8.12.11/8.12.11/Skynet-OUT-FALLBACK-2.22) with ESMTP id i5JFWgxF032181 for ; Sat, 19 Jun 2004 17:32:42 +0200 (envelope-from ) Received: from outmx013.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i5JFWVtF032522 for ; Sat, 19 Jun 2004 17:32:31 +0200 (envelope-from ) Received: from lori.mine.nu (55-141.244.81.adsl.skynet.be [81.244.141.55]) with ESMTP id i5JFWPpu032477; Sat, 19 Jun 2004 17:32:25 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id 762E4766; Sat, 19 Jun 2004 17:32:24 +0200 (CEST) Date: Sat, 19 Jun 2004 17:32:23 +0200 From: Geert Hendrickx To: keramida@ceid.upatras.gr, pu@vo.lu Message-ID: <20040619153223.GA79775@lori.mine.nu> References: <40D336A0.5020803@vo.lu> <20040618203516.GA75213@gothmog.gr> <40D40027.1040009@vo.lu> <20040619141122.GA76742@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040619141122.GA76742@gothmog.gr> User-Agent: Mutt/1.4.2i X-GPG-Key: http://www.win.ua.ac.be/~s005085/gnupgkey.txt X-GPG-Key-ID: 1024D/766C1E92 X-Accept-Language: nl,en cc: freebsd-questions@freebsd.org Subject: Re: any use to build from source? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 19:45:50 -0000 On the other hand, the OpenBSD-people advise using packages instead of ports. See http://www.openbsd.org/faq/faq8.html#PortsvsPkgs I guess it's just a matter of personal taste and needs. GH On Sat, Jun 19, 2004 at 05:11:22PM +0300, Giorgos Keramidas wrote: > On 2004-06-19 10:58, Patrick Useldinger wrote: > > Giorgos Keramidas wrote: > > > > > Before I answer to this question, I cannot help noting that you don't > > > *HAVE* to compile everything from source. In fact, if you install a > > > RELEASE version of FreeBSD and use pkg_add to install the binary, > > > precompiled packages of just the applications you are going to > > > use... there is absolutely no need to rebuild anything from source. > > > > True for the CDs. But once you want to upgrade, things get more > > complicated. For example, I did not find a package for OpenOffice 1.1.1 > > in the "offical" places, although OO is certainly an excellent candidate > > for a package. > > Indeed, packages-4-stable, packages-4.10-release on ftp.freebsd.org > don't include openoffice. A search at google though yields: > > http://projects.imp.ch/openoffice/ > > which does list FreeBSD packages of OO-1.0.3 and OO-1.1.0 :-) > > > This led me to the conclusion that packages, in the FBSD world, are > > considered less important than the very well maintained ports. > > The ports people are going through a lot of effort to build, test and > package the maximum possible number of ports before each release. > > > I would prefer it to be the other way round: go for packages, unless you > > want to tweak anything. > > This is preferable from the end-user's perspective, but I think it would > exponentially increase the number of precompiled binaries the mirrors > would have to keep available. If a port has 3 options and depends on > another with 4 options, to host every possible combination that one > might want on the FTP site 12 different combinations would have to be > built and packaged! With thousands of ports in the tree this means a > mind-boggingly huge number of different builds and packages can be built. > > Is it possible to satisfy all the users with precompiled packages? No. > > So, going for ports and using packages only is a bit difficult :-/ > > > I do not agree with an earlier argument, which was that you could change > > the source. I have been programming for 25 years now, I am certain that > > you don't change code, not even in a reasonably sized project, without > > spending a large amount of time. > > I have a local patch to fetchmail in my local /usr/ports tree that fixes > a bug recent versions have with APOP: > > : root@gothmog[17:05]/usr/ports/mail/fetchmail# cvs -q up -APd > : ? files/patch-zz::apop_bug > : root@gothmog[17:05]/usr/ports/mail/fetchmail# > : > : root@gothmog[17:06]/usr/ports/mail/fetchmail# cat files/patch-zz\:\:apop_bug > : --- driver.c.orig Sun Mar 28 13:29:15 2004 > : +++ driver.c Sun Mar 28 13:49:42 2004 > : @@ -429,7 +429,7 @@ > : /* for POP3, we can get the size of one mail only! Unfortunately, this > : * protocol specific test cannot be done elsewhere as the protocol > : * could be "auto". */ > : - if (ctl->server.protocol == P_POP3) > : + if (ctl->server.protocol == P_POP3 || ctl->server.protocol == P_APOP || ctl->server.protocol == P_RPOP) > : fetchsizelimit = 1; > : > : /* Time to allocate memory to store the sizes */ > > This is a serious showstopper for anyone who uses fetchmail and doesn't > want to fetch all the messages in one connection (for whatever reasons). > > It didn't take me more than 15 minutes to write, but then I'm working as > a programmer so that's "normal". Fetchmail is, IMHO, a reasonably sized > project. I'm not saying this to sound insulting to you in any way, or > to boast about my ''l33t h4x0r skillz'' -- that's nonsense. I am only > bringing it up as a good example where building the port *does* have > obvious advantages. > > - Giorgos > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"