Subject: Re: jabberd 1.4 on netbsd?
To: Greg Troxel <gdt@ir.bbn.com>
From: Marshall Rose <mrose@dbc.mtview.ca.us>
List: netbsd-users
Date: 09/03/2003 10:21:59
This is a multi-part message in MIME format.
--Multipart_Wed__3_Sep_2003_10:21:59_-0700_091ffe00
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
just fyi: i'm now running ejabberd (jabber server written in erlang).
if getting jabberd-1.4.2 on netbsd 1.6 is a problem for someone. here's
how to do it.
1. get ejabberd from jabberstudio.org, viz.,
cvs -z3 -d:pserver:anonymous@jabberstudio.org:/home/cvs login
CVS password: [RETURN]
cvs -z3 -d:pserver:anonymous@jabberstudio.org:/home/cvs checkout \
ejabberd
2. run the attached script to correctly install erlang-9.1nb1 from
pkgsrc (do NOT use the version of erlang in pkgsrc cvs)
3. i attach my own copy of ejabberd.cfg
4. i attach the script that goes in /etc/rc.d/
enjoy!
/mtr
--Multipart_Wed__3_Sep_2003_10:21:59_-0700_091ffe00
Content-Type: application/x-sh;
name="ejabberd-netbsd.sh"
Content-Disposition: attachment;
filename="ejabberd-netbsd.sh"
Content-Transfer-Encoding: base64
IyEvYmluL3NoCgplY2hvICcxLiBmZXRjaCwgY29tcGlsZSwgYW5kIGluc3RhbGwgZXJsYW5nJwoK
aWYgWyAhIHBrZ19pbmZvIGVybGFuZyAxPi9kZXYvbnVsbCAyPiYxIF07IHRoZW4KICAgIGNkIC91
c3IvcGtnc3JjL2xhbmcvZXJsYW5nCiAgICBtYWtlIGZldGNoLWxpc3R8c2gKICAgIG1ha2UKICAg
IG1ha2UgaW5zdGFsbApmaQppZiBwa2dfaW5mbyBlcmxhbmcgfCBncmVwIC1xIGVybGFuZy05LjFu
YjE7IHRoZW4KZWxzZQogICAgZWNobyAiZXJsYW5nLTkuMW5iMSBub3QgaW5zdGFsbGVkIiAxPiYy
CiAgICBleGl0IDEKZmkKCgplY2hvICcyLiBpbnN0YWxsIGNyeXB0X2Rydi5zbycKICAgIAppZi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yAnNy4gY29t
cGlsZSBlamFiYmVyZCcKCmdtYWtlCmZvciBBIGluIG1vZF9pcmMgbW9kX211YyBtb2RfcHVic3Vi
OyBkbwogICAgKGNkICRBOyBnbWFrZSkKZG9uZQoKCmVjaG8gJycKZWNobyAnbm93IGVkaXQgZWph
YmJlcmQuY2ZnJwplY2hvICcnCmVjaG8gJ3RvIHN0YXJ0IGVqYWJiZXJkOiBlcmwgLXNuYW1lIGVq
YWJiZXJkIC1zIGVqYWJiZXJkJwo=
--Multipart_Wed__3_Sep_2003_10:21:59_-0700_091ffe00
Content-Type: application/octet-stream;
name="ejabberd.cfg"
Content-Disposition: attachment;
filename="ejabberd.cfg"
Content-Transfer-Encoding: base64
JSAkSWQ6IGVqYWJiZXJkLmNmZyx2IDEuMjIgMjAwMy8wOC8wMyAxOTowOTozNyBhbGVrc2V5IEV4
cCAkCgolb3ZlcnJpZGVfYWNscy4KCnthY2wsIGFkbWluLCB7dXNlciwgIm1yb3NlIn19Lgp7YWNs
LCBhZG1pbiwge3VzZXIsICJ0ZXN0In19Lgp7YWNsLCBhZG1pbiwge3VzZXIsICJtcm9zZSIsICJq
YWJiZXIuZGJjLm10dmlldy5jYS51cyJ9fS4Ke2FjbCwgYWRtaW4sIHt1c2VyLCAidGVzdCIsICJq
YWJiZXIuZGJjLm10dmlldy5jYS51cyJ9fS4KCnthY2wsIGphYmJlcm9yZywge3NlcnZlciwgImph
YmJlci5vcmcifX0uCnthY2wsIG1yb3NlLCB7dXNlciwgIm1yb3NlIiwgImphYmJlci5kYmMubXR2
aWV3LmNhLnVzIn19LgoKCntzaGFwZXIsIG5vcm1hbCwge21heHJhdGUsIDEwMDB9fS4KCgp7YWNj
ZXNzLCBkaXNjb19hZG1pbiwgW3thbGxvdywgYWRtaW59LAogICAgICAgICAgICAgICAgICAgICAg
IHtkZW55LCBhbGx9XX0uCgp7YWNjZXNzLCBjb25maWd1cmUsIFt7YWxsb3csIGFkbWlufV19LgoK
e2FjY2VzcywgYzJzL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gICAgICAgICAge21vZF9zdGF0cywgICAgIFtd
fSwKICAgICAgICAgICB7bW9kX3ZjYXJkLCAgICAgW119LAogICAgICAgICAgIHttb2Rfb2ZmbGlu
ZSwgICBbXX0sCiAgICAgICAgICAge21vZF9lY2hvLCAgICAgIFt7aG9zdCwgImVjaG8uamFiYmVy
LmRiYy5tdHZpZXcuY2EudXMifV19LAogICAgICAgICAgIHttb2RfcHJpdmF0ZSwgICBbXX0sCiUg
ICAgICAgICAge21vZF9pcmMsICAgICAgIFtdfSwKICAgICAgICAgICB7bW9kX211YywgICAgICAg
W119LAogICAgICAgICAgIHttb2RfcHVic3ViLCAgICBbXX0sCiAgICAgICAgICAge21vZF90aW1l
LCAgICAgIFt7aXFkaXNjLCBub19xdWV1ZX1dfSwKICAgICAgICAgICB7bW9kX3ZlcnNpb24sICAg
W119CiAgICAgICAgICBdfS4KCgoKCiUgTG9jYWwgVmFyaWFibGVzOgolIG1vZGU6IGVybGFuZwol
IEVuZDoK
--Multipart_Wed__3_Sep_2003_10:21:59_-0700_091ffe00
Content-Type: application/octet-stream;
name="ejabberd"
Content-Disposition: attachment;
filename="ejabberd"
Content-Transfer-Encoding: base64
IyEvYmluL3NoCiMKIyBQUk9WSURFOiBlamFiYmVyZAojIFJFUVVJUkU6IERBRU1PTgojIEtFWVdP
UkQ6IHNodXRkb3duCiMKCkhPTUU9L3Vzci9wa2cvamFiYmVyIEQ9L3Vzci9wa2cvamFiYmVyL2Vq
YWJiZXJkIGV4cG9ydCBIT01FCgpuYW1lPSJlamFiYmVyZCIKcmN2YXI9JG5hbWUKCmlmIFsgLXIg
L2V0Yy9yYy5jb25mIF0KdGhlbgogICAgICAgIC4gL2V0Yy9yYy5jb25mCmVsc2UKICAgICAgICBl
dmFsICR7cmN2YXJ9PVlFUwpmaQoKIyAkZmxhZ3MgZnJvbSBlbnZpcm9ubWVudCBvdmVycmlkZXMg
JHtyY3Zhcn1fZmxhZ3MKaWYgWyAtbiAiJHtmbGFnc30iIF0KdGhlbgogICAgICAgIGV2YWwgJHty
Y3Zhcn1fZmxhZ3M9IiR7ZmxhZ3N9IgpmaQoKY2hlY2t5ZXNubygpCnsKICAgICAgICBldmFsIF92
YWx1ZT1cJCR7MX0KICAgICAgICBjYXNlICRfdmFsdWUgaW4KICAgICAgICBbWXldW0VlXVtTc118
W1R0XVtScl1bVXVdW0VlXXxbT29dW05uXXwxKSAgICAgICByZXR1cm4gMCA7OwogICAgICAgIFtO
bl1bT29dfFtGZl1bQWFdW0xsXVtTc11bRWVdfFtPb11bRmZdW0ZmXXwwKSAgIHJldHVybiAxIDs7
CiAgICAgICAgKikKICAgICAgICAgICAgICAgIGVjaG8gIlwkJHsxfSBpcyBub3Qgc2V0IHByb3Bl
cmx5LiIKICAgICAgICAgICAgICAgIHJldHVybiAxCiAgICAgICAgICAgICAgICA7OwogICAgICAg
IGVzYWMKfQoKY21kPSR7MTotc3RhcnR9CmNhc2UgJHtjbWR9IGluCmZvcmNlKikKICAgICAgICBj
bWQ9JHtjbWQjZm9yY2V9CiAgICAgICAgZXZhbCAke3JjdmFyfT1ZRVMKICAgICAgICA7Owplc2Fj
CgppZiBjaGVja3llc25vICR7cmN2YXJ9CnRoZW4KZWxzZQogICAgZXhpdCAwCmZpCgpjYXNlICR7
Y21kfSBpbgpzdGFydCkKICAgICAgICBpZiBbIC14ICREL3NyYyBdOyB0aGVuCiAgICAgICAgICAg
IGVjaG8gIlN0YXJ0aW5nICR7bmFtZX0uIgogICAgICAgICAgICBjZCAkRC9zcmMKICAgICAgICAg
ICAgc3UgamFiYmVyIC1jICIvdXNyL3BrZy9iaW4vZXJsIC1zbmFtZSBlamFiYmVyZCAtcyBlamFi
YmVyZCAtaGVhcnQgLWRldGFjaGVkICYiIFwKICAgICAgICAgICAgICAgICAgICAgIDE+L2Rldi9u
dWxsIDI+JjEKICAgICAgICBmaQogICAgICAgIDs7CnN0b3ApCiAgICAgICAgZWNobyAicnBjOmNh
bGwoJ2VqYWJiZXJkQGBob3N0bmFtZSAtc2AnLCBpbml0LCBzdG9wLCBbXSkuIiB8IFwKICAgICAg
ICAgICAgIHN1IGphYmJlciAtYyAiZXJsIC1zbmFtZSBlamFiYmVyZHN0b3AiCiAgICAgICAgOzsK
cmVzdGFydCkKICAgICAgICBlY2hvICJycGM6Y2FsbCgnZWphYmJlcmRAYGhvc3RuYW1lIC1zYCcs
IGluaXQsIHJlc3RhcnQsIFtdKS4iIHwgXAogICAgICAgICAgICAgc3UgamFiYmVyIC1jICJlcmwg
LXNuYW1lIGVqYWJiZXJkcmVzdGFydCIKICAgICAgICA7OwoqKQogICAgICAgIGVjaG8gIlVzYWdl
OiAkMCB7c3RhcnR8c3RvcHxyZXN0YXJ0fSIKICAgICAgICBleGl0IDEKZXNhYwo=
--Multipart_Wed__3_Sep_2003_10:21:59_-0700_091ffe00--