Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2007 18:55:59 -0600
From:      Jon Passki <jon.passki@hursk.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg-plist, +CONTENTS, make package, and the ports cluster
Message-ID:  <974D437A-ABFE-4981-AAE6-8156142C2004@hursk.com>
In-Reply-To: <20070129000645.GB65592@xor.obsecurity.org>
References:  <D5DDCBF2-EC19-4131-BF6F-20D37E264E1F@hursk.com> <20070129000645.GB65592@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jan 28, 2007, at 18:06 , Kris Kennaway wrote:

> On Sun, Jan 28, 2007 at 05:25:56PM -0600, Jon Passki wrote:
>> Hello,
>>
>> Ports such as mysql-server, apache22 and many others I've noticed
>> have a disconnect between pkg-plist entries and what actually gets
>> installed.  Some especially annoying components missed are etc/rc.d
>>

[snip]

> This is already checked and enforced using different means.  If you're
> seeing differences, this is presumably for some other local reason.

Which it totally could be.  I have a build jail w/ a read-only NFS- 
mounted /usr/ports that built the ports for the other jails with  
`make package-recursive PACKAGES="/some/path"`.  It has a make.conf  
file (below) to make a RO /usr/ports work.  Other jails (with blank / 
etc/make.conf) install the package via FTP with `pkg_add -r <some_pkg>`.

> In particular gettext, mysql-server and apache22 do not install extra
> files or have missing files when built in a default freebsd
> environment.

This isn't default (^_^), but it isn't really out there, either.


> 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
- -@cwd .
- -@ignore
- -+COMMENT
- -@comment MD5:fe3390e01609cef4464e3da82ca715eb
- -@ignore
- -+DESC
- -@comment MD5:5857a78166a3bfc28f7d918d443db7d0
- -@ignore
- -+MTREE_DIRS
- -@comment MD5:62ec091098aedd20983344152fd56afb
- -@mtree +MTREE_DIRS
+libdata/ldconfig/pth
+@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

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

iD8DBQFFvUYnZpJsLIS+QSIRAlSAAJ9EVRE1NaXTq1kjxoLRq/aARAovngCglx8g
RDcz2CMcLXFKMYcQeaUX3Zg=
=mtZ1
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?974D437A-ABFE-4981-AAE6-8156142C2004>