From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 19 22:30:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AABB5106564A for ; Sun, 19 Aug 2012 22:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 82E008FC15 for ; Sun, 19 Aug 2012 22:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7JMU93B011297 for ; Sun, 19 Aug 2012 22:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7JMU9UM011296; Sun, 19 Aug 2012 22:30:09 GMT (envelope-from gnats) Resent-Date: Sun, 19 Aug 2012 22:30:09 GMT Resent-Message-Id: <201208192230.q7JMU9UM011296@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, Matthew Grooms Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 931C0106566B for ; Sun, 19 Aug 2012 22:28:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 65DDD8FC16 for ; Sun, 19 Aug 2012 22:28:15 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7JMSFSN066799 for ; Sun, 19 Aug 2012 22:28:15 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7JMSFFq066798; Sun, 19 Aug 2012 22:28:15 GMT (envelope-from nobody) Message-Id: <201208192228.q7JMSFFq066798@red.freebsd.org> Date: Sun, 19 Aug 2012 22:28:15 GMT From: Matthew Grooms To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170773: bacula-server vs backula-client with pkgng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2012 22:30:09 -0000 >Number: 170773 >Category: ports >Synopsis: bacula-server vs backula-client with pkgng >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Aug 19 22:30:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Matthew Grooms >Release: 9.0-RELEASE-p3 >Organization: >Environment: reeBSD 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The backula-server and bacula-client ports install the same library and man pages into the same target path. I have attached a patch which removes duplicate files from the server plist and makes bacula-client a dependency of bacula-server. I'm not sure if it is 100% correct, but appears to work in my environment. >How-To-Repeat: Attempt to build and install both bacula-client and bacula-server on the same host. >Fix: --- Makefile.bak 2012-08-19 16:32:17.000000000 -0500 +++ Makefile 2012-08-19 17:09:24.000000000 -0500 @@ -33,6 +33,7 @@ .if !defined(WITH_BAT) && !defined(WITH_NAGIOS_CHECK_ONLY) #Till end of the file PKGNAMESUFFIX?= -server +.if defined(WITH_CLIENT_ONLY) PORTDOCS= VERIFYING \ technotes \ ChangeLog \ @@ -40,9 +41,11 @@ ReleaseNotes \ LICENSE \ INSTALL +.endif .if !defined(WITH_CLIENT_ONLY) USE_RC_SUBR?= bacula-dir bacula-sd +LIB_DEPENDS+= bac:${PORTSDIR}/sysutils/bacula-client .endif .if defined(WITH_CLIENT_ONLY) @@ -188,7 +191,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra__manpages__Makefile.in .else MAN1= bat.1 bsmtp.1 bacula-tray-monitor.1 bacula-bwxconsole.1 -MAN8= bacula.8 bacula-dir.8 bacula-fd.8 bacula-sd.8 bconsole.8 \ +MAN8= bacula.8 bacula-dir.8 bacula-sd.8 \ bcopy.8 bextract.8 bls.8 bregex.8 bscan.8 btape.8 \ btraceback.8 bwild.8 dbcheck.8 .endif --- pkg-plist.bak 2012-08-19 16:40:40.000000000 -0500 +++ pkg-plist 2012-08-19 16:42:28.000000000 -0500 @@ -1,25 +1,12 @@ -lib/libbac.la -lib/libbac.so -lib/libbac.so.%%MAJOR%% lib/libbaccats-%%DBTYPE%%.la lib/libbaccats-%%DBTYPE%%.so lib/libbaccats-%%DBTYPE%%.so.%%MAJOR%% lib/libbaccats.la lib/libbaccats.so lib/libbaccats.so.%%MAJOR%% -lib/libbaccfg.la -lib/libbaccfg.so -lib/libbaccfg.so.%%MAJOR%% -lib/libbacfind.la -lib/libbacfind.so -lib/libbacfind.so.%%MAJOR%% -lib/libbacpy.la -lib/libbacpy.so -lib/libbacpy.so.%%MAJOR%% lib/libbacsql.la lib/libbacsql.so lib/libbacsql.so.%%MAJOR%% -lib/bpipe-fd.so sbin/bacula sbin/bacula-dir sbin/bacula-sd >Release-Note: >Audit-Trail: >Unformatted: