portupgrade modifys EVERY +CONTENTS now?

Nikola Lecic nlecic at EUnet.yu
Mon Aug 6 06:57:20 PDT 2007


On Mon, 6 Aug 2007 02:55:34 -0400 (EDT)
"Tuc at T-B-O-H.NET" <ml at t-b-o-h.net> wrote:

[...]
> 	Ok. But I part of my question to people , and reason for
> posting it here, is the old "Is anyone else seeing this". When/if you
> use portupgrade, does it do the same for you? Or is it just something
> that I happened some how to inherit on atleast 2 of my machines?

Interestingly, I see this behaviour only _partially_ with

  %ls -d /var/db/pkg/portupgrade*
  /var/db/pkg/portupgrade-devel-2.3.1

I've just upgraded the following ports (extract from build script):

  ===>   Registering installation for sudo-1.6.9.3_1
  ===>   Registering installation for jasper-1.900.1_6
  ===>   Registering installation for intltool-0.36.0
  ===>   Registering installation for cups-base-1.2.11_3
  ===>   Registering installation for libglade2-2.6.2
  ===>   Registering installation for ffmpeg-2007.07.12_1
  ===>   Registering installation for libgnomeprint-2.18.0_3
  ===>   Registering installation for py25-tkinter-2.5.1_2
  ===>   Registering installation for xpdf-3.02_2
  ===>   Registering installation for gstreamer-0.10.14
  ===>   Registering installation for gstreamer-plugins-0.10.14,3

However:

  %ls -lt /var/db/pkg/*/*CONTENTS
  -rw-r--r--  1 root  wheel   50114 Aug  6 11:28 /var/db/pkg/wxgtk2-common-2.8.4/+CONTENTS
  -rw-r--r--  1 root  wheel    9772 Aug  6 11:28 /var/db/pkg/wxgtk2-unicode-2.8.4/+CONTENTS
  -rw-r--r--  1 root  wheel   35998 Aug  6 11:27 /var/db/pkg/aMule-2.1.3_4/+CONTENTS
  -rw-r--r--  1 root  wheel   20786 Aug  6 11:26 /var/db/pkg/gstreamer-plugins-0.10.14,3/+CONTENTS
  -rw-r--r--  1 root  wheel     992 Aug  6 11:13 /var/db/pkg/xwud-1.0.1/+CONTENTS
  -rw-r--r--  1 root  wheel   21020 Aug  6 11:13 /var/db/pkg/yelp-2.18.1_1/+CONTENTS
  -rw-r--r--  1 root  wheel   28133 Aug  6 11:13 /var/db/pkg/zenity-2.18.2/+CONTENTS
  -rw-r--r--  1 root  wheel     441 Aug  6 11:13 /var/db/pkg/zip-2.32/+CONTENTS
  -rw-r--r--  1 root  wheel     440 Aug  6 11:13 /var/db/pkg/zoo-2.10.1_2/+CONTENTS
  -rw-r--r--  1 root  wheel    1765 Aug  6 11:13 /var/db/pkg/xsm-1.0.1/+CONTENTS
  [...]
  [all other +CONTENTS files are in 11:13 and 11:12]

This means that upgrading of gstreamer-plugins affected only ports
depending on it (aMule and wxgtk2*). But this is obviously not the case
with some other ports.

However[2]:

  %ls -lt /var/db/pkg | head
  total 23198
  drwxr-xr-x  2 root  wheel       512 Aug  6 11:28 gstreamer-plugins-0.10.14,3
  drwxr-xr-x  2 root  wheel       512 Aug  6 11:28 wxgtk2-common-2.8.4
  drwxr-xr-x  2 root  wheel       512 Aug  6 11:28 wxgtk2-unicode-2.8.4
  drwxr-xr-x  2 root  wheel       512 Aug  6 11:27 aMule-2.1.3_4
  -rw-r--r--  1 root  wheel  21974016 Aug  6 11:26 pkgdb.db
  drwxr-xr-x  2 root  wheel       512 Aug  6 11:16 gstreamer-0.10.14
  drwxr-xr-x  2 root  wheel       512 Aug  6 11:16 libXft-2.1.12
  drwxr-xr-x  2 root  wheel       512 Aug  6 11:16 xorg-libraries-7.2_2
  drwxr-xr-x  2 root  wheel       512 Aug  6 11:16 libXcomposite-0.3.2,1

I haven't recently noticed any significant change in performance. (The
times in the above lists are not relevant since couple of demanding
things were running at the same time.)

Nikola Lečić


More information about the freebsd-questions mailing list