Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2001 18:16:03 -0700
From:      "Seamus.Venasse" <Seamus.Venasse@polaris.ca>
To:        <freebsd-ports@FreeBSD.ORG>
Subject:   Storing Options
Message-ID:  <003d01c14adf$ce9f66c0$d27e7ed8@POLARIS.CA>

next in thread | raw e-mail | index | archive | help
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-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003d01c14adf$ce9f66c0$d27e7ed8>