Re: maia in openbsd 4.6

2010-04-23 Thread Helmut Schneider
Steve Shockley wrote:

 On 4/22/2010 6:38 PM, Helmut Schneider wrote:
  Actually it matches any string containing a minus followed by 1 or
  more digits or dots, e.g. file-4.24 but also file-..
  
  I'd use -(\d+\.)+\d+.
 
 Thanks.  It appears it's not the regex that's the problem, apparently
 file changed the output of file -v from stdout to stderr between 4.21
 and 4.24:

{component = file(1), type = file -v 21, regexp =
\-([0-9\.]+), minver = 4.12,

might work then.

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn



Re: maia in openbsd 4.6

2010-04-22 Thread Richard Toohey
On 22/04/2010, at 5:02 PM, sonjaya wrote:

 hi all ...

 i have problem installed maia in openbsd 4.6 , problem module perl file(1).

 Application/Module  Version   Status
 
 Perl :   5.10.0 : OK
 file(1)  :  N/A : NOT INSTALLED (required by Maia
Mailguard)
 Archive::Tar : 1.58 : OK

 # file  -v
 file-4.24
 magic file from /etc/magic
 # whereis file
 /usr/bin/file
 # ln -s  /usr/bin/file /usr/local/bin/

 any clue how to solved this  ,
Never used it myself, have you tried Google?

Where is the error message coming from?  configtest.pl?

http://www.purplehat.org/?page_id=16

quoteNote:

There is a known issue with the file() utility in the configtest check.
Dont worry about this as Maia will still find and use  file() even if the
configtest says it is not installed. This will be fixed in the next Maia
release. Otherwise, PLEASE let me know if something in the port is not working
correctly./quote

HTH

 --
 sonjaya
 http://sicute.blogspot.com
 http://www.pojokdomain.com(sell  buy domain with free )



Re: maia in openbsd 4.6

2010-04-22 Thread Steve Shockley

On 4/22/2010 1:02 AM, sonjaya wrote:

i have problem installed maia in openbsd 4.6 , problem module perl file(1).


http://marc.info/?m=126887732124225

Please test and let me know how it goes.  I fixed this by just removing 
the check.  Now that I'm actually looking at it more, I think maybe that 
regex (\-([0-9\.]+)) is looking for X.Y rather than X.YY, but I'm 
terrible with regex so I could be mistaken.


There are some other dependencies that aren't in the tree, you should be 
able to find most at http://conveyor.shockley.net/ports/.




Re: maia in openbsd 4.6

2010-04-22 Thread Helmut Schneider
Steve Shockley wrote:

 On 4/22/2010 1:02 AM, sonjaya wrote:
  i have problem installed maia in openbsd 4.6 , problem module perl
  file(1).
 
 http://marc.info/?m=126887732124225
 
 Please test and let me know how it goes.  I fixed this by just
 removing the check.  Now that I'm actually looking at it more, I
 think maybe that regex (\-([0-9\.]+)) is looking for X.Y rather
 than X.YY, but I'm terrible with regex so I could be mistaken.

Actually it matches any string containing a minus followed by 1 or more
digits or dots, e.g. file-4.24 but also file-..

I'd use -(\d+\.)+\d+.

Helmut

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn



Re: maia in openbsd 4.6

2010-04-22 Thread Steve Shockley

On 4/22/2010 6:38 PM, Helmut Schneider wrote:

Actually it matches any string containing a minus followed by 1 or more
digits or dots, e.g. file-4.24 but also file-..

I'd use -(\d+\.)+\d+.


Thanks.  It appears it's not the regex that's the problem, apparently 
file changed the output of file -v from stdout to stderr between 4.21 
and 4.24:


@@ -279,9 +257,9 @@ main(int argc, char *argv[])
flags |= MAGIC_DEVICES;
break;
case 'v':
-   (void)fprintf(stdout, %s-%d.%.2d\n, __progname,
+   (void)fprintf(stderr, %s-%d.%.2d\n, __progname,
   FILE_VERSION_MAJOR, patchlevel);
-   (void)fprintf(stdout, magic file from %s\n,
+   (void)fprintf(stderr, magic file from %s\n,
   magicfile);
return 1;
case 'z':

Pointer from a comment in 
http://www.rasyid.net/2008/04/02/file1-na-not-installed-required-by-maia-mailguard/.




maia in openbsd 4.6

2010-04-21 Thread sonjaya
hi all ...

i have problem installed maia in openbsd 4.6 , problem module perl file(1).

Application/Module  Version   Status

Perl :   5.10.0 : OK
file(1)  :  N/A : NOT INSTALLED (required by Maia Mailguard)
Archive::Tar : 1.58 : OK

# file  -v
file-4.24
magic file from /etc/magic
# whereis file
/usr/bin/file
# ln -s  /usr/bin/file /usr/local/bin/

any clue how to solved this  ,

-- 
sonjaya
http://sicute.blogspot.com
http://www.pojokdomain.com(sell  buy domain with free )