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

Kris Kennaway kris at obsecurity.org
Mon Jan 29 01:13:50 UTC 2007


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

Kris


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070129/7d2e5021/attachment.pgp


More information about the freebsd-ports mailing list