pkg-plist, +CONTENTS, make package, and the ports cluster

Jon Passki jon.passki at hursk.com
Mon Jan 29 01:21:31 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jan 28, 2007, at 19:13 , Kris Kennaway wrote:

> On Sun, Jan 28, 2007 at 06:55:59PM -0600, Jon Passki wrote:
>
>>> I am unable to replicate this: the apache22 port does not install
>>> these files on my system.
>>
>> I was able to replicate devel/pth on my system (pay attention to
>> libdata/ldconfig/pth at the bottom).  I can go back and do a complete
>> install again for the others.
>
>>
>> # cat /etc/make.conf
>> # port stuff
>> WRKDIRPREFIX="/tmp"
>> DISTDIR="/var/backups/distfiles"
>> PACKAGES="/var/backups/pub/FreeBSD/ports/i386/packages-6.2-release"
>> # added by use.perl 2007-01-23 17:20:15
>> PERL_VER=5.8.8
>> PERL_VERSION=5.8.8
>>
>> # cd /usr/ports/devel/pth
>> # make deinstall
>> # make clean
>> # rm -rf /tmp/All /tmp/devel /tmp/Latest /tmp/usr
>> # make package PACKAGES="/tmp"
>> # tar -xjf /tmp/All/pth-2.0.7.tbz -C /tmp +CONTENTS
>> # diff -u /tmp/+CONTENTS /var/db/pkg/pth-2.0.7/+CONTENTS
>> --- /tmp/+CONTENTS      Mon Jan 29 00:46:32 2007
>> +++ /var/db/pkg/pth-2.0.7/+CONTENTS     Mon Jan 29 00:46:32 2007
>> @@ -40,14 +40,5 @@
>> @dirrm lib/pth
>> @exec /sbin/ldconfig -m /usr/local/lib/pth
>> @unexec /sbin/ldconfig -R
>> - at cwd .
>> - at ignore
>> -+COMMENT
>> - at comment MD5:fe3390e01609cef4464e3da82ca715eb
>> - at ignore
>> -+DESC
>> - at comment MD5:5857a78166a3bfc28f7d918d443db7d0
>> - at ignore
>> -+MTREE_DIRS
>> - at comment MD5:62ec091098aedd20983344152fd56afb
>> - at mtree +MTREE_DIRS
>> +libdata/ldconfig/pth
>> + at comment MD5:4f8e8d8ed05f7e16d74fc8d39b779d38
>> # ll /usr/local/libdata/ldconfig/pth
>> -rw-r--r--  1 root  wheel  19 Jan 29 00:46 /usr/local/libdata/
>> ldconfig/pth
>
> I can't confirm this one either; it's correctly registered in the
> package for me.  Are you sure you have an up-to-date ports collection
> (in particular Mk/)?  This is added to the pkg-plist by the
> USE_LDCONFIG logic.
>
> xor# grep -r ldconfig/pth /var/db/pkg/pth-2.0.7/ +CONTENTS
> /var/db/pkg/pth-2.0.7/+CONTENTS:libdata/ldconfig/pth
> +CONTENTS:libdata/ldconfig/pth

This was a pretty recent (within a day) port update w/ a slightly  
custom supfile [1].  Got any suggestions on things I could look for?   
Are you taking a look at the installed +CONTENTS file or the one  
included in the package created by `make package` and friends?

Cheers,

Jon

[1]
grep -v '^#' ports-supfile

*default host=cvsup9.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

*default compress


ports-base
ports-archivers
ports-comms
ports-converters
ports-databases
ports-deskutils
ports-devel
ports-dns
ports-editors
ports-emulators
ports-ftp
ports-graphics
ports-java
ports-lang
ports-mail
ports-math
ports-misc
ports-multimedia
ports-net
ports-net-mgmt
ports-print
ports-security
ports-shells
ports-sysutils
ports-textproc
ports-www
ports-x11
ports-x11-clocks
ports-x11-fm
ports-x11-fonts
ports-x11-servers
ports-x11-themes
ports-x11-toolkits
ports-x11-wm





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFvUwVZpJsLIS+QSIRAiexAJ0cPaNiLPQANKnRf2bZKdF8Zf2JrwCffTvj
3KgOw6/Xq6OF9gj8mbopACg=
=4AXa
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list