[aur-dev] epoch fields for packages are completely ignored

Slavi Pantaleev s.pantaleev at gmail.com
Fri Jun 24 01:47:49 EDT 2011


Hey.

The epoch field in PKGBUILD files is completely ignored now, and the
final Version field for the package consists only of pkgver and pkgrel
(example: 5.0-1)

This means that various AUR helpers cannot perform updates on packages
that have epoch > 0, because the local package is from that higher
epoch and the one in the AUR (as reported by rpc.php) is from epoch 0.

I'm providing a patch that supposedly fixes the problem by inspecting
the epoch field, and if not 0 prepending it to the Version (example:
1:5.0-1).

Comments welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: honor_pkgbuild_epoch.patch
Type: text/x-patch
Size: 3391 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/aur-dev/attachments/20110624/5cd30276/attachment.bin>


More information about the aur-dev mailing list