diff options
author | 2018-04-29 20:13:13 +0200 | |
---|---|---|
committer | 2018-04-29 20:13:36 +0200 | |
commit | ec7079c0c95dd1dac40e7b67fba9383a5498dcb8 (patch) | |
tree | 6eb1dba2c2ead27248000017adc912b6ada44446 /sys-cluster | |
parent | games-board/freedoko: Drop old (diff) | |
download | gentoo-ec7079c0c95dd1dac40e7b67fba9383a5498dcb8.tar.gz gentoo-ec7079c0c95dd1dac40e7b67fba9383a5498dcb8.tar.bz2 gentoo-ec7079c0c95dd1dac40e7b67fba9383a5498dcb8.zip |
Remove masked for removal package
Diffstat (limited to 'sys-cluster')
34 files changed, 0 insertions, 1805 deletions
diff --git a/sys-cluster/drbd-kernel/Manifest b/sys-cluster/drbd-kernel/Manifest deleted file mode 100644 index ae61f641bd0b..000000000000 --- a/sys-cluster/drbd-kernel/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST drbd-8.0.16.tar.gz 322758 BLAKE2B 472207843ac2f437a4fe1baeab84265e8bf871e12fba56f9957145a4d93d5a376e0637175d1810c3cf0c64eaf53161f5c33b24fc40d5a83f3147476aaedd19fe SHA512 1b325e3789032656a1f7286b51ac9e90f709c53f8ff35c10ca9bb2e27b1cf822813485e0a49d55c62e7966bc975040b42a6d0ac8fa066a16afa2605e9df87a17 -DIST drbd-8.3.6.tar.gz 457469 BLAKE2B 4ddafea7e0523f85f3aa02d01a981e6b5056fd84204b6afff82f1eaaba5c9273cdb5639be423c555b3896e226454eb71dc098ac29c34a9dab0b6a9532133cfcb SHA512 0e817d514b60891c70532511b99d7cddf24e3fa261b605bc920ad7ab2d4530682f84b78eb0a2ed9c25a8458a43496e8de61addade63b8f6e252a36b6b1d50cef -DIST drbd-8.3.8.1.tar.gz 482582 BLAKE2B 5967de376fed1085ffda4dadd8a6ddd8407cae07d54e9963d459cd7c387eaae4757c790fd33c887e03fc5f2e5cabc52490ec989fd2bb58eac32609135edfe1a4 SHA512 c43c6d065328058db66f708d47ce082603b766deb1530c57aa736a42b4908f780ede41f76395ca45c2691ef1dfd142147a4c98a7bcdb26ba7de73b149d8f9f5f diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.0.16.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.0.16.ebuild deleted file mode 100644 index c7940d8f75ab..000000000000 --- a/sys-cluster/drbd-kernel/drbd-kernel-8.0.16.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils versionator linux-mod - -LICENSE="GPL-2" -KEYWORDS="amd64 x86" - -MY_PN="${PN/-kernel/}" -MY_P="${MY_PN}-${PV}" -MY_MAJ_PV="$(get_version_component_range 1-2 ${PV})" - -HOMEPAGE="http://www.drbd.org" -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/${MY_MAJ_PV}/${MY_PN}-${PV}.tar.gz" - -IUSE="" - -DEPEND="virtual/linux-sources" -RDEPEND="" -SLOT="0" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - if ! kernel_is -ge 2 6; then - die "Unsupported kernel, drbd-8.0.x needs kernel 2.6.x ." - fi - - MODULE_NAMES="drbd(block:${S}/drbd)" - BUILD_TARGETS="default" - CONFIG_CHECK="CONNECTOR" - CONNECTOR_ERROR="You must enable \"CONNECTOR - unified userspace <-> kernelspace linker\" in your kernel configuration, because drbd needs it." - linux-mod_pkg_setup - BUILD_PARAMS="-j1 KDIR=${KERNEL_DIR} O=${KBUILD_OUTPUT}" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${PN}-8.0.0-scripts.adjust_drbd_config_h.sh.patch || die - epatch "${FILESDIR}"/${MY_P}-kernel-2.6.30-compile-fix.patch || die -} - -pkg_postinst() { - linux-mod_pkg_postinst - - einfo "" - einfo "Please remember to re-emerge drbd when you upgrade your kernel!" - einfo "" -} diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild deleted file mode 100644 index a204c0f4fc5a..000000000000 --- a/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit eutils versionator linux-mod - -LICENSE="GPL-2" -KEYWORDS="~amd64 x86" - -MY_PN="${PN/-kernel/}" -MY_P="${MY_PN}-${PV}" -MY_MAJ_PV="$(get_version_component_range 1-2 ${PV})" - -HOMEPAGE="http://www.drbd.org" -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/${MY_MAJ_PV}/${MY_PN}-${PV}.tar.gz" - -IUSE="" - -DEPEND="virtual/linux-sources" -RDEPEND="" -SLOT="0" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-linux-2.6.32.patch -} - -pkg_setup() { - if ! kernel_is -ge 2 6; then - die "Unsupported kernel, drbd-${PV} needs kernel 2.6.x ." - fi - - MODULE_NAMES="drbd(block:${S}/drbd)" - BUILD_TARGETS="default" - CONFIG_CHECK="CONNECTOR" - CONNECTOR_ERROR="You must enable \"CONNECTOR - unified userspace <-> kernelspace linker\" in your kernel configuration, because drbd needs it." - linux-mod_pkg_setup - BUILD_PARAMS="-j1 KDIR=${KV_DIR} O=${KV_OUT_DIR}" -} - -pkg_postinst() { - linux-mod_pkg_postinst - - einfo "" - einfo "Please remember to re-emerge drbd when you upgrade your kernel!" - einfo "" -} diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild deleted file mode 100644 index 8c2a7bc6cdbb..000000000000 --- a/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit eutils versionator linux-mod - -LICENSE="GPL-2" -KEYWORDS="amd64 x86" - -MY_PN=${PN/-kernel/} -MY_P=${MY_PN}-${PV} -MY_MAJ_PV=$(get_version_component_range 1-2 ${PV}) - -HOMEPAGE="http://www.drbd.org" -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/${MY_MAJ_PV}/${MY_PN}-${PV}.tar.gz" - -IUSE="" -DEPEND="virtual/linux-sources" -RDEPEND="" -SLOT="0" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - if ! kernel_is -ge 2 6; then - die "Unsupported kernel, drbd-${PV} needs kernel 2.6.x ." - elif [ ${KV_PATCH} -ge 33 ]; then - ewarn "Your kernel (${KV_FULL}) is too new to use this package." - ewarn "The DRBD module has been merged into kernel >= 2.6.33." - ewarn "Please compile the DRBD module from your current kernel." - die "${PN} is obsolete with kernel >= 2.6.33." - fi - - MODULE_NAMES="drbd(block:${S}/drbd)" - BUILD_TARGETS="default" - CONFIG_CHECK="CONNECTOR" - CONNECTOR_ERROR="You must enable \"CONNECTOR - unified userspace <-> kernelspace linker\" in your kernel configuration, because drbd needs it." - linux-mod_pkg_setup - BUILD_PARAMS="-j1 KDIR=${KV_DIR} O=${KV_OUT_DIR}" -} - -pkg_postinst() { - linux-mod_pkg_postinst - - einfo "" - einfo "Please remember to re-emerge drbd-kernel when you upgrade your kernel!" - einfo "" -} diff --git a/sys-cluster/drbd-kernel/files/drbd-8.0.16-kernel-2.6.30-compile-fix.patch b/sys-cluster/drbd-kernel/files/drbd-8.0.16-kernel-2.6.30-compile-fix.patch deleted file mode 100644 index c7b4f814077e..000000000000 --- a/sys-cluster/drbd-kernel/files/drbd-8.0.16-kernel-2.6.30-compile-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- drbd-8.0.16/drbd/drbd_main.c.orig 2009-08-04 17:55:52.000000000 +0300 -+++ drbd-8.0.16/drbd/drbd_main.c 2009-08-04 17:56:35.000000000 +0300 -@@ -2770,7 +2770,9 @@ - } - - drbd_proc->proc_fops = &drbd_proc_fops; -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) - drbd_proc->owner = THIS_MODULE; -+#endif - #else - # error "Currently drbd depends on the proc file system (CONFIG_PROC_FS)" - #endif diff --git a/sys-cluster/drbd-kernel/files/drbd-kernel-8.0.0-scripts.adjust_drbd_config_h.sh.patch b/sys-cluster/drbd-kernel/files/drbd-kernel-8.0.0-scripts.adjust_drbd_config_h.sh.patch deleted file mode 100644 index beb07fbdaeb9..000000000000 --- a/sys-cluster/drbd-kernel/files/drbd-kernel-8.0.0-scripts.adjust_drbd_config_h.sh.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- drbd-8.0.0/scripts/adjust_drbd_config_h.sh.orig 2007-02-05 01:20:58.000000000 +0100 -+++ drbd-8.0.0/scripts/adjust_drbd_config_h.sh 2007-02-05 01:21:28.000000000 +0100 -@@ -26,19 +26,7 @@ - pushd $KDIR - - KDIR=${KDIR%/} --if test -z "$O"; then -- ## just in case... -- ## detect if $KDIR points to something which is actually $O ... -- X=$( make help | sed -ne '/ -C .* O=.* help$/p' | tr -s ' ' ) -- if [[ -n $X ]]; then -- KDIR=${X##* -C }; KDIR=${KDIR%% *}; KDIR=$(cd $KDIR && pwd) -- O=${X##* O=}; O=${O%% *}; O=$(cd $KDIR && cd $O && pwd) -- else -- O=$KDIR; -- fi --else -- O=${O%/} --fi -+O=$KDIR; - - # some paranoia: check that all files are where we expect them - ls > /dev/null \ diff --git a/sys-cluster/drbd-kernel/files/drbd-kernel-8.3.6-linux-2.6.32.patch b/sys-cluster/drbd-kernel/files/drbd-kernel-8.3.6-linux-2.6.32.patch deleted file mode 100644 index 893f9c2e21fe..000000000000 --- a/sys-cluster/drbd-kernel/files/drbd-kernel-8.3.6-linux-2.6.32.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- drbd-8.3.6/drbd/drbd_req.c -+++ drbd-8.3.6/drbd/drbd_req.c -@@ -55,13 +55,21 @@ - __disk_stat_inc(mdev->vdisk, ios[rw]); - __disk_stat_add(mdev->vdisk, sectors[rw], bio_sectors(bio)); - disk_round_stats(mdev->vdisk); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) -+ mdev->vdisk->in_flight[rw]++; -+#else - mdev->vdisk->in_flight++; -+#endif - #else - cpu = part_stat_lock(); - part_stat_inc(cpu, &mdev->vdisk->part0, ios[rw]); - part_stat_add(cpu, &mdev->vdisk->part0, sectors[rw], bio_sectors(bio)); - part_stat_unlock(); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) -+ mdev->vdisk->part0.in_flight[rw]++; -+#else - mdev->vdisk->part0.in_flight++; -+#endif - #endif - } - -@@ -77,13 +85,21 @@ - #ifdef __disk_stat_add - __disk_stat_add(mdev->vdisk, ticks[rw], duration); - disk_round_stats(mdev->vdisk); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) -+ mdev->vdisk->in_flight[rw]--; -+#else - mdev->vdisk->in_flight--; -+#endif - #else - cpu = part_stat_lock(); - part_stat_add(cpu, &mdev->vdisk->part0, ticks[rw], duration); - part_round_stats(cpu, &mdev->vdisk->part0); - part_stat_unlock(); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) -+ mdev->vdisk->part0.in_flight[rw]--; -+#else - mdev->vdisk->part0.in_flight--; -+#endif - #endif - } - diff --git a/sys-cluster/drbd-kernel/metadata.xml b/sys-cluster/drbd-kernel/metadata.xml deleted file mode 100644 index 4a09d7ba8d61..000000000000 --- a/sys-cluster/drbd-kernel/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>cluster@gentoo.org</email> - <name>Gentoo Cluster Project</name> -</maintainer> -</pkgmetadata> diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest deleted file mode 100644 index fcc58cf25dfe..000000000000 --- a/sys-cluster/drbd/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -DIST drbd-8.0.16.tar.gz 322758 BLAKE2B 472207843ac2f437a4fe1baeab84265e8bf871e12fba56f9957145a4d93d5a376e0637175d1810c3cf0c64eaf53161f5c33b24fc40d5a83f3147476aaedd19fe SHA512 1b325e3789032656a1f7286b51ac9e90f709c53f8ff35c10ca9bb2e27b1cf822813485e0a49d55c62e7966bc975040b42a6d0ac8fa066a16afa2605e9df87a17 -DIST drbd-8.3.10.tar.gz 521798 BLAKE2B 2d8228e9b24489f36077369f4a964ffdad0f84be0c7c69b4c2726542efd00e65b5e595a2c3aff1f174ade6f4e90221ff50a6922f0313726fe952201657c1b474 SHA512 8d904ada9c80732b47cbf149cf4172658d350856d8688f1dce92c16ce1c4e946a0b3b3a14bb3c9361684fc08b257207c58beaa2fdb534f2abf47ac45aa659389 -DIST drbd-8.3.11.tar.gz 526056 BLAKE2B 2f86dadfce93455648e947036a8c8ec0e5bff8e1d055dd62c1d9a113e2f92696588ac28056edfab967be6890dcb36d829b10669b79fc392e3c0b180bd84a7230 SHA512 2bbf16d69e897adcb247d451f1d844993bdb3ad201027a588f9a45b4fe43fa2f6e98ed6063e8dccc92b9a231ccebf0af85a8671e5672fa710aa986e555ae896d -DIST drbd-8.3.12.tar.gz 530923 BLAKE2B 81287f6cde7ae1173beec721589b764f698693df215cca462178943404723522fef1492dc49aa66fb3576c6be800e48618f6c19caaa08732590d26459b0ffb6d SHA512 512e68adb9cda1f246c6c35b35e449d514deeb32adb998cbe0249c9245772d1979cbdc906c479500ba4e63a2a7ae675f527407262f235b897c4142bdcfa65b7e -DIST drbd-8.3.13.tar.gz 541477 BLAKE2B 580aa323de82278f3b1bdaa140796f33565cda52c34b6463b1538d5c921548aec7c044c596171718cc4997f6aefeed0a2faeb90c15feba716d2c5bc9832e31c9 SHA512 fff72545ae569dad37d202bd7dcb075e443964e4d2e95ae124bbcac098762bee78f91e4863b56abfca2bdce2baa42bb3fdbdf9bb489f498d84aa679fa43ae702 -DIST drbd-8.3.15.tar.gz 550130 BLAKE2B d72959920c3fc29cbcccf0d8ddb1b3baf4b2612633cee9e419080716f9a0c3381e88088046423a6ab46005f7a8f9890a8bef04aeda3ead5c346e8a0b7b231d53 SHA512 ca78cddbbb614e90d63cdb3b5ec64ecc6b9c0730aced4348d1464edb5fe9b0f2c0e75fccc2c7cbe18daea454482cf46c847b55fb23e00f364b4f32ae0a3d8dca -DIST drbd-8.3.7.tar.gz 462659 BLAKE2B 8f513726c8328ad8da4ad601646e791beef3a083c81ec7dd36d583851d234f8da7bae3eab44a93df25143843a0f13cfd32d94037e8f225ab5f6e3d7f7ed64183 SHA512 9ea576ed6a75d80009ade0f9540535b2a65ecee6d38b1a85fa3146a97aac8cb3add31154e2921630aa75121c7115d66bdcf45adb8e0fa481bdb27c011b1c9b15 -DIST drbd-8.3.8.1.tar.gz 482582 BLAKE2B 5967de376fed1085ffda4dadd8a6ddd8407cae07d54e9963d459cd7c387eaae4757c790fd33c887e03fc5f2e5cabc52490ec989fd2bb58eac32609135edfe1a4 SHA512 c43c6d065328058db66f708d47ce082603b766deb1530c57aa736a42b4908f780ede41f76395ca45c2691ef1dfd142147a4c98a7bcdb26ba7de73b149d8f9f5f -DIST drbd-8.4.0.tar.gz 650733 BLAKE2B 4f8387f0c52fb490df8cae6cc7c2351a6aedf78438522828bc7db71d9387132181b141adb28a5c80cde3916107cc9ee8dbe62c8e79d7306a28a7f6011e9f810b SHA512 4e89f0941aa136f69dcf76efb47df14ac5a210f37159eb7abaea8cea5af801632d204de8a4e3374ee5522d3227f3163bc5c6931122a4bf6827463536b532d7a2 -DIST drbd-8.4.2.tar.gz 675803 BLAKE2B 2d6bf1432b393e20c772418d493f8679f6e9ea2869e3082c3a35b3f4b33645fc2393d10720677c7f3171f8457e0d7789e67c863d802a6864713c44b21baa640e SHA512 c32371e1fb89b479bf5136ee1c00d8e07dd15769654977dfcde71fcc24264c1dae2feda82e8f61b4caf57b9ac88e2861ee7270aa8c867f6245b52d65c45ada46 -DIST drbd-8.4.3.tar.gz 688328 BLAKE2B 1b524fc1e9c37da9d70acd617f48a8ff68fe652db78572955dc41932ddbb9b47a285597c14ef4f218b17e052802f61aaccafd5ffce32d3f6aef4657546ded0cc SHA512 cdc90bdd9491fe6d29e3b779d69ba2aac1aacdb336586f1ef414d0a0195d922dbefa8b2d9c4868a2476998a713c893403344a2934c7768ff6f4ba9f13bb7277a diff --git a/sys-cluster/drbd/drbd-8.0.16.ebuild b/sys-cluster/drbd/drbd-8.0.16.ebuild deleted file mode 100644 index bb60780de596..000000000000 --- a/sys-cluster/drbd/drbd-8.0.16.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils versionator - -LICENSE="GPL-2" -KEYWORDS="amd64 x86" - -MY_PV="${PV/_/}" -MY_MAJ_PV="$(get_version_component_range 1-2 ${PV})" -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/${MY_MAJ_PV}/${PN}-${MY_PV}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -IUSE="" - -DEPEND="" -RDEPEND="" -PDEPEND="~sys-cluster/drbd-kernel-${PV}" - -SLOT="0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - emake -j1 tools || die "compile problem" -} - -src_install() { - emake PREFIX="${D}" install-tools || die "install problem" - - # gentoo-ish init-script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # docs - dodoc README ChangeLog ROADMAP - - # we put drbd.conf into docs - # it doesnt make sense to install a default conf in /etc - # put it to the docs - rm -f "${D}"/etc/drbd.conf - dodoc scripts/drbd.conf || die -} - -pkg_postinst() { - einfo "" - einfo "Please copy and gunzip the configuration file" - einfo "drbd.conf from /usr/share/doc/${PF} to /etc" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo "" -} diff --git a/sys-cluster/drbd/drbd-8.3.10.ebuild b/sys-cluster/drbd/drbd-8.3.10.ebuild deleted file mode 100644 index 08e388dcc8d3..000000000000 --- a/sys-cluster/drbd/drbd-8.3.10.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit eutils multilib versionator - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="amd64 x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools || die -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools || die - dodoc README ChangeLog || die - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - dodoc scripts/drbd.conf.example || die -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.3.11-r1.ebuild b/sys-cluster/drbd/drbd-8.3.11-r1.ebuild deleted file mode 100644 index 1b8377d9d570..000000000000 --- a/sys-cluster/drbd/drbd-8.3.11-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib versionator - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="amd64 x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - epatch "${FILESDIR}/drbd-8.3.11-kernel3.patch" - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - dodoc README ChangeLog - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.3.12.ebuild b/sys-cluster/drbd/drbd-8.3.12.ebuild deleted file mode 100644 index 7a1ba7159d6c..000000000000 --- a/sys-cluster/drbd/drbd-8.3.12.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib versionator - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="~amd64 ~x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - epatch "${FILESDIR}/drbd-8.3.11-kernel3.patch" - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/Makefile.in || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - dodoc README ChangeLog - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.3.13.ebuild b/sys-cluster/drbd/drbd-8.3.13.ebuild deleted file mode 100644 index 368253c78c5e..000000000000 --- a/sys-cluster/drbd/drbd-8.3.13.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib versionator udev - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="amd64 x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/Makefile.in || die - # correct install paths - sed -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - -e "s:\$(sysconfdir)/udev:$(get_udevdir):g" \ - -i scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - dodoc README ChangeLog - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.3.15.ebuild b/sys-cluster/drbd/drbd-8.3.15.ebuild deleted file mode 100644 index cf347bf1695d..000000000000 --- a/sys-cluster/drbd/drbd-8.3.15.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib versionator - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="~amd64 ~x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - #epatch "${FILESDIR}/drbd-8.3.11-kernel3.patch" - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/Makefile.in || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - dodoc README ChangeLog - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.3.7.ebuild b/sys-cluster/drbd/drbd-8.3.7.ebuild deleted file mode 100644 index b04226b05a83..000000000000 --- a/sys-cluster/drbd/drbd-8.3.7.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit multilib versionator - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="~amd64 ~x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools || die -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools || die - dodoc README ChangeLog || die - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # it doesnt make sense to install a default conf in /etc, - # so we put it to the docs - rm -f "${D}"/etc/drbd.conf - dodoc scripts/drbd.conf || die -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file" - einfo "from /usr/share/doc/${PF}/drbd.conf.bz2 to /etc" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." - elog "Or alternatively emerge sys-cluster/drbd-kernel package." -} diff --git a/sys-cluster/drbd/drbd-8.3.8.1-r1.ebuild b/sys-cluster/drbd/drbd-8.3.8.1-r1.ebuild deleted file mode 100644 index 2839e4ed603a..000000000000 --- a/sys-cluster/drbd/drbd-8.3.8.1-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit eutils multilib versionator - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="~amd64 ~x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/Makefile.in || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die - epatch "${FILESDIR}"/${P}-implicits.patch -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools || die -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools || die - dodoc README ChangeLog || die - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - dodoc scripts/drbd.conf.example || die -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file" - einfo "from /usr/share/doc/${PF}/drbd.conf.bz2 to /etc" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." - elog "Or alternatively emerge sys-cluster/drbd-kernel package." -} diff --git a/sys-cluster/drbd/drbd-8.3.8.1.ebuild b/sys-cluster/drbd/drbd-8.3.8.1.ebuild deleted file mode 100644 index 2006395ddef0..000000000000 --- a/sys-cluster/drbd/drbd-8.3.8.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit multilib versionator - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="amd64 x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools || die -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools || die - dodoc README ChangeLog || die - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die - - # it doesnt make sense to install a default conf in /etc, - # so we put it to the docs - rm -f "${D}"/etc/drbd.conf - dodoc scripts/drbd.conf || die -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file" - einfo "from /usr/share/doc/${PF}/drbd.conf.bz2 to /etc" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." - elog "Or alternatively emerge sys-cluster/drbd-kernel package." -} diff --git a/sys-cluster/drbd/drbd-8.4.0.ebuild b/sys-cluster/drbd/drbd-8.4.0.ebuild deleted file mode 100644 index 35f33e36c676..000000000000 --- a/sys-cluster/drbd/drbd-8.4.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib versionator - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="~amd64 ~x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - epatch "${FILESDIR}/drbd-8.3.11-kernel3.patch" - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/{,legacy/}Makefile.in || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - dodoc README ChangeLog - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.4.2.ebuild b/sys-cluster/drbd/drbd-8.4.2.ebuild deleted file mode 100644 index ffe8ffe7c70d..000000000000 --- a/sys-cluster/drbd/drbd-8.4.2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib versionator udev - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="amd64 x86" -IUSE="bash-completion heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - #epatch "${FILESDIR}/drbd-8.3.11-kernel3.patch" - # respect LDFLAGS - sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/{,legacy/}Makefile.in || die - # correct install paths - sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die - sed -i -e "s:\$(sysconfdir)/udev:$(get_udevdir):" scripts/Makefile.in || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - $(use_with bash-completion bashcompletion) \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - dodoc README ChangeLog - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.4.3-r1.ebuild b/sys-cluster/drbd/drbd-8.4.3-r1.ebuild deleted file mode 100644 index b192e831b583..000000000000 --- a/sys-cluster/drbd/drbd-8.4.3-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit bash-completion-r1 eutils multilib versionator udev - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="~amd64 ~x86" -IUSE="heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - # respect LDFLAGS, #453442 - sed -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" \ - -e "/\$(DESTDIR)\$(localstatedir)\/lock/d" \ - -i user{,/legacy}/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/{,legacy/}Makefile.in || die - # correct install paths (really correct this time) - sed -i -e "s:\$(sysconfdir)/bash_completion.d:$(get_bashcompdir):" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die - sed -i -e "s:\$(sysconfdir)/udev:$(get_udevdir):" scripts/Makefile.in || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - --with-bashcompletion \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - dodoc README ChangeLog - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.4.3-r2.ebuild b/sys-cluster/drbd/drbd-8.4.3-r2.ebuild deleted file mode 100644 index 591e689314c0..000000000000 --- a/sys-cluster/drbd/drbd-8.4.3-r2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit bash-completion-r1 versionator udev - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -LICENSE="GPL-2" -KEYWORDS="amd64 x86" -IUSE="heartbeat pacemaker +udev xen" -SLOT="0" - -PATCHES=( - # https://bugs.gentoo.org/show_bug.cgi?id=518774 - "${FILESDIR}"/${P}-block-drbd.patch -) - -src_prepare() { - default - - # respect LDFLAGS, #453442 - sed -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" \ - -e "/\$(DESTDIR)\$(localstatedir)\/lock/d" \ - -i user{,/legacy}/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/{,legacy/}Makefile.in || die - # correct install paths (really correct this time) - sed -i -e "s:\$(sysconfdir)/bash_completion.d:$(get_bashcompdir):" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die - sed -i -e "s:\$(sysconfdir)/udev:$(get_udevdir):" scripts/Makefile.in || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - --with-bashcompletion \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - einstalldocs - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - einfo "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/drbd-8.4.3.ebuild b/sys-cluster/drbd/drbd-8.4.3.ebuild deleted file mode 100644 index b192e831b583..000000000000 --- a/sys-cluster/drbd/drbd-8.4.3.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit bash-completion-r1 eutils multilib versionator udev - -LICENSE="GPL-2" - -DESCRIPTION="mirror/replicate block-devices across a network-connection" -SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" -HOMEPAGE="http://www.drbd.org" - -KEYWORDS="~amd64 ~x86" -IUSE="heartbeat pacemaker +udev xen" -SLOT="0" - -src_prepare() { - # respect LDFLAGS, #453442 - sed -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" \ - -e "/\$(DESTDIR)\$(localstatedir)\/lock/d" \ - -i user{,/legacy}/Makefile.in || die - # respect multilib - sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die - sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ - -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ - -i user/{,legacy/}Makefile.in || die - # correct install paths (really correct this time) - sed -i -e "s:\$(sysconfdir)/bash_completion.d:$(get_bashcompdir):" \ - scripts/Makefile.in || die - # don't participate in user survey bug 360483 - sed -i -e '/usage-count/ s/yes/no/' scripts/drbd.conf.example || die - sed -i -e "s:\$(sysconfdir)/udev:$(get_udevdir):" scripts/Makefile.in || die -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-utils \ - --without-km \ - --without-rgmanager \ - $(use_with udev) \ - $(use_with xen) \ - $(use_with pacemaker) \ - $(use_with heartbeat) \ - --with-bashcompletion \ - --with-distro=gentoo -} - -src_compile() { - # only compile the tools - emake OPTFLAGS="${CFLAGS}" tools -} - -src_install() { - # only install the tools - emake DESTDIR="${D}" install-tools - dodoc README ChangeLog - - # install our own init script - newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} - - dodoc scripts/drbd.conf.example -} - -pkg_postinst() { - einfo - einfo "Please copy and gunzip the configuration file:" - einfo "from /usr/share/doc/${PF}/${PN}.conf.example.bz2 to /etc/${PN}.conf" - einfo "and edit it to your needs. Helpful commands:" - einfo "man 5 drbd.conf" - einfo "man 8 drbdsetup" - einfo "man 8 drbdadm" - einfo "man 8 drbddisk" - einfo "man 8 drbdmeta" - einfo - - elog "Remember to enable drbd support in kernel." -} diff --git a/sys-cluster/drbd/files/drbd-8.0.rc b/sys-cluster/drbd/files/drbd-8.0.rc deleted file mode 100644 index 57f583bf94bf..000000000000 --- a/sys-cluster/drbd/files/drbd-8.0.rc +++ /dev/null @@ -1,157 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -extra_started_commands="reload" - -depend() { - use logger - need net - before heartbeat - after sshd -} - -DEFAULTFILE="/etc/conf.d/drbd" -DRBDADM="/sbin/drbdadm" -PROC_DRBD="/proc/drbd" -MODPROBE="/sbin/modprobe" -RMMOD="/sbin/rmmod" -UDEV_TIMEOUT=10 -ADD_MOD_PARAM="" - -if [ -f $DEFAULTFILE ]; then - . $DEFAULTFILE -fi - -# Just in case drbdadm want to display any errors in the configuration -# file, or we need to ask the user about registering this installation -# at http://usage.drbd.org, we call drbdadm here without any IO -# redirection. -$DRBDADM sh-nop - -assure_module_is_loaded() { - [ -e "$PROC_DRBD" ] && return - ebegin "Loading drbd module" - ret=0 - - $MODPROBE -s drbd `$DRBDADM sh-mod-parms` $ADD_MOD_PARAM || ret=20 - eend $ret - return $ret -} - -adjust_with_progress() { - IFS_O=$IFS - NEWLINE=' -' - IFS=$NEWLINE - local D=0 - local S=0 - local N=0 - - einfon "Setting drbd parameters " - COMMANDS=`$DRBDADM -d adjust all` || { - eend 20 "Error executing drbdadm" - return 20 - } - echo -n "[ " - - for CMD in $COMMANDS; do - if echo $CMD | grep -q disk; then echo -n "d$D "; D=$(( D+1 )); - elif echo $CMD | grep -q syncer; then echo -n "s$S "; S=$(( S+1 )); - elif echo $CMD | grep -q net; then echo -n "n$N "; N=$(( N+1 )); - else echo echo -n ".. "; - fi - IFS=$IFS_O - eval $CMD || { - echo - eend 20 "cmd $CMD failed!" - return 20 - } - IFS=$NEWLINE - done - echo "]" - eend 0 - - IFS=$IFS_O -} - -start() { - einfo "Starting DRBD resources:" - eindent - assure_module_is_loaded || return $? - adjust_with_progress || return $? - - # make sure udev has time to create the device files - ebegin "Waiting for udev device creation ..." - for RESOURCE in `$DRBDADM sh-resources`; do - for DEVICE in `$DRBDADM sh-dev $RESOURCE`; do - UDEV_TIMEOUT_LOCAL=$UDEV_TIMEOUT - while [ ! -e $DEVICE ] && [ $UDEV_TIMEOUT_LOCAL -gt 0 ] ; do - sleep 1 - UDEV_TIMEOUT_LOCAL=$(( $UDEV_TIMEOUT_LOCAL-1 )) - done - done - done - eend 0 - - einfon "Waiting for connection " - $DRBDADM wait-con-int - ret=$? - echo - - sleep 5 - - einfon "Become primary if configured " - $DRBDADM sh-b-pri all - echo - - eend $ret - return $ret -} - -stop() { - ebegin "Stopping all DRBD resources" - - # Check for mounted drbd devices - if ! grep -q '^/dev/drbd' /proc/mounts &>/dev/null; then - if [ -e ${PROC_DRBD} ]; then - ${DRBDADM} down all - ret=$? - sleep 3 - if [ -e /proc/modules ] && grep -q '^drbd' /proc/modules ; then - ${RMMOD} drbd - fi - fi - eend $ret - return $ret - else - einfo "drbd devices mounted, please umount them before trying to stop drbd!" - eend 1 - return 1 - fi -} - -status() { - # NEEDS to be heartbeat friendly... - # so: put some "OK" in the output. - - if [ -e $PROC_DRBD ]; then - ret=0 - ebegin "drbd driver loaded OK; device status:" - eend $ret - cat $PROC_DRBD - else - ebegin "drbd not loaded" - ret=3 - eend $ret - fi - return $ret -} - -reload() { - ebegin "Reloading DRBD" - ${DRBDADM} adjust all - ret=$? - eend $ret - return $ret -} diff --git a/sys-cluster/drbd/files/drbd-8.3.11-kernel3.patch b/sys-cluster/drbd/files/drbd-8.3.11-kernel3.patch deleted file mode 100644 index 1eeca1b1b0ff..000000000000 --- a/sys-cluster/drbd/files/drbd-8.3.11-kernel3.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/drbd/Makefile 2011-07-07 12:55:39.000000000 +0200 -+++ b/drbd/Makefile 2011-11-03 12:56:42.280603057 +0100 -@@ -77,9 +77,12 @@ - endif - endif - -+ KDIR_Makefile_VERSION = $(shell test -e $(KDIR)/Makefile && grep "^VERSION = " $(KDIR)/Makefile | cut -d " " -f 3) - KDIR_Makefile_PATCHLEVEL = $(shell test -e $(KDIR)/Makefile && grep "^PATCHLEVEL = " $(KDIR)/Makefile | cut -d " " -f 3) -- ifneq ($(findstring $(KDIR_Makefile_PATCHLEVEL),12345),) -- $(error "won't compile with this kernel version") -+ ifneq ($(KDIR_Makefile_VERSION),3) -+ ifneq ($(findstring $(KDIR_Makefile_PATCHLEVEL),12345),) -+ $(error "ici won't compile with this kernel version") -+ endif - endif - - .PHONY: drbd.o default all greeting clean kbuild install dep tags diff --git a/sys-cluster/drbd/files/drbd-8.3.8.1-implicits.patch b/sys-cluster/drbd/files/drbd-8.3.8.1-implicits.patch deleted file mode 100644 index 0fbbb92a2c3f..000000000000 --- a/sys-cluster/drbd/files/drbd-8.3.8.1-implicits.patch +++ /dev/null @@ -1,12 +0,0 @@ -drbdadm_main.c:2525:2: warning: implicit declaration of function ‘stat’ - ---- a/user/drbdadm_main.c -+++ b/user/drbdadm_main.c -@@ -33,6 +33,7 @@ - #include <search.h> - - #include <sys/types.h> -+#include <sys/stat.h> - #include <sys/wait.h> - #include <sys/poll.h> - #include <sys/socket.h> diff --git a/sys-cluster/drbd/files/drbd-8.4.3-block-drbd.patch b/sys-cluster/drbd/files/drbd-8.4.3-block-drbd.patch deleted file mode 100644 index 408b81362967..000000000000 --- a/sys-cluster/drbd/files/drbd-8.4.3-block-drbd.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/scripts/block-drbd 2014-07-30 17:19:59.000000000 -0700 -+++ b/scripts/block-drbd 2014-07-31 09:54:56.000000000 -0700 -@@ -248,7 +248,7 @@ - fi - - case $t in -- drbd) -+ drbd|phy) - drbd_resource=$p - drbd_role="$(/sbin/drbdadm role $drbd_resource)" - drbd_lrole="${drbd_role%%/*}" -@@ -276,7 +276,7 @@ - - remove) - case $t in -- drbd) -+ drbd|phy) - p=$(xenstore_read "$XENBUS_PATH/params") - drbd_resource=$p - drbd_role="$(/sbin/drbdadm role $drbd_resource)" diff --git a/sys-cluster/drbd/metadata.xml b/sys-cluster/drbd/metadata.xml deleted file mode 100644 index 82f50565f990..000000000000 --- a/sys-cluster/drbd/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>cluster@gentoo.org</email> - <name>Gentoo Cluster Project</name> - </maintainer> - <use> - <flag name="xen">Enable Xen integration</flag> - <flag name="pacemaker">Enable Pacemaker integration</flag> - <flag name="heartbeat">Enable Heartbeat integration</flag> - </use> - <longdescription> - The user space tools to control, configure the DRBD driver, as well as integration programs and scripts - that glues the DRBD system to cluster management software and other system components. - </longdescription> -</pkgmetadata> diff --git a/sys-cluster/gearmand/Manifest b/sys-cluster/gearmand/Manifest deleted file mode 100644 index 141c4c62fc2e..000000000000 --- a/sys-cluster/gearmand/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gearmand-0.34.tar.gz 842579 BLAKE2B 439fcec297ae874cecbc355526b4681329fde2ac39ccc9f6e14413979e7cdbc6c88f2e8cc34e2af1f166f873415a1d5b353716a227894c36bbde66f30b900e56 SHA512 8263cd19337f56cb692209efb4867b54954081a907c109b4828c1a7dfd8e1dec803f9c06e0f09e1ec6cc4271299bf77bcd5069b765647b31559480b4e7e756ba diff --git a/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch b/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch deleted file mode 100644 index 37d2db62741d..000000000000 --- a/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch +++ /dev/null @@ -1,26 +0,0 @@ -Ignore configure checks and include stdbool.h -unconditionally, we're in 2016. - ---- gearmand-0.34/libhostile/called.c -+++ gearmand-0.34/libhostile/called.c -@@ -41,6 +41,7 @@ - #include <assert.h> - #include <stdio.h> - #include <stdlib.h> -+#include <stdbool.h> - - __thread bool is_called_= false; - static __thread char** unique_ptr= NULL; ---- gearmand-0.34/libhostile/called.h -+++ gearmand-0.34/libhostile/called.h -@@ -36,9 +36,7 @@ - - #pragma once - --#ifdef HAVE_STDBOOL_H --# include <stdbool.h> --#endif -+#include <stdbool.h> - - bool is_called(void); - void set_called(); diff --git a/sys-cluster/gearmand/files/gearmand.conf.d b/sys-cluster/gearmand/files/gearmand.conf.d deleted file mode 100644 index aeb49d5c6b9e..000000000000 --- a/sys-cluster/gearmand/files/gearmand.conf.d +++ /dev/null @@ -1,39 +0,0 @@ -# /etc/conf.d/gearmand: config file for /etc/init.d/gearmand - -# Persistent queue store -# The following queue stores are available: -# drizzle|memcache|mysql|postgre|sqlite|tokyocabinet|none -# If you do not wish to use persistent queues, leave this option commented out. -# Note that persistent queue mechanisms are mutally exclusive. -#PERSISTENT="" - -# Persistent queue settings for drizzle, mysql and postgre -#PERSISTENT_SOCKET="" -#PERSISTENT_HOST="" -#PERSISTENT_PORT="" -#PERSISTENT_USER="" -#PERSISTENT_PASS="" -#PERSISTENT_DB="" -#PERSISTENT_TABLE="" - -# Persistent queue settings for sqlite -#PERSISTENT_FILE="" - -# Persistent queue settings for memcache -#PERSISTENT_SERVERLIST="" - -# General settings -# -# -j, --job-retries=RETRIES Number of attempts to run the job before the job -# server removes it. Thisis helpful to ensure a bad -# job does not crash all available workers. Default -# is no limit. -# -L, --listen=ADDRESS Address the server should listen on. Default is -# INADDR_ANY. -# -p, --port=PORT Port the server should listen on. Default=4730. -# -r, --protocol=PROTOCOL Load protocol module. -# -t, --threads=THREADS Number of I/O threads to use. Default=0. -# -v, --verbose Increase verbosity level by one. -# -w, --worker-wakeup=WORKERS Number of workers to wakeup for each job received. -# The default is to wakeup all available workers. -GEARMAND_PARAMS="" diff --git a/sys-cluster/gearmand/files/gearmand.init.d.2 b/sys-cluster/gearmand/files/gearmand.init.d.2 deleted file mode 100644 index 48d19bd1dc8b..000000000000 --- a/sys-cluster/gearmand/files/gearmand.init.d.2 +++ /dev/null @@ -1,78 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2009-2012 Pavel Stratil, senbonzakura.eu -# Distributed under the terms of the MIT license - -pidfile=/var/run/gearmand/gearmand.pid -command=/usr/sbin/gearmand - -depend() { - use localmount - - case $PERSISTENT in - drizzle) - use drizzle - ;; - memcache) - use memcache - ;; - mysql) - use mysql - ;; - postgre) - use postgresql - ;; - *) - ;; - esac -} - -start() { - case ${PERSISTENT:-none} in - drizzle|mysql) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libdrizzle" - [ ${PERSISTENT_HOST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-host=${PERSISTENT_HOST}" - [ ${PERSISTENT_USER} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-user=${PERSISTENT_USER}" - [ ${PERSISTENT_PASS} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-password=${PERSISTENT_PASS}" - [ ${PERSISTENT_DB} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-db=${PERSISTENT_DB}" - [ ${PERSISTENT_TABLE} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-table=${PERSISTENT_TABLE}" - [ ${PERSISTENT_PORT} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-port=${PERSISTENT_PORT}" - [ ${PERSISTENT_SOCKET} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-uds=${PERSISTENT_SOCKET}" - [ ${PERSISTENT} == "mysql" ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-mysql" - ;; - memcache) - [ ${PERSISTENT_SERVERLIST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libmemcached --libmemcached-servers=${PERSISTENT_SERVERLIST}" - ;; - postgre) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libpq" - [ ${PERSISTENT_HOST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-host=${PERSISTENT_HOST}" - [ ${PERSISTENT_USER} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-user=${PERSISTENT_USER}" - [ ${PERSISTENT_PASS} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-password=${PERSISTENT_PASS}" - [ ${PERSISTENT_DB} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-dbname=${PERSISTENT_DB}" - [ ${PERSISTENT_PORT} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-port=${PERSISTENT_PORT}" - [ ${PERSISTENT_TABLE} ] && ewarn "Libpq doesn't recognise 'table' parameter." - [ ${PERSISTENT_SOCKET} ] && ewarn "Libpq doesn't recognise 'socket' parameter. If no host is set, it automatically falls back to a socket." - ;; - tokyocabinet) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libtokyocabinet --libtokyocabinet-file=${PERSISTENT_FILE}" - ;; - sqlite) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libsqlite3 --libsqlite3-db=${PERSISTENT_FILE}" - ;; - none) - ;; - *) - eerror "Wrong persistent queue store setting in /etc/conf.d/gearmand." - return 1 - ;; - esac - - - checkpath -d -m 0755 -o gearmand:nogroup /var/run/gearmand /var/log/gearmand - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --pidfile /var/run/gearmand/gearmand.pid --start \ - --exec /usr/sbin/gearmand -- --pid-file=/var/run/gearmand/gearmand.pid \ - --user=gearmand --daemon \ - --log-file=/var/log/gearmand/gearmand.log ${GEARMAND_PARAMS} - eend $? -} diff --git a/sys-cluster/gearmand/gearmand-0.34-r1.ebuild b/sys-cluster/gearmand/gearmand-0.34-r1.ebuild deleted file mode 100644 index 846d47261961..000000000000 --- a/sys-cluster/gearmand/gearmand-0.34-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_AUTORECONF=1 - -inherit autotools-utils eutils flag-o-matic libtool user - -DESCRIPTION="Generic framework to farm out work to other machines" -HOMEPAGE="http://www.gearman.org/" -SRC_URI="https://launchpad.net/gearmand/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug tcmalloc +memcache sqlite tokyocabinet postgres" - -RDEPEND="dev-libs/libevent - >=dev-libs/boost-1.39:=[threads(+)] - || ( >=sys-apps/util-linux-2.16 <sys-libs/e2fsprogs-libs-1.41.8 ) - tcmalloc? ( dev-util/google-perftools ) - memcache? ( >=dev-libs/libmemcached-0.47 ) - sqlite? ( dev-db/sqlite:3 ) - tokyocabinet? ( dev-db/tokyocabinet ) - postgres? ( >=dev-db/postgresql-9.0:* )" -DEPEND="${RDEPEND} - virtual/pkgconfig - >=sys-devel/boost-m4-0.4_p20160328" - -pkg_setup() { - enewuser gearmand -1 -1 /dev/null nogroup -} - -src_prepare() { - # fixes bug 574558, which is due to an outdated bundled boost.m4 - rm m4/boost.m4 || die - sed -i -e 's/AM_INIT_AUTOMAKE.*//g' m4/pandora_canonical.m4 || die - epatch -p1 "${FILESDIR}/${P}-stdbool-h.patch" - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - $(use_enable memcache libmemcached) - $(use_enable tcmalloc) - $(use_enable tokyocabinet libtokyocabinet) - $(use_with postgres postgresql) - $(use_with sqlite sqlite3) - --disable-mtmalloc - --disable-static - ) - - # Don't ever use --enable-assert since configure.ac is broken, and - # only does --disable-assert correctly. - if use debug; then - # Since --with-debug would turn off optimisations as well as - # enabling debug, we just enable debug through the - # preprocessor then. - append-cppflags -DDEBUG - fi - - # Explicitly enable c++11 mode - append-cxxflags -std=c++11 - - autotools-utils_src_configure -} - -src_test() { - # Since libtool is stupid and doesn't discard /usr/lib64 from the - # load path, we'd end up testing against the installed copy of - # gearmand (bad). - # - # We thus cheat and "fix" the scripts by hand. - sed -i -e '/LD_LIBRARY_PATH=/s|/usr/lib64:||' "${BUILD_DIR}"/tests/*_test \ - || die "test fixing failed" - - autotools-utils_src_test -} - -DOCS=( README AUTHORS ChangeLog ) - -src_install() { - autotools-utils_src_install - - newinitd "${FILESDIR}"/gearmand.init.d.2 gearmand - newconfd "${FILESDIR}"/gearmand.conf.d gearmand -} - -pkg_postinst() { - elog "" - elog "Unless you set the PERSISTENT_TABLE option in" - elog "/etc/conf.d/gearmand, Gearmand will use table 'queue'." - elog "If such table doesn't exist, Gearmand will create it for you" - elog "" -} diff --git a/sys-cluster/gearmand/metadata.xml b/sys-cluster/gearmand/metadata.xml deleted file mode 100644 index d08fb72aef86..000000000000 --- a/sys-cluster/gearmand/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> - <use> - <flag name="memcache"> - Support memcache daemon (via <pkg>dev-libs/libmemcached</pkg>) - for the queue storage. - </flag> - <flag name="tokyocabinet"> - Support <pkg>dev-db/tokyocabinet</pkg> for the queue storage. - </flag> - </use> - <upstream> - <remote-id type="launchpad">gearmand</remote-id> - </upstream> -</pkgmetadata> |