[vchkpw] Compiled FreeBSD 4.8

2003-08-27 Thread Hani Mouneimne
Hey All

Came across the following on make install . Also noted some options on the
FreeBSD install are different to linux but not greatly. Also tried using
the install-sh and same error.

/usr/bin/install -c -d /home/vpopmail/etc
if test 0 = 1; then  if test ! -r /home/vpopmail/etc/vpopmail.mysql;
then  echo # MySQL settings, line 1 is config for read-only, 
/home/vpopmail/etc/vpopmail.mysql;  echo # line 2 is config for update.
Settings for each  /home/vpopmail/etc/vpopmail.mysql;  echo # line:
server|port|user|password|database  /home/vpopmail/etc/vpopmail.mysql;
echo localhost|0|root|secret|vpopmail 
/home/vpopmail/etc/vpopmail.mysql;  fi ;  chown vpopmail
/home/vpopmail/etc/vpopmail.mysql ;  chgrp vchkpw
/home/vpopmail/etc/vpopmail.mysql ;  chmod 0600
/home/vpopmail/etc/vpopmail.mysql ;  fi
/usr/bin/install -c --owner=root --mode=0600 --group=root -D  libvpopmail.a
/home/vpopmail/lib/libvpopmail.a
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 file2
   install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 ... fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

Stop in /root/vpopmail-5.3.26.
*** Error code 1

Stop in /root/vpopmail-5.3.26.
*** Error code 1

Stop in /root/vpopmail-5.3.26.

Regards
Hani Mouneimne




Re: [vchkpw] vpopmail 5.3.23 compile error on FreeBSD 4.5

2003-08-15 Thread Hani Mouneimne
Hi There,

Theese were bugs withing .23 release. Download the latest .24 and compile
as the bugs were fixed.


Regards,
Hani Mouneimne



 I am trying to install the new vpopmail 5.3.23 on freebsd 4.5.  I get the
 following errors when running make.   Could someone please tell me what I
 must do
 to correct this problem.

 Thanks alot

 Jason

 vdelivermail.c: In function `date_header':
 vdelivermail.c:1333: invalid operands to binary /
 vdelivermail.c:1321: warning: `tz' might be used uninitialized in this
 function
 *** Error code 1

 Stop in /usr/local/src/vpopmail-5.3.23.
 *** Error code 1

 Stop in /usr/local/src/vpopmail-5.3.23.
 *** Error code 1

 Stop in /usr/local/src/vpopmail-5.3.23.
 sitemasterswebdesign# more /usr/local/time.h
 /usr/local/time.h: No such file or directory





Re: [vchkpw] vpopmail 5.3.23 compile error on FreeBSD 4.5

2003-08-15 Thread Hani Mouneimne
Should be listed on http://sourceforge.net/projects/vpopmail/ . If you
still have problems go and clear your history/cache and reload the page.
Should display .24 for you.

Regards
A sleep Hani Mouneimne


 I do not see .24 on the list anywhere.  would you be so kind to send me
 the
 source or the link to download.

 thanks

 Jason





[vchkpw] Compile error. Any ideas

2003-07-25 Thread Hani Mouneimne
System is running FreeBSD 4.8 Stable. Currently running 5.3.21.
When trying to compile .22 getting the following ;


gcc -I. -Icdb -g -O2 -Wall -c vdelivermail.c
In file included from vdelivermail.c:32:
config.h:33: warning: `/*' within comment
vdelivermail.c: In function `date_header':
vdelivermail.c:1322: `timezone' redeclared as different kind of symbol
/usr/include/time.h:144: previous declaration of `timezone'
*** Error code 1

Stop in /root/vpopmail-5.3.22.
*** Error code 1

Stop in /root/vpopmail-5.3.22.
*** Error code 1

Stop in /root/vpopmail-5.3.22.
trance#


Any advice much appreciated.

Kind Regards
Hani





[vchkpw] Apologies

2003-07-25 Thread Hani Mouneimne
I just noticed what I sent in the buglist on the sf.net devel site.

Regards
Hani




RE: [vchkpw] vpopmail 5.3.23 released

2003-07-25 Thread Hani Mouneimne
Still problematic on 2 boxes

Making all in cdb
gcc -I. -Icdb -g -O2 -Wall -c vchkpw.c
gcc -I. -Icdb -g -O2 -Wall -c hmac_md5.c
gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
-lcrypt
gcc -I. -Icdb -g -O2 -Wall -c vdelivermail.c
vdelivermail.c: In function `date_header':
vdelivermail.c:1333: invalid operands to binary /
vdelivermail.c:1321: warning: `tz' might be used uninitialized in this
function
*** Error code 1

Stop in /usr/home/smooth/vpopmail-5.3.23.
*** Error code 1

Stop in /usr/home/smooth/vpopmail-5.3.23.
*** Error code 1

Stop in /usr/home/smooth/vpopmail-5.3.23.
bsd#

Same on the other server.

Regards
Hani

-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED] 
Sent: 25 July 2003 12:54
To: vpopmail list
Subject: [vchkpw] vpopmail 5.3.23 released


I'm leaving for the airport in 5 minutes, but here's the 5.3.23 release:

5.3.23

Tom Collins
- Removed timezone declaration to correct compile problem on
   FreeBSD.

5.3.22

Moshe Jacobson
- Fix maildir_to_email() to work with hashed domain directories.

Matt Berardi
- Add 2 second timeout on MySQL connections.

Jens Jahr
- Check for failure when calling auth module.
- Fix vadddomain/vdeldomain when the auth module call fails.
- Fix vsetuserquota to include status messages.

Tom Collins
- Add Date header to over quota warning message.
- Fix possible buffer overflows when setting envbuf[1-4] in
   vchkpw.c. (bug spotted by Michael Bowe)
- Remove error messages from vmysql.c that could interfere with
   POP or SMTP AUTH client sessions.
- Switched from using --enable-default-domain to storing default
   domain in ~vpopmail/etc/defaultdomain.  This should provide
   flexibility when compiling packages for distribution.