From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 6 15:50:15 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5738F16A41C for ; Wed, 6 Jul 2005 15:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE8DC43D49 for ; Wed, 6 Jul 2005 15:50:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j66FoErq091617 for ; Wed, 6 Jul 2005 15:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j66FoEJh091616; Wed, 6 Jul 2005 15:50:14 GMT (envelope-from gnats) Resent-Date: Wed, 6 Jul 2005 15:50:14 GMT Resent-Message-Id: <200507061550.j66FoEJh091616@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vivek Khera Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 929E416A41C for ; Wed, 6 Jul 2005 15:41:29 +0000 (GMT) (envelope-from vivek@lorax.kcilink.com) Received: from lorax.kcilink.com (lorax.kcilink.com [206.112.95.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5563A43D45 for ; Wed, 6 Jul 2005 15:41:29 +0000 (GMT) (envelope-from vivek@lorax.kcilink.com) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 6CE6F3E7B for ; Wed, 6 Jul 2005 11:41:28 -0400 (EDT) Received: from lorax.kcilink.com ([127.0.0.1]) by localhost (lorax.kcilink.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09645-07 for ; Wed, 6 Jul 2005 11:41:27 -0400 (EDT) Received: by lorax.kcilink.com (Postfix, from userid 120) id 8C8203E82; Wed, 6 Jul 2005 11:41:27 -0400 (EDT) Message-Id: <20050706154127.8C8203E82@lorax.kcilink.com> Date: Wed, 6 Jul 2005 11:41:27 -0400 (EDT) From: Vivek Khera To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/83067: fix databases/slony1 to build on systems without perl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vivek Khera List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 15:50:15 -0000 >Number: 83067 >Category: ports >Synopsis: fix databases/slony1 to build on systems without perl >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jul 06 15:50:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD lorax.kcilink.com 4.11-STABLE FreeBSD 4.11-STABLE #24: Fri May 13 16:08:06 EDT 2005 vivek@lorax.kcilink.com:/u/lorax1/usr/obj/u/lorax1/usr/src/sys/LORAX i386 >Description: slony1 fails to build on systems without perl, even if the non-perl bits are not requested. this is a bug in the slony build system and is worked around locally by the patch here. also, the sample rc script failed to background the daemon process. this is fixed as well. i don't beleve this requires a bump in PORTREVISION as anyone who is running it already won't be affected by these changes. >How-To-Repeat: >Fix: The file patch-tools::altperl::Makefile is added by this fix. --- /dev/null Wed Jul 6 11:34:53 2005 +++ files/patch-tools::altperl::Makefile Wed Jul 6 11:33:24 2005 @@ -0,0 +1,19 @@ +--- tools/altperl/Makefile.dist Wed Jul 6 11:31:10 2005 ++++ tools/altperl/Makefile Wed Jul 6 11:31:45 2005 +@@ -13,6 +13,8 @@ + DISTFILES = Makefile ToDo README $(wildcard *.pl) $(wildcard *.pm) slon_tools.conf-sample + + all: ++ifdef toolsbin ++ + ifndef PERL + @echo "The altperl tools require that Perl be installed." + exit 1; +@@ -31,6 +33,7 @@ + $$file > $$tmpname; \ + chmod 755 $$tmpname; \ + done ++endif + + install: all installdirs + ifndef toolsbin --- files/#slon.sh.in~ Wed Jul 6 11:37:43 2005 +++ files/slon.sh.in Wed Jul 6 11:37:43 2005 @@ -20,7 +20,7 @@ pidfile="/var/run/$name.pid" command="%%PREFIX%%/bin/slon" -command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile" +command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile &" required_files="%%PREFIX%%/etc/$name.conf" # read configuration and set defaults >Release-Note: >Audit-Trail: >Unformatted: