From owner-freebsd-doc Thu Mar 14 11:52:46 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.datanet.hu (mx1.datanet.hu [194.149.13.160]) by hub.freebsd.org (Postfix) with ESMTP id 4242D37B419 for ; Thu, 14 Mar 2002 11:52:43 -0800 (PST) Received: from fonix.adamsfamily.xx (nilus-126.adsl.datanet.hu [195.56.48.126]) by mx1.datanet.hu (DataNet) with ESMTP id 6E456F8A5 for ; Thu, 14 Mar 2002 20:52:41 +0100 (CET) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.2/8.12.2) with ESMTP id g2EJr2AJ011296 for ; Thu, 14 Mar 2002 20:53:02 +0100 (CET) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.2/8.12.2/Submit) id g2EJr1Us011259 for freebsd-doc@freebsd.org; Thu, 14 Mar 2002 20:53:01 +0100 (CET) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Thu, 14 Mar 2002 20:53:00 +0100 From: Szilveszter Adam To: freebsd-doc@freebsd.org Subject: Internet connection required for website builds? Message-ID: <20020314195300.GA932@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , freebsd-doc@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello everybody, Today I ran the usual "webupdate" script over an updated repo to build the docs and the website. But sometimes I looked over to the logs and when it arrived at the gnome subdir, I saw that it was busy downloading an rdf file from the Internet. And sure enough, www/en/gnome/Makefile has this: # $FreeBSD: www/en/gnome/Makefile,v 1.9 2002/02/11 16:54:52 sobomax Exp $ <...> CLEANFILES= index.html CLEANFILES+= newsflash.html CLEANFILES+= gnotices.rdf GNOTICES_RDF_URL= http://news.gnome.org/gnome-news/rdf <...> gnotices.rdf:: /usr/bin/fetch -qo - ${GNOTICES_RDF_URL} | ${SED} 's|rdf:RDF|rdf| ; \ s|xmlns.*[^>]||' > ${.TARGET} In other words, it assumes an Internet connection unconditionally when building the website. I think this is wrong since there is no warning about this beforehand and I do not know for sure what happens when fetch (working in "quiet" mode by virtue of the -q flag) cannot load the specified file. I think that this should be made conditional so that people to whom Internet usage costs are an issue might not be caught by surprise. -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message