From owner-freebsd-questions Wed May 29 3:15:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by hub.freebsd.org (Postfix) with ESMTP id BD02737B40A for ; Wed, 29 May 2002 03:15:23 -0700 (PDT) Received: (qmail 13486 invoked from network); 29 May 2002 10:26:32 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 29 May 2002 10:26:32 -0000 Message-ID: <3CF4A888.18318E99@liwing.de> Date: Wed, 29 May 2002 12:08:08 +0200 From: Jens Rehsack Organization: LiWing IT-Services X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Rolandas Naujikas Cc: ports@freebsd.org, questions@freebsd.org Subject: Re: How to manage multiple ports more efficiently ? References: <20020529085058.GA66655@rolnas> <3CF4A30F.7CD316B9@liwing.de> <20020529095947.GA18593@rolnas> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rolandas Naujikas wrote: > > All that you say is OK, but when I try to run make fetch, I assume, that no > files, except distfiles, are created. What is the target "prefetch" for, if I may ask that? I know that the solution with Makefile.inc is not the best, but can we talk with the portmanagers after the 4.6 release is frozen? Other: If you use a batch, tell it! David and me had spoken about a make menu2makeconf target :-), but it's not got ready, so let us think about it a few weeks and maybe you're more happy after it. > The idea of menus make ports system more complex to manage. For newbie > possible is better to use binary packages. For professional administrator > that is easier to read Makefile, and put options on script file. You can always set BATCH=yes and SAMBA_OPTIONS=xxx / WITH[OUT]_* and it will work fine in most situations. Jens > Rolandas > > On Wed, May 29, 2002 at 11:44:47AM +0200, Jens Rehsack wrote: > > > > > > Rolandas Naujikas wrote: > > > > > > How to manage multiple ports more efficiently ? There are question that rise > > > for most administrators, and possible users of FreeBSD. > > > > > > I'm personally have this algorithm: > > > > > > 1. Make some scripts like this http://www.mif.vu.lt/~rolnas/freebsd/ with > > > options, that I need. > > > > > > 2. Daily run ./make_rolnas fetch as non root. > > > > > > 3. After run ./make_rolnas update as root and see, if I need something to > > > upgrade. > > > > > > 4. If I need to reinstall all ports, I run "pkg_delete -a", and let > > > /make_rolnas install to run for night. > > > > > > But there are some ports (like www/mod_php4 and now net/samba) that cause > > > problems, because those create additional files, when run fetch. When it > > > tries to create Makefile.inc there some problems: > > > > > > a) it cannot create in /usr/ports, because it can be read-only mounted from > > > NFS server; > > > > It doesn't create sth. in /usr/ports per default. If you would read the output, > > there is "/usr/tmp/usr/ports/net/samba/Makefile.inc" the file which could not created. > > > > 1st: /usr/tmp should not be used, use /var/tmp instead > > 2nd: use a writeable working directory if you not want to build as root. It's > > supported by the script, but you must support it, too. > > > > > b) it cannot create in $WRKDIRPREFIX, because it can be read-only for user, > > > that run fetch or checksum. > > > > The working directory must be writeable. Please read /usr/ports/Mk/bsd.port.mk > > for more details. > > > > > There is not clear solution. > > > > There is. RTFM! > > > > > Rolandas > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > > L i W W W i Jens Rehsack > > L W W W > > L i W W W W i nnn gggg LiWing IT-Services > > L i W W W W i n n g g > > LLLL i W W i n n g g Friesenstraße 2 > > gggg 06112 Halle > > g > > g g > > Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: > > Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message