summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorrh <rh>2001-08-01 13:54:10 +0000
committerrh <rh>2001-08-01 13:54:10 +0000
commitea140b725a18d29b2e4e86a02e69572205cc6297 (patch)
tree8825678ac0988e95aaedd8291c8069c50ac4a3ff /mail
parent3dfa76272bd347e0555fb7df05f51bbb27612e2f (diff)
downloadpkgsrc-ea140b725a18d29b2e4e86a02e69572205cc6297.tar.gz
Initial import of mailserv-3.27 a perl web frontend for majordomo and other
mailing list servers.
Diffstat (limited to 'mail')
-rw-r--r--mail/mailserv/Makefile39
-rw-r--r--mail/mailserv/distinfo5
-rw-r--r--mail/mailserv/patches/patch-aa22
-rw-r--r--mail/mailserv/pkg/DESCR7
-rw-r--r--mail/mailserv/pkg/PLIST38
5 files changed, 111 insertions, 0 deletions
diff --git a/mail/mailserv/Makefile b/mail/mailserv/Makefile
new file mode 100644
index 00000000000..554143c08bf
--- /dev/null
+++ b/mail/mailserv/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/08/01 13:54:10 rh Exp $
+#
+
+DISTNAME= mailserv
+PKGNAME= ${DISTNAME}-3.27
+NO_WRKSUBDIR= YES
+CATEGORIES= mail
+MASTER_SITES= http://www.csicop.org/~fitz/www/mailserv/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.csicop.org/~fitz/www/mailserv/
+COMMENT= WWW interface to several types of mailing list servers
+
+USE_PERL5= YES
+NO_BUILD= YES
+
+do-configure:
+ cd ${WRKSRC} && \
+ ${CHMOD} 0755 mailserv && \
+ ${CP} mailserv mailserv.old && \
+ ${SED} < mailserv.old > mailserv \
+ -e "s|@PREFIX@|${PREFIX}|g" \
+ -e "s|/usr/bin/perl|${PREFIX}/bin/perl|g"
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/cgi-bin/mailserv
+ ${INSTALL_SCRIPT} ${WRKSRC}/mailserv ${PREFIX}/libexec/cgi-bin/mailserv
+ ${INSTALL_DATA_DIR} ${PREFIX}/etc/mailserv
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailserv
+.for cf in listproc listserv mail-list maiser majordomo-admin \
+ majordomo-share majordomo mlp pmdf smartlist subscribe
+ [ -f ${PREFIX}/etc/mailserv/${cf}.cf ] || \
+ ${INSTALL_DATA} ${WRKSRC}/${cf}.cf ${PREFIX}/etc/mailserv
+ ${INSTALL_DATA} ${WRKSRC}/${cf}.cf ${PREFIX}/share/examples/mailserv
+ cd ${PREFIX}/libexec/cgi-bin/mailserv && \
+ ${LN} -s mailserv ${cf}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/mailserv/distinfo b/mail/mailserv/distinfo
new file mode 100644
index 00000000000..6fe7785b895
--- /dev/null
+++ b/mail/mailserv/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/08/01 13:54:10 rh Exp $
+
+SHA1 (mailserv.tar.gz) = c5fa245c71c5cea73da60f7f340beb81be901e2a
+Size (mailserv.tar.gz) = 25963 bytes
+SHA1 (patch-aa) = dc070d46098100a1947c8e0e477a17103617ffd7
diff --git a/mail/mailserv/patches/patch-aa b/mail/mailserv/patches/patch-aa
new file mode 100644
index 00000000000..fb707749187
--- /dev/null
+++ b/mail/mailserv/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/08/01 13:54:10 rh Exp $
+
+--- mailserv.orig Fri Nov 5 06:02:55 1999
++++ mailserv
+@@ -28,7 +28,7 @@
+ ## the include files are write-protected, otherwise someone
+ ## could add malicious code to them.
+
+-@INC = (".", "./config");
++@INC = (".", "./config", "@PREFIX@/etc/mailserv");
+ &cgiRequire("cgi-lib.pl");
+ &ReadParse();
+
+@@ -65,7 +65,7 @@
+ # Program into which mail is piped
+ # You can override this with $config::mailer.
+
+-$mailer = "/usr/lib/sendmail -t";
++$mailer = "/usr/sbin/sendmail -t";
+
+ # Use "-f address" for the mailer?
+ # Your sendmail must be configured correctly for this to work.
diff --git a/mail/mailserv/pkg/DESCR b/mail/mailserv/pkg/DESCR
new file mode 100644
index 00000000000..e8a1a146a3d
--- /dev/null
+++ b/mail/mailserv/pkg/DESCR
@@ -0,0 +1,7 @@
+ MailServ provides a World Wide Web interface to several types of mailing
+list servers. Users can select commands, enter information, and press
+buttons to send email commands to the mail server.
+
+ MailServ does not provide the actual mailing list services (you'll need
+to have an existing mailing list management program to do that), but what
+do you expect -- MailServ is free!
diff --git a/mail/mailserv/pkg/PLIST b/mail/mailserv/pkg/PLIST
new file mode 100644
index 00000000000..61315917ec9
--- /dev/null
+++ b/mail/mailserv/pkg/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/01 13:54:10 rh Exp $
+etc/mailserv/listproc.cf
+etc/mailserv/listserv.cf
+etc/mailserv/mail-list.cf
+etc/mailserv/maiser.cf
+etc/mailserv/majordomo-admin.cf
+etc/mailserv/majordomo-share.cf
+etc/mailserv/majordomo.cf
+etc/mailserv/mlp.cf
+etc/mailserv/pmdf.cf
+etc/mailserv/smartlist.cf
+etc/mailserv/subscribe.cf
+libexec/cgi-bin/mailserv/listproc
+libexec/cgi-bin/mailserv/listserv
+libexec/cgi-bin/mailserv/mail-list
+libexec/cgi-bin/mailserv/mailserv
+libexec/cgi-bin/mailserv/maiser
+libexec/cgi-bin/mailserv/majordomo
+libexec/cgi-bin/mailserv/majordomo-admin
+libexec/cgi-bin/mailserv/majordomo-share
+libexec/cgi-bin/mailserv/mlp
+libexec/cgi-bin/mailserv/pmdf
+libexec/cgi-bin/mailserv/smartlist
+libexec/cgi-bin/mailserv/subscribe
+share/examples/mailserv/listproc.cf
+share/examples/mailserv/listserv.cf
+share/examples/mailserv/mail-list.cf
+share/examples/mailserv/maiser.cf
+share/examples/mailserv/majordomo-admin.cf
+share/examples/mailserv/majordomo-share.cf
+share/examples/mailserv/majordomo.cf
+share/examples/mailserv/mlp.cf
+share/examples/mailserv/pmdf.cf
+share/examples/mailserv/smartlist.cf
+share/examples/mailserv/subscribe.cf
+@dirrm share/examples/mailserv
+@dirrm libexec/cgi-bin/mailserv
+@dirrm etc/mailserv