Hi

On Thu, Mar 15, 2007 at 12:42:17AM +0100, Gian Piero Carrubba wrote:
> Package: vserver-debiantools
> Version: 0.3.4
> Followup-For: Bug #409862
> 
> 
> Although this bus is tagged 'patch', i can't see an answer to your last
> question, so i'm writing this followup. Please ignore it if i'm wrong.

Thanks a lot!

> Ola said:
> > But if you know a good way to accept
> > 
> > x
> > xa
> > x-a
> > 
> > but not
> > 
> > x-
> > -a
> > 
> > as hostname, that would be great.
> 
> That should be 
> [[:lower:][:digit:]]*(*([[:lower:][:digit:]_-])[[:lower:][:digit:]]))

But this regex still allow -a, right?

> However i don't know how to check the hostname lenght in the same regex
> ( so you need an extra check on ${#var} ).
> 
> Please use [:class:] instead of [a-z] as the latter is locale dependant
> and, while it seems reverted on recent bash, i think i can remember that a
> not-so-old release of bash broke it down ( well, the bash is/was right,
> the scripts aren't ).

Hmm, well I'm not sure if I want to allow other letters than that. Do posix
allow other letters?

> PS: Ola, are you working on this package these days ? If i'll have some
> time on the next days i'd like to make some changes ( primarily move the
> common functions in a /usr/lib script and make stripserver work with
> non-legacy configurations ), so if you have a public repository/vs
> please point me to it ( haven't found in /u/s/d/v-d/copyright ).

I'm not working that much on it, but I still maintain it as upstream as well.

I have a svn repository at:
https://svn.opalsys.net/fsp/trunk/vserver-debiantools/
It have public read.

Browser viewable version at
https://svn.opalsys.net/fsp/trunk/vserver-debiantools/

Regards,

// Ola

> 
> Ciao,
> Gian Piero.
> 
> -- System Information:
> Debian Release: 4.0
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/dash
> Kernel: Linux 2.6.18.dfsg.1-11-king-1
> Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)
> 
> Versions of packages vserver-debiantools depends on:
> ii  binutils                      2.17-3     The GNU assembler, linker and 
> bina
> ii  debootstrap                   0.3.3.2    Bootstrap a basic Debian system
> ii  rsync                         2.6.9-2    fast remote file copy program 
> (lik
> ii  util-vserver                  0.30.211-6 user-space tools for 
> Linux-VServer
> 
> vserver-debiantools recommends no packages.
> 
> -- no debconf information
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://opalsys.net/                 UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to