On Sat, May 08, 2004 at 01:53:36PM -0500, Michael D Schleif wrote:
> You may want to modify this output:
> 
> [EMAIL PROTECTED]:/var/src/sqwebmail-4.0.3.20040502
> # make install-strip
> 
>    . . .
> 
>    /bin/sh ./mkinstalldirs /usr/local/share/sqwebmail
>    cp /dev/null /usr/local/share/sqwebmail/nodsn
>    -----------------------------------------------------------
>    You must now add the following command to your system startup script:
> 
>    /usr/local/share/sqwebmail/libexec/sqwebmail/sqwebmaild start
> 
>    You must now create the following cron job that runs at
>    regular intervals:
> 
>    su -c "/usr/local/share/sqwebmail/cleancache.pl" bin
> 
>    -----------------------------------------------------------
>    (note - your su command may use slightly different arguments)
>    
> 
>    ----------------------------------------------------------------------------
>    You must now set up the following command to run at system boot:
> 
>    /usr/local/share/sqwebmail/libexec/authlib/authdaemond start
>    ----------------------------------------------------------------------------

Thank you. That's exactly what dev snapshots are for :-)

Sam - patch attached. I'm not sure what
   $(libexecdir)/courier/sqwebmaild start
should be replaced with though, so I made a guess at
   $(libexecdir)/courier/sqwebmaild.rc start

Under the standalone sqwebmail package, 'sqwebmaild' and 'sqwebmaild.rc'
currently live in separate directories:
   .../libexec/sqwebmaild.rc
   .../libexec/sqwebmail/sqwebmaild

Regards,

Brian.
--- sqwebmail-4.0.3.20040502.orig/Makefile.am   Sun May  2 14:23:12 2004
+++ sqwebmail-4.0.3.20040502/Makefile.am        Sun May  9 10:12:08 2004
@@ -204,7 +204,6 @@
        $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
        cp /dev/null $(DESTDIR)$(sysconfdir)/nodsn
        @cat sqwebmail/sqwebmail.msg
-       @cat authlib/authdaemon.msg
 
 uninstall-local: uninstall-userdb-local uninstall-userdb-script
        test -w $(DESTDIR)$(cgibindir) || exit 0; \
--- sqwebmail-4.0.3.20040502.orig/authlib/Makefile.am   Sun Apr 18 17:20:24 2004
+++ sqwebmail-4.0.3.20040502/authlib/Makefile.am        Sun May  9 10:13:15 2004
@@ -23,7 +23,7 @@
        rm -f authdaemond.versions.final
 
 DISTCLEANFILES=authconfiglist \
-       authpwdprogs authdaemon.msg authvchkpw.flag
+       authpwdprogs authvchkpw.flag
 
 #
 # AUTHMODULES should be listed in the best authentication order
--- sqwebmail-4.0.3.20040502.orig/sqwebmail/Makefile.am Sun May  2 14:23:12 2004
+++ sqwebmail-4.0.3.20040502/sqwebmail/Makefile.am      Sun May  9 10:07:37 2004
@@ -165,8 +164,8 @@
        @echo '' >>sqwebmail.msg
        @if test -d $(srcdir)/../courier \
                ; then \
-       echo '$(libexecdir)/courier/sqwebmaild start' >>sqwebmail.msg ; else \
-       echo '$(pkglibexecdir)/sqwebmaild start' >>sqwebmail.msg ; fi
+       echo '$(libexecdir)/courier/sqwebmaild.rc start' >>sqwebmail.msg ; else \
+       echo '$(libexecdir)/sqwebmaild.rc start' >>sqwebmail.msg ; fi
        @echo '' >>sqwebmail.msg
        @echo 'You must now create the following cron job that runs at' >>sqwebmail.msg
        @echo 'regular intervals:' >>sqwebmail.msg
--- sqwebmail-4.0.3.20040502.orig/authlib/configure.in  Sun Apr 18 17:20:24 2004
+++ sqwebmail-4.0.3.20040502/authlib/configure.in       Sun May  9 10:12:50 2004
@@ -1027,17 +1027,9 @@
 AC_SUBST(AUTHMODULES)
 AC_SUBST(LIBAUTH)
 
-cp /dev/null authdaemon.msg
 if test $doauthdaemon = 1
 then
        INSTALLAUTHSCRIPTS="$INSTALLAUTHSCRIPTS authdaemond"
-       cat >authdaemon.msg <<EOF
-----------------------------------------------------------------------------
-You must now set up the following command to run at system boot:
-
-$libexecdir/authlib/authdaemond start
-----------------------------------------------------------------------------
-EOF
 fi
 AC_SUBST(INSTALLAUTHMODULES)
 AC_SUBST(INSTALLAUTHSCRIPTS)

Reply via email to