diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-12-08 16:49:48 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-12-08 16:49:48 +0000 |
commit | 9f9f6898c21fb3c0b0131f8f59827929bd3564dc (patch) | |
tree | a215cd4f39aa539e90af2ad571f0faa3cf3dff5b /net-im | |
parent | Stable for HPPA (bug #199195). (diff) | |
download | historical-9f9f6898c21fb3c0b0131f8f59827929bd3564dc.tar.gz historical-9f9f6898c21fb3c0b0131f8f59827929bd3564dc.tar.bz2 historical-9f9f6898c21fb3c0b0131f8f59827929bd3564dc.zip |
Restore initd and confd files that are still needed.
Package-Manager: portage-2.1.4_rc8
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/ejabberd/ChangeLog | 6 | ||||
-rw-r--r-- | net-im/ejabberd/Manifest | 24 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd-1.1.1-r1.initd | 62 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd-1.1.1.confd | 17 |
4 files changed, 100 insertions, 9 deletions
diff --git a/net-im/ejabberd/ChangeLog b/net-im/ejabberd/ChangeLog index 6905c6a7f624..9772557e8050 100644 --- a/net-im/ejabberd/ChangeLog +++ b/net-im/ejabberd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-im/ejabberd # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ChangeLog,v 1.25 2007/12/08 16:25:59 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ChangeLog,v 1.26 2007/12/08 16:49:47 ulm Exp $ + + 08 Dec 2007; Ulrich Mueller <ulm@gentoo.org> + +files/ejabberd-1.1.1-r1.initd, +files/ejabberd-1.1.1.confd: + Restore initd and confd files that are still needed. 08 Dec 2007; Tony Vroon <chainsaw@gentoo.org> -files/ejabberd-0.7.5.confd, -files/ejabberd-0.7.5.initd, -files/ejabberd-1.1.1-r1.initd, diff --git a/net-im/ejabberd/Manifest b/net-im/ejabberd/Manifest index 00280582263a..2eb0b4520abd 100644 --- a/net-im/ejabberd/Manifest +++ b/net-im/ejabberd/Manifest @@ -13,6 +13,14 @@ AUX ejabberd 355 RMD160 bf400cf3a84169a79797db9228ad102d93c9147b SHA1 83bae90f0e MD5 e34f266ad55b2db038375cb6962721cd files/ejabberd 355 RMD160 bf400cf3a84169a79797db9228ad102d93c9147b files/ejabberd 355 SHA256 1f2254ce2835a986eb75adaf5602d1cb74ced989c2360331822a2c5e11c9837b files/ejabberd 355 +AUX ejabberd-1.1.1-r1.initd 1401 RMD160 7513d6b71200591a3266e9355505f0b715879ca8 SHA1 14624338a1520291cd08bf0044d3a8845fefd796 SHA256 a69e65d6ec26ed2af1e8cda83493e0a2a652b165560317bf6679fbc97d83db49 +MD5 b07c499e35401c0663f3e119f9f2d898 files/ejabberd-1.1.1-r1.initd 1401 +RMD160 7513d6b71200591a3266e9355505f0b715879ca8 files/ejabberd-1.1.1-r1.initd 1401 +SHA256 a69e65d6ec26ed2af1e8cda83493e0a2a652b165560317bf6679fbc97d83db49 files/ejabberd-1.1.1-r1.initd 1401 +AUX ejabberd-1.1.1.confd 772 RMD160 e250deb4895d02637043877b5f17db447488da0d SHA1 4a716be46619efb4ee40810cbcc11ab191a583de SHA256 61e329a57da720527101a0db42d0ac3ec31d908039b445a1d9e90df5b1195135 +MD5 dc71140b9163a173a4817720c586fa7f files/ejabberd-1.1.1.confd 772 +RMD160 e250deb4895d02637043877b5f17db447488da0d files/ejabberd-1.1.1.confd 772 +SHA256 61e329a57da720527101a0db42d0ac3ec31d908039b445a1d9e90df5b1195135 files/ejabberd-1.1.1.confd 772 AUX ejabberd-1.1.3.confd 739 RMD160 b06ee5cf9f6542dd752c44dc0ef21076163811e5 SHA1 9bd467e571f70482750db0108775273da93de772 SHA256 840fbf999509e03917b7281b2893e2609fb2d0dea016e7463590aa13507bb770 MD5 4fc4206ef0962ddaaf8814246795f419 files/ejabberd-1.1.3.confd 739 RMD160 b06ee5cf9f6542dd752c44dc0ef21076163811e5 files/ejabberd-1.1.3.confd 739 @@ -59,10 +67,10 @@ EBUILD ejabberd-1.1.4.ebuild 3398 RMD160 27a04ce2f5b4b1ab0242c31b8e43d05d5fc1799 MD5 d254afd0df6255f5e306406edbb193ae ejabberd-1.1.4.ebuild 3398 RMD160 27a04ce2f5b4b1ab0242c31b8e43d05d5fc17993 ejabberd-1.1.4.ebuild 3398 SHA256 5ed0d6bfc3a034670a5821fbfcaf1e3c0d15ea3b89d888e997602f4dc62c640f ejabberd-1.1.4.ebuild 3398 -MISC ChangeLog 5684 RMD160 3eeb89acf999babf352b9fbc12ac6c14382bddcb SHA1 f4ebf1eabc70f9a227f869df6c3abbe38adaa1b8 SHA256 bee393dfcf71a1f734baae7b40468267060f1c3208f3ba5f31ac11fb39156c54 -MD5 66c435ead4ec1a1bc393f4c32ed4fd93 ChangeLog 5684 -RMD160 3eeb89acf999babf352b9fbc12ac6c14382bddcb ChangeLog 5684 -SHA256 bee393dfcf71a1f734baae7b40468267060f1c3208f3ba5f31ac11fb39156c54 ChangeLog 5684 +MISC ChangeLog 5845 RMD160 ebf1b530c2ac1c5f41a920b67fc8d57cb40a6208 SHA1 370990cfdc3534504e33aa6400b6ffce7fa24dc0 SHA256 e6429fd7b2a407dd11c22daa98663ed66fea87cc0ac49ee5634755fe0b0d3850 +MD5 27c63424e989a1a1ca3e7de23e915017 ChangeLog 5845 +RMD160 ebf1b530c2ac1c5f41a920b67fc8d57cb40a6208 ChangeLog 5845 +SHA256 e6429fd7b2a407dd11c22daa98663ed66fea87cc0ac49ee5634755fe0b0d3850 ChangeLog 5845 MISC metadata.xml 383 RMD160 dcf83a193e8c65bca36c368d8b4b70759bf1a7ee SHA1 2e1a9e8406a47ceb62f0d9edcabd27668b412634 SHA256 c1afbca95c1be1d2095a4dcd6ba39c8d1dd1974993b0f800264add3c18428a55 MD5 2a43b0fd5e7b6404b98548ac55046b3f metadata.xml 383 RMD160 dcf83a193e8c65bca36c368d8b4b70759bf1a7ee metadata.xml 383 @@ -80,9 +88,9 @@ MD5 77ab7ab7a3acee10a7ad96b594a96a0b files/digest-ejabberd-1.1.4 244 RMD160 c4236c87a7e5a96c87b37ecf516008f60614f4c2 files/digest-ejabberd-1.1.4 244 SHA256 aa9a0367dae2f4b694e73892e917dc58d8fca9e7c4029b855b34e487482b1835 files/digest-ejabberd-1.1.4 244 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) +Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFHWsVsp5vW4rUFj5oRApodAJ9ky7KhOoSO/+sxI5qW0lJXBpjLLgCguewl -HCGGQfyS/R8TONS9D5IJuC4= -=cQkO +iD8DBQFHWstDOeoy/oIi7uwRAvuWAJ9bXz/T6KgTYc9580xTNASKtJYLGgCgoEtq +7/d3dercuAf5jintati5HU8= +=3GLF -----END PGP SIGNATURE----- diff --git a/net-im/ejabberd/files/ejabberd-1.1.1-r1.initd b/net-im/ejabberd/files/ejabberd-1.1.1-r1.initd new file mode 100644 index 000000000000..ce958a7add40 --- /dev/null +++ b/net-im/ejabberd/files/ejabberd-1.1.1-r1.initd @@ -0,0 +1,62 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/files/ejabberd-1.1.1-r1.initd,v 1.4 2007/12/08 16:49:48 ulm Exp $ + +opts="${opts} reload" + +depend() { + use dns + need net + provide jabber-server +} + +checkconfig() { + if [ ! -e /etc/jabber/ejabberd.cfg ] ; then + eerror "You need an /etc/jabber/ejabberd.cfg file to run ejabberd" + return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting eJabberd" + start-stop-daemon --start --quiet --chuid jabber:jabber \ + --env HOME=/var/run/jabber \ + --exec /usr/bin/beam \ + --startas /usr/bin/ejabberd -- -noshell -detached + eend $? +} + +stop() { + ebegin "Stopping eJabberd" + if [ -z "$EJABBERD_NODE" ]; + then + EJABBERD_NODE="ejabberd@`hostname -s`" + fi + /usr/bin/ejabberdctl $EJABBERD_NODE stop + eend $? +} + +# Work around a bug in /sbin/runscript.sh - it won't run our custom +# restart() unless it finds these two strings in the file. +# svc_start svc_stop +restart() { + ebegin "Restarting eJabberd" + if [ -z "$EJABBERD_NODE" ]; + then + EJABBERD_NODE="ejabberd@`hostname -s`" + fi + /usr/bin/ejabberdctl $EJABBERD_NODE restart + eend $? +} + +reload() { + ebegin "Reloading eJabberd" + if [ -z "$EJABBERD_NODE" ]; + then + EJABBERD_NODE="ejabberd@`hostname -s`" + fi + /usr/bin/ejabberdctl $EJABBERD_NODE reopen-log + eend $? +} diff --git a/net-im/ejabberd/files/ejabberd-1.1.1.confd b/net-im/ejabberd/files/ejabberd-1.1.1.confd new file mode 100644 index 000000000000..60b0f1002ffb --- /dev/null +++ b/net-im/ejabberd/files/ejabberd-1.1.1.confd @@ -0,0 +1,17 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/files/ejabberd-1.1.1.confd,v 1.3 2007/12/08 16:49:48 ulm Exp $ + +# Name of your ejabberd node. Used by ejabberdctl to determine which +# node to communicate with. Default is "ejabberd@`hostname -s`". +#EJABBERD_NODE="ejabberd@`hostname -s`" + +# Max number of open network connections. Default is 1024. Increasing +# this will slightly increase memory usage. +#ERL_MAX_PORTS=1024 + +# Return memory to the system after using it, instead of keeping it +# allocated for future use. Decreases the memory required by ejabberd, +# but makes it run slower. Default is unset, set to any value to +# activate. +#ERL_FULLSWEEP_AFTER=0 |