From owner-freebsd-ports@freebsd.org Sat Mar 6 18:40:52 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 C8D6756F827 for ; Sat, 6 Mar 2021 18:40:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DtD2D21Fxz4gs5 for ; Sat, 6 Mar 2021 18:40:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x22f.google.com with SMTP id w65so6445894oie.7 for ; Sat, 06 Mar 2021 10:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R2DHrI42j21j8CLoLxnyw3q7ONRqknX4nZVOAiaAZzE=; b=A+bBd7ZHz8dkGT43Iczk0fRg4r+qL8I4LcAlN134FtO1AsxBJDJlJZ4oKpMEaz2ffi iCwfecoAukEdjRTo8EKLmQHNHxMh14aPRupC4jha3J34c86JP/GQr7vdq03bdzlA9hlp nJwu2c3uwRj7CXEjhMWVCiIldq5ogRlHWchybfIOBLJhht3La6oMFtE7ZqtxdbVIPV3Q s2lF72tgycraaFSfoBle3yfvWeqvk5YBFYLYHR5tTECv/7LWnZDYP18hEL2Ozunsfdfp 8+O60s73/3oeYm9zD8vzOpggBpJddadOcEGQdizJqVOJVU/nVtK+hrqBxl/jwvynM5RX +PGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R2DHrI42j21j8CLoLxnyw3q7ONRqknX4nZVOAiaAZzE=; b=Gv9mstcJv/AAA+eAHbOP5OVj5PVdZia1rm1YMClPnYOe2hT6N8mkVVB5rkp+od95mJ Nb+XN5c5ObL4omdtjVi37gal3h3uZAIfVJvyeK+c7V+KpGckxCceURZ8pTpHz3nX4VQN CDpEEsrNg/xcrH68LNmfxd4h6nUjpdT5TV2f2WYpfqg3iig0TsGVx2W6N2bjYDwaHcmv 2lfvg8DaLsB2W0orDxWHwHTOWD6nPwBYvvN628JPl25fl1O4MZQzWdG89Xu1ZsDAUlXY Ys89yBlUl5GLvEj77yGeu91U8wRoiaQfKiraj1S4H+BOBZgcAU1B0hcdgpxjnd9Urmhn GL5w== X-Gm-Message-State: AOAM530gYSUNpE8nWw96LYH1wLz4YcU+aevB0uQfQvntBOL22SBSFcW/ PUV3HW/zFhX2LUlzeUYUfaA4ihL/nJaU5DWTr78= X-Google-Smtp-Source: ABdhPJwxaG1vwZjaKFkmt80g4Us2JkQSwi9exDpusaolDrfj0Cdx/CGiNj0T4TRPcS7w5No1VGnj9ERR6YHWrf9W4eA= X-Received: by 2002:aca:ed04:: with SMTP id l4mr6136461oih.27.1615056051462; Sat, 06 Mar 2021 10:40:51 -0800 (PST) MIME-Version: 1.0 References: <0538558a-880e-415d-8499-5b7ea05212e3@gmail.com> In-Reply-To: <0538558a-880e-415d-8499-5b7ea05212e3@gmail.com> From: Kevin Oberman Date: Sat, 6 Mar 2021 10:40:35 -0800 Message-ID: Subject: Re: Problems with updating a port due to top directory in tarball To: Hiroo Ono Cc: FreeBSD Ports ML X-Rspamd-Queue-Id: 4DtD2D21Fxz4gs5 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=A+bBd7ZH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::22f as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-1.76 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::22f:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.94)[0.938]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::22f:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22f:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Sat, 06 Mar 2021 18:40:52 -0000 On Wed, Mar 3, 2021 at 10:15 PM Hiroo Ono wrote: > > On 2021=E5=B9=B43=E6=9C=884=E6=97=A5=E6=9C=A8=E6=9B=9C=E6=97=A5 9=E6=99= =8200=E5=88=8632=E7=A7=92 JST, Kevin Oberman wrote: > > 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. > > If it is same as what is tagged as "release-5.1.3", > > DISTVERSIONPREFIX=3D release- > DISTVERSION=3D 5.1.3 > USE_GITHUB=3D yes > GH_ACCOUNT=3D irrtoolset > GH_PROJECT=3D irrtoolset > > should work. > cf. > > https://docs.freebsd.org/en_US.ISO8859-1/books/porters-handbook/makefile-= distfiles.html#makefile-master_sites-github-description > > Thanks you very much! The update to the port has been submitted and is awaiting a committer. Looking at the Porter's Handbook, I now understand how it works, but it would have taken a VERY long time to figure it all out without your help! (Might have taken until the heat death of the universe.) -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683