Where does a port store a saved configuration file?

2005-04-26 Thread scott renna
Hello list,

I had a question regarding where in FreeBSD5.3 the
configuration file for a port is stored.  I've been
trying to find the saved configuration file that Snort
created upon me selecting what options to include
during the make install.  I had included support for
Prelude, since I've never used it before, I figured
I'd try it out.  Unfortunately, prelude has not been
updated for Snort 2.0 yet.  

I'm trying to find the saved configuration file so
that I can remove it and reselect what options I want
snort built with, but no luck.  Anyone know where it's
located at?  

thanks

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread [EMAIL PROTECTED]
scott renna wrote:
 Hello list,
 
 I had a question regarding where in FreeBSD5.3 the
 configuration file for a port is stored.  I've been
 trying to find the saved configuration file that Snort
 created upon me selecting what options to include
 during the make install.  I had included support for
 Prelude, since I've never used it before, I figured
 I'd try it out.  Unfortunately, prelude has not been
 updated for Snort 2.0 yet.  
 
 I'm trying to find the saved configuration file so
 that I can remove it and reselect what options I want
 snort built with, but no luck.  Anyone know where it's
 located at?  
 



/var/db/ports/name_of_port ?

G
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Daniel Bye
On Tue, Apr 26, 2005 at 08:28:36AM -0700, scott renna wrote:
 Hello list,
 
 I had a question regarding where in FreeBSD5.3 the
 configuration file for a port is stored.  I've been
 trying to find the saved configuration file that Snort
 created upon me selecting what options to include
 during the make install.  I had included support for
 Prelude, since I've never used it before, I figured
 I'd try it out.  Unfortunately, prelude has not been
 updated for Snort 2.0 yet.  
 
 I'm trying to find the saved configuration file so
 that I can remove it and reselect what options I want
 snort built with, but no luck.  Anyone know where it's
 located at?  

/usr/ports/Mk/bsd.port.mk says that you can use `make showconfig' to see
the current config, and `make rmconfig' to clear it.

I haven't thus far tracked down where the config is stored...

HTH

Dan

-- 
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 / \


pgpyJqZF5EVMt.pgp
Description: PGP signature


Re: Where does a port store a saved configuration file?

2005-04-26 Thread RW
On Tuesday 26 April 2005 16:36, [EMAIL PROTECTED] wrote:
 scott renna wrote:
...
 /var/db/ports/name_of_port ?

but you really need to read man ports instead.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Alejandro Pulver
On Tue, 26 Apr 2005 08:28:36 -0700 (PDT)
scott renna [EMAIL PROTECTED] wrote:

 Hello list,
 
 I had a question regarding where in FreeBSD5.3 the
 configuration file for a port is stored.  I've been
 trying to find the saved configuration file that Snort
 created upon me selecting what options to include
 during the make install.  I had included support for
 Prelude, since I've never used it before, I figured
 I'd try it out.  Unfortunately, prelude has not been
 updated for Snort 2.0 yet.  
 
 I'm trying to find the saved configuration file so
 that I can remove it and reselect what options I want
 snort built with, but no luck.  Anyone know where it's
 located at?  
 
 thanks

Hello,

If the port uses the OPTIONS variable (in the Makefile) the
configuration is at /var/db/ports/portname, and you can change it
with make config, show it with make showconfig and remove it with
make rmconfig.

If the port uses a shell script (ports that have a subdirectory called
scripts with a file usually called config), it usually creates a
file called Makefile.inc in the port directory, that is included by
the port Makefile and it is removed when you do a make clean.

Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Giorgos Keramidas
On 2005-04-26 08:28, scott renna [EMAIL PROTECTED] wrote:
 Hello list,

 I had a question regarding where in FreeBSD5.3 the configuration file
 for a port is stored.  I've been trying to find the saved
 configuration file that Snort created upon me selecting what options
 to include during the make install.  I had included support for
 Prelude, since I've never used it before, I figured I'd try it out.
 Unfortunately, prelude has not been updated for Snort 2.0 yet.

 I'm trying to find the saved configuration file so that I can remove
 it and reselect what options I want snort built with, but no luck.
 Anyone know where it's located at?

Look in /var/db/ports/snort :-)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Matt Emmerton
 Hello list,
 
 I had a question regarding where in FreeBSD5.3 the
 configuration file for a port is stored.  I've been
 trying to find the saved configuration file that Snort
 created upon me selecting what options to include
 during the make install.  I had included support for
 Prelude, since I've never used it before, I figured
 I'd try it out.  Unfortunately, prelude has not been
 updated for Snort 2.0 yet.  
 
 I'm trying to find the saved configuration file so
 that I can remove it and reselect what options I want
 snort built with, but no luck.  Anyone know where it's
 located at?  

For snort, it's in /var/db/ports/snort/options.
Some other ports generate a Makefile.inc file in the port directory.

--
Matt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread scott renna
I should have specified that the port never properly
built and installed itself.  I got a few responses ran
a make rmconfig.  Then reinstalled and it's all cool
now. 

hey you learn something new everyday


--- Giorgos Keramidas [EMAIL PROTECTED]
wrote:
 On 2005-04-26 08:28, scott renna
 [EMAIL PROTECTED] wrote:
  Hello list,
 
  I had a question regarding where in FreeBSD5.3 the
 configuration file
  for a port is stored.  I've been trying to find
 the saved
  configuration file that Snort created upon me
 selecting what options
  to include during the make install.  I had
 included support for
  Prelude, since I've never used it before, I
 figured I'd try it out.
  Unfortunately, prelude has not been updated for
 Snort 2.0 yet.
 
  I'm trying to find the saved configuration file so
 that I can remove
  it and reselect what options I want snort built
 with, but no luck.
  Anyone know where it's located at?
 
 Look in /var/db/ports/snort :-)
 
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Giorgos Keramidas
On 2005-04-26 11:28, scott renna [EMAIL PROTECTED] wrote:
--- Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2005-04-26 08:28, scott renna [EMAIL PROTECTED] wrote:
 I'm trying to find the saved configuration file so that I can
 remove it and reselect what options I want snort built with, but
 no luck.  Anyone know where it's located at?

 Look in /var/db/ports/snort :-)

 I should have specified that the port never properly built and
 installed itself.  I got a few responses ran a make rmconfig.
 Then reinstalled and it's all cool now.

Please, note that /var/db/ports/FOO is not the same as /var/db/pkg/FOO.
Thus, the fact that the port never finished a build is ok.

Anyway... I'm glad that all works fine now :-)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]