maintainer-feedback requested: [Bug 205003] ports-mgmt/pkg: pkg segfault if extra colon is in the url in repository configuration files
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 4 00:59:11 UTC 2015
Simpson <schen at enbala.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to pkg at 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
More information about the freebsd-pkg
mailing list