diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-19 20:12:41 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-19 20:12:41 +0000 |
commit | 78328412c3c3f694647b6574f0761173711ae8a1 (patch) | |
tree | f98d96de6b1a93ce95396993047c107b9b2faaac /sys-cluster/csync2 | |
parent | Version bump. (diff) | |
download | historical-78328412c3c3f694647b6574f0761173711ae8a1.tar.gz historical-78328412c3c3f694647b6574f0761173711ae8a1.tar.bz2 historical-78328412c3c3f694647b6574f0761173711ae8a1.zip |
Adding init script. Thanks to Ultrabug <ultrabug@ultrabug.net>
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/csync2')
-rw-r--r-- | sys-cluster/csync2/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/csync2/Manifest | 15 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.34-r1.ebuild | 4 | ||||
-rwxr-xr-x | sys-cluster/csync2/files/csync2.initd | 26 |
4 files changed, 42 insertions, 9 deletions
diff --git a/sys-cluster/csync2/ChangeLog b/sys-cluster/csync2/ChangeLog index ae46cc6f5f72..97e17be4e23a 100644 --- a/sys-cluster/csync2/ChangeLog +++ b/sys-cluster/csync2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/csync2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.28 2010/06/17 20:08:04 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.29 2010/06/19 20:12:41 xarthisius Exp $ + + 19 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> +files/csync2.initd, + csync2-1.34-r1.ebuild: + Adding init script. Thanks to Ultrabug <ultrabug@ultrabug.net> *csync2-1.34-r1 (17 Jun 2010) diff --git a/sys-cluster/csync2/Manifest b/sys-cluster/csync2/Manifest index f5258097e74f..a347134cd161 100644 --- a/sys-cluster/csync2/Manifest +++ b/sys-cluster/csync2/Manifest @@ -2,19 +2,20 @@ Hash: SHA1 AUX csync2-1.34-gnutls.patch 8226 RMD160 2cac45c9a43dab135ef3132aeca4c0f89be13b3d SHA1 184b63d83c6901efec381ee1ece7d80d10d46deb SHA256 aecfc03ca63ee4842b762ca856782dd0193aa39fecfa903b3443c9645786b5f3 +AUX csync2.initd 607 RMD160 9d0870e558b821a433754a43e2edf534ea3f7241 SHA1 84375c421ebb676ce30f9355707326051b35eeb5 SHA256 eed3f72bdff8e15af8cf76fc3f0179dbfa6a8c9c49213089633a9daf01a5ab7c AUX csync2.xinetd 388 RMD160 d1d6cd433c34356b649936958a43b16f247e7cd9 SHA1 60fd6dc9a8eb7c8ee2adf00e66049c3b650e6421 SHA256 c281d7e494088abd84ef09b5487482cfa886f12aa0ab717f4cb579b729cc7ee9 DIST csync2-1.34-pure-gnutls.patch.bz2 32879 RMD160 281e393fd9cd831467dc0219c5fd3599d82a7659 SHA1 7f392f575af1080f4417e4ae46418f43ac57dbc1 SHA256 292121b82711b2988f7b98d0fa488262b6bb453aed4bc331a0673802b1ba5846 DIST csync2-1.34.tar.gz 222765 RMD160 d79ddf0e608934d40f0095dde8aa5785c6094d84 SHA1 59b95388d378b659d64d17f7b736068dec7bf7ed SHA256 32b250dd4a0353f71015c5c3961174b975dd5e799e4a084e8f6d00792bd8c833 -EBUILD csync2-1.34-r1.ebuild 2477 RMD160 b1659ea72b050354cde8da4309064100def2c59e SHA1 bc2bc1c9ee9e069d84e3a7cb3b3c817c0f272fed SHA256 2cced61d0f383bb409014d74db325f0bfce94844aab50880e13ca72667ca2b74 +EBUILD csync2-1.34-r1.ebuild 2527 RMD160 b2d909be4502e48e322b1dea6d49f0f3bb6aa44c SHA1 aab3bba333c074fa956b857bdee4864d9a365df5 SHA256 22ee6a796b81c83e88331be3d6b5427c087192646660d97e643a3a504fde4a54 EBUILD csync2-1.34.ebuild 2576 RMD160 4a6f158e282f8f92961e8ee3f453431dfd491568 SHA1 f637817e135cb18e528426c582aab583809c77f0 SHA256 e5d0c5a43df02e3b6e3e81e9dc0bd857c0104cec3a6246ca2133a3f715742883 -MISC ChangeLog 4378 RMD160 b8a927fe56082abe1790a9337d264101f0b074d2 SHA1 3a07dab26880ae902d2295f3732a08d26f3f07ad SHA256 df8caf2873838f7d77ba24e5e903efb8f9a0b52bd3565cf8b8088ac638d18e27 +MISC ChangeLog 4544 RMD160 f3ba7b11a50e4f282704ec9226586ff382245abf SHA1 6fc5c7eb896926284ce5a574c274f5730ecfe7e2 SHA256 3792af8fdb8c9311bcd377489b4a84a2a434b8ae71a6dcfa8b82aabd09d147b9 MISC metadata.xml 229 RMD160 4dcf17b88c5f4db2e817f473f3e8269b0bff2e6e SHA1 e6315be43241c55bdc0d12a42fa05632c5ff9b79 SHA256 49e13d2d49bef7298e3bb665ebeceeff9b0880fae5ff639cb8405993504f244f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) -iJwEAQECAAYFAkwagK0ACgkQIiMqcbOVdxRA2AP/WSuO6G8lu1PJUuB2Jx220lGF -j6DhDWXEl+4cDlXQkgTOKP5RQvkDsSUpu31iHQG4f+g300VmCEDCAjKtKEBcyQ7r -KkjuUHzMpLImwD+1JvUJPCXEL8zjbyPQ8aU4NRnRzLVPYLlWNye/Y/+FGBThrENB -zdFzK3qe9peu4NYKLBQ= -=vAyD +iJwEAQECAAYFAkwdJMIACgkQIiMqcbOVdxQN8wQAj7BW9yF2pgtoJxZYETON6mE+ +0E1GmL2ihvOgM8XPGAkc2XDGAz+dpGKhMXKqktdWeZSHOIMqhVuCiZ/+ZKUcpWLh +Tks7eU/9tV+jCG/JY0n/uDFm0KUm75qi8oQFoPEI48yJnsHvm7uOeVLQUibpbXaq +K+1YWfkyNyd8pwlS0xQ= +=wEkC -----END PGP SIGNATURE----- diff --git a/sys-cluster/csync2/csync2-1.34-r1.ebuild b/sys-cluster/csync2/csync2-1.34-r1.ebuild index 838137324215..a5b7d4fcc75a 100644 --- a/sys-cluster/csync2/csync2-1.34-r1.ebuild +++ b/sys-cluster/csync2/csync2-1.34-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.34-r1.ebuild,v 1.1 2010/06/17 20:08:04 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.34-r1.ebuild,v 1.2 2010/06/19 20:12:41 xarthisius Exp $ EAPI=2 @@ -47,6 +47,8 @@ src_install() { dodir /var/lib/csync2/ || die keepdir /var/lib/csync2/ + newinitd "${FILESDIR}"/${PN}.initd ${PN} || die + dodoc AUTHORS ChangeLog INSTALL NEWS README TODO csync2_locheck.sh || die } diff --git a/sys-cluster/csync2/files/csync2.initd b/sys-cluster/csync2/files/csync2.initd new file mode 100755 index 000000000000..55537be94a66 --- /dev/null +++ b/sys-cluster/csync2/files/csync2.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/files/csync2.initd,v 1.1 2010/06/19 20:12:41 xarthisius Exp $ + +PIDFILE=/var/run/csync2.pid +BINARY=/usr/sbin/csync2 + +start() { + ebegin "Starting csync2" + start-stop-daemon --start --pidfile "${PIDFILE}" -m -x ${BINARY} -b -- -ii + eend $? +} + +stop() { + ebegin "Stopping csync2" + start-stop-daemon --stop --pidfile "${PIDFILE}" + eend $? +} + +restart() { + ebegin "Restarting csync2" + svc_stop + svc_start + eend $? +} |