Le mar 20/04/2004 à 00:47, Paul Hampson a écrit :
> On Sun, Apr 18, 2004 at 03:51:12PM +0200, Jerome Warnier wrote:
> > On Sun, 2004-04-18 at 15:13, Paul Hampson wrote:
> > > On Sun, Apr 18, 2004 at 12:33:53PM +0200, Jerome Warnier wrote:
> > > > On Sun, 2004-04-18 at 05:43, Paul Hampson wrote:
> > > > > On Sat, Apr 17, 2004 at 11:41:27PM +0200, Jerome Warnier wrote:
> > > > > > On Sat, 2004-04-17 at 06:02, Paul Hampson wrote:
> > > > > > > On Fri, Apr 16, 2004 at 09:55:01PM +0200, Jerome Warnier wrote:
> > > > > > > > On Fri, 2004-04-16 at 20:42, Alan DeKok wrote:
> > > > > > > > > ?ISO-8859-1?Q?J=E9r=F4me?= Warnier <[EMAIL PROTECTED]> wrote:
> > > > > > > > > ...
> 
> > > > > > > > >   Try the latest CVS snapshot, it may work better there.
> 
> > > > And you have of course to use dh_perl in debian/rules to substitute the
> > > > ${perl:Depends}. I suggest the following (not tested):
> > > > dh_perl -p freeradius-dialupadmin dialup_admin/bin
> 
> > > I think I'll make that a Recommends, not a Depends... Unless those perl
> > > scripts are vital to the operation of most of dialup-admin? A brief
> > > examination of the README suggest they're all optional extras, that I
> > > (for example) would never run. (We don't do bandwidth tracking/billing,
> > > and I don't want it whacking data from my radacct table.)
> > There is also a crontab file in this directory, which uses most the
> > other scripts there, but needs fixing before being (optionally) put into
> > /etc/cron.d. This file needs fixing anyway, because it currently points
> > to /usr/local/...
> 
> I'll put this in as an example, I think. However, I will have to add a
> sed script to fix the paths in the crontab.
Yes, put it in /usr/share/doc/freeradius-dialupadmin/examples instead of
the current directory.
Do you want me to write the sed script?
Something like this should do the trick:
sed -i 's/usr/local/dialup\_admin_/usr/share/dialupadmin'
dialup_admin.cron

> > Did not use any yet, so you are probably right. Maybe a debconf question
> > would be useful (setup crontab for accounting or not)?
> > Don't forget it just applies to Dialup Admin, which many people won't
> > probably bother installing anyway.
> 
> Bleh, no good. Conditionally installing a file into /etc/ is a pain
> under Debian Policy. I'll have to make a note in the README.Debian
> about that.
Ok.
-- 
Jérôme Warnier
Consultant
BeezNest
http://beeznest.net


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to