From owner-freebsd-ports@FreeBSD.ORG Sun Jul 27 12:26:29 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC47537B401 for ; Sun, 27 Jul 2003 12:26:29 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11F6F43F3F for ; Sun, 27 Jul 2003 12:26:29 -0700 (PDT) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h6RJOY93020366 for ; Sun, 27 Jul 2003 15:24:34 -0400 (EDT) Received: from [192.168.1.9] (gyros.marcuscom.com [192.168.1.9]) h6RJQI9u005569 for ; Sun, 27 Jul 2003 15:26:18 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: ports@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hPxJH5JZLrqx2xGaqy50" Organization: FreeBSD, Inc. Message-Id: <1059333981.795.9.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 27 Jul 2003 15:26:22 -0400 X-Spam-Status: No, hits=-10.3 required=5.0 tests=BAYES_01,PGP_SIGNATURE_2,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: HEADS UP: RFC: Alternate ports fix for users of older FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2003 19:26:30 -0000 --=-hPxJH5JZLrqx2xGaqy50 Content-Type: multipart/mixed; boundary="=-SYM9qPojmA6X4p1sV9ko" --=-SYM9qPojmA6X4p1sV9ko Content-Type: text/plain Content-Transfer-Encoding: quoted-printable For those of you running older versions of FreeBSD ( < 4.7), here is an alternate fix for the recent port install problem people were seeing.=20 This fix involves adding a new port, pkg_install, which is a snapshot of the -CURRENT pkg_install code. This port can change periodically as new pkg_* features are added that bsd.port.mk depends on. I am looking for testers to make sure this works where it needs to. So, if you're running FreeBSD 4.x < 4.7, please give this a shot. To apply this fix, do: # cd /usr/ports/sysutils # sh /path/to/pkg_install.sh # cd /usr/ports # patch -p < /path/to/bsd.port.mk.diff Then try to install some ports. If you really want to make sure everything is good, you'll back out the bsd.port.mk patches Kris committed last night, then apply this fix. Using this method, we are free to take advantage of more powerful pkg_* features without the risk of breaking older (yet unsupported) versions of FreeBSD. This fix represents work done by Oliver Eikemeier in ports/54478. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: marcus@FreeBSD.org gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-SYM9qPojmA6X4p1sV9ko Content-Disposition: attachment; filename=bsd.port.mk.diff Content-Transfer-Encoding: base64 Content-Type: text/plain; name=bsd.port.mk.diff; charset=ISO-8859-1 LS0tIE1rL2JzZC5wb3J0Lm1rLm9yaWcJU3VuIEp1bCAyNyAxNDozMDowMiAyMDAzDQorKysgTWsv YnNkLnBvcnQubWsJU3VuIEp1bCAyNyAxNDoyOTo1MyAyMDAzDQpAQCAtMTY5MCwxMCArMTY5MCwx OSBAQA0KIFBLR09SSUdJTj89CQkke1BLR0NBVEVHT1JZfS8ke1BPUlRESVJOQU1FfQ0KIC5lbmRp Zg0KIA0KKy5pZiAke09TVkVSU0lPTn0gPCA0NjAxMDIgJiYgJHtQS0dPUklHSU59ICE9ICJzeXN1 dGlscy9wa2dfaW5zdGFsbCIgXA0KKwkmJiBleGlzdHMoJHtMT0NBTEJBU0V9L3NiaW4vcGtnX2lu Zm8pDQorQlVJTERfREVQRU5EUys9CSR7TE9DQUxCQVNFfS9zYmluL3BrZ19pbmZvOiR7UE9SVFNE SVJ9L3N5c3V0aWxzL3BrZ19pbnN0YWxsDQorUEtHX0NNRD89CQkke0xPQ0FMQkFTRX0vc2Jpbi9w a2dfY3JlYXRlDQorUEtHX0FERD89CQkke0xPQ0FMQkFTRX0vc2Jpbi9wa2dfYWRkDQorUEtHX0RF TEVURT89CSR7TE9DQUxCQVNFfS9zYmluL3BrZ19kZWxldGUNCitQS0dfSU5GTz89CQkke0xPQ0FM QkFTRX0vc2Jpbi9wa2dfaW5mbw0KKy5lbHNlDQogUEtHX0NNRD89CQkvdXNyL3NiaW4vcGtnX2Ny ZWF0ZQ0KLVBLR19BREQ/PQkvdXNyL3NiaW4vcGtnX2FkZA0KK1BLR19BREQ/PQkJL3Vzci9zYmlu L3BrZ19hZGQNCiBQS0dfREVMRVRFPz0JL3Vzci9zYmluL3BrZ19kZWxldGUNCiBQS0dfSU5GTz89 CQkvdXNyL3NiaW4vcGtnX2luZm8NCisuZW5kaWYNCiANCiAjIERvZXMgdGhlIHBrZ19jcmVhdGUg dG9vbCBzdXBwb3J0IGNvbmZsaWN0IGNoZWNraW5nPw0KIFBLR0lOU1RBTExWRVIhPSAke1BLR19J TkZPfSAtUCAyPi9kZXYvbnVsbCB8ICR7U0VEfSAtZSAncy8uKjogLy8nDQo= --=-SYM9qPojmA6X4p1sV9ko-- --=-hPxJH5JZLrqx2xGaqy50 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/JCddb2iPiv4Uz4cRAnMoAJ0UCdr/kjlntIBtnO1KAnM7Ff7CnwCfSEzC hEwvL9spQqmw8MQUFFtqtsY= =7k50 -----END PGP SIGNATURE----- --=-hPxJH5JZLrqx2xGaqy50--