Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 636252 Details for
Bug 721110
sys-cluster/drbd-utils-9.12.2 version bump (works with Linux 5.4)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New ebuild for drbd-utils 9.12.2
drbd-utils-9.12.2.ebuild (text/plain), 2.75 KB, created by
Joe Khoobyar
on 2020-05-05 16:27:16 UTC
(
hide
)
Description:
New ebuild for drbd-utils 9.12.2
Filename:
MIME Type:
Creator:
Joe Khoobyar
Created:
2020-05-05 16:27:16 UTC
Size:
2.75 KB
patch
obsolete
># Copyright 1999-2018 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 > >inherit bash-completion-r1 eutils multilib udev versionator > >LICENSE="GPL-2" > >DESCRIPTION="mirror/replicate block-devices across a network-connection" >SRC_URI="https://www.linbit.com/downloads/drbd/utils/${P/_/}.tar.gz" >HOMEPAGE="http://www.drbd.org" > >KEYWORDS="amd64 x86" >IUSE="heartbeat pacemaker +udev xen" >SLOT="0" > >DEPEND="heartbeat? ( sys-cluster/heartbeat ) > pacemaker? ( sys-cluster/pacemaker ) > udev? ( virtual/udev ) > !!sys-cluster/drbd" >RDEPEND="${DEPEND}" > >S="${WORKDIR}/${P/_/}" > >src_prepare() { > # respect LDFLAGS, #453442 > sed -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" \ > -e "/\$(DESTDIR)\$(localstatedir)\/lock/d" \ > -i 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,drbd.ocf} || die > sed -i -e "s:$(get_libdir)/heartbeat:lib/heartbeat:g" \ > Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example,drbd.ocf} || die > sed -i -e "s:/var/$(get_libdir)/:/var/lib/:g" \ > Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example,drbd.ocf} || die > sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ > -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ > -i user/*/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/global_common.conf || die > sed -i -e "s:\$(sysconfdir)/udev:$(get_udevdir):" scripts/Makefile.in || die > > epatch "${FILESDIR}"/drbd-utils-9.12.2-helperlibdir.patch > > autoreconf > eapply_user >} > >src_configure() { > econf \ > --localstatedir=/var \ > --without-rgmanager \ > $(use_with udev) \ > $(use_with xen) \ > $(use_with pacemaker) \ > $(use_with heartbeat) \ > --with-bashcompletion \ > --with-distro=gentoo \ > --with-helperlibdir=/$(get_libdir)/drbd >} > >src_compile() { > # only compile the tools > emake OPTFLAGS="${CFLAGS}" tools >} > >src_install() { > # only install the tools > emake DESTDIR="${D}" install-tools install-doc > dodoc README.md ChangeLog > > # install our own init script > newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN/-utils/} > > dodoc scripts/drbd.conf.example > > dosym /usr/sbin/drbdadm /sbin/drbdadm >} > >pkg_postinst() { > einfo > einfo "Please copy and gunzip the configuration file:" > einfo "from /usr/share/doc/${PF}/${PN/-utils/}.conf.example.bz2 to /etc/${PN/-utils/}.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." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 721110
: 636252 |
636254