Date: Thu, 27 Mar 2008 14:25:29 +0100 From: "Rene Ladan" <r.c.ladan@gmail.com> To: Ighighi <ighighi@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Referencing older entries in ports/UPDATING may be bad practice Message-ID: <e890cae60803270625n36af1c0aia136ff3074666285@mail.gmail.com> In-Reply-To: <47EB8779.8070304@gmail.com> References: <47EB8779.8070304@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/3/27, Ighighi <ighighi@gmail.com>: > Referencing old entries in ports/UPDATING that contain the commands, > options, etc. isn't completely safe because those options may change. > > In the case of portupgrade(1), at the following options changed between > pkgtools-2.0.1 and pkgtools-2.4.3: > > 2.0.1: > -c > --clean Do ``make clean'' before each build. This is the > default behavior. See the -w option below. > > -C > --cleanup Do ``make clean'' after each installation. This > is the default behavior. See the -W option below. > > -q > --noconfig Do not read the configuration file - > $PREFIX/etc/pkgtools.conf. > > > > 2.4.3: > -c > --config Run ``make config-conditional'' before everything > for all tasks. -w option below. > > -C > --force-config Run ``make config'' before everything for all > tasks. > > -q > --quiet Do not display a message when -N specified and > there is already installed package. > This particular example looks more like a POLA violation of pkgtools. > It doesn't bite to make each entry a little bit more "self-contained" > at least when it comes to the sequence of commands to be run. Though > I haven't yet found a single issue with current practice, it's better > to feel safe than to worry at the possibility, excuse me if it's just > me ;) Safe for users and developers alike. I do remember a discussion in which the 20070519 entry (X.org 7.2) turned out to be outdated. Regards, Rene -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e890cae60803270625n36af1c0aia136ff3074666285>