Re: [vchkpw] vpopmail >= 5.4.8 solaris install problem

2004-12-16 Thread Tom Collins
On Dec 8, 2004, at 9:56 PM, Jeremy Kister wrote:
I have identified an installation problem in the latest releases of 
vpopmail
on Solaris 2.7
Thanks for the detective work.  I've added the change to CVS.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] vpopmail >= 5.4.8 solaris install problem

2004-12-09 Thread Tom Collins
On Dec 8, 2004, at 9:56 PM, Jeremy Kister wrote:
I have identified an installation problem in the latest releases of 
vpopmail
on Solaris 2.7
Excellent.
I'll make sure your patch makes it into the next release.  I'll also 
include a note in the Makefile about Solaris not accepting multiple 
files to install.  I'll also check the qmailadmin Makefile to ensure 
that we aren't doing the same thing there.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] vpopmail >= 5.4.8 solaris install problem

2004-12-08 Thread Jeremy Kister
I have identified an installation problem in the latest releases of vpopmail
on Solaris 2.7

the install program used by the Makefile does not support installing
multiple files in one run, and it does not error when told to install
multiple files -- it simply installs the first in the list, and exits.

this yields 'make install' not copying config.h, vauth.h, nor vlimits.h to
~vpopmail/include/

needless to say, this makes things _very_ confusing, when vuserinfo works,
but when programs like qmailadmin dont work (because they are using include
files from an older vpopmail series that were not overwritten)


the following patch fixes the problem (use patch -d vpopmail-5.4.8 <
vpopmail-5.4.8-kisterfix):

--- Makefile.am.orig 2004-12-09 00:29:58.222616000 -0500
+++ Makefile.am   2004-12-09 00:31:00.863282000 -0500
@@ -151,9 +151,9 @@
   $(INSTALL) -o root -m 0444 \
 config.h $(DESTDIR)@vpopmaildir@/include/vpopmail_config.h

-  $(INSTALL) -o root -m 0444 \
-vpopmail.h config.h vauth.h vlimits.h \
-$(DESTDIR)@vpopmaildir@/include/
+  for include in vpopmail.h config.h vauth.h vlimits.h ; do \
+ $(INSTALL) -o root -m 0444 $$include $(DESTDIR)@vpopmaildir@/include/
; \
+  done

   $(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/man_html
   $(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/doc_html
--- Makefile.in.orig 2004-12-09 00:30:02.552653000 -0500
+++ Makefile.in   2004-12-09 00:30:30.282952000 -0500
@@ -829,9 +829,9 @@
   $(INSTALL) -o root -m 0444 \
 config.h $(DESTDIR)@vpopmaildir@/include/vpopmail_config.h

-  $(INSTALL) -o root -m 0444 \
-vpopmail.h config.h vauth.h vlimits.h \
-$(DESTDIR)@vpopmaildir@/include/
+  for include in vpopmail.h config.h vauth.h vlimits.h ; do \
+ $(INSTALL) -o root -m 0444 $$include $(DESTDIR)@vpopmaildir@/include/
; \
+  done

   $(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/man_html
   $(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/doc_html


--

Jeremy Kister
http://jeremy.kister.net/