From owner-freebsd-ports@freebsd.org Thu Mar 4 00:42:06 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 84F1D557D4D for ; Thu, 4 Mar 2021 00:42:06 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrXBQ3QZ4z3sYk; Thu, 4 Mar 2021 00:42:06 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1614818526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oZsc6Uvjhiy5hV89wWSVxqEfRh92wUTfotbSfwcpOoc=; b=C1WkkIdvfZ6X0b20W38qhrbSb/1m4W93IWwewqNrnG0OvYiRn/3ZptaO8O+63uVWXILs+b 9z3zrt6HxPX0izWzoWwX9TOv90stCorVZFVOv2+RDZXqVbSKc7b2HbFhovu3wu03MuQ1TQ 0Ga8FQmSQF4aAayHLzGVAUWaoKmUdmw9kOwXSLWqkMJFkncQTMUbv0OCPyRYDEMApsEc2D MStrWL5leCJ4ffH+v5kfu4RTAa5gHduphLA1f2ABiO1EIQz5bJvqAbV4rMhUa6M5H4+omL O+FW+t9nhyIoYHEK70t159SfGktrSXUFK3f0P6kv7Ynyy9NTdFgHoFAu4imXJQ== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 3F63E36DA; Thu, 4 Mar 2021 00:42:06 +0000 (UTC) From: Jan Beich To: Kevin Oberman Cc: FreeBSD Ports ML Subject: Re: Problems with updating a port due to top directory in tarball References: Date: Thu, 04 Mar 2021 01:42:01 +0100 In-Reply-To: (Kevin Oberman's message of "Wed, 3 Mar 2021 16:00:32 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1614818526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oZsc6Uvjhiy5hV89wWSVxqEfRh92wUTfotbSfwcpOoc=; b=c9AQ32m+XeQsArtUsOKRq4UrVu48Ts4qXlZLtC8NA9GSuJ4uaJysyhV6x/xrhCN7BYs2Ax vuuD9qaN0jrnlw8jE0vQzyAWKqHtAQ6MvVs35UUuO4C8zFoijMl96mS5JQObIgZ2g1b29g R1JJihxussk/axCwG54E2KGgB5ROHi0y6mlk4Si300KLIx155rKgMx03Q+OyZ7YvSky5kP rQS9d4Jscz+hQGqma8Ea6kBy7hzSBgq3k6I6iHBleGVrbDTaC76l27a3FlEzHNYaaQt349 IzoF22SmFtEHR5SGu0cvvfnWKigxFzrHekhcFu+KBU7bTj/YixTTBANaPMZcdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1614818526; a=rsa-sha256; cv=none; b=difmHXsDwoxLwG2AUj1SyuKRvBBQ3rOPo7Du2VOGvCSD63YAU96QzPrx51rbtj9ndQFkcZ HvjQ2iLVr05P1sq4AFPKKN9apXjhApcLuw2dcphhfjxiny4onnWbH2eiwOvtTvjUMRufh9 /rIvc+RuAdMjj3SShUA/OXt8cKIHBaVOCJWa6MsXO9JOw2sTU22sba2/nr26MZe89d2a1l 49UTEgCKXrs7oWkqkj6envuw6YYPuTp200pEc6i8N4NYsUkBq891jTVHUOp4M3jlXJG3wf WXLqp5l1D3/9jcoMnjR5wRf1eCkxfQrHQQC0Jj40+UV4TiGKHPjhbFhAUstOig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 00:42:06 -0000 Kevin Oberman writes: > I'm trying to update a port I maintain. Since I last updated, it moved from > ISC to github and it uses unusual naming conventions. > > The distfile is "irrtoolset/archive/release-5.1.3.tar.gz". I can work > around this with a DIST_SUBDIR and DISTNAME, but when the extract takes > place, the top directory in the tarball is "irrtoolset-release-5.1.3". > Since this is not expected, patch fails. Try DISTVERSIONPREFIX=release- like devel/googletest. USE_GITHUB renames distfile via ?dummy=/ in MASTER_SITES, so you don't need to manually set DIST_SUBDIR/DISTNAME. $ make fetch-urlall-list MASTER_SITE_BACKUP= https://codeload.github.com/irrtoolset/irrtoolset/tar.gz/release-5.1.3?dummy=/irrtoolset-irrtoolset-release-5.1.3_GH0.tar.gz