Welcome to CRUX bug tracking.
FS#1384 - pkgmk - save sources into PKGMK_SOURCE_DIR/name
Attached to Project:
CRUX
Opened by Fun (fun) - Tuesday, 28 February 2017, 02:37 GMT
Last edited by Fredrik Rinnestam (frinnst) - Friday, 16 June 2017, 15:39 GMT
Opened by Fun (fun) - Tuesday, 28 February 2017, 02:37 GMT
Last edited by Fredrik Rinnestam (frinnst) - Friday, 16 June 2017, 15:39 GMT
|
DetailsPatch attached.
The sourceless ports already use a subfolder. |
This task depends upon
It will try to get the source from $mirror/$source and $mirror/$name/$source from every mirror.
Currently this will not work because pkgmk cannot create missing directories.
Alan Mizrahi wrote a patch which adds exactly this feature to pkgmk, see mailing list archive.
http://www.mizrahi.com.ve/crux/ports/pkgutils/0001-New-features-and-small-improvements-in-pkgmk.patch
You can close this as dup, link to that or something. I'll add my view there.
But you understand that is an recurring issue, which is annoying to users, who turn to devs ... and is better to be sorted out.
I'll use this pkgmk a couple of days to see if is OK.
No problems so far.
For example, sudo pkgmk -d will create /usr/ports/src/X/ver1.tar.gz with /usr/ports/src/X owned by root:root.
If, later you use prt-get (configured to use fakeroot --user=pkgmk) if will fail creating /usr/ports/src/X/ver2.tar.gz.