ultrabug    15/04/07 16:37:33

  Modified:             ChangeLog
  Added:                ocfs2-tools-1.8.2-r1.ebuild
  Removed:              ocfs2-tools-1.6.4.ebuild
                        ocfs2-tools-1.6.4-r1.ebuild
                        ocfs2-tools-1.8.2.ebuild
  Log:
  drop old, fix ncurses detection and drop old pacemaker dependency
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
B658FA13)

Revision  Changes    Path
1.16                 sys-fs/ocfs2-tools/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ocfs2-tools/ChangeLog?rev=1.16&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ocfs2-tools/ChangeLog?rev=1.16&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ocfs2-tools/ChangeLog?r1=1.15&r2=1.16

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog   4 Feb 2015 09:30:45 -0000       1.15
+++ ChangeLog   7 Apr 2015 16:37:33 -0000       1.16
@@ -1,6 +1,13 @@
 # ChangeLog for sys-fs/ocfs2-tools
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ChangeLog,v 1.15 
2015/02/04 09:30:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ChangeLog,v 1.16 
2015/04/07 16:37:33 ultrabug Exp $
+
+*ocfs2-tools-1.8.2-r1 (07 Apr 2015)
+
+  07 Apr 2015; Ultrabug <[email protected]> -ocfs2-tools-1.6.4.ebuild,
+  -ocfs2-tools-1.6.4-r1.ebuild, -ocfs2-tools-1.8.2.ebuild,
+  +ocfs2-tools-1.8.2-r1.ebuild:
+  drop old, fix ncurses detection and drop old pacemaker dependency
 
   04 Feb 2015; Jeroen Roovers <[email protected]> metadata.xml:
   Drop maintainer-needed as there is a herd.



1.1                  sys-fs/ocfs2-tools/ocfs2-tools-1.8.2-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.8.2-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.8.2-r1.ebuild?rev=1.1&content-type=text/plain

Index: ocfs2-tools-1.8.2-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.8.2-r1.ebuild,v 1.1 
2015/04/07 16:37:33 ultrabug Exp $

EAPI=4
PYTHON_DEPEND="gtk? 2"
inherit autotools eutils python

DESCRIPTION="Support programs for the Oracle Cluster Filesystem 2"
HOMEPAGE="http://oss.oracle.com/projects/ocfs2-tools/";
SRC_URI="http://dev.gentoo.org/~alexxy/distfiles/${P}.tar.xz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug external gtk"

RDEPEND="
        dev-libs/libaio
        sys-apps/util-linux
        sys-cluster/libcman
        external? (
                sys-cluster/libdlm
                sys-cluster/pacemaker[-heartbeat]
                )
        sys-fs/e2fsprogs
        sys-libs/ncurses
        sys-libs/readline
        sys-process/psmisc
        gtk? (
                dev-python/pygtk
        )
"
# 99% of deps this thing has is automagic
# specialy cluster things corosync/pacemaker
DEPEND="${RDEPEND}"

DOCS=(
        "${S}/documentation/samples/cluster.conf"
        "${S}/documentation/users_guide.txt"
)

MAKEOPTS+=" -j1"

PATCHES=(
                "${FILESDIR}/${PN}-1.6.4-asneeded.patch"
                "${FILESDIR}/${PN}-recent-kernels.patch"
                )

pkg_setup() {
        python_set_active_version 2
        python_pkg_setup
}

src_prepare() {
        sed -e 's/ncurses, tgetstr/ncurses, printw/g' -i configure.in || die
        # gentoo uses /sys/kernel/dlm as dlmfs mountpoint
        sed -e 's:"/dlm/":"/sys/kernel/dlm":g' \
                -i libo2dlm/o2dlm_test.c \
                -i libocfs2/dlm.c || die "sed failed"
        epatch ${PATCHES[@]}
        rm -f aclocal.m4
        AT_M4DIR=. eautoreconf
}

src_configure() {
        econf \
                $(use_enable debug debug) \
                $(use_enable debug debugexe) \
                $(use_enable gtk ocfs2console) \
                --enable-dynamic-fsck \
                --enable-dynamic-ctl
}

src_install() {
        default
        newinitd "${FILESDIR}/ocfs2.initd" ocfs2
        newconfd "${FILESDIR}/ocfs2.confd" ocfs2
}




Reply via email to