Hi,
I can't seem to compile maildrop 1.3.6, there's a file missing in maildir/:
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -D_GNU_SOURCE -g -O2 -Wall -I./.. -I.. -c
autoresponse.c
autoresponse.c:7: autoresponsequota.h: No such file or directory
I got the tarball from the standard place
(http://ftp1.sourceforge.net/courier/maildrop-1.3.6.tar.gz),
and it simply doesn't contain that file. I verified it from two hosts.
On related note, why are various *.c and *.in files marked executable in the
tarball? They shouldn't be.
One more thing. I noticed maildrop's distclean doesn't clean up too well.
The subdirs command in the configure.in isn't using variables, either.
A small patch that fixes these problems is attached, please apply it.
--
2. That which causes joy or happiness.
--- maildrop-1.3.0.orig/Makefile.am
+++ maildrop-1.3.0/Makefile.am
@@ -157,6 +158,7 @@
rfc822.html rfc2045.html
man_MANS=$(USERDBMAN) $(DELIVERQUOTAMAN) $(MAKEDATMAN) \
$(MAILDROPMAN) $(DEVEL_MAN)
+DISTCLEANFILES=$(html_DATA) $(man_MANS)
librfc822_a_SOURCES=
librfc2045_a_SOURCES=
--- maildrop-1.3.0.orig/configure.in
+++ maildrop-1.3.0/configure.in
@@ -224,6 +224,6 @@
ac_given_INSTALL="$INSTALL"
-AC_CONFIG_SUBDIRS(numlib liblock rfc822 rfc2045 gdbmobj bdbobj $MAKEDAT maildir
userdb maildrop)
+AC_CONFIG_SUBDIRS(numlib liblock rfc822 rfc2045 $DBSUBDIR $MAKEDAT maildir
$USERDBSUBDIR maildrop)
AC_OUTPUT(Makefile dbobj.h dbobj.config maildrop.spec README.html INSTALL.html)
--- maildrop-1.3.0.orig/maildir/Makefile.am
+++ maildrop-1.3.0/maildir/Makefile.am
@@ -44,6 +44,8 @@
noinst_SCRIPTS=deliverquota.8 maildirmake.1 maildirquota.7
+DISTCLEANFILES=$(BUILT_SOURCES) $(noinst_SCRIPTS)
+
.html.7:
@chmod +x html2man.pl
./html2man.pl <$< >$*.7