Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2007 20:08:31 -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:  <85E46A38-87D8-472A-B817-110403ECE1E4@hursk.com>
In-Reply-To: <20070129012430.GA3163@xor.obsecurity.org>
References:  <D5DDCBF2-EC19-4131-BF6F-20D37E264E1F@hursk.com> <20070129000645.GB65592@xor.obsecurity.org> <974D437A-ABFE-4981-AAE6-8156142C2004@hursk.com> <20070129011344.GB80477@xor.obsecurity.org> <F6A21043-A21F-488A-AE5C-9EA8B9F5226C@hursk.com> <20070129012430.GA3163@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 19:24 , Kris Kennaway wrote:

> On Sun, Jan 28, 2007 at 07:21:03PM -0600, Jon Passki wrote:
>
>>> 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?
>
> I'm comparing both, the latter file was extracted from the freshly
> made package.  The only thing I can think of is that you are actually
> extracting stale packages instead of the freshly made ones.
>
> Your ports collection is incomplete since you drop a number of the
> categories.  Maybe that is related, otherwise I can't imagine what
> would cause this.

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-all

[ran cvsup -L 2 -g ports-supfile]


[devel01] ~# jexec 1 tcsh
You have mail.
kilo# cd /usr/ports/devel/pth
kilo# make deinstall
===>  Deinstalling for devel/pth
===>   Deinstalling pth-2.0.7
kilo# make clean
===>  Cleaning for pth-2.0.7
kilo# rm -rf /tmp/All /tmp/devel /tmp/Latest
kilo# make package PACKAGES="/tmp" > /tmp/pth-2.0.7.out
kilo# tail !$
tail /tmp/pth-2.0.7.out
       to deinstall the port if this is a concern.

       For more information, and contact details about the security
       status of this software, see the following webpage:
http://www.gnu.org/software/pth/
===>  Building package for pth-2.0.7
===>   Generating temporary packing list
Creating package /tmp/All/pth-2.0.7.tbz
Registering depends:.
Creating bzip'd tar ball in '/tmp/All/pth-2.0.7.tbz'
kilo# tar -xjf /tmp/All/pth-2.0.7.tbz -C /tmp +CONTENTS
kilo# diff -u /tmp/+CONTENTS /var/db/pkg/pth-2.0.7/+CONTENTS
- --- /tmp/+CONTENTS      Mon Jan 29 01:53:09 2007
+++ /var/db/pkg/pth-2.0.7/+CONTENTS     Mon Jan 29 01:53:09 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
kilo# ll /usr/local/libdata/ldconfig/pth
- -rw-r--r--  1 root  wheel  19 Jan 29 01:53 /usr/local/libdata/ 
ldconfig/pth

Same thing...  Okay, I did a lot of testing here and I think I got  
it.  Without any make.conf file set, everything worked.  With the  
previously posted one [1], it didn't work.  I commented out  
WKRDIRPREFIX and it worked.  Odd.  Can you test this?  I'm running  
6.2R.  I've also noticed issues with OPTION files via dialogue, which  
fail if I hit "OKAY" but work if I hit "CANCEL".

Jon


[1]
# 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




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

iD8DBQFFvVcuZpJsLIS+QSIRAmElAKCOws0wdbdpQe5FhHc5NHIFvIZrNQCglldS
Uni7pQnpKM2U/EW70LGaqMo=
=AaKK
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85E46A38-87D8-472A-B817-110403ECE1E4>