Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2003 17:00:53 +0200 (CEST)
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jeh@FreeBSD.org
Subject:   ports/54548: misc/amanda-*: gtar dependency is obsolete
Message-ID:  <200307161500.h6GF0roV003954@kemoauc.mips.inka.de>
Resent-Message-ID: <200307161510.h6GFA8Fd052255@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54548
>Category:       ports
>Synopsis:       misc/amanda-*: gtar dependency is obsolete
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 16 08:10:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Christian Weisgerber
>Release:        FreeBSD 5.1-CURRENT alpha
>Organization:
>Environment:
System: FreeBSD kemoauc.mips.inka.de 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Jul 7 20:36:47 CEST 2003 naddy@kemoauc.mips.inka.de:/usr/obj/usr/src/sys/KEMOAUC alpha
	
>Description:

Both amanda-client and amanda-server by default depend on archivers/gtar,
which has been disabled because it is the same as the FreeBSD system
tar.  This dependency and the WITHOUT_GNUTAR knob should be removed.

Cf. this user report:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/012746.html

>How-To-Repeat:

>Fix:

Index: amanda-client/Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/amanda-client/Makefile,v
retrieving revision 1.48
diff -u -r1.48 Makefile
--- amanda-client/Makefile	6 Mar 2003 21:01:39 -0000	1.48
+++ amanda-client/Makefile	16 Jul 2003 14:37:47 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	${MASTERPORTNAME:S/-server/-client/g}
-PORTREVISION=	0
+PORTREVISION=	1
 
 MASTERDIR=	${.CURDIR}/../amanda-server
 COMMENT=	The Advanced Maryland Automatic Network Disk Archiver (client)
Index: amanda-server/Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/amanda-server/Makefile,v
retrieving revision 1.63
diff -u -r1.63 Makefile
--- amanda-server/Makefile	16 Jun 2003 23:20:24 -0000	1.63
+++ amanda-server/Makefile	16 Jul 2003 14:37:47 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME?=	${MASTERPORTNAME}
 PORTVERSION=	2.4.4
-PORTREVISION?=	2
+PORTREVISION?=	3
 PORTEPOCH=	1
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@@ -41,8 +41,6 @@
 	@${ECHO} "    -DWITH_PLOT to enable ploting, requires X11 libraries"
 	@${ECHO} "    -DWITH_SAMBA to enable the use of smbclient"
 	@${ECHO} "    -DWITH_MTX to enable the use of mtx changer scripts"
-	@${ECHO} "    -DWITHOUT_GNUTAR to NOT use GNUTar and use the"
-	@${ECHO} "        native FreeBSD version"
 	@${ECHO} "    AMANDA_SERVER=server to specify a server name"
 	@${ECHO} "        The default is `uname -n`"
 	@${ECHO} "    AMANDA_TAPE=tape to specify the default tape device"
@@ -98,12 +96,6 @@
 RUN_DEPENDS+=	mtx:${PORTSDIR}/misc/mtx
 .endif
 
-.if !defined (WITHOUT_GNUTAR)
-CONFIGURE_ARGS+=	--with-gnutar=${PREFIX}/bin/gtar
-BUILD_DEPENDS+=	gtar:${PORTSDIR}/archivers/gtar
-RUN_DEPENDS+=	gtar:${PORTSDIR}/archivers/gtar
-.endif
-
 .if defined (AMANDA_SERVER)
 CONFIGURE_ARGS+=	--with-index-server=${AMANDA_SERVER}
 CONFIGURE_ARGS+=	--with-tape-server=${AMANDA_SERVER}
@@ -154,8 +146,6 @@
 	@${ECHO} ""
 	@${ECHO} "You may use the following build options:"
 	@${ECHO} ""
-	@${ECHO} "    -DWITHOUT_GNUTAR to NOT use GNUTar and use the"
-	@${ECHO} "        native FreeBSD version"
 	@${ECHO} "    AMANDA_SERVER=server to specify a server name"
 	@${ECHO} "        The default is `uname -n`"
 	@${ECHO} "    AMANDA_CONFIG=config to specify the default configuation"
@@ -191,12 +181,6 @@
 		${WRKSRC}/example/chg-scsi.conf \
 		${WRKSRC}/example/disklist \
 		${PREFIX}/share/examples/amanda
-
-.if !defined (WITHOUT_GNUTAR)
-CONFIGURE_ARGS+=	--with-gnutar=${PREFIX}/bin/gtar
-BUILD_DEPENDS+=	gtar:${PORTSDIR}/archivers/gtar
-RUN_DEPENDS+=	gtar:${PORTSDIR}/archivers/gtar
-.endif
 
 .if defined (AMANDA_SERVER)
 CONFIGURE_ARGS+=	--with-index-server=${AMANDA_SERVER}
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307161500.h6GF0roV003954>