From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 10 09:20:12 2003 Return-Path: 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 F0AA216A4BF for ; Fri, 10 Oct 2003 09:20:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B6F643FDF for ; Fri, 10 Oct 2003 09:20:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9AGK9FY087798 for ; Fri, 10 Oct 2003 09:20:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9AGK9R2087797; Fri, 10 Oct 2003 09:20:09 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 10 Oct 2003 09:20:09 -0700 (PDT) Resent-Message-Id: <200310101620.h9AGK9R2087797@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, Kirk Strauser Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 800A716A4B3 for ; Fri, 10 Oct 2003 09:11:22 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FC6343FAF for ; Fri, 10 Oct 2003 09:11:21 -0700 (PDT) (envelope-from kirk@kanga.honeypot.net) Received: from kanga.honeypot.net (localhost [127.0.0.1]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h9AGBJkV070830 for ; Fri, 10 Oct 2003 11:11:19 -0500 (CDT) (envelope-from kirk@kanga.honeypot.net) Received: (from kirk@localhost) by kanga.honeypot.net (8.12.9/8.12.9/Submit) id h9AGBJOl070829; Fri, 10 Oct 2003 11:11:19 -0500 (CDT) (envelope-from kirk) Message-Id: <200310101611.h9AGBJOl070829@kanga.honeypot.net> Date: Fri, 10 Oct 2003 11:11:19 -0500 (CDT) From: Kirk Strauser To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/57843: misc/amanda-client still depends on gtar in source X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kirk Strauser List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2003 16:20:13 -0000 X-List-Received-Date: Fri, 10 Oct 2003 16:20:13 -0000 >Number: 57843 >Category: ports >Synopsis: misc/amanda-client still depends on gtar in source >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 10 09:20:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: FreeBSD 5.1-CURRENT i386 >Organization: The Strauser Group >Environment: System: FreeBSD kanga.honeypot.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Sep 19 14:51:41 CDT 2003 root@kanga.honeypot.net:/usr/obj/usr/src/sys/KANGA i386 >Description: The misc/amanda-client port has been modified to remove dependency on archivers/gtar since it is now included in the base system. However, the /usr/local/libexec/sendbackup program the amanda-client port still calls "gtar" directly by name. I discovered this when investigating why a backup that seemed to have completed properly was missing a few filesystems from FreeBSD servers. >How-To-Repeat: >Fix: As a workaround: # cd /usr/bin # ln -s tar gtar A fix would look similar to below, although I haven't investigated whether other programs are involved. This hardcoded value sort of surprised me: --- sendbackup-gnutar.c-old Fri Oct 10 11:08:07 2003 +++ sendbackup-gnutar.c Fri Oct 10 11:08:30 2003 @@ -480,7 +480,7 @@ start_index(options->createindex, dumpout, mesgf, indexf, indexcmd); - my_argv[i++] = "gtar"; + my_argv[i++] = "tar"; my_argv[i++] = "--create"; my_argv[i++] = "--file"; my_argv[i++] = "-"; >Release-Note: >Audit-Trail: >Unformatted: