From owner-freebsd-questions Thu Oct 4 16:51: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pris.polaris.ca (pris.polaris.ca [199.247.156.218]) by hub.freebsd.org (Postfix) with SMTP id EB32C37B405 for ; Thu, 4 Oct 2001 16:51:01 -0700 (PDT) Received: (qmail 10601 invoked by uid 85); 4 Oct 2001 23:53:55 -0000 Received: from tornado.northwestel.net (HELO tornado) (216.126.126.210) by 0 with SMTP; 4 Oct 2001 23:53:53 -0000 From: "Seamus.Venasse" To: Subject: Storing Options Date: Thu, 4 Oct 2001 16:54:05 -0700 Message-ID: <007f01c14d2f$da5093c0$d27e7ed8@POLARIS.CA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! Is there a preferred way of storing which options a user selects when installing a port? For example, if you have an pkg_install script which modifies configuration files depending on which user option was selected, have it so that your pkg_deinstall script unmodifies the existing (ie: sendmail) configuration files again to the original state. ie: make WITH_XXX=yes WITH_YYY=yes install I would like to store these options, WITH_XXX and WITH_YYY, to some file that my pkg_deinstall script would "learn" about. Is there a preferred way, or am I free to devise my own plan... like create a file in the ${LOCALBASE}/share/doc/{portname} directory? Thanks, Seamus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message