Date: Wed, 29 May 2002 11:44:47 +0200 From: Jens Rehsack <rehsack@liwing.de> To: Rolandas Naujikas <rolnas@takas.lt> Cc: dwcjr@FreeBSD.org, questions@freebsd.org, ports@freebsd.org Subject: Re: How to manage multiple ports more efficiently ? Message-ID: <3CF4A30F.7CD316B9@liwing.de> References: <20020529085058.GA66655@rolnas>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <rehsack@liwing.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF4A30F.7CD316B9>