Re: make install without messing with previous configuration?

2009-07-16 Thread A . L . M . Buxey
hi, if you really want to do this cp -R /etc/raddb /etc/raddb.old make install rm -rf /etc/raddb cp -R /etc/raddb.old /etc/raddb but you then lose 'sight' of new virtual servers, new config options etc and slowly but surely this will bite you (in my case a while back the logging config of the

make install without messing with previous configuration?

2009-07-15 Thread Stefan Winter
Hello, I wonder if there's a way to install FreeRADIUS, but *not* have it install config files in its raddb dir. The reason being that if you have a previous version and a well-shepherded config directory with only exactly the needed files, a make install will clutter your raddb dir with default

Re: make install without messing with previous configuration?

2009-07-15 Thread Nicolas Goutte
Am 15.07.2009 um 08:16 schrieb Stefan Winter: Hello, I wonder if there's a way to install FreeRADIUS, but *not* have it install config files in its raddb dir. The reason being that if you have a previous version and a well-shepherded config directory with only exactly the needed files, a

Re: make install without messing with previous configuration?

2009-07-15 Thread Stefan Winter
Hi, I do not know how to do it at compile time but you can do it at runtime by specifing -d your_directory to radiusd. So perhaps a make install will install many configuration files but not where *your* configuration is. Yes, I considered pointing --with-raddb-dir=/tmp/trash or so. But I

Re: make install without messing with previous configuration?

2009-07-15 Thread Alan DeKok
Stefan Winter wrote: I wonder if there's a way to install FreeRADIUS, but *not* have it install config files in its raddb dir. $ rm -rf ./raddb $ make install ? Might work... Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: make install without messing with previous configuration?

2009-07-15 Thread Nicolas Goutte
Am 15.07.2009 um 09:53 schrieb Stefan Winter: Hi, I do not know how to do it at compile time but you can do it at runtime by specifing -d your_directory to radiusd. So perhaps a make install will install many configuration files but not where *your* configuration is. Yes, I considered

RE: make install without messing with previous configuration?

2009-07-15 Thread Leighton Man
+l.j.man=hud.ac...@lists.freeradius.or g [mailto:freeradius-users-bounces+l.j.man=hud.ac...@lists.freer adius.org] On Behalf Of Nicolas Goutte Sent: 15 July 2009 09:03 To: FreeRadius users mailing list Subject: Re: make install without messing with previous configuration? Am 15.07.2009 um 09:53

Re: make install without messing with previous configuration?

2009-07-15 Thread Arran Cudbard-Bell
: freeradius-users-bounces+l.j.man=hud.ac...@lists.freeradius.or g [mailto:freeradius-users-bounces+l.j.man=hud.ac...@lists.freer adius.org] On Behalf Of Nicolas Goutte Sent: 15 July 2009 09:03 To: FreeRadius users mailing list Subject: Re: make install without messing with previous

Re: make install without messing with previous configuration?

2009-07-15 Thread Stefan Winter
Hi, $ rm -rf ./raddb $ make install ? Might work... Not really... gmake[2]: Leaving directory `/home/swinter/packages/linux/freeradius-server-2.1.6/src' Making install in raddb... gmake: Entering an unknown directory gmake: *** raddb: Datei oder Verzeichnis nicht gefunden. Schluss.

Re: make install without messing with previous configuration?

2009-07-15 Thread Alan DeKok
Stefan Winter wrote: Not really... gmake[2]: Leaving directory `/home/swinter/packages/linux/freeradius-server-2.1.6/src' Making install in raddb... gmake: Entering an unknown directory OK how about this. Edit Makefile. Change: SUBDIRS = $(LTDL_SUBDIRS) src raddb scripts

Re: make install without messing with previous configuration?

2009-07-15 Thread Stefan Winter
Hi, OK how about this. Edit Makefile. Change: SUBDIRS = $(LTDL_SUBDIRS) src raddb scripts doc to SUBDIRS = $(LTDL_SUBDIRS) $(wildcard src raddb scripts doc) Then configure;rm -rf raddb;make;make install Cute, works. I don't like deleting

Re: make install without messing with previous configuration?

2009-07-15 Thread Alan DeKok
Stefan Winter wrote: This new SUBDIRS shouldn't do harm either way. Any chance to push this into 2.1.7? Done. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html