From owner-freebsd-ports Sun Sep 29 23:28: 7 2002 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 044DF37B401; Sun, 29 Sep 2002 23:28:06 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E27743E3B; Sun, 29 Sep 2002 23:28:05 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C28DF66B79; Sun, 29 Sep 2002 23:28:04 -0700 (PDT) Date: Sun, 29 Sep 2002 23:28:04 -0700 From: Kris Kennaway To: ports@FreeBSD.org, eivind@FreeBSD.org Subject: Updated dialog-based config patches Message-ID: <20020930062804.GA50001@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Eivind posted some patches a few months ago that implemented a dialog-based configuration interface to set the WITH_*/WITHOUT_* variables in ports. I reworked his patches to implement persistent storage of options as well as using a makefile variable to store the list of options (instead of a separate file). There's only one bug I'm aware of, involving reconstructing the list of options with saved default values, and passing the reconstructed list to dialog (this is the 'sed s, ,_,g' thing that shows up in the option descriptions). Probably there's a way to fix this, but I couldn't see it today. Here's the patch: http://people.freebsd.org/~kris/bsd.port.mk-config.patch Implemented targets: make config make showconfig make rmconfig I've only converted the gnupg and snort ports so far (ports can be converted incrementally). Kris --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9l+7zWry0BWjoQKURArNdAJ4k1td7mF4hsTCTfLD8W0GDn6VJTgCgu4xM P+B9Ogf/sJnVvEfeqer9CwM= =rhMD -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message