From owner-freebsd-ports@FreeBSD.ORG Mon Jan 29 00:56:13 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F423216A400 for ; Mon, 29 Jan 2007 00:56:12 +0000 (UTC) (envelope-from jon.passki@hursk.com) Received: from davie.textdrive.com (davie.textdrive.com [207.7.108.101]) by mx1.freebsd.org (Postfix) with ESMTP id E0B1313C46B for ; Mon, 29 Jan 2007 00:56:12 +0000 (UTC) (envelope-from jon.passki@hursk.com) Received: from [10.1.2.34] (v-209-98-139-33.mn.visi.com [209.98.139.33]) by davie.textdrive.com (Postfix) with ESMTP id 2E90EC1DE6; Mon, 29 Jan 2007 00:56:12 +0000 (GMT) In-Reply-To: <20070129000645.GB65592@xor.obsecurity.org> References: <20070129000645.GB65592@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <974D437A-ABFE-4981-AAE6-8156142C2004@hursk.com> Content-Transfer-Encoding: 7bit From: Jon Passki Date: Sun, 28 Jan 2007 18:55:59 -0600 To: Kris Kennaway X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.3) Cc: freebsd-ports@freebsd.org Subject: Re: pkg-plist, +CONTENTS, make package, and the ports cluster X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 00:56:13 -0000 -----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 `. > 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-----