aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-09-23 06:24:44 +0800
committernbm <nbm@FreeBSD.org>2000-09-23 06:24:44 +0800
commit1d517993198eaddc276e95db89f45b31f2e97659 (patch)
tree64be9595317de9d9e282a5c84ba2a19ca0b41a19
parent1ba048ba568d2c4f21725f6e317427c9afd84fc3 (diff)
downloadfreebsd-ports-gnome-1d517993198eaddc276e95db89f45b31f2e97659.tar.gz
freebsd-ports-gnome-1d517993198eaddc276e95db89f45b31f2e97659.tar.zst
freebsd-ports-gnome-1d517993198eaddc276e95db89f45b31f2e97659.zip
Add sqwebmail, a web-based mail reader for use with compatible setups
like courier-imap and vpopmail (and both).
-rw-r--r--mail/Makefile1
-rw-r--r--mail/sqwebmail/Makefile116
-rw-r--r--mail/sqwebmail/distinfo1
-rw-r--r--mail/sqwebmail/pkg-comment1
-rw-r--r--mail/sqwebmail/pkg-descr12
-rw-r--r--mail/sqwebmail/pkg-plist74
6 files changed, 205 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 3a69daf6be16..185b1fc3cc12 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -122,6 +122,7 @@
SUBDIR += solidpop3d
SUBDIR += sonicmail
SUBDIR += spruce
+ SUBDIR += sqwebmail
SUBDIR += sylpheed
SUBDIR += teapop
SUBDIR += tkrat
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
new file mode 100644
index 000000000000..0fe1bdfd370d
--- /dev/null
+++ b/mail/sqwebmail/Makefile
@@ -0,0 +1,116 @@
+# New ports collection makefile for: sqwebmail
+# Date created: 21 Sep 2000
+# Whom: makeport.pl
+#
+# $FreeBSD$
+#
+
+PORTNAME= sqwebmail
+PORTVERSION= 1.0
+CATEGORIES= mail www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= courier
+
+MAINTAINER= nbm@FreeBSD.org
+
+#
+# User-serviceable variables
+#
+# [ There's no need to add trailing ``/''s ]
+#
+# set CGIBINDIR to where you'd like the cgi to be placed
+# set CGIBINSUBDIR to subdirectory of CGIBINDIR, if necessary
+# set WEBDATADIR to where you'd like web pages to be placed
+# set WEBDATASUBDIR to where you'd like web pages to be placed
+# set IMAGEURL to where on the web server URL the images are found
+#
+
+CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+CGIBINSUBDIR?= sqwebmail
+WEBDATADIR?= ${PREFIX}/www/data.default
+WEBDATASUBDIR?= sqwebmail
+IMAGEURL?= ${WEBDATASUBDIR}
+
+#
+# set WITHOUT_CACHEDIR to disable the cache dir (can't set it with WITH_LDAP)
+# set CACHEOWNER to who you'd like to own the cache files
+# set CACHEDIR to where you'd like your cache directory to be
+# set WITH_LDAP for LDAP authentication and addressbook support
+# set WITH_VCHKPW for vpopmail authentication
+# set WITH_ISPELL to provide spell-checking
+# set WITH_FCGI to enable fastcgi support
+# set VCHKPW to the home of the vpopmail user, if necessary
+#
+
+CACHEDIR?= /var/sqwebmail/cache
+CACHEOWNER?= bin
+VCHKPWLOC?= ${LOCALBASE}/vpopmail
+
+# End of user variables
+
+GNU_CONFIGURE= YES
+
+CONFIGURE_ARGS= \
+ --enable-cgibindir=${CGIBINDIR}/${CGIBINSUBDIR} \
+ --enable-imagedir=${WEBDATADIR}/${WEBDATASUBDIR} \
+ --enable-imageurl=/${IMAGEURL}/
+
+.if defined(WITHOUT_CACHEDIR)
+PLIST_SUB+= CACHE="@comment "
+CONFIGURE_ARGS+= --without-cachedir
+.else
+PLIST_SUB+= CACHE=""
+CONFIGURE_ARGS+= --with-cachedir=${CACHEDIR} \
+ --with-cacheowner=${CACHEOWNER}
+.endif
+
+.if defined(WITH_LDAP)
+LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap
+CONFIGURE_ARGS+= --with-authldap
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+.else
+CONFIGURE_ARGS+= --without-authldap
+.endif
+
+.if defined(WITH_VCHKPW)
+BUILD_DEPENDS+= ${VCHKPWLOC}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
+RUN_DEPENDS+= ${VCHKPWLOC}/bin/vchkpw:${PORTSDIR}/mail/vpopmail
+
+CONFIGURE_ARGS+= --with-authvchkpw
+.else
+CONFIGURE_ARGS+= --without-authvchkpw
+.endif
+
+.if defined(WITH_ISPELL)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
+RUN_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
+
+CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell
+.else
+CONFIGURE_ARGS+= --without-ispell
+.endif
+
+MANPREFIX= ${PREFIX}/share/sqwebmail
+MAN1= maildirmake.1
+MAN8= makeuserdb.8 userdb.8 userdbpw.8 authlib.8
+MLINKS= authlib.8 authcram.8 \
+ authlib.8 authdaemon.8 \
+ authlib.8 authdaemond.8 \
+ authlib.8 authldap.8 \
+ authlib.8 authpam.8 \
+ authlib.8 authpwd.8 \
+ authlib.8 authshadow.8 \
+ authlib.8 authuserdb.8 \
+ authlib.8 authvchkpw.8 \
+ makeuserdb.8 pw2userdb.8 \
+ makeuserdb.8 vchkpw2userdb.8
+
+SBINS= makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
+
+post-install:
+.for a in ${SBINS}
+ @${LN} -s ${PREFIX}/share/sqwebmail/sbin/$a ${PREFIX}/sbin/sqwebmail.$a
+.endfor
+
+.include <bsd.port.mk>
diff --git a/mail/sqwebmail/distinfo b/mail/sqwebmail/distinfo
new file mode 100644
index 000000000000..48585ceec104
--- /dev/null
+++ b/mail/sqwebmail/distinfo
@@ -0,0 +1 @@
+MD5 (sqwebmail-1.0.tar.gz) = 7801cffcba2b70273ce0096d7e95b23d
diff --git a/mail/sqwebmail/pkg-comment b/mail/sqwebmail/pkg-comment
new file mode 100644
index 000000000000..0e6bbcd20b14
--- /dev/null
+++ b/mail/sqwebmail/pkg-comment
@@ -0,0 +1 @@
+CGI Webmail client for Maildirs
diff --git a/mail/sqwebmail/pkg-descr b/mail/sqwebmail/pkg-descr
new file mode 100644
index 000000000000..0075a31189e4
--- /dev/null
+++ b/mail/sqwebmail/pkg-descr
@@ -0,0 +1,12 @@
+SqWebMail is a web CGI client for sending and receiving E-mail using
+Maildir mailboxes. It DOES NOT support traditional Mailbox files - only
+Maildirs.
+
+Features:
+
+. Very lightweight
+. Hierarchical mail folders
+. Virtual accounts
+. vpopmail authentication
+
+WWW: http://inter7.com/sqwebmail/
diff --git a/mail/sqwebmail/pkg-plist b/mail/sqwebmail/pkg-plist
new file mode 100644
index 000000000000..0a8402090efe
--- /dev/null
+++ b/mail/sqwebmail/pkg-plist
@@ -0,0 +1,74 @@
+libexec/sqwebmail/maildirmake
+libexec/sqwebmail/makedatprog
+sbin/sqwebmail.makeuserdb
+sbin/sqwebmail.pw2userdb
+sbin/sqwebmail.userdb
+sbin/sqwebmail.userdbpw
+sbin/sqwebmail.vchkpw2userdb
+share/sqwebmail/authmodulelist
+%%CACHE%%@unexec %D/share/sqwebmail/cleancache.pl
+share/sqwebmail/cleancache.pl
+share/sqwebmail/html/en-us/CHARSET
+share/sqwebmail/html/en-us/ISPELLDICT
+share/sqwebmail/html/en-us/LANGUAGE
+share/sqwebmail/html/en-us/LANGUAGE_PREF
+share/sqwebmail/html/en-us/LOCALE
+share/sqwebmail/html/en-us/abooklist.html
+share/sqwebmail/html/en-us/attachments.html
+share/sqwebmail/html/en-us/empty.html
+share/sqwebmail/html/en-us/expired.html
+share/sqwebmail/html/en-us/filter.html
+share/sqwebmail/html/en-us/folder.html
+share/sqwebmail/html/en-us/folders.html
+share/sqwebmail/html/en-us/index.html
+share/sqwebmail/html/en-us/invalid.html
+share/sqwebmail/html/en-us/ldaplist.html
+share/sqwebmail/html/en-us/ldapsearch.html
+share/sqwebmail/html/en-us/login.html
+share/sqwebmail/html/en-us/newmsg.html
+share/sqwebmail/html/en-us/preferences.html
+share/sqwebmail/html/en-us/print.html
+share/sqwebmail/html/en-us/printnocookie.html
+share/sqwebmail/html/en-us/printredirect.html
+share/sqwebmail/html/en-us/readmsg.html
+share/sqwebmail/html/en-us/redirect.html
+share/sqwebmail/html/en-us/spellchk.html
+share/sqwebmail/ldapaddressbook
+share/sqwebmail/ldapsearch
+share/sqwebmail/sbin/makeuserdb
+share/sqwebmail/sbin/pw2userdb
+share/sqwebmail/sbin/userdb
+share/sqwebmail/sbin/userdbpw
+share/sqwebmail/sbin/vchkpw2userdb
+share/sqwebmail/sendit.sh
+www/cgi-bin.default/sqwebmail/sqwebmail
+www/data.default/sqwebmail/folder.gif
+www/data.default/sqwebmail/folder2.gif
+www/data.default/sqwebmail/folders.gif
+www/data.default/sqwebmail/forward.gif
+www/data.default/sqwebmail/forwardatt.gif
+www/data.default/sqwebmail/fullheaders.gif
+www/data.default/sqwebmail/left.gif
+www/data.default/sqwebmail/left2.gif
+www/data.default/sqwebmail/print.gif
+www/data.default/sqwebmail/reply.gif
+www/data.default/sqwebmail/replyall.gif
+www/data.default/sqwebmail/right.gif
+www/data.default/sqwebmail/right2.gif
+www/data.default/sqwebmail/trash2.gif
+@dirrm www/data.default/sqwebmail
+@dirrm www/data.default
+@unexec /bin/rmdir %D/www/data.default 2> /dev/null || true
+@dirrm www/cgi-bin.default/sqwebmail
+@unexec /bin/rmdir %D/www/cgi-bin.default 2> /dev/null || true
+@unexec /bin/rmdir %D/www 2> /dev/null || true
+@dirrm share/sqwebmail/sbin
+@dirrm share/sqwebmail/man/man8
+@dirrm share/sqwebmail/man/man1
+@dirrm share/sqwebmail/man
+@dirrm share/sqwebmail/html/en-us
+@unexec /bin/rm -f %D/share/sqwebmail/html/en
+@dirrm share/sqwebmail/html
+@dirrm share/sqwebmail
+%%CACHE%%@unexec rmdir /var/sqwebmail/cache 2> /dev/null || true
+%%CACHE%%@unexec rmdir /var/sqwebmail 2> /dev/null || true