From owner-freebsd-ports@freebsd.org Wed Feb 10 14:38:46 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 5FDFA548A9D for ; Wed, 10 Feb 2021 14:38:46 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 4DbMny2Hmhz4Xt4; Wed, 10 Feb 2021 14:38:46 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1612967926; 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=J6Mix3KUipoiWwROUov1Ux4aj/W2ZPhC732PO9HJbKk=; b=sxsW8/5dfb2FJHDIBr7bsJidXVJo8I73Nb71bq6rWA99FdvkAGqg+iX0fOIsiM49GYETZf lwxHDfpiFvbFmFUkdBjIFz0iLF3T/LnE+c7Qz9V36PPf5V56Jed8f/Xxztd8sRWqKlxFr1 9u1GOqr1I8bvHq8jh5XIvnWoErY5ejNtgI0AThxZLRr+bwNIGXtnxSjF9ePtkroijj6ITB YokkF2dI+hnXvlU1uums3GWfwUssRO7gIlLl/fev8FMWjZnmM6P3p4P+TPsyNCT4nqJsqO lDYKZtsQhHBdJy+ChlQGRjMG2q6HN5YIvuaFqZelkGAer5ieQJmpYao+f0rBcg== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 46E46C2C7; Wed, 10 Feb 2021 14:38:46 +0000 (UTC) From: Jan Beich To: Adam Jimerson Cc: freebsd-ports@freebsd.org Subject: Re: Building a port with poudriere that depends on a cargo crate that needs net access References: <1652337.MsCH1bHPGx@heimdall> Date: Wed, 10 Feb 2021 15:38:37 +0100 In-Reply-To: <1652337.MsCH1bHPGx@heimdall> (Adam Jimerson's message of "Wed, 10 Feb 2021 08:24:46 -0500") 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=1612967926; 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=J6Mix3KUipoiWwROUov1Ux4aj/W2ZPhC732PO9HJbKk=; b=C+PAIiX3JC02bNFz3QLpJME8li/EYEgXqYq2ydsRGsIb5TacciGkwkbK4vwcPKMkJu+P2U zcT8CzOapqBAvDgbwNmsaOG0MRu+npNLoKrD4XSUG5kP+dpbYg5DlxfK+6NhJbqZcBxc1U BSEqdMRGQyaRI1A6CmtivBr5YQndNtnzOOaetl715XP9rJzm+CHyF89xsvg9TvSFaO9MOi RDcL4KYFJq9714M6hoGDoV7BkcorxlxbzD5+X7VQ4ThLViheY13oNBOErDtq2496rE4hTj jjZOCCOKspGupk+z/ZodeakXhKwapll+hwYKVOUQutDfrRjAHMux1pFhNppckQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1612967926; a=rsa-sha256; cv=none; b=bsbQ3ARzO0Mvmfe5ikkmR2tGKmRqeri153hulKyZfSJF5YlKpovQsjKejFtmSrAfYwMO1N bKq7oHFwRuIJlBdWTQiE8SDAnMxZnWfDcH7cDjTgxFgfCbYuMBSDBa2TYJ5gWJ1FBfgQQt L9JJS4MqRf51o/fDTyybVj3Z1ydGHcG9HIAjTyRU1ieTEB+QlWKMUfLnGXGl0qk5M+I5By 92Pmg3B8R6sDx77RLR9KBpqyH9Y7Y3N7P937A3lSjTTxADMzWhx5vi902OmUWN/BzTeb/9 0EhLHCYblxGM152Vams4KwIohonXomhPFM/X7fNt61QgfvtXG6o7MshhB6GPtw== 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: Wed, 10 Feb 2021 14:38:46 -0000 Adam Jimerson writes: > I'm trying to make a port that depends on a number of cargo crates, both > direct and indirect dependencies, one of these crates needs network access to > build. The crate in question is psl (https://crates.io/crates/psl). To avoid network see cargo-configure in Mk/Uses/cargo.mk. How much is necessary depends on a particular project/port. Sometimes you can merge different build systems like x11/squeekboard did USES=meson + USES=cargo, sometimes upstream already vendored crates like graphics/librsvg2-rust. If you still can't figure out attach the WIP port (or just Makefile if there're no patches), so others can expirement.