summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-10-09 17:26:00 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-10-09 17:26:00 +0000
commitc46ef184fe954efa5028147a69d1671ec00e1ce2 (patch)
tree393dd2bc82bb859ce0f7ea32710678c1503a477d
parentFixed perl-kolab. (diff)
downloadkolab-c46ef184fe954efa5028147a69d1671ec00e1ce2.tar.gz
kolab-c46ef184fe954efa5028147a69d1671ec00e1ce2.tar.bz2
kolab-c46ef184fe954efa5028147a69d1671ec00e1ce2.zip
Add an init.d file for kolabd.
svn path=/overlay/; revision=3005
-rw-r--r--dev-perl/perl-kolab/Manifest3
-rw-r--r--dev-perl/perl-kolab/files/kolabd18
-rw-r--r--dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081009.ebuild5
3 files changed, 25 insertions, 1 deletions
diff --git a/dev-perl/perl-kolab/Manifest b/dev-perl/perl-kolab/Manifest
index f1e37b7..2d034aa 100644
--- a/dev-perl/perl-kolab/Manifest
+++ b/dev-perl/perl-kolab/Manifest
@@ -1,11 +1,12 @@
AUX kolab_services 2862 RMD160 8210ceccd575b61b7738af6f8b0bd16c61185588 SHA1 1d23c96cd04172aa07f0638ad38b41c4ce0cb9b5 SHA256 b0bcc0c7dfb0edfb32fa1239c6d2347620b2dd0c05d3a71201dd6514a52c1184
+AUX kolabd 592 RMD160 b2e0d616f48fe491f65c5810efd8d7d849107ea2 SHA1 e183d3e8a01a9a9ff9c67fd1934649557e50d59b SHA256 639c1c97560e2ccf0357ba3262cbda61990f7b0d747cec2784e671cffdd8c950
AUX perl-kolab_perl-kolab_Kolab_Kolab.pm.in-2.1.patch 2242 RMD160 c5071b50b275dedfa7779b16aa0e299ac5e7ee04 SHA1 41f3894f37147da9c1755691066e908864af55d4 SHA256 e677bb60d1bc515c42b621edfcd1a2a89026449080dc114c410da7e0ca98779c
DIST perl-kolab-2.1-gentoo-20070510.tar.bz2 79381 RMD160 68c0c8aeda64fe1104b105cd2669d6156675dc8a SHA1 fd20a7bc5cadfa69e01958ecaea57dbfb2f7e5af SHA256 66a6197a2b37333e88bb46ed286e5a8e3235427e67f0d8d59f2d96712108d427
DIST perl-kolab-2.2.0+cvs20081009.tar.gz 51367 RMD160 94663a76149dc5182a638bdbda802b76ade42c7c SHA1 75d8dcc9e0146fcfc56451b06b2eaf50b7136faa SHA256 ddfd98dc990c485080616051e6c99cbf4394c77ad9ff8b8c1a635bdfa291c1eb
DIST perl-kolab-2.2_gentoo20080505.tar.gz 26411 RMD160 cbc823b2c725f24c2b54a96581132c878ec80e56 SHA1 79f485944344ab0247a127c774c1d1430607d5bf SHA256 617b59003ef80af194c4ab0bbba0a33119780dac61d615696bd6d95f061b709f
DIST perl-kolab-2.2_gentoo20080528.tar.gz 26397 RMD160 fd545f2e80e8f81ffb3cb13f25fa70acb92269d0 SHA1 e90d9a41c7ea99027f19801f18af5c57afb90576 SHA256 6915266544fbf28d3ab18c775da2634d5b2a325a21a0b05c235e261569e708fa
EBUILD perl-kolab-2.1.ebuild 1755 RMD160 be5445c23e22e5e2dcb38e19ee41bf0de290cec1 SHA1 2657001e8ef2b23e54d97c8564c8d737f3513b40 SHA256 47bb86e366a2858c98cf1c193d55c2b47e9631a95b786a03c854ccd5d6892c71
-EBUILD perl-kolab-2.2.0_alpha20081009.ebuild 1049 RMD160 690733788cb6917848aeaf8d87bebb79c4f15163 SHA1 9c5ef8759da123586bf700446a4640b2c42c965e SHA256 cad30501084040e5a82e438243a1b9eea5721422ebd65365a5c559099c07bd0b
+EBUILD perl-kolab-2.2.0_alpha20081009.ebuild 1141 RMD160 0deef926c75dd12df4d8903a8789cdb54396fa38 SHA1 4236d8f358f22ce4eabcbf1f8c379bdd9ca2b323 SHA256 20b04382f871c923f757e2bfd5f5d2d540334e56d86c1a8c44abf3725c919039
EBUILD perl-kolab-2.2_alpha20080505.ebuild 730 RMD160 73d27214d0ee227aa7690908ae01309ab1b0d8c6 SHA1 33582687731a6e7aac9fe266499dac5220032583 SHA256 43a1200955c13f4689d9788cd7b9a8bc375b34daab8b12d79b704adb00c26eda
EBUILD perl-kolab-2.2_alpha20080528.ebuild 716 RMD160 a9ac6593f16866f69209dff531e3e99ba59c6712 SHA1 ac81605594e6db769460f9bb765192003fc22077 SHA256 85d923ea3cb0ee97840dac7e8b1a2ca8a8c03c9506d9d2bcf3c14c77abfa5328
MISC ChangeLog 732 RMD160 02574350ed98c9b77aa1822695ca618dbdfdadb9 SHA1 193792793ad46b7a12f65f71bc6476af9a23c003 SHA256 6db808b197c67bf27a114d382b809b271a7b26a51368ea9be67cf84160832bc5
diff --git a/dev-perl/perl-kolab/files/kolabd b/dev-perl/perl-kolab/files/kolabd
new file mode 100644
index 0000000..eab4668
--- /dev/null
+++ b/dev-perl/perl-kolab/files/kolabd
@@ -0,0 +1,18 @@
+#!/sbin/runscript
+
+depend() {
+ need cyrus
+}
+
+start() {
+ ebegin "Starting kolabd"
+ start-stop-daemon -b --start --quiet --exec /usr/sbin/kolabd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping kolabd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/kolabd/kolabd.pid
+ eend $?
+}
+
diff --git a/dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081009.ebuild b/dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081009.ebuild
index 0e6afc4..935f298 100644
--- a/dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081009.ebuild
+++ b/dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081009.ebuild
@@ -41,6 +41,10 @@ src_install() {
insinto /etc/kolab
doins data/quotawarning.txt
+ dodir /etc/init.d
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/kolabd
+
perl-module_src_install
dodir /usr/sbin
@@ -51,4 +55,5 @@ src_install() {
rm "${D}"/usr/bin/kolabconf
rm "${D}"/usr/bin/kolab_bootstrap
+ keepdir /var/run/kolabd
}