From nobody Sat Dec 18 15:47:27 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6823A18F9700 for ; Sat, 18 Dec 2021 15:47:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JGVbh0z43z3rWW for ; Sat, 18 Dec 2021 15:47:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F1E3B12506 for ; Sat, 18 Dec 2021 15:47:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BIFlRmN045931 for ; Sat, 18 Dec 2021 15:47:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BIFlRw0045930 for ports-bugs@FreeBSD.org; Sat, 18 Dec 2021 15:47:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260518] ports-mgmt/fastest_pkg consider using a pkg+http:// or pkg+https:// (etc.) URL scheme Date: Sat, 18 Dec 2021 15:47:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ehaupt@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639842448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vKu9F60tPGHqzxR0oldMiLvYFFS3GncGfsaGruuSzKo=; b=xZMM2jl8PX0n2JNHed8tyl1e9GySzDx18652qfSr15/JE9z6O/g8NjEd2F0bM8BlIwNZr+ FuKTVE272XJ0uk6dmKoSLxU+mXbv48uF9grjjS42Y2/qU4zg5ilcRF6LnL42b1yE2blYxa YQfFFeGCr9t4GfL0hQXEQgK2GAdcQblVfD+CL1XSIpx61Cuk+fN/xvdRyWmiTgCzNThKZ9 jjeoGusAJPgc5H8MwjALJxk8mxkA30V2C5qMMC1yANfGvsfj7qrwBcaeCTA6/297Bj4gU3 ZE2HMTVlhYlfXuGthNWnYlMcdSmzAszR2gvh1YDEMDnh+3YtENGm8wQlq0C3ZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639842448; a=rsa-sha256; cv=none; b=nEVXCrcjCy7DLGb66wdDuW1uYgimMsUtfpHhn0/CVxk6XH4WvP81C74sIukKIjwLmEWkZ3 PtoiX3I4xPbniGjcagIS+U51/zRvA039CwBTOF1d8NXl2/xIpgXW/hBUU06jO9ACo651zm 64FQQTTmi5RgRM1LRQ8gIr3/wguZj9enBJIMDpgXNrouWvR5MPbW4XyeDP8/BecgRx+XWI dDncg3JQtrzmBlC3TuhlPcK9U+MQjOvviXspdMffoo3Yo4J5hsS/lHS8YcjhEMpkt+Uhvs j4Py5qNvpCf4Mw4lOqhJkQoGVlN/xiULRWKtlKJUmZey5HYn0ostGQLh1OM4hQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260518 Bug ID: 260518 Summary: ports-mgmt/fastest_pkg consider using a pkg+http:// or pkg+https:// (etc.) URL scheme Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/ehaupt/fastest_pkg/blob/5bd4e8c1794 cfaa7e0a3231a50568b14e021417d/fastest_pkg#L139 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ehaupt@FreeBSD.org Reporter: grahamperrin@gmail.com Flags: maintainer-feedback?(ehaupt@FreeBSD.org) Assignee: ehaupt@FreeBSD.org =20 exemplifies http://=20 > 'FreeBSD: { url: "http://%s/${ABI}/latest" }' >From the manual page for pkg.conf(5):=20 > =E2=80=A6 Where MIRROR_TYPE is SRV, you should use a pkg+http:// or pkg+h= ttps://=20 > (etc.) URL scheme. =E2=80=A6 ---- A working pkg+http:// example =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D % uclcmd get --file /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD.url "pkg+http://pkg0.bme.freebsd.org/${ABI}/latest" % uclcmd get --file /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD.mirror_ty= pe null % uclcmd get --file /etc/pkg/FreeBSD.conf FreeBSD.mirror_type "srv" % sudo pkg update -f -r FreeBSD Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01=20=20=20=20 Fetching packagesite.pkg: 100% 6 MiB 6.6MB/s 00:01=20=20 =E2=80=A6 --=20 You are receiving this mail because: You are the assignee for the bug.=