diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
commit | 2f8db31405fac68eea6f7257d58529243815033b (patch) | |
tree | 54259cc8988a98a10586fc0496b1f3501cd1e2a1 /sys-cluster/drbd | |
parent | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (diff) |
gentoo resync : 30.04.2018
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r-- | sys-cluster/drbd/Manifest | 30 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.0.16.ebuild | 56 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.10.ebuild | 74 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.11-r1.ebuild | 75 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.12.ebuild | 78 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.13.ebuild | 78 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.15.ebuild | 78 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.7.ebuild | 76 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.8.1-r1.ebuild | 77 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.3.8.1.ebuild | 76 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.4.0.ebuild | 78 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.4.2.ebuild | 79 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.4.3-r1.ebuild | 80 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.4.3-r2.ebuild | 85 | ||||
-rw-r--r-- | sys-cluster/drbd/drbd-8.4.3.ebuild | 80 | ||||
-rw-r--r-- | sys-cluster/drbd/files/drbd-8.0.rc | 157 | ||||
-rw-r--r-- | sys-cluster/drbd/files/drbd-8.3.11-kernel3.patch | 17 | ||||
-rw-r--r-- | sys-cluster/drbd/files/drbd-8.3.8.1-implicits.patch | 12 | ||||
-rw-r--r-- | sys-cluster/drbd/files/drbd-8.4.3-block-drbd.patch | 20 | ||||
-rw-r--r-- | sys-cluster/drbd/metadata.xml | 17 |
20 files changed, 0 insertions, 1323 deletions
diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest deleted file mode 100644 index 012c53d71c8e..000000000000 --- a/sys-cluster/drbd/Manifest +++ /dev/null @@ -1,30 +0,0 @@ -AUX drbd-8.0.rc 3043 BLAKE2B 3ca2ca025acf14adb3562e2d8596c195b26d94aa1019407417aebf1384e18f4d72e73904dd3a825836be2fd2aca3b0d75ed9ecdf62300b7b26153a1a8d97f034 SHA512 ab58790e063d66252c8334fa4df02d1a2f11f79749cd97553b1c9bd4f93b7b12ce6c35a4cc85e6be84c20e8043bd51de70256d1a67bd3d0c4b5e70d2ca63dcc4 -AUX drbd-8.3.11-kernel3.patch 762 BLAKE2B 4987acf1a1d9d9cab84bb496d28845694e9b4afd6e33df4778906d8facbdfaa91d921a98df0018a665be1ae92b60498f5277457f3bf155460c4b98ff0c9ad0a8 SHA512 b6760bec81d86c09544ad366a73eec84fd486fa1dd10f278cfbacf18be33aec9a132108a9fb8cdccae3840da868548cbe9e6c5799bb2049f2f75fa9e0fe6293f -AUX drbd-8.3.8.1-implicits.patch 288 BLAKE2B 1c98ea15e334dda156da061c7c04d77e55a30fcedc7b01887071856427e785a6820874fa9063d2fa2d34a51e81613b7936c3c0c1ad063fb2e491db01e3e6a0ed SHA512 9cf9ae1d1f9716a3553b91d3a3fe1c5490b4aec017b6d4175a91d351245201d8f925fe3af2a7974d66f1cb22583678d669e38005d64a41a0971f2bcffe55a974 -AUX drbd-8.4.3-block-drbd.patch 536 BLAKE2B d441ba9dd84cfcd2716b06ca7a757479aad2a08dfabcbc57e8d461d3e7469e86010f81cce07481b146b74270e6bff786848567f32250555eb0c2b6649fd9e762 SHA512 3ddc60d944a7e54673e79e0b5123c21648f529fa553a04186a0f34f03cdfa3470dcaeceaab68deecc8821b3b57b28ae719ff10ae52a9c7c7c43efa678888073d -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 -EBUILD drbd-8.0.16.ebuild 1285 BLAKE2B e94637d7c0a51a9202d219a6bdb969f87b6c6233d8db1e4f72b973b3f15c064bc3ef5c5e1af69c2c048e0ca383911370f3a5e0e657d6f417f67eeba454d34b11 SHA512 c5159dcb53cadfb9d4388ba6eff333baa18c4edd8a342c12ea6ecdd7d77c18966a4cbaa4c297580cf7bad8947d4f1a869ec78794ae0f1cd0a21e1048575fa959 -EBUILD drbd-8.3.10.ebuild 1936 BLAKE2B 272299b85a998b9480e2002c75d7253b52bf83e1660fd1625d1860b80f1363da25e21a6983c8787ab654a4b762d2495f3bb61b9b0c93734cd5661e697c445f8c SHA512 ce1a1c4d2530118b451623d53258a167208475c7055d71dda96ad709e0ea31a6cdadd43677e36c2083f9fcf6fc443a5fee641c11bde7adec7503f9c6d5d20fb8 -EBUILD drbd-8.3.11-r1.ebuild 1947 BLAKE2B e9c150223639a3f64b5ea6d411245e82ddcf3bd135563957c41682b3b88ff1882bd79130d9e7a91af078d5722f0e25b564af61a8921707d59a1260fbc1bd77e6 SHA512 c8682f2e7ad763daf73b033c944e9f730f9a24a0295b3342115317da63a596f4d8e61e56439175c483537ee7938c2c39566b0908554ee36a6dba8ed8bdc7e2c7 -EBUILD drbd-8.3.12.ebuild 2091 BLAKE2B 0c6b1e386859c05485b93923e51381f7602c07fb9fbdac40c90e38581f0436aa58ce4274c52cedb8e24bd6d0f01bf7cf343713beef017b4c4141ce5ab1351389 SHA512 c0a5816f13fe6cd87e59b3f822e0b71a9efdcbd70905ed3871a5abb98f5c65faa9e327efd609b13130e8e05f370762d76b7e9b87085122cfef55e2257fb717dc -EBUILD drbd-8.3.13.ebuild 2094 BLAKE2B f249c3024a97c9b167bf43261a3bcdfec5331bb1c85b5e8c51302569b0572dcf80759e7014191921788c5d4a0f6bde0db1c8c214302ce3923a90418bf752edfc SHA512 4867ec28f0a4c5033f5cb1fcd98edb3ef989f1c6fdb64f7cf5fe80c7ec4e2f6c8752c3774275cd31a1af2cd0089593712ec7126cd1e81a313823370bc5c7f759 -EBUILD drbd-8.3.15.ebuild 2092 BLAKE2B b265f0bd06359e25970c9e12d06ca6a82fd593b2cf6e26637a536658b8cfc52831672db44f4d13adb22f9ae4bd64434d174e734f24017a5eb9b33450cebc2c00 SHA512 e23e2b74d0e6db3f07a290bdf48a016fc60f5163b4dfbeb72c4d355f882bee09f5e62adcf93cc78bd40a5e458adf775eb1b86f0fee1f3e49e697b5d38b770fef -EBUILD drbd-8.3.7.ebuild 1965 BLAKE2B cf66e86049a31dccb9656cf567ddcab99a7e38b08bdc97239102e1bc2191df230cdec38ad048ef7f53748e11d5f71c7fa7867b93e40b56a570fe3f6247d431cd SHA512 86f85ca150997a9ac8f53877965245cd9b49ec2d5f8591c112887d472cc3160cd3d83f7070787fe7446fa4b4f49243709673bf63db506125f9c6377a6a8a24bf -EBUILD drbd-8.3.8.1-r1.ebuild 2050 BLAKE2B 2633893fea89e5d861dedec2dbdf7b362e5636e1a128544a44c1eaabff3c6882b819284d5f5dcda763f4adc1d8f2ea3f89ff2045fdf330a4bd32d402771f67ca SHA512 416674c07c3815265a96dc1941ba7ddc2cc439f1f989bcaa5f184383c1dd99896ba47e6907c4dde5c4d1c2f8b9a3c99dab56ed841747c8b11e2c887e8643d9e6 -EBUILD drbd-8.3.8.1.ebuild 1963 BLAKE2B 5f209548d088190e6134d2d8819e77da08a18fb2ef390bc5f28d693fcdaf69e5063d375203b3d00c112d043ee9c89713d9c9e1576380aaa2368a5c3122766ac9 SHA512 d06a4ca42e1a5a6042527a78f9d119c0c8c2487ac439d8abe7f4c924b18835e6f427dfc2944b439cf4f2e3d3f7f7bd2913b4205ad16ce7b3515162da54e84b43 -EBUILD drbd-8.4.0.ebuild 2101 BLAKE2B d40c644bbb9796654637698ccbeb22f4a4742564fc9833e2cd7702a93e5bb87b71d7a43e17810d7375a36f535cf9db7e3d44b44fe6a8285478dfea0db2c7a440 SHA512 a429f6e9ff18c081e71aaa5b66226be9a78b7fd832540df7f1a3c3354ea73aafd4fe3752bbefd47a464bfe7d061977413f9fe771e19014acfcdab5ed2f37936d -EBUILD drbd-8.4.2.ebuild 2183 BLAKE2B 3590c85933b3a8c2516c3f46d4e01fcaf7b8a094f1abfd72f92b8e8f67a59e00b80c14b9347d93af932edbefedd8f721dcc6e7572d6f85de378237f42f9e3b92 SHA512 4dcc5de55381eae447a6e4d8b4a98a7c17ca7d6d9092597e399129ea4baf86924329d338a682ae169468d1501e9a640028cc613e51687cc6b009ecc4ce65d9a8 -EBUILD drbd-8.4.3-r1.ebuild 2207 BLAKE2B f669a856f6a12ddbb174ead05e214d7af290e2d8d542942331fab6e712d49f8ea8fb44f5f5abd46519a58711d1d0712a1678232e75e9482d95104b9ebdd0858f SHA512 f41956308b8c81ed835ce4b6958ea0af6c8377cf5201592ef69cf69925f4cd77f37ea017166ca59ea67e41667aa6f1575a1cb921e13062edf5c10861e297be38 -EBUILD drbd-8.4.3-r2.ebuild 2288 BLAKE2B f79e3cf636fa90a258ccf64f24e99a5d2c49b069476df25a4873c7a1f0f2a20332234f5c22188d0516f9887fa8988e3e602cccd08faaad689b4cf2bcd3241468 SHA512 4dfbddf8116874939c2ba457a3218763363066abd0bbe91579a7111a1edb0d9e635cf3524437054e8f3c212e8a370b5b5e2c6a7675b673e51e03190b1b844dd6 -EBUILD drbd-8.4.3.ebuild 2207 BLAKE2B f669a856f6a12ddbb174ead05e214d7af290e2d8d542942331fab6e712d49f8ea8fb44f5f5abd46519a58711d1d0712a1678232e75e9482d95104b9ebdd0858f SHA512 f41956308b8c81ed835ce4b6958ea0af6c8377cf5201592ef69cf69925f4cd77f37ea017166ca59ea67e41667aa6f1575a1cb921e13062edf5c10861e297be38 -MISC metadata.xml 677 BLAKE2B 79183e6930396061e7cf5c881ced8b4e3082a2b0dfdb4520e9de6afd54269b35ba972efd7dd3c3bd67cd103fd7d40693575a9d87b7b437438d5226e6e3453b5e SHA512 b97a7c5bb6ffe6de872f535d595507cd155923c920b9e7836f9a50afa992300b0b27d43805491cbbe6c348ecf99fc24367c375b6416dae73bffb4b6706f4b89a 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> |