fed89dfb62
SqWebMail is a web CGI client for sending and receiving E-mail using Maildir mailboxes. It is very lightweight -- it reads mail directly from Maildirs.
89 lines
3 KiB
Text
89 lines
3 KiB
Text
$NetBSD: patch-aa,v 1.1.1.1 2002/01/24 07:23:47 jlam Exp $
|
|
|
|
--- Makefile.in.orig Fri Jan 18 22:54:52 2002
|
|
+++ Makefile.in
|
|
@@ -28,7 +28,7 @@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
-sysconfdir = @sysconfdir@
|
|
+sysconfdir = $(prefix)/share/examples/courier
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
@@ -98,16 +98,16 @@
|
|
@HAS_USERDB_FALSE@userdb_data =
|
|
|
|
scriptbindir = $(sbindir)
|
|
-scriptbin_SCRIPTS = $(userdb_scripts)
|
|
+scriptbin_SCRIPTS =
|
|
|
|
pkglibexecdir = $(libexecdir)/sqwebmail
|
|
-pkglibexec_PROGRAMS = maildirmake reformime makemime mimegpg pcpd
|
|
+pkglibexec_PROGRAMS = mimegpg pcpd
|
|
|
|
pkgman8dir = @mandir@/man8
|
|
-pkgman8_DATA = deliverquota.8 $(userdb_data)
|
|
+pkgman8_DATA =
|
|
|
|
pkgman1dir = @mandir@/man1
|
|
-pkgman1_DATA = maildirmake.1
|
|
+pkgman1_DATA =
|
|
|
|
pcpd_SOURCES =
|
|
|
|
@@ -628,50 +628,24 @@
|
|
# Install SqWebMail setuid to root, if we're running as root
|
|
#
|
|
|
|
-install-exec-local: install-userdb-script
|
|
+install-exec-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(cgibindir)
|
|
test -w $(DESTDIR)$(cgibindir) || exit 0; \
|
|
$(INSTALL_PROGRAM) sqwebmail/sqwebmail \
|
|
$(DESTDIR)$(cgibindir)/sqwebmail ; \
|
|
- test -w /etc || continue ; \
|
|
chown root $(DESTDIR)$(cgibindir)/sqwebmail ; \
|
|
chmod u+s $(DESTDIR)$(cgibindir)/sqwebmail
|
|
- $(mkinstalldirs) $(DESTDIR)$(libexecdir)/authlib
|
|
- for f in `cat authlib/installlist` dummy ; do \
|
|
- test "$$f" = "dummy" && continue ; \
|
|
- $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) authlib/$$f \
|
|
- $(DESTDIR)$(libexecdir)/authlib/$$f ; done
|
|
- for f in `cat authlib/installlist.sh` dummy ; do \
|
|
- test "$$f" = "dummy" && continue ; \
|
|
- $(INSTALL_SCRIPT) authlib/$$f \
|
|
- $(DESTDIR)$(libexecdir)/authlib/$$f ; done
|
|
- . authlib/authpwdprogs ; for f in `echo $$PWPROGS dummy` ; do \
|
|
- test "$$f" = "dummy" && continue ; \
|
|
- $(INSTALL_PROGRAM) authlib/$$f \
|
|
- $(DESTDIR)$(libexecdir)/authlib/$$f \
|
|
- && chmod u+s $(DESTDIR)$(libexecdir)/authlib/$$f; done
|
|
- . authlib/authpwdprogs ; for f in `echo $$PWSCRIPTS dummy` ; do \
|
|
- test "$$f" = "dummy" && continue ; \
|
|
- $(INSTALL_SCRIPT) authlib/$$f \
|
|
- $(DESTDIR)$(libexecdir)/authlib/$$f ; done
|
|
-
|
|
-install-data-local: install-userdb-local
|
|
- . authlib/authdaemonrc ; test "$$authdaemonvar" != "" || exit 0 ; \
|
|
- $(mkinstalldirs) $(DESTDIR)@authdaemonvar@ || exit 1 ; \
|
|
- chmod 700 $(DESTDIR)@authdaemonvar@
|
|
+
|
|
+install-data-local:
|
|
-$(mkinstalldirs) $(DESTDIR)@imagedir@
|
|
-for f in `cat sqwebmail/images/filelist` ; do \
|
|
$(INSTALL_DATA) $(srcdir)/sqwebmail/images/$$f $(DESTDIR)@imagedir@/$$f ;\
|
|
done
|
|
@cat sqwebmail/sqwebmail.msg
|
|
- @cat authlib/authdaemon.msg
|
|
|
|
-uninstall-local: uninstall-userdb-local uninstall-userdb-script
|
|
+uninstall-local:
|
|
test -w $(DESTDIR)$(cgibindir) || exit 0; \
|
|
rm -f $(DESTDIR)$(cgibindir)/sqwebmail
|
|
- . authlib/authpwdprogs ; \
|
|
- for f in `cat authlib/installlist authlib/installlist.sh ; echo $$PWPROGS $$PWSCRIPTS` ; do \
|
|
- rm -f $(DESTDIR)$(libexecdir)/authlib/$$f ; done
|
|
for f in `cat sqwebmail/images/filelist` ; do \
|
|
rm -f $(DESTDIR)@imagedir@/$$f ;\
|
|
done
|