This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Courier-IMAP on cygwin


Kees Vonk wrote:
I am currently trying to install courier imap on cygwin. I have seen
several people on the list saying they have managed it, but I don't seem
to be able to get it working. In fact I don't even get courier-authlib
(0.55) to configure without errors.

When I start configure without the --without-authldap option I get the
following error:

checking for netinet/in.h... yes
checking whether -lresolve is needed for res_query... configure: error:
Cannot find function res_query


However when I inlcude the --without-authldap option the first bit of configure seems to work, but them when it gets to libltdl it suddenly fails with:

configure: error: invalid package name: authldap

Can anyone tell me how to get around this? I can compile it on my linux box without a problem.

Thank you very much,

Kees Vonk

Try the attached patch, I used exim as mta and MySQL backend, it is for courier-0.47 which was the latest release in January. Is 0.55 a devel release?

I called configure with these options and useful settings for prefix,
sysconfdir, localstatedir, srcdir:
  configure \
  --srcdir="${srcdir}" --prefix="${prefix}" \
  --exec-prefix='${prefix}' --sysconfdir="${sysconfdir}" \
  --libdir='${prefix}/lib' --includedir='${prefix}/include' \
  --mandir='${prefix}/share/man' --infodir='${prefix}/share/info' \
  --libexecdir='${prefix}/sbin' --localstatedir="${localstatedir}" \
  --datadir='${prefix}/share' --with-db=gdbm --enable-unicode \
  --enable-utf7-folder-encoding --disable-root-check \
  --enable-workarounds-for-imap-client-bugs \
  --with-trashquota --without-authpgsql --without-authldap \
  --without-authplain --with-authmysql --with-waitfunc=wait \
  --with-mailuser=mail --with-mailgroup=services \
  --with-mysql-libs=/usr/lib/mysql \
  --with-mysql-includes=/usr/include/mysql )

Gerrit
--
=^..^=

Action Soccer: http://www.action-soccer.de/?lv=de&id=505
(german online game)
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/authlib/Makefile.am courier-0.47/authlib/Makefile.am
--- courier-0.47-orig/authlib/Makefile.am	2004-06-12 04:56:52.000000000 +0200
+++ courier-0.47/authlib/Makefile.am	2004-12-20 00:39:53.315235200 +0100
@@ -336,25 +336,25 @@ libauth1.dep: $(authpamlibsdep) $(authpw
 authpam_SOURCES=mod.h modauthpam.c
 authpam_DEPENDENCIES=libauthmod.a libauth.a
 authpam_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a -lpam @SHADOWLIBS@ @AUTHPAMCRYPT@ @LIBDL@
-authpam.libsdep: authpam
+authpam.libsdep: authpam$(EXEEXT)
 	echo ../numlib/libnumlib.a -lpam @SHADOWLIBS@ @AUTHPAMCRYPT@ @LIBDL@ >authpam.libsdep
 
 authpwd_SOURCES=mod.h modauthpwd.c
 authpwd_DEPENDENCIES=libauthmod.a libauth.a @MD5LIB@ @SHA1LIB@
 authpwd_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS)
-authpwd.libsdep: authpwd
+authpwd.libsdep: authpwd$(EXEEXT)
 	echo ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authpwd.libsdep
 
 authshadow_SOURCES=mod.h modauthshadow.c
 authshadow_DEPENDENCIES=libauthmod.a libauth.a @MD5LIB@ @SHA1LIB@
 authshadow_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ @SHADOWLIBS@ $(CRYPTLIBS)
-authshadow.libsdep: authshadow
+authshadow.libsdep: authshadow$(EXEEXT)
 	echo ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ @SHADOWLIBS@ $(CRYPTLIBS) >authshadow.libsdep
 
 authuserdb_SOURCES=mod.h modauthuserdb.c
 authuserdb_DEPENDENCIES=libauthmod.a libauth.a ../userdb/libuserdb.a
 authuserdb_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a ../userdb/libuserdb.a @dblibrary@ @HMACLIB@ @LIBGDBM@ @LIBDB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS)
-authuserdb.libsdep: authuserdb
+authuserdb.libsdep: authuserdb$(EXEEXT)
 	echo ../numlib/libnumlib.a ../userdb/libuserdb.a @dblibrary@ @HMACLIB@ @LIBGDBM@ @LIBDB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authuserdb.libsdep
 
 authpgsql_SOURCES=mod.h modauthpgsql.c
@@ -362,7 +362,7 @@ authpgsql_DEPENDENCIES=libauthmod.a liba
 authpgsql_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ @SHA1LIB@ \
 	$(CRYPTLIBS) @PGSQL_LIBS@ @LIBM@ @NETLIBS@
 
-authpgsql.libsdep: authpgsql
+authpgsql.libsdep: authpgsql$(EXEEXT)
 	echo ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) @PGSQL_LIBS@ @LIBM@ @NETLIBS@ > authpgsql.libsdep
 
 authmysql_SOURCES=mod.h modauthmysql.c
@@ -370,13 +370,13 @@ authmysql_DEPENDENCIES=libauthmod.a liba
 authmysql_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ @SHA1LIB@ \
 	$(CRYPTLIBS) @MYSQL_LIBS@ @LIBM@ @NETLIBS@
 
-authmysql.libsdep: authmysql
+authmysql.libsdep: authmysql$(EXEEXT)
 	echo ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) @MYSQL_LIBS@ @LIBM@ @NETLIBS@ > authmysql.libsdep
 
 authvchkpw_SOURCES=mod.h modauthvchkpw.c
 authvchkpw_DEPENDENCIES=libauthmod.a libauth.a @MD5LIB@ @SHA1LIB@
 authvchkpw_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ @VPOPMAILLIBS@ @LIBM@ $(CRYPTLIBS)
-authvchkpw.libsdep: authvchkpw
+authvchkpw.libsdep: authvchkpw$(EXEEXT)
 	echo ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ @LIBM@ -L@vpopmail_home@/lib @VPOPMAILLIBS@ $(CRYPTLIBS) >authvchkpw.libsdep
 
 authcram_SOURCES=mod.h modauthcram.c
@@ -385,7 +385,7 @@ authcram_DEPENDENCIES=libauthmod.a libau
 authcram_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a \
 	@HMACLIB@ ../userdb/libuserdb.a \
 	@dblibrary@ @MD5LIB@ @SHA1LIB@ @LIBGDBM@ @LIBDB@
-authcram.libsdep: authcram
+authcram.libsdep: authcram$(EXEEXT)
 	echo @HMACLIB@ ../userdb/libuserdb.a @dblibrary@ @MD5LIB@ \
 	../numlib/libnumlib.a @SHA1LIB@ @LIBGDBM@ @LIBDB@ >authcram.libsdep
 
@@ -393,20 +393,20 @@ authldap_SOURCES=mod.h modauthldap.c
 authldap_DEPENDENCIES=libauthmod.a libauth.a @MD5LIB@ @SHA1LIB@
 authldap_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ \
 	@LDAPLIBS@ $(CRYPTLIBS) @NETLIBS@
-authldap.libsdep: authldap
+authldap.libsdep: authldap$(EXEEXT)
 	echo ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ @LDAPLIBS@ $(CRYPTLIBS) @NETLIBS@\
 		>authldap.libsdep
 
 authcustom_SOURCES=mod.h modauthcustom.c
 authcustom_DEPENDENCIES=libauthmod.a libauth.a
 authcustom_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS)
-authcustom.libsdep: authcustom
+authcustom.libsdep: authcustom$(EXEEXT)
 	echo ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authcustom.libsdep
 
 authdaemon_SOURCES=mod.h modauthdaemon.c
 authdaemon_DEPENDENCIES=libauthmod.a libauth.a ../numlib/libnumlib.a ../soxwrap/libsoxwrap.a ../soxwrap/soxlibs.dep
 authdaemon_LDADD=libauthmod.a libauth.a ../numlib/libnumlib.a ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` @NETLIBS@
-authdaemon.libsdep: authdaemon
+authdaemon.libsdep: authdaemon$(EXEEXT)
 	echo ../numlib/libnumlib.a ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` @NETLIBS@ >authdaemon.libsdep
 
 authdaemon_passwd_SOURCES=authdaemonpwd.c
@@ -521,7 +521,6 @@ install-data-local: install-authldaprc i
 		for f in $(man_LINKS) "" ; do \
 			test "$$f" = "" && continue ; \
 			rm -f $$f; $(LN_S) authlib.7 $$f ; \
-			test -w /etc && chown bin $$f && chgrp bin $$f ; \
 			done ; exit 0
 
 uninstall-local: uninstall-authldaprc uninstall-authdaemonrc uninstall-authmysqlrc uninstall-authpgsqlrc
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/authlib/Makefile.in courier-0.47/authlib/Makefile.in
--- courier-0.47-orig/authlib/Makefile.in	2004-08-07 18:18:29.000000000 +0200
+++ courier-0.47/authlib/Makefile.in	2004-12-20 00:40:08.547137600 +0100
@@ -1027,7 +1027,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/success.Po@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@	@echo Compiling $< ; if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@	@echo Compiling $< ; @echo Compiling $< ; @echo Compiling $< ; echo Compiling $< ; if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@@ -1035,7 +1035,7 @@ distclean-compile:
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
-@am__fastdepCC_TRUE@	@echo Compiling $< ; if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCC_TRUE@	@echo Compiling $< ; @echo Compiling $< ; @echo Compiling $< ; echo Compiling $< ; if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@@ -1426,31 +1426,31 @@ libauth1.dep: $(authpamlibsdep) $(authpw
 		$(authldaplibsdep) $(authmysqllibsdep) $(authpgsqllibsdep) $(authdaemonlibsdep) \
 		$(authcustomlibsdep) \
 		/dev/null | @SHELL@ $(srcdir)/libauth.sh @SHELL@ $(srcdir) >libauth1.dep
-authpam.libsdep: authpam
+authpam.libsdep: authpam$(EXEEXT)
 	echo ../numlib/libnumlib.a -lpam @SHADOWLIBS@ @AUTHPAMCRYPT@ @LIBDL@ >authpam.libsdep
-authpwd.libsdep: authpwd
+authpwd.libsdep: authpwd$(EXEEXT)
 	echo ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authpwd.libsdep
-authshadow.libsdep: authshadow
+authshadow.libsdep: authshadow$(EXEEXT)
 	echo ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ @SHADOWLIBS@ $(CRYPTLIBS) >authshadow.libsdep
-authuserdb.libsdep: authuserdb
+authuserdb.libsdep: authuserdb$(EXEEXT)
 	echo ../numlib/libnumlib.a ../userdb/libuserdb.a @dblibrary@ @HMACLIB@ @LIBGDBM@ @LIBDB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authuserdb.libsdep
 
-authpgsql.libsdep: authpgsql
+authpgsql.libsdep: authpgsql$(EXEEXT)
 	echo ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) @PGSQL_LIBS@ @LIBM@ @NETLIBS@ > authpgsql.libsdep
 
-authmysql.libsdep: authmysql
+authmysql.libsdep: authmysql$(EXEEXT)
 	echo ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) @MYSQL_LIBS@ @LIBM@ @NETLIBS@ > authmysql.libsdep
 authvchkpw.libsdep: authvchkpw
 	echo ../numlib/libnumlib.a @MD5LIB@ @SHA1LIB@ @LIBM@ -L@vpopmail_home@/lib @VPOPMAILLIBS@ $(CRYPTLIBS) >authvchkpw.libsdep
-authcram.libsdep: authcram
+authcram.libsdep: authcram$(EXEEXT)
 	echo @HMACLIB@ ../userdb/libuserdb.a @dblibrary@ @MD5LIB@ \
 	../numlib/libnumlib.a @SHA1LIB@ @LIBGDBM@ @LIBDB@ >authcram.libsdep
-authldap.libsdep: authldap
+authldap.libsdep: authldap$(EXEEXT)
 	echo ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ @LDAPLIBS@ $(CRYPTLIBS) @NETLIBS@\
 		>authldap.libsdep
-authcustom.libsdep: authcustom
+authcustom.libsdep: authcustom$(EXEEXT)
 	echo ../numlib/libnumlib.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authcustom.libsdep
-authdaemon.libsdep: authdaemon
+authdaemon.libsdep: authdaemon$(EXEEXT)
 	echo ../numlib/libnumlib.a ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` @NETLIBS@ >authdaemon.libsdep
 
 make-authdaemond: $(AUTHDAEMOND_DEP_COMMON) libauth.dep libauth1.dep
@@ -1497,7 +1497,6 @@ install-data-local: install-authldaprc i
 		for f in $(man_LINKS) "" ; do \
 			test "$$f" = "" && continue ; \
 			rm -f $$f; $(LN_S) authlib.7 $$f ; \
-			test -w /etc && chown bin $$f && chgrp bin $$f ; \
 			done ; exit 0
 
 uninstall-local: uninstall-authldaprc uninstall-authdaemonrc uninstall-authmysqlrc uninstall-authpgsqlrc
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/authlib/configure courier-0.47/authlib/configure
--- courier-0.47-orig/authlib/configure	2004-08-07 18:18:28.000000000 +0200
+++ courier-0.47/authlib/configure	2004-12-11 18:17:48.654403200 +0100
@@ -7719,7 +7719,7 @@ fi
 echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
 echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6
 if test $ac_cv_func_mysql_real_connect = yes; then
-  AUTHMYSQL="authmysql"
+  AUTHMYSQL="authmysql${EXEEXT}"
 				HAVE_AUTHMYSQL=1
 else
   { { echo "$as_me:$LINENO: error: --with-authmysql specified but no mysqlclient.so" >&5
@@ -8863,7 +8863,7 @@ if test $doauthdaemon = 1
 then
 	if test "$changepass" = 1
 	then
-		PWPROGS="$PWPROGS authdaemon.passwd"
+		PWPROGS="$PWPROGS authdaemon.passwd\$(EXEEXT)"
 	fi
 
 	AUTHDAEMONMODULELIST="$AUTHMODULES_PROGS"
@@ -8875,7 +8875,7 @@ then
 
 	LIBAUTH="$LIBAUTH libauth-authdaemon.a"
 	echo authdaemonrc.dist >>authconfiglist
-	authdaemondprog="authdaemontest authmksock"
+	authdaemondprog="authdaemontest\$(EXEEXT) authmksock\$(EXEEXT)"
 
 authdaemond_build() {
 filename="$1"
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/authlib/configure.in courier-0.47/authlib/configure.in
--- courier-0.47-orig/authlib/configure.in	2004-08-07 18:18:10.000000000 +0200
+++ courier-0.47/authlib/configure.in	2004-12-11 18:16:52.774051200 +0100
@@ -754,7 +754,7 @@ else
 		HAVE_AUTHMYSQL=1,
 		[
 			AC_CHECK_FUNC(mysql_real_connect,
-				AUTHMYSQL="authmysql"
+				AUTHMYSQL="authmysql${EXEEXT}"
 				HAVE_AUTHMYSQL=1,
 
 					AC_MSG_ERROR([--with-authmysql specified but no mysqlclient.so])
@@ -938,7 +938,7 @@ if test $doauthdaemon = 1
 then
 	if test "$changepass" = 1
 	then
-		PWPROGS="$PWPROGS authdaemon.passwd"
+		PWPROGS="$PWPROGS authdaemon.passwd\$(EXEEXT)"
 	fi
 
 	AUTHDAEMONMODULELIST="$AUTHMODULES_PROGS"
@@ -950,7 +950,7 @@ then
 
 	LIBAUTH="$LIBAUTH libauth-authdaemon.a"
 	echo authdaemonrc.dist >>authconfiglist
-	authdaemondprog="authdaemontest authmksock"
+	authdaemondprog="authdaemontest\$(EXEEXT) authmksock\$(EXEEXT)"
 
 authdaemond_build() {
 filename="$1"
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/automake.fix courier-0.47/automake.fix
--- courier-0.47-orig/automake.fix	2003-11-15 22:04:45.000000000 +0100
+++ courier-0.47/automake.fix	2004-12-11 18:14:30.990176000 +0100
@@ -5,8 +5,8 @@
 
 set -x
 "$@"
-sed 's/if $(COMPILE)/@echo Compiling $< ; if $(COMPILE)/
-s/if $(CXXCOMPILE)/@echo Compiling $< ; if $(CXXCOMPILE)/' <${srcdir}/Makefile.in >${srcdir}/Makefile.in.fixed
+sed 's/if $(COMPILE)/echo Compiling $< ; if $(COMPILE)/
+s/if $(CXXCOMPILE)/echo Compiling $< ; if $(CXXCOMPILE)/' <${srcdir}/Makefile.in >${srcdir}/Makefile.in.fixed
 cmp -s ${srcdir}/Makefile.in.fixed ${srcdir}/Makefile.in ||
 	mv ${srcdir}/Makefile.in.fixed ${srcdir}/Makefile.in
 rm -f ${srcdir}/Makefile.in.fixed
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/courier/Makefile.am courier-0.47/courier/Makefile.am
--- courier-0.47-orig/courier/Makefile.am	2004-07-11 23:19:02.000000000 +0200
+++ courier-0.47/courier/Makefile.am	2004-12-20 00:30:53.969694400 +0100
@@ -31,7 +31,7 @@ BUILT_SOURCES=prefix.h exec_prefix.h sys
 RFCERRTXTIN=rfcerrheader.txt
 RFCERRTXTNOIN=rfcerr2045.txt rfcerr2046.txt rfcerr2047.txt
 
-extrapkglib=makedatprog courierpop3login pcpd
+extrapkglib=makedatprog$(EXEEXT) courierpop3login$(EXEEXT) pcpd$(EXEEXT)
 pkglibexecdir=$(libexecdir)/courier
 pkglibexec_PROGRAMS=aliasexp aliascombine aliascreate \
 		sqwebmaild submit @EXTRAPKGLIB@
@@ -48,8 +48,10 @@ webmailimagedir=$(datadir)/sqwebmail/ima
 
 EXTRA_PROGRAMS=courierldapaliasd
 
-extrabin=maildrop lockmail reformail reformime mailbot mimegpg \
-	imapd makemime deliverquota maildirmake maildiracl maildirkw
+extrabin=maildrop$(EXEEXT) lockmail$(EXEEXT) reformail$(EXEEXT) \
+	reformime$(EXEEXT) mailbot$(EXEEXT) mimegpg$(EXEEXT) \
+	imapd$(EXEEXT) makemime$(EXEEXT) deliverquota$(EXEEXT)\
+	maildirmake$(EXEEXT) maildiracl$(EXEEXT) maildirkw$(EXEEXT)
 
 bin_PROGRAMS=cancelmsg mailq sendmail \
 	testmxlookup dotforward \
@@ -89,7 +91,7 @@ mlmdata_DATA=adminrequest.tmpl confsubj.
 	unsub.tmpl unsub2.tmpl unsub3.tmpl warn1headers.tmpl warn1text.tmpl \
 	warn1text2.tmpl warn2msg.tmpl
 
-extracmdlib=courierpop3d imaplogin
+extracmdlib=courierpop3d$(EXEEXT) imaplogin$(EXEEXT)
 cmdlibdir=@libexecdir@/courier
 cmdlib_PROGRAMS=submitmkdir courierd @EXTRACMDLIB@
 
@@ -500,7 +502,7 @@ maildrop$(EXEEXT): ../maildrop/maildrop$
 	cp -f ../maildrop/maildrop$(EXEEXT) .
 
 lockmail$(EXEEXT): ../liblock/lockmail$(EXEEXT)
-	cp -f ../liblock/lockmail .
+	cp -f ../liblock/lockmail$(EXEEXT) .
 
 reformail$(EXEEXT): ../maildrop/reformail$(EXEEXT)
 	cp -f ../maildrop/reformail$(EXEEXT) .
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/courier/Makefile.in courier-0.47/courier/Makefile.in
--- courier-0.47-orig/courier/Makefile.in	2004-08-26 04:17:06.000000000 +0200
+++ courier-0.47/courier/Makefile.in	2004-12-20 00:31:02.301675200 +0100
@@ -420,7 +420,7 @@ DISTCLEANFILES = cflags cxxflags uidgid 
 BUILT_SOURCES = prefix.h exec_prefix.h sysconfdir.h localstatedir.h libexecdir.h bindir.h sbindir.h datadir.h filtersocketdir.h uidgid.h configargs.h
 RFCERRTXTIN = rfcerrheader.txt
 RFCERRTXTNOIN = rfcerr2045.txt rfcerr2046.txt rfcerr2047.txt
-extrapkglib = makedatprog courierpop3login pcpd
+extrapkglib=makedatprog$(EXEEXT) courierpop3login$(EXEEXT) pcpd$(EXEEXT)
 pkglibexecdir = $(libexecdir)/courier
 webmaildir = $(libexecdir)/courier/webmail
 webmail_SOURCES = 
@@ -428,8 +428,10 @@ sqwebmaild_SOURCES = 
 
 # Don't forget to change perms.sh.in, if webmailimagedir moves.
 webmailimagedir = $(datadir)/sqwebmail/images
-extrabin = maildrop lockmail reformail reformime mailbot mimegpg \
-	imapd makemime deliverquota maildirmake maildiracl maildirkw
+extrabin=maildrop$(EXEEXT) lockmail$(EXEEXT) reformail$(EXEEXT) \
+	reformime$(EXEEXT) mailbot$(EXEEXT) mimegpg$(EXEEXT) \
+	imapd$(EXEEXT) makemime$(EXEEXT) deliverquota$(EXEEXT)\
+	maildirmake$(EXEEXT) maildiracl$(EXEEXT) maildirkw$(EXEEXT)
 
 extrasbin = couriertcpd$(EXEEXT) courierlogger$(EXEEXT) userdbpw$(EXEEXT) \
 	authenumerate$(EXEEXT)
@@ -459,7 +461,7 @@ mlmdata_DATA = adminrequest.tmpl confsub
 	unsub.tmpl unsub2.tmpl unsub3.tmpl warn1headers.tmpl warn1text.tmpl \
 	warn1text2.tmpl warn2msg.tmpl
 
-extracmdlib = courierpop3d imaplogin
+extracmdlib = courierpop3d$(EXEEXT) imaplogin$(EXEEXT)
 cmdlibdir = @libexecdir@/courier
 modulelibdir = @libexecdir@/courier/modules
 modulelib_DATA = modules.ctl
@@ -1721,7 +1723,7 @@ maildrop$(EXEEXT): ../maildrop/maildrop$
 	cp -f ../maildrop/maildrop$(EXEEXT) .
 
 lockmail$(EXEEXT): ../liblock/lockmail$(EXEEXT)
-	cp -f ../liblock/lockmail .
+	cp -f ../liblock/lockmail$(EXEEXT) .
 
 reformail$(EXEEXT): ../maildrop/reformail$(EXEEXT)
 	cp -f ../maildrop/reformail$(EXEEXT) .
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/courier/doc/Makefile.am courier-0.47/courier/doc/Makefile.am
--- courier-0.47-orig/courier/doc/Makefile.am	2004-09-19 00:47:41.000000000 +0200
+++ courier-0.47/courier/doc/Makefile.am	2004-12-20 00:53:10.571633600 +0100
@@ -577,13 +577,7 @@ do-man-install:
 	for f in $(man5) ; do test -f $(DESTDIR)$(man5dir)/$$f && chmod 644 $(DESTDIR)$(man5dir)/$$f ; done ; exit 0
 	for f in $(man7) ; do test -f $(DESTDIR)$(man7dir)/$$f && chmod 644 $(DESTDIR)$(man7dir)/$$f ; done ; exit 0
 	for f in $(man8) ; do test -f $(DESTDIR)$(man8dir)/$$f && chmod 644 $(DESTDIR)$(man8dir)/$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(mandir) $(man1dir) $(man5dir) $(man7dir) $(man8dir) ; do test -d $(DESTDIR)$$f && chown bin $(DESTDIR)$$f && chgrp bin $(DESTDIR)$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(man1) ; do test -f $(DESTDIR)$(man1dir)/$$f && chown bin $(DESTDIR)$(man1dir)/$$f && chgrp bin $(DESTDIR)$(man1dir)/$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(man5) ; do test -f $(DESTDIR)$(man5dir)/$$f && chown bin $(DESTDIR)$(man5dir)/$$f && chgrp bin $(DESTDIR)$(man5dir)/$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(man7) ; do test -f $(DESTDIR)$(man7dir)/$$f && chown bin $(DESTDIR)$(man7dir)/$$f && chgrp bin $(DESTDIR)$(man7dir)/$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(man8) ; do test -f $(DESTDIR)$(man8dir)/$$f && chown bin $(DESTDIR)$(man8dir)/$$f && chgrp bin $(DESTDIR)$(man8dir)/$$f ; done ; exit 0
 	for f in $(htmldoc_DATA) ; do chmod 444 $(DESTDIR)$(htmldocdir)/$$f ; done
-	test -w /etc || exit 0; for f in $(htmldoc_DATA) ; do chown bin $(DESTDIR)$(htmldocdir)/$$f ; chgrp bin $(DESTDIR)$(htmldocdir)/$$f ; done
 
 status.html: config.status
 
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/courier/doc/Makefile.in courier-0.47/courier/doc/Makefile.in
--- courier-0.47-orig/courier/doc/Makefile.in	2004-09-19 00:47:47.000000000 +0200
+++ courier-0.47/courier/doc/Makefile.in	2004-12-20 00:53:29.318590400 +0100
@@ -1174,13 +1174,7 @@ do-man-install:
 	for f in $(man5) ; do test -f $(DESTDIR)$(man5dir)/$$f && chmod 644 $(DESTDIR)$(man5dir)/$$f ; done ; exit 0
 	for f in $(man7) ; do test -f $(DESTDIR)$(man7dir)/$$f && chmod 644 $(DESTDIR)$(man7dir)/$$f ; done ; exit 0
 	for f in $(man8) ; do test -f $(DESTDIR)$(man8dir)/$$f && chmod 644 $(DESTDIR)$(man8dir)/$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(mandir) $(man1dir) $(man5dir) $(man7dir) $(man8dir) ; do test -d $(DESTDIR)$$f && chown bin $(DESTDIR)$$f && chgrp bin $(DESTDIR)$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(man1) ; do test -f $(DESTDIR)$(man1dir)/$$f && chown bin $(DESTDIR)$(man1dir)/$$f && chgrp bin $(DESTDIR)$(man1dir)/$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(man5) ; do test -f $(DESTDIR)$(man5dir)/$$f && chown bin $(DESTDIR)$(man5dir)/$$f && chgrp bin $(DESTDIR)$(man5dir)/$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(man7) ; do test -f $(DESTDIR)$(man7dir)/$$f && chown bin $(DESTDIR)$(man7dir)/$$f && chgrp bin $(DESTDIR)$(man7dir)/$$f ; done ; exit 0
-	test -w /etc || exit 0 ; for f in $(man8) ; do test -f $(DESTDIR)$(man8dir)/$$f && chown bin $(DESTDIR)$(man8dir)/$$f && chgrp bin $(DESTDIR)$(man8dir)/$$f ; done ; exit 0
 	for f in $(htmldoc_DATA) ; do chmod 444 $(DESTDIR)$(htmldocdir)/$$f ; done
-	test -w /etc || exit 0; for f in $(htmldoc_DATA) ; do chown bin $(DESTDIR)$(htmldocdir)/$$f ; chgrp bin $(DESTDIR)$(htmldocdir)/$$f ; done
 
 status.html: config.status
 
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/courier/filters/Makefile.am courier-0.47/courier/filters/Makefile.am
--- courier-0.47-orig/courier/filters/Makefile.am	2004-07-13 01:20:01.000000000 +0200
+++ courier-0.47/courier/filters/Makefile.am	2004-12-20 00:46:29.164438400 +0100
@@ -76,7 +76,6 @@ install-data-hook:
 	cd $(DESTDIR)$(man8dir) || exit 0; \
 		rm -f filterctl.8; $(LN_S) courierfilter.8 filterctl.8
 	for f in $(htmldoc_DATA); do chmod 444 $(DESTDIR)$(htmldocdir)/$$f ; done
-	test -w /etc || exit 0; for f in $(htmldoc_DATA); do chown bin $(DESTDIR)$(htmldocdir)/$$f ; chgrp bin $(DESTDIR)$(htmldocdir)/$$f ; done
 	chmod 755 $(DESTDIR)$(filterbindir)/dupfilter
 	test -w /etc || exit 0; chown @mailuser@ $(DESTDIR)$(filterbindir)/dupfilter; chgrp @mailgroup@ $(DESTDIR)$(filterbindir)/dupfilter
 
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/courier/filters/Makefile.in courier-0.47/courier/filters/Makefile.in
--- courier-0.47-orig/courier/filters/Makefile.in	2004-07-13 01:20:06.000000000 +0200
+++ courier-0.47/courier/filters/Makefile.in	2004-12-20 00:46:39.299011200 +0100
@@ -859,7 +859,6 @@ install-data-hook:
 	cd $(DESTDIR)$(man8dir) || exit 0; \
 		rm -f filterctl.8; $(LN_S) courierfilter.8 filterctl.8
 	for f in $(htmldoc_DATA); do chmod 444 $(DESTDIR)$(htmldocdir)/$$f ; done
-	test -w /etc || exit 0; for f in $(htmldoc_DATA); do chown bin $(DESTDIR)$(htmldocdir)/$$f ; chgrp bin $(DESTDIR)$(htmldocdir)/$$f ; done
 	chmod 755 $(DESTDIR)$(filterbindir)/dupfilter
 	test -w /etc || exit 0; chown @mailuser@ $(DESTDIR)$(filterbindir)/dupfilter; chgrp @mailgroup@ $(DESTDIR)$(filterbindir)/dupfilter
 
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/courier/filters/perlfilter/Makefile.am courier-0.47/courier/filters/perlfilter/Makefile.am
--- courier-0.47-orig/courier/filters/perlfilter/Makefile.am	2004-06-12 04:56:52.000000000 +0200
+++ courier-0.47/courier/filters/perlfilter/Makefile.am	2004-12-19 23:49:29.877745600 +0100
@@ -12,7 +12,7 @@ BUILT_SOURCES=filtersocketdir.h wrapperp
 CLEANFILES=$(BUILT_SOURCES)
 
 filterbindir=$(libexecdir)/filters
-filterbin_PROGRAMS=@perlfilter_prog@
+filterbin_PROGRAMS=@perlfilter_prog@$(EXEEXT)
 
 scriptdir=$(datadir)
 script_SCRIPTS=perlfilter-wrapper.pl perlfilter-example.pl
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/courier/filters/perlfilter/Makefile.in courier-0.47/courier/filters/perlfilter/Makefile.in
--- courier-0.47-orig/courier/filters/perlfilter/Makefile.in	2004-06-12 04:59:39.000000000 +0200
+++ courier-0.47/courier/filters/perlfilter/Makefile.in	2004-12-19 23:49:31.149574400 +0100
@@ -43,7 +43,7 @@ NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
 EXTRA_PROGRAMS = perlfilter$(EXEEXT)
-filterbin_PROGRAMS = @perlfilter_prog@
+filterbin_PROGRAMS = @perlfilter_prog@$(EXEEXT)
 subdir = .
 DIST_COMMON = $(am__configure_deps) $(srcdir)/../../../depcomp \
 	$(srcdir)/../../../install-sh $(srcdir)/../../../missing \
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/makedat/Makefile.am courier-0.47/makedat/Makefile.am
--- courier-0.47-orig/makedat/Makefile.am	2004-09-12 03:15:32.000000000 +0200
+++ courier-0.47/makedat/Makefile.am	2004-12-19 23:33:48.894678400 +0100
@@ -5,7 +5,7 @@
 
 AUTOMAKE = srcdir=${srcdir} @SHELL@ ${srcdir}/../automake.fix @AUTOMAKE@
 
-noinst_PROGRAMS=@makedatprog_target@
+noinst_PROGRAMS=@makedatprog_target@$(EXEEXT)
 
 EXTRA_PROGRAMS=makedatprog
 
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/makedat/Makefile.in courier-0.47/makedat/Makefile.in
--- courier-0.47-orig/makedat/Makefile.in	2004-09-12 03:16:00.000000000 +0200
+++ courier-0.47/makedat/Makefile.in	2004-12-19 23:34:01.823268800 +0100
@@ -41,7 +41,7 @@ POST_INSTALL = :
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
-noinst_PROGRAMS = @makedatprog_target@
+noinst_PROGRAMS = @makedatprog_target@$(EXEEXT)
 EXTRA_PROGRAMS = makedatprog$(EXEEXT)
 subdir = .
 DIST_COMMON = $(am__configure_deps) $(srcdir)/../depcomp \
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/pcp/Makefile.am courier-0.47/pcp/Makefile.am
--- courier-0.47-orig/pcp/Makefile.am	2004-06-28 01:06:45.000000000 +0200
+++ courier-0.47/pcp/Makefile.am	2004-12-20 00:42:12.104804800 +0100
@@ -61,7 +61,6 @@ install-exec-local:
 	chmod 755 $(DESTDIR)$(calendardir)/public
 	chmod 750 $(DESTDIR)$(calendardir)/private
 	chmod 700 $(DESTDIR)$(localpcpdcachedir)
-	-chown @localcacheowner@ $(DESTDIR)$(localpcpdcachedir)
 	-chgrp -R @mailgroup@ $(DESTDIR)$(calendardir)
 	echo "localcacheowner=@localcacheowner@" >uids
 	echo "calendardir=$(calendardir)" >>uids
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/pcp/Makefile.in courier-0.47/pcp/Makefile.in
--- courier-0.47-orig/pcp/Makefile.in	2004-06-28 01:07:12.000000000 +0200
+++ courier-0.47/pcp/Makefile.in	2004-12-20 00:42:29.009112000 +0100
@@ -768,7 +768,6 @@ install-exec-local:
 	chmod 755 $(DESTDIR)$(calendardir)/public
 	chmod 750 $(DESTDIR)$(calendardir)/private
 	chmod 700 $(DESTDIR)$(localpcpdcachedir)
-	-chown @localcacheowner@ $(DESTDIR)$(localpcpdcachedir)
 	-chgrp -R @mailgroup@ $(DESTDIR)$(calendardir)
 	echo "localcacheowner=@localcacheowner@" >uids
 	echo "calendardir=$(calendardir)" >>uids
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/waitlib/Makefile.in courier-0.47/waitlib/Makefile.in
--- courier-0.47-orig/waitlib/Makefile.in	2004-06-12 04:58:24.000000000 +0200
+++ courier-0.47/waitlib/Makefile.in	2004-12-11 18:25:03.730011200 +0100
@@ -251,7 +251,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitlib2.Po@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@	@echo Compiling $< ; if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@	@echo Compiling $< ; echo Compiling $< ; if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@@ -259,7 +259,7 @@ distclean-compile:
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
-@am__fastdepCC_TRUE@	@echo Compiling $< ; if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCC_TRUE@	@echo Compiling $< ; echo Compiling $< ; if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/waitlib/configure courier-0.47/waitlib/configure
--- courier-0.47-orig/waitlib/configure	2004-06-12 04:50:00.000000000 +0200
+++ courier-0.47/waitlib/configure	2004-12-11 18:25:16.798803200 +0100
@@ -852,7 +852,7 @@ Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 --with-waitfunc=wait3     Use the wait3 system call
---with-waitfunc-wait      Use the wait system call
+--with-waitfunc=wait      Use the wait system call
 
 Some influential environment variables:
   CC          C compiler command
@@ -3995,8 +3995,9 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
 #include	<signal.h>
-
+#ifndef __CYGWIN__
 extern int sighold(char *);
+#endif
 
 int
 main ()
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/waitlib/configure.in courier-0.47/waitlib/configure.in
--- courier-0.47-orig/waitlib/configure.in	2002-12-01 02:49:07.000000000 +0100
+++ courier-0.47/waitlib/configure.in	2004-12-06 23:40:56.407129600 +0100
@@ -34,8 +34,9 @@ dnl Linux has sighold, but it's not prot
 
 AC_TRY_COMPILE( [
 #include	<signal.h>
-
+#ifndef __CYGWIN__
 extern int sighold(char *);
+#endif
 ],[
 int i=sighold(0);
 ], ,AC_DEFINE_UNQUOTED(HAVE_SIGHOLD,1,[ Whether sighold() exists ])
@@ -43,7 +44,7 @@ has_sighold=yes
 )
 
 AC_ARG_WITH(waitfunc, [--with-waitfunc=wait3     Use the wait3 system call
---with-waitfunc-wait      Use the wait system call],
+--with-waitfunc=wait      Use the wait system call],
 
 	waitfunc="$withval", waitfunc="")
 
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/webmail/Makefile.am courier-0.47/webmail/Makefile.am
--- courier-0.47-orig/webmail/Makefile.am	2004-06-12 04:56:52.000000000 +0200
+++ courier-0.47/webmail/Makefile.am	2004-12-20 00:56:58.889939200 +0100
@@ -153,7 +153,6 @@ install-perms-cache:
 
 cache-reminder:
 	-$(mkinstalldirs) $(DESTDIR)@cachedir@
-	test -w /etc || exit 0; chown @cacheowner@ $(DESTDIR)@cachedir@
 	@rm -f cron.cmd
 	@echo '#! @SHELL@' >cron.cmd
 	@echo 'su -p -c "$(scriptdir)/cleancache.pl" @cacheowner@' >>cron.cmd
diff -purN -x .build -x .inst -x .sinst courier-0.47-orig/webmail/Makefile.in courier-0.47/webmail/Makefile.in
--- courier-0.47-orig/webmail/Makefile.in	2004-08-01 17:04:47.000000000 +0200
+++ courier-0.47/webmail/Makefile.in	2004-12-20 00:57:10.376456000 +0100
@@ -901,7 +901,6 @@ install-perms-cache:
 
 cache-reminder:
 	-$(mkinstalldirs) $(DESTDIR)@cachedir@
-	test -w /etc || exit 0; chown @cacheowner@ $(DESTDIR)@cachedir@
 	@rm -f cron.cmd
 	@echo '#! @SHELL@' >cron.cmd
 	@echo 'su -p -c "$(scriptdir)/cleancache.pl" @cacheowner@' >>cron.cmd

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]