From owner-freebsd-questions Wed May 29 2:52:39 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 8FBC037B40B for ; Wed, 29 May 2002 02:52:02 -0700 (PDT) Received: (qmail 7879 invoked from network); 29 May 2002 10:03:10 -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:03:10 -0000 Message-ID: <3CF4A30F.7CD316B9@liwing.de> Date: Wed, 29 May 2002 11:44:47 +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: dwcjr@FreeBSD.org, questions@freebsd.org, ports@freebsd.org Subject: Re: How to manage multiple ports more efficiently ? References: <20020529085058.GA66655@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: > > 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-questions" in the body of the message