quickml stable port information

Package: quickml
Version: 0.7
Revision: 5
Description: Easy-to-use mailing list system
License: GPL
Maintainer: None

BuildDepends: fink (>= 0.24.12)
Depends: ruby18, daemonic
Enhances: postfix

Source: http://%n.com/%n/%n-%v.tar.gz
Source-MD5: 590c19a227eacb78f96c11c9f89886bb

PatchFile: %n.patch
PatchFile-MD5: a71ee989316f54c77738384c4d928367
PatchScript: <<
#!/bin/sh -ev
%{default_script}
HOST=`/usr/bin/uname -n`
mv quickmlrc.sample.in quickmlrc.sample.in.in
/usr/bin/sed -e "s|example.net|$HOST|g" -e "s|QuickML.com|$HOST|g" quickmlrc.sample.in.in > quickmlrc.sample.in
<<

ConfigureParams: RUBY=%p/bin/ruby1.8 --with-group=wheel --with-pidfile=%p/var/run/%n.pid --with-logfile=%p/var/log/%n.log --with-rubydir=%i/lib/ruby/site_ruby/1.8

InstallScript: <<
/usr/bin/make install prefix=%i
/usr/bin/install -d -m 755 %i/share/quickml
/usr/bin/install -m 644 messages.ja %i/share/quickml
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README

PostInstScript: <<
chgrp -R 750 %p/var/quickml
chgrp -R wheel %p/var/quickml
daemonic install quickml
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
daemonic remove quickml
fi
<<
DaemonicFile: <<

QuickML server
QuickML server

%p/sbin/quickml-ctl
start


<<

Homepage: http://namazu.org/~satoru/quickml/
DescDetail: <<
quickml server is a very-easy-to-use mailing list system.
quickml server provides very-easy-to-use mailing list service.

Characteristics
* You can create mailing lists of any names you like very easily.
* You can create mailing lists with any subdomains you like.
* quickml server runs as a stand-alone SMTP server.
* quickml server delegates mail delivery to another mail server.
* quickml server is simply written in Ruby.
<<
DescPackaging: <<
By default, quickml server uses SMTP (25) port.
If you want to have quickml coexist with other MTA(e.g. Postfix), please refer
to http://namazu.org/~satoru/quickml/with-mta.ja.html (Japanese).
<<
DescPort: "Socket.do_not_reverse_lookup"-hack for Mac OS X port.
DescUsage: <<
1. Create and edit configuration file:
# cp /sw/etc/quickmlrc.sample /sw/etc/quickmlrc
# pico /sw/etc/quickmlrc
2. Configure your firewalls (if needed)
(For example, with /Applications/System Preferences.app )
3. Enable QuickML daemon
# daemonic enable quickml
4. Restart your computer
5. Create a mailing list, enjoy!
See: http://namazu.org/~satoru/quickml/ml-usage.en.html
<<

quickml stable port .patch

diff -Naur quickml-0.7/Makefile.in quickml-0.7.fink/Makefile.in
--- quickml-0.7/Makefile.in 2004-06-07 06:21:36.000000000 -0400
+++ quickml-0.7.fink/Makefile.in 2012-02-09 10:57:22.000000000 -0500
@@ -640,9 +640,6 @@

install-data-local:
mkdir -p $(quickmlstatedir)
- chown -R $(USER) $(quickmlstatedir)
- chgrp -R $(GROUP) $(quickmlstatedir)
- chmod 750 $(quickmlstatedir)

quickml.ja.html: quickml.ja.rd
rd2 $(RDOPT) \
diff -Naur quickml-0.7/lib/quickml/server.rb quickml-0.7.fink/lib/quickml/server.rb
--- quickml-0.7/lib/quickml/server.rb Mon Jun 7 17:50:59 2004
+++ quickml-0.7.fink/lib/quickml/server.rb Sun Sep 26 17:33:12 2004
@@ -19,6 +19,9 @@
require 'quickml/utils'
require 'time'

+# Mac OS X trick
+Socket.do_not_reverse_lookup = true
+
module QuickML
class Session
include GetText::GetText
diff -Naur quickml-0.7/quickmlrc.sample.in quickml-0.7.fink/quickmlrc.sample.in
--- quickml-0.7/quickmlrc.sample.in Sun Sep 26 14:56:19 2004
+++ quickml-0.7.fink/quickmlrc.sample.in Sun Sep 26 14:56:00 2004
@@ -5,12 +5,18 @@
:port => 25,
:bind_address => "0.0.0.0",

- :smtp_host => 'mail.example.net',
+ :smtp_host => 'smtp.mac.com',
:smtp_port => 25,
:domain => 'example.net',
:postmaster => "postmaster@example.net",
:info_url => "http://QuickML.com/",

+ # if you have other MTA (like Postfix) on this machine...
+ # :port => 10025,
+ # :bind_address => "127.0.0.1",
+ # :smtp_host => '127.0.0.1',
+ # :domain => 'ml.example.net',
+
:data_dir => '%LOCALSTATEDIR%',
:pid_file => '%PIDFILE%',
:log_file => '%LOGFILE%',
@@ -29,6 +35,6 @@

:confirm_ml_creation => false, # for confirming ML creation. (experimental)

- # :message_catalog => nil # for English messages
- :message_catalog => '%DATADIR%/messages.ja',
+ :message_catalog => nil # for English messages
+ # :message_catalog => '%DATADIR%/quickml/messages.ja',
}

quickml _unstable_ port .patch