From owner-freebsd-questions Tue Oct 10 7:14:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web5101.mail.yahoo.com (web5101.mail.yahoo.com [216.115.106.71]) by hub.freebsd.org (Postfix) with SMTP id 4FDDB37B66C for ; Tue, 10 Oct 2000 07:14:32 -0700 (PDT) Message-ID: <20001010141432.4573.qmail@web5101.mail.yahoo.com> Received: from [203.101.93.153] by web5101.mail.yahoo.com; Wed, 11 Oct 2000 01:14:32 EST Date: Wed, 11 Oct 2000 01:14:32 +1100 (EST) From: =?iso-8859-1?q?Paul=20Jansen?= Subject: modifying package files to alter dependencies? To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have several newer packages on my system that are not seen as valid when I try to add another package that requires earlier versions of these dependencies. (I hope that makes sense to everyone). I'd like to know how I can edit a package file so as to modify the dependencies. I've had a crack at it but haven't been able to get it to work. Thi si what I tried: The package files are in .tgz format. I'm asuming this means gzip tarred? first I copy the package to a seperate tempory directory. I then gunzip it so I am left with a .tar file. I then 'tar -xvf package.tar' to extract the tar archive. I've then gone into the file called +CONTENTS that has the dependencies in it and made my modifications. I then saved the +CONTENTS file and did thge following (after deleting the existing package.tar file) 'tar -cvf package.tar ./*' This resulted in a tar file. I have extracted it to see if it loks as it should, and to me it does. I then gzipped the package.tar file like so: 'gzip package.tar' I then renamed the resulting gzipped file to 'package.tgz'. I then tried using pkg_add on this file but it complains that it can't find the +CONTENTS file. I have gunzipped and 'tar -xvf'ed this file and the +CONTENTS file certainly is there. Can anyone tell me how I'm supposed to do this? Thanks. _____________________________________________________________________________ http://clubs.yahoo.com.au - Yahoo! Clubs - Join a club or build your own! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message