diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2004-03-16 19:10:30 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2004-03-16 19:10:30 +0000 |
commit | 3391023f0e63c0321dd42ac3f866096fb755d7e4 (patch) | |
tree | 8da98917992c5bfba2bc6145c22bf624c61702fb /net-im/msn-transport | |
parent | stable on sparc (diff) | |
download | historical-3391023f0e63c0321dd42ac3f866096fb755d7e4.tar.gz historical-3391023f0e63c0321dd42ac3f866096fb755d7e4.tar.bz2 historical-3391023f0e63c0321dd42ac3f866096fb755d7e4.zip |
Initial work on bug 43851
Diffstat (limited to 'net-im/msn-transport')
-rw-r--r-- | net-im/msn-transport/Manifest | 9 | ||||
-rw-r--r-- | net-im/msn-transport/files/msn-transport.init | 19 | ||||
-rw-r--r-- | net-im/msn-transport/files/msnt.xml | 2 |
3 files changed, 25 insertions, 5 deletions
diff --git a/net-im/msn-transport/Manifest b/net-im/msn-transport/Manifest index 32f1c191bde0..74ec0ef03b88 100644 --- a/net-im/msn-transport/Manifest +++ b/net-im/msn-transport/Manifest @@ -1,7 +1,8 @@ -MD5 0c52db99600879cf992b6c7161898a5a ChangeLog 721 -MD5 d76a7c620d2b4630a7f3f6d6a0f4e353 metadata.xml 319 MD5 66649516ec3312966b0847148f317e79 msn-transport-1.2.8_rc1.ebuild 987 -MD5 052318a7b8dfc18122569ed5aac82ab2 files/README.Gentoo 1495 +MD5 d76a7c620d2b4630a7f3f6d6a0f4e353 metadata.xml 319 +MD5 0c52db99600879cf992b6c7161898a5a ChangeLog 721 +MD5 5fd3cce8c18bc9ca1aa9ff085bcb3f7e files/msnt.xml 3328 +MD5 2d875f8eaac597683ac3a7d856df482a files/msn-transport.init 325 MD5 48a8141a79b4a77446a34e966932f41a files/digest-msn-transport-1.2.8_rc1 73 +MD5 052318a7b8dfc18122569ed5aac82ab2 files/README.Gentoo 1495 MD5 2bb7338640063281eeef587f8ce0fd5e files/msn-configure-patch-00 805 -MD5 96efe3e8d5fb4bfc38fd35545dd1140b files/msnt.xml 3285 diff --git a/net-im/msn-transport/files/msn-transport.init b/net-im/msn-transport/files/msn-transport.init new file mode 100644 index 000000000000..18d2e954d5cc --- /dev/null +++ b/net-im/msn-transport/files/msn-transport.init @@ -0,0 +1,19 @@ +#!/sbin/runscript + +depend() { + need net + use jabber-server +} + +start() { + jabberd -B -c /etc/jabber/msnt.xml -H /var/spool/jabber >/dev/null 2>&1 +} + +stop() { + kill `cat /var/log/jabber/msnt.pid` + sleep 2 + if ( -f /var/log/jabber/msnt.pid ); then + kill -9 `cat /var/log/jabber/msnt.pid` + rm -f /var/log/jabber/msnt.pid + fi +} diff --git a/net-im/msn-transport/files/msnt.xml b/net-im/msn-transport/files/msnt.xml index 41e60f48bfc4..e61955e7045f 100644 --- a/net-im/msn-transport/files/msnt.xml +++ b/net-im/msn-transport/files/msnt.xml @@ -102,5 +102,5 @@ <secret>test</secret> </connect> </service> - +<pidfile>/var/log/jabber/msnt.pid</pidfile> </jabber> |