pkg-plist, +CONTENTS, make package, and the ports cluster
Jon Passki
jon.passki at hursk.com
Mon Jan 29 00:56:13 UTC 2007
-----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
- - 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
Jon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFFvUYnZpJsLIS+QSIRAlSAAJ9EVRE1NaXTq1kjxoLRq/aARAovngCglx8g
RDcz2CMcLXFKMYcQeaUX3Zg=
=mtZ1
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list