Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Dec 2015 00:59:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 205003] ports-mgmt/pkg: pkg segfault if extra colon is in the url in repository configuration files
Message-ID:  <bug-205003-32340-CyZtFhQHye@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205003-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205003-32340@https.bugs.freebsd.org/bugzilla/>

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

Simpson <schen@enbala.com> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to pkg@FreeBSD.org:
Bug 205003: ports-mgmt/pkg: pkg segfault if extra colon is in the url in
repository configuration files
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205003



--- Description ---
Example 1:

Note the ":" after the port number 80

root# cat FreeBSD.conf
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org:80:/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

root# pkg update
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
Child process pid=78442 terminated abnormally: Segmentation fault

Example 2:

Note the 2nd ":" after the domain name

root# cat FreeBSD.conf
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org::/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

root# pkg update
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
Child process pid=78475 terminated abnormally: Segmentation fault



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205003-32340-CyZtFhQHye>