From owner-freebsd-questions@FreeBSD.ORG Sat Dec 3 16:48:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8938216A41F for ; Sat, 3 Dec 2005 16:48:06 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc1-cmbg1-3-0-cust61.cmbg.cable.ntl.com [62.253.132.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBB0A43D49 for ; Sat, 3 Dec 2005 16:48:05 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.60 #0) id 1EiaYN-000Jae-1H by authid for ; Sat, 03 Dec 2005 16:48:03 +0000 Date: Sat, 3 Dec 2005 16:48:02 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20051203164802.GF35163@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20051203152503.GC35163@catflap.slightlystrange.org> <200512030749.11241.ringworm01@gmail.com> <20051203160319.GD35163@catflap.slightlystrange.org> <200512030834.46493.ringworm01@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R6sEYoIZpp9JErk7" Content-Disposition: inline In-Reply-To: <200512030834.46493.ringworm01@gmail.com> User-Agent: Mutt/1.4.2.1i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: danielby@slightlystrange.org X-SA-Exim-Scanned: No (on catflap.slightlystrange.org); SAEximRunCond expanded to false Subject: Re: pkgtools-to-portmanager.rb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 16:48:06 -0000 --R6sEYoIZpp9JErk7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 03, 2005 at 08:34:45AM -0800, Michael C. Shultz wrote: > I thank you for your effort! Need to make sure that both formats convert= BTW: >=20 > both of these should be allowed, right now only the top method works: >=20 > 'editors/openoffice*' =3D> 'LOCALIZED_LANG=3Den-US WITH_KDE=3D1', > 'emulators/qemu' =3D> [ > 'WITH_KQEMU=3D1', > 'WITH_SOMETHING=3D1', > ], >=20 > -Mike Yep, the new patch handles both - I use both formats in my pkgtools.conf file, and the created file is correct. For example: MAKE_ARGS =3D { 'www/mod_php4*' =3D> [ 'WITH_BZIP2=3Dyes', 'WITH_CTYPE=3Dyes', 'WITH_MYSQL=3Dyes', 'WITH_OVERLOAD=3Dyes', 'WITH_PCRE=3Dyes', 'WITH_POSIX=3Dyes', 'WITH_SESSION=3Dyes', 'WITH_TOKENIZER=3Dyes', 'WITH_XML=3Dyes', 'WITH_ZLIB=3Dyes', 'WITH_GETTEXT=3Dyes', 'WITH_ICONV=3Dyes', 'WITH_IMAP=3Dyes', 'WITH_MCRYPT=3Dyes', 'WITH_MHASH=3Dyes', 'WITH_OPENSSL=3Dyes', 'WITH_OPENLDAP=3Dyes', ], 'textproc/ispell*' =3D> 'ISPELL_BRITISH=3Dyes', 'mail/exim*' =3D> [ 'WITH_MYSQL=3D1', ], 'net/samba*' =3D> [ 'BATCH=3Dyes', 'WITH_UTMP=3Dyes', 'WITH_SYSLOG=3Dyes', 'WITHOUT_CUPS=3Dyes', 'WITH_RECYCLE=3Dyes', ], 'courier-imap*' =3D> 'WITH_MYSQL=3D1', 'mail/courier-authlib*' =3D> 'WITH_MYSQL=3D1', } converts to: mail/courier-authlib*|WITH_MYSQL=3D1 | courier-imap*|WITH_MYSQL=3D1 | www/mod_php4*|WITH_BZIP2=3Dyes WITH_CTYPE=3Dyes WITH_MYSQL=3Dyes WITH_OVERL= OAD=3Dyes WIT H_PCRE=3Dyes WITH_POSIX=3Dyes WITH_SESSION=3Dyes WITH_TOKENIZER=3Dyes WITH_= XML=3Dyes WITH_ ZLIB=3Dyes WITH_GETTEXT=3Dyes WITH_ICONV=3Dyes WITH_IMAP=3Dyes WITH_MCRYPT= =3Dyes WITH_MHAS H=3Dyes WITH_OPENSSL=3Dyes WITH_OPENLDAP=3Dyes | net/samba*|BATCH=3Dyes WITH_UTMP=3Dyes WITH_SYSLOG=3Dyes WITHOUT_CUPS=3Dyes= WITH_RECYCLE =3Dyes | mail/exim*|WITH_MYSQL=3D1 | textproc/ispell*|ISPELL_BRITISH=3Dyes | I can foresee problems with this default entry in pkgtools.conf: AFTERINSTALL =3D { '*' =3D> proc { |origin| cmd_restart_rc(origin) }, } It converts to this:=20 START|/* #| And my guess would be that, as the Ruby instance that creates the file has gone away, the address of the Proc object will be freed. Dunno what=20 you want to do about that one. Cheers, Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --R6sEYoIZpp9JErk7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDkcxChvzwOpChvo8RArFiAKCY2buyRN+zRbNWQv2Ut1F6x4G2bACgvc8f otzPT7KhgmkC/994lSmvrTo= =zKH8 -----END PGP SIGNATURE----- --R6sEYoIZpp9JErk7--