diff options
Diffstat (limited to 'mail/quickml')
23 files changed, 0 insertions, 651 deletions
diff --git a/mail/quickml/Makefile b/mail/quickml/Makefile deleted file mode 100644 index 17ec3935569..00000000000 --- a/mail/quickml/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -# Created by: Yuichiro AIZAWA <yaizawa@mdbl.sfc.keio.ac.jp> -# $FreeBSD$ - -PORTNAME= quickml -PORTVERSION= 0.7 -PORTREVISION= 13 -CATEGORIES= mail -MASTER_SITES= http://0xcc.net/quickml/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Easy-to-use mailing list system - -LICENSE= GPLv2 - -USE_AUTOTOOLS= autoconf -GNU_CONFIGURE= yes -USE_RUBY= yes -USE_RC_SUBR= ${PORTNAME} - -USERS= quickml -GROUPS= quickml - -CONFIGURE_ARGS= --datadir="${PREFIX}/share/quickml" \ - --with-ruby="${RUBY}" \ - --with-user="${USERS}" \ - --with-group="${GROUPS}" \ - --with-rubydir="${RUBY_LIBDIR}" - -SUB_LIST= RUBY=${RUBY} - -OPTIONS_DEFINE= ANALOG LIMIT DOCS -OPTIONS_DEFAULT= ANALOG -ANALOG_DESC= quickml-analog -LIMIT_DESC= Creators and Members Limitation Patch - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ruby19-* - -.if ${PORT_OPTIONS:MANALOG} -USE_GHOSTSCRIPT_RUN= yes -RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot \ - convert:${PORTSDIR}/graphics/ImageMagick -PLIST_SUB+= ANALOG="" -.else -PLIST_SUB+= ANALOG="@comment " -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-woanalog-Makefile.in -.endif - -.if ${PORT_OPTIONS:MLIMIT} -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-limit-* -.endif - -post-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/messages.ja ${DATADIR} -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ml-usage.en.rd ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/quickml.en.rd ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/quickml.ja.rd ${DOCSDIR} - ${INSTALL_DATA} ${FILESDIR}/with-mta.en.rd ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/with-mta.ja.rd ${DOCSDIR} -.endif - -.include <bsd.port.post.mk> diff --git a/mail/quickml/distinfo b/mail/quickml/distinfo deleted file mode 100644 index 0eb9ef23985..00000000000 --- a/mail/quickml/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (quickml-0.7.tar.gz) = 0dafaa39cdfd1e287d6011313d694fa7d269000af6701ac41d0c75474b122324 -SIZE (quickml-0.7.tar.gz) = 94147 diff --git a/mail/quickml/files/extra-patch-limit-config.rb b/mail/quickml/files/extra-patch-limit-config.rb deleted file mode 100644 index 7a9a669e6e2..00000000000 --- a/mail/quickml/files/extra-patch-limit-config.rb +++ /dev/null @@ -1,22 +0,0 @@ ---- lib/quickml/config.rb.org 2004-06-07 17:50:59.000000000 +0900 -+++ lib/quickml/config.rb 2012-06-21 15:55:28.000000000 +0900 -@@ -56,6 +56,19 @@ - @group = (config[:group] or "root") - @use_qmail_verp = (config[:use_qmail_verp] or false) - -+ @creator_check = (config[:creator_check] or false) -+ @creator_addresses = if config[:creator_addresses] -+ config[:creator_addresses] -+ else -+ [ @domain ] -+ end -+ @member_check = (config[:member_check] or false) -+ @member_addresses = if config[:member_addresses] -+ config[:member_addresses] -+ else -+ [ @domain ] -+ end -+ - charset = @catalog.charset if @catalog - @content_type = "text/plain" - diff --git a/mail/quickml/files/extra-patch-limit-core.rb b/mail/quickml/files/extra-patch-limit-core.rb deleted file mode 100644 index 52591a04c93..00000000000 --- a/mail/quickml/files/extra-patch-limit-core.rb +++ /dev/null @@ -1,144 +0,0 @@ ---- lib/quickml/core.rb.org 2004-06-09 05:15:11.000000000 +0900 -+++ lib/quickml/core.rb 2012-06-21 15:55:28.000000000 +0900 -@@ -17,6 +17,8 @@ - class TooLargeMail < QuickMLException; end - class TooManyMembers < QuickMLException; end - class InvalidMLName < QuickMLException; end -+ class InvalidCreator < QuickMLException; end -+ class InvalidMembers < QuickMLException; end - - # It preserves case information. but it accepts an - # address case-insensitively for member management. -@@ -96,6 +98,10 @@ - @logger = @config.logger - @catalog = @config.catalog - -+ if newly_created? and @config.creator_check -+ raise InvalidCreator unless valid_members?(creator, @config.creator_addresses) -+ end -+ - init_ml_config - init_members - init_count -@@ -114,6 +120,13 @@ - attr_reader :charset - attr_reader :max_members - -+ def valid_members? (address, pat) -+ pat.each do |entry| -+ return true if /#{entry}/i =~ address -+ end -+ false -+ end -+ - def self.valid_name? (name) - /^([0-9a-zA-Z_.-]+)(@[0-9a-zA-Z_.-]+)?$/ =~ name - end -@@ -607,6 +620,7 @@ - begin - add_member(address) - rescue TooManyMembers -+ rescue InvalidMembers - end - } - submit(mail) -@@ -636,6 +650,9 @@ - end - - def add_member (address) -+ if @config.member_check -+ raise InvalidMembers unless valid_members?(address, @config.member_addresses) -+ end - if exclude?(address) - @logger.vlog "Excluded: #{address}" - return -@@ -827,6 +844,29 @@ - @logger.log "[#{ml.name}]: Too Many Members: #{address}" - end - -+ def report_invalid_members (ml, invalid_members) -+ header = [] -+ subject = Mail.encode_field(_("[QuickML] Error: %s", @mail["Subject"])) -+ header.push(["To", @mail.from], -+ ["From", ml.address], -+ ["Subject", subject], -+ ["Content-type", content_type]) -+ -+ body = _("The following addresses cannot be added because <%s> mailing list can join known members only.\n\n", -+ ml.address) -+ invalid_members.each {|address| -+ body << sprintf("<%s>\n", address) -+ } -+ -+ body << generate_footer -+ Mail.send_mail(@config.smtp_host, @config.smtp_port, @logger, -+ :mail_from => '', -+ :recipient => @mail.from, -+ :header => header, -+ :body => body) -+ @logger.log "[#{ml.name}]: Invalid Members by #{@mail.from}" -+ end -+ - def report_invalid_mladdress (mladdress) - header = [] - subject = Mail.encode_field(_("[QuickML] Error: %s", @mail["Subject"])) -@@ -846,6 +886,23 @@ - @logger.log "Invalid ML Address: #{mladdress}" - end - -+ def report_invalid_creator (mladdress) -+ header = [] -+ subject = Mail.encode_field(_("[QuickML] Error: %s", @mail["Subject"])) -+ header.push(["To", @mail.from], -+ ["From", @config.postmaster], -+ ["Subject", subject], -+ ["Content-type", content_type]) -+ body = _("Invalid Creator: <%s> by <%s>.\n", mladdress, @mail.from) -+ body << generate_footer -+ Mail.send_mail(@config.smtp_host, @config.smtp_port, @logger, -+ :mail_from => '', -+ :recipient => @mail.from, -+ :header => header, -+ :body => body) -+ @logger.log "Invalid Creator: #{mladdress} by #{@mail.from}" -+ end -+ - def mail_log - @logger.vlog "MAIL FROM:<#{@mail.mail_from}>" - @mail.recipients.each {|recipient| -@@ -868,6 +925,8 @@ - ml.add_member(address) - rescue TooManyMembers - @unadded_addresses.push(address) -+ rescue InvalidMembers -+ @invalid_members.push(address) - end - end - -@@ -879,6 +938,7 @@ - - def submit_article (ml) - @unadded_addresses = [] -+ @invalid_members = [] - if ml_address_in_to?(ml) - add_member(ml, @mail.from) - @mail.collect_cc.each {|address| -@@ -888,6 +948,9 @@ - unless @unadded_addresses.empty? - report_too_many_members(ml, @unadded_addresses) - end -+ unless @invalid_members.empty? -+ report_invalid_members(ml, @invalid_members) -+ end - ml.submit(@mail) - end - -@@ -991,6 +1054,8 @@ - } - rescue InvalidMLName - report_invalid_mladdress(mladdress) -+ rescue InvalidCreator -+ report_invalid_creator(mladdress) - end - end - end diff --git a/mail/quickml/files/extra-patch-limit-messages.ja b/mail/quickml/files/extra-patch-limit-messages.ja deleted file mode 100644 index da8d4f38fa0..00000000000 --- a/mail/quickml/files/extra-patch-limit-messages.ja +++ /dev/null @@ -1,16 +0,0 @@ ---- messages.ja.org 2004-06-07 17:50:58.000000000 +0900 -+++ messages.ja 2012-06-21 15:55:28.000000000 +0900 -@@ -92,6 +92,13 @@ - - "Please simply reply this mail to create ML <%s>.\n" => - "このメールに返信すると <%s> メーリングリストが作られます。\n", -+ -+ "Invalid Creator: <%s> by <%s>.\n" => -+ "<%s> メーリングリストは <%s> には作成できません。\n", -+ -+ "The following addresses cannot be added because <%s> mailing list can join known members only.\n\n" => -+ "<%s> メーリングリストは参加できるメンバーが制限されているので、以下のアドレスは追加できませんでした。\n\n", -+ - } - - Charset = "iso-2022-jp" diff --git a/mail/quickml/files/extra-patch-limit-quickmlrc.sample.in b/mail/quickml/files/extra-patch-limit-quickmlrc.sample.in deleted file mode 100644 index 530ba8e67d9..00000000000 --- a/mail/quickml/files/extra-patch-limit-quickmlrc.sample.in +++ /dev/null @@ -1,17 +0,0 @@ ---- quickmlrc.sample.in.org 2004-06-07 17:50:58.000000000 +0900 -+++ quickmlrc.sample.in 2012-06-21 15:55:28.000000000 +0900 -@@ -31,4 +31,14 @@ - - # :message_catalog => nil # for English messages - :message_catalog => '%DATADIR%/messages.ja', -+ -+ :creator_check => false, -+ :creator_addresses => [ -+ '^.+@example\.net$', -+ ], -+ -+ :member_check => false, -+ :member_addresses => [ -+ '^.+@example\.net$', -+ ], - } diff --git a/mail/quickml/files/extra-patch-ruby19-Makefile.in b/mail/quickml/files/extra-patch-ruby19-Makefile.in deleted file mode 100644 index 068c3a811ae..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2004-06-07 10:21:36.000000000 +0000 -+++ Makefile.in 2011-07-26 21:48:59.000000000 +0000 -@@ -605,7 +605,7 @@ - - quickml: quickml.in - for i in $(MESSAGES); do\ -- $(RUBY) lib/quickml/gettext.rb $$i quickml.in lib/quickml/*.rb;\ -+ $(RUBY) -Ke lib/quickml/gettext.rb $$i quickml.in lib/quickml/*.rb;\ - done - rm -f quickml - sed -e 's!%RUBY%!$(RUBY)!g' \ diff --git a/mail/quickml/files/extra-patch-ruby19-config.rb b/mail/quickml/files/extra-patch-ruby19-config.rb deleted file mode 100644 index 2f76ce1a48a..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-config.rb +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/quickml/config.rb.orig 2012-06-21 17:13:32.000000000 +0900 -+++ lib/quickml/config.rb 2012-06-21 17:13:46.000000000 +0900 -@@ -62,7 +62,7 @@ - @confirm_ml_creation = (config[:confirm_ml_creation] or false) - - instance_variables.each {|name| -- self.class.class_eval { attr_reader name.delete('@') } -+ self.class.class_eval { attr_reader name.to_s.delete('@') } - } - end - diff --git a/mail/quickml/files/extra-patch-ruby19-core.rb b/mail/quickml/files/extra-patch-ruby19-core.rb deleted file mode 100644 index 3c73df34a2c..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-core.rb +++ /dev/null @@ -1,15 +0,0 @@ ---- lib/quickml/core.rb.orig 2004-06-09 05:15:11.000000000 +0900 -+++ lib/quickml/core.rb 2012-06-21 16:08:14.000000000 +0900 -@@ -1,3 +1,4 @@ -+#coding: euc-jp - # - # quickml/core - a part of quickml server - # -@@ -8,7 +9,6 @@ - # You can redistribute it and/or modify it under the terms of - # the GNU General Public License version 2. - # --$KCODE='e' - require 'quickml/utils' - require 'quickml/gettext' - diff --git a/mail/quickml/files/extra-patch-ruby19-gettext.rb b/mail/quickml/files/extra-patch-ruby19-gettext.rb deleted file mode 100644 index c4e74b3295a..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-gettext.rb +++ /dev/null @@ -1,7 +0,0 @@ ---- lib/quickml/gettext.rb.orig 2012-06-21 16:12:56.000000000 +0900 -+++ lib/quickml/gettext.rb 2012-06-21 16:13:31.000000000 +0900 -@@ -1,3 +1,4 @@ -+#coding: euc-jp - # - # quickml/gettext - a part of quickml server - # diff --git a/mail/quickml/files/extra-patch-ruby19-mail.rb b/mail/quickml/files/extra-patch-ruby19-mail.rb deleted file mode 100644 index df0fc0e5979..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-mail.rb +++ /dev/null @@ -1,7 +0,0 @@ ---- lib/quickml/mail.rb.orig 2012-06-21 16:10:20.000000000 +0900 -+++ lib/quickml/mail.rb 2012-06-21 16:11:01.000000000 +0900 -@@ -1,3 +1,4 @@ -+#coding: euc-jp - # - # quickml/mail - a part of quickml server - # diff --git a/mail/quickml/files/extra-patch-ruby19-messages.ja b/mail/quickml/files/extra-patch-ruby19-messages.ja deleted file mode 100644 index cbf59787680..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-messages.ja +++ /dev/null @@ -1,7 +0,0 @@ ---- messages.ja.orig 2012-06-21 16:22:16.000000000 +0900 -+++ messages.ja 2012-06-21 16:22:45.000000000 +0900 -@@ -1,3 +1,4 @@ -+#coding: euc-jp - # -*- mode: ruby -*- - Messages = { - "<%s> was removed from the mailing list:\n<%s>\n" => diff --git a/mail/quickml/files/extra-patch-ruby19-quickml-analog.in b/mail/quickml/files/extra-patch-ruby19-quickml-analog.in deleted file mode 100644 index b3748efc982..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-quickml-analog.in +++ /dev/null @@ -1,11 +0,0 @@ ---- quickml-analog.in.orig 2004-06-07 17:50:59.000000000 +0900 -+++ quickml-analog.in 2012-06-21 15:52:24.000000000 +0900 -@@ -12,7 +12,7 @@ - # - - require 'getoptlong' --require 'ftools' -+require 'fileutils' - require 'time' - require 'cgi' - diff --git a/mail/quickml/files/extra-patch-ruby19-quickml.in b/mail/quickml/files/extra-patch-ruby19-quickml.in deleted file mode 100644 index 2928d2a5d76..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-quickml.in +++ /dev/null @@ -1,16 +0,0 @@ ---- quickml.in.orig 2004-06-07 17:50:58.000000000 +0900 -+++ quickml.in 2012-06-21 16:05:07.000000000 +0900 -@@ -1,4 +1,5 @@ - #! %RUBY% -+#coding: euc-jp - # -*- mode: ruby -*- - # - # quickml - an easy-to-use mailing list server -@@ -11,7 +12,6 @@ - # the GNU General Public License version 2. - # - --$KCODE = "e" - require 'quickml' - - def error (msg) diff --git a/mail/quickml/files/extra-patch-ruby19-utils.rb b/mail/quickml/files/extra-patch-ruby19-utils.rb deleted file mode 100644 index 9bee3b48e73..00000000000 --- a/mail/quickml/files/extra-patch-ruby19-utils.rb +++ /dev/null @@ -1,19 +0,0 @@ ---- lib/quickml/utils.rb.orig 2004-06-07 17:50:59.000000000 +0900 -+++ lib/quickml/utils.rb 2012-06-21 16:06:07.000000000 +0900 -@@ -1,3 +1,4 @@ -+#coding: euc-jp - # - # quickml/utils - a part of quickml server - # -@@ -8,10 +9,9 @@ - # You can redistribute it and/or modify it under the terms of - # the GNU General Public License version 2. - # --$KCODE = 'e' - require 'kconv' - require 'net/smtp' --require 'ftools' -+require 'fileutils' - - class TooLongLine < Exception; end - class IO diff --git a/mail/quickml/files/extra-patch-woanalog-Makefile.in b/mail/quickml/files/extra-patch-woanalog-Makefile.in deleted file mode 100644 index bdec5c9f8ce..00000000000 --- a/mail/quickml/files/extra-patch-woanalog-Makefile.in +++ /dev/null @@ -1,24 +0,0 @@ -*** Makefile.in.with_analog Thu Jul 1 00:20:16 2004 ---- Makefile.in Thu Jul 1 00:22:28 2004 -*************** -*** 142,151 **** - RD = quickml.en.rd ml-usage.en.rd quickml.ja.rd with-mta.ja.rd - MESSAGES = messages.ja - EXTRA_DIST = $(RD) $(MESSAGES) quickml.in quickml-ctl.in \ -! quickmlrc.sample.in quickml-analog.in - - CLEANFILES = quickml quickml-ctl quickmlrc.sample quickml-analog -- bin_SCRIPTS = quickml-analog - sbin_SCRIPTS = quickml quickml-ctl - quickmlstatedir = $(localstatedir)/quickml - etcdir = $(sysconfdir) ---- 142,150 ---- - RD = quickml.en.rd ml-usage.en.rd quickml.ja.rd with-mta.ja.rd - MESSAGES = messages.ja - EXTRA_DIST = $(RD) $(MESSAGES) quickml.in quickml-ctl.in \ -! quickmlrc.sample.in - - CLEANFILES = quickml quickml-ctl quickmlrc.sample quickml-analog - sbin_SCRIPTS = quickml quickml-ctl - quickmlstatedir = $(localstatedir)/quickml - etcdir = $(sysconfdir) diff --git a/mail/quickml/files/patch-Makefile.in b/mail/quickml/files/patch-Makefile.in deleted file mode 100644 index 8c19f9b7ccf..00000000000 --- a/mail/quickml/files/patch-Makefile.in +++ /dev/null @@ -1,19 +0,0 @@ -*** Makefile.in.orig Mon Jun 7 19:21:36 2004 ---- Makefile.in Thu Jul 1 00:18:18 2004 -*************** -*** 626,632 **** - -e 's!%PIDFILE%!$(PIDFILE)!g' \ - quickml-ctl.in > quickml-ctl - chmod +x quickml-ctl -! chmod -w quickml-analog - - quickmlrc.sample: quickmlrc.sample.in Makefile - rm -f quickmlrc.sample ---- 626,632 ---- - -e 's!%PIDFILE%!$(PIDFILE)!g' \ - quickml-ctl.in > quickml-ctl - chmod +x quickml-ctl -! chmod -w quickml-ctl - - quickmlrc.sample: quickmlrc.sample.in Makefile - rm -f quickmlrc.sample diff --git a/mail/quickml/files/patch-configure.ac b/mail/quickml/files/patch-configure.ac deleted file mode 100644 index cbaf8906c37..00000000000 --- a/mail/quickml/files/patch-configure.ac +++ /dev/null @@ -1,32 +0,0 @@ -*** configure.ac.orig Mon Jun 7 17:50:58 2004 ---- configure.ac Sat Jul 3 01:16:54 2004 -*************** -*** 5,14 **** - AC_PROG_LN_S - AC_PROG_MAKE_SET - -! AC_PATH_PROG(RUBY, ruby, no) -! if test "$RUBY" = "no"; then -! AC_MSG_ERROR(ruby not found) -! fi - - AC_ARG_WITH( - user, ---- 5,21 ---- - AC_PROG_LN_S - AC_PROG_MAKE_SET - -! AC_ARG_WITH( -! ruby, -! [ --with-ruby=RUBY quickml runs with RUBY [[ruby]]], -! [RUBY=${withval}], -! [AC_PATH_PROG(RUBY, ruby, no) -! if test "$RUBY" = "no"; then -! AC_MSG_ERROR(ruby not found) -! fi -! ] -! ) -! AC_SUBST(RUBY) - - AC_ARG_WITH( - user, diff --git a/mail/quickml/files/patch-quickml-analog.in b/mail/quickml/files/patch-quickml-analog.in deleted file mode 100644 index 7790b94d618..00000000000 --- a/mail/quickml/files/patch-quickml-analog.in +++ /dev/null @@ -1,74 +0,0 @@ -*** quickml-analog.in.orig 2004-06-07 17:50:59.000000000 +0900 ---- quickml-analog.in 2005-01-07 19:11:59.000000000 +0900 -*************** -*** 15,20 **** ---- 15,21 ---- - require 'ftools' - require 'time' - require 'cgi' -+ require 'open3' - - class Array - def tail (n) -*************** -*** 395,413 **** - end - - def add_basic (f) -! f.print ' -! set grid -! set timefmt "%y%m%d%H" -! set xdata time -! set size ratio 0.76 -! set linestyle 1 linetype 1 linewidth 5 -! set linestyle 2 linetype 3 linewidth 5 -! set linestyle 3 linetype 2 linewidth 5 -! set linestyle 4 linetype 4 linewidth 5 -! set linestyle 5 linetype 5 linewidth 5 -! set linestyle 6 linetype 7 linewidth 5 - -! '.gsub(/^ /, "") - end - - def add_chart (f, default, lang, chart_prefix, stat_files, type, ---- 396,435 ---- - end - - def add_basic (f) -! Open3.popen3( "gnuplot" ) { |stdin, stdout, stderr| -! stdin.puts "show version" -! stdin.close -! stderr.read[/[Vv]ersion (\d+\.\d+)/] -! } -! if ( Float( $1 ) < 4.0 ) then -! f.print ' -! set grid -! set timefmt "%y%m%d%H" -! set xdata time -! set size ratio 0.76 -! set linestyle 1 linetype 1 linewidth 5 -! set linestyle 2 linetype 3 linewidth 5 -! set linestyle 3 linetype 2 linewidth 5 -! set linestyle 4 linetype 4 linewidth 5 -! set linestyle 5 linetype 5 linewidth 5 -! set linestyle 6 linetype 7 linewidth 5 - -! '.gsub(/^ /, "") -! else -! f.print ' -! set grid -! set timefmt "%y%m%d%H" -! set xdata time -! set size ratio 0.76 -! set style line 1 linetype 1 linewidth 5 -! set style line 2 linetype 3 linewidth 5 -! set style line 3 linetype 2 linewidth 5 -! set style line 4 linetype 4 linewidth 5 -! set style line 5 linetype 5 linewidth 5 -! set style line 6 linetype 7 linewidth 5 -! -! '.gsub(/^ /, "") -! end - end - - def add_chart (f, default, lang, chart_prefix, stat_files, type, diff --git a/mail/quickml/files/quickml.in b/mail/quickml/files/quickml.in deleted file mode 100644 index 5278224cc5a..00000000000 --- a/mail/quickml/files/quickml.in +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: quickml -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# quickml_enable (bool): Set to NO by default. - -. /etc/rc.subr - -name="quickml" -rcvar=quickml_enable - -command="%%PREFIX%%/sbin/${name}" -command_interpreter="%%RUBY%%" -pidfile="/var/run/${name}.pid" -required_files=%%PREFIX%%/etc/quickmlrc - -load_rc_config $name - -: ${quickml_enable="NO"} - -run_rc_command "$1" diff --git a/mail/quickml/files/with-mta.en.rd b/mail/quickml/files/with-mta.en.rd deleted file mode 100644 index 2db4091785a..00000000000 --- a/mail/quickml/files/with-mta.en.rd +++ /dev/null @@ -1,73 +0,0 @@ -=begin - -= quickml server: How to coexist with other MTA - -Last Update: 2002-04-28 (Release date: 2002-04-28) - - -== Configurate quickml server - -1. Create user `quickml' and group `quickml' on the UNIX host to - quickml server. - -2. Configure quickmlrc as below: - - Config = { - :user => 'quickml', - :group => 'quickml', - :port => 10025, - :bind_address => "127.0.0.1", - -== Configure DNS - -Set MX record of the domain name that is for quickml service -(ex. foobar.com) to the host running quickml server. - -== Configure MTA - -=== Case of qmail - -1. Add - - foobar.com - -to /var/qmail/control/rcpthosts. - -2. Add - - foobar.com:localhost:10025 - -to /var/qmail/control/smtproutes. - -=== Case of Postfix - -1. Add - - foobar.com smtp:[localhost:10025] - -to /etc/postfix/transport. - -2. Add - - transport_maps = hash:/etc/transport - -to /etc/postfix/main.cf, and execute commands as below. - - # postmap transport - # postfix reload - -== Acknowledgement - -This document is courtesy of imformation from -((<Mr. Taku Kudo|URL:http://cl.aist-nara.ac.jp/~taku-ku/>)). - -== Translation - -The original version of this document is written in Japanese by -((<Mr. Satoru Takabayashi|URL:http://namazu.org/~satoru/>)). -Translation of this document is by -((<Yuichiro AIZAWA|URL:http://www.mdbl.sfc.keio.ac.jp/~yaizawa/>)) -and -Takashi OTA. - -=end diff --git a/mail/quickml/pkg-descr b/mail/quickml/pkg-descr deleted file mode 100644 index 530670dccfd..00000000000 --- a/mail/quickml/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -quickml server is a very-easy-to-use mailing list system. quickml -server provides very-easy-to-use mailing list service. - -WWW: http://0xcc.net/quickml/ diff --git a/mail/quickml/pkg-plist b/mail/quickml/pkg-plist deleted file mode 100644 index 873d49a347f..00000000000 --- a/mail/quickml/pkg-plist +++ /dev/null @@ -1,24 +0,0 @@ -%%RUBY_LIBDIR%%/quickml/config.rb -%%RUBY_LIBDIR%%/quickml/gettext.rb -%%RUBY_LIBDIR%%/quickml/mail.rb -%%RUBY_LIBDIR%%/quickml/sweeper.rb -%%RUBY_LIBDIR%%/quickml/core.rb -%%RUBY_LIBDIR%%/quickml/logger.rb -%%RUBY_LIBDIR%%/quickml/server.rb -%%RUBY_LIBDIR%%/quickml/utils.rb -%%RUBY_LIBDIR%%/quickml/version.rb -%%RUBY_LIBDIR%%/quickml.rb -%%ANALOG%%bin/quickml-analog -sbin/quickml -sbin/quickml-ctl -@unexec if cmp -s %D/etc/quickmlrc %D/etc/quickmlrc.sample; then rm -f %D/etc/quickmlrc; fi -etc/quickmlrc.sample -%%DATADIR%%/messages.ja -@dirrm %%DATADIR%% -@dirrm %%RUBY_LIBDIR%%/quickml -%%PORTDOCS%%%%DOCSDIR%%/ml-usage.en.rd -%%PORTDOCS%%%%DOCSDIR%%/quickml.en.rd -%%PORTDOCS%%%%DOCSDIR%%/quickml.ja.rd -%%PORTDOCS%%%%DOCSDIR%%/with-mta.en.rd -%%PORTDOCS%%%%DOCSDIR%%/with-mta.ja.rd -%%PORTDOCS%%@dirrm %%DOCSDIR%% |