View | Details | Raw Unified | Return to bug 201222
Collapse All | Expand All

(-)sysutils/heartbeat/Makefile (-4 / +5 lines)
Lines 3-13 Link Here
3
3
4
PORTNAME=	heartbeat
4
PORTNAME=	heartbeat
5
PORTVERSION=	2.1.4
5
PORTVERSION=	2.1.4
6
PORTREVISION=	24
6
PORTREVISION=	25
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
#MASTER_SITES=	http://hg.linux-ha.org/lha-2.1/archive/STABLE-2.1.4.tar.bz2
8
#MASTER_SITES=	http://hg.linux-ha.org/lha-2.1/archive/STABLE-2.1.4.tar.bz2
9
MASTER_SITES=	${MASTER_SITE_LOCAL}
9
MASTER_SITES=	LOCAL/kuriyama/heartbeat
10
MASTER_SITE_SUBDIR=	kuriyama/heartbeat
11
DISTNAME=	STABLE-${PORTVERSION}
10
DISTNAME=	STABLE-${PORTVERSION}
12
DIST_SUBDIR=	heartbeat
11
DIST_SUBDIR=	heartbeat
13
12
Lines 24-30 Link Here
24
		libxml2.so:${PORTSDIR}/textproc/libxml2
23
		libxml2.so:${PORTSDIR}/textproc/libxml2
25
BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison
24
BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison
26
25
27
USES=		autoreconf cpe gettext gmake libtool pkgconfig python tar:bzip2 \
26
USES=		autoreconf cpe gettext gmake libtool perl5 pkgconfig python tar:bzip2 \
28
		shebangfix
27
		shebangfix
29
SHEBANG_FILES=	ldirectord/ldirectord.in
28
SHEBANG_FILES=	ldirectord/ldirectord.in
30
USE_GNOME=	glib20
29
USE_GNOME=	glib20
Lines 126-131 Link Here
126
	@${CP} -f ${FILESDIR}/heartbeat.in ${WRKSRC}/heartbeat/init.d/
125
	@${CP} -f ${FILESDIR}/heartbeat.in ${WRKSRC}/heartbeat/init.d/
127
126
128
post-patch:
127
post-patch:
128
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
129
		${WRKSRC}/resources/OCF/IPaddr
129
.if ${PORT_OPTIONS:MDOCS}
130
.if ${PORT_OPTIONS:MDOCS}
130
	@${REINPLACE_CMD} -e 's|^\(docdir.*doc/\).*|\1${PORTNAME}|' \
131
	@${REINPLACE_CMD} -e 's|^\(docdir.*doc/\).*|\1${PORTNAME}|' \
131
		${WRKSRC}/configure.in \
132
		${WRKSRC}/configure.in \
(-)sysutils/heartbeat/files/patch-resources-OCF-IPaddr (-1 / +1 lines)
Lines 26-32 Link Here
26
+    ipaddr="$1";
26
+    ipaddr="$1";
27
+
27
+
28
+    /sbin/ifconfig \
28
+    /sbin/ifconfig \
29
+       | /usr/bin/perl -w -e '
29
+       | %%LOCALBASE%%/bin/perl -w -e '
30
+
30
+
31
+            my $ip = $ARGV[0];
31
+            my $ip = $ARGV[0];
32
+
32
+

Return to bug 201222