Package Details: dcron 4.6-2

Git Clone URL: https://aur.archlinux.org/dcron.git (read-only, click to copy)
Package Base: dcron
Description: dillon's lightweight cron daemon
Upstream URL: http://www.jimpryor.net/linux/dcron.html
Licenses: GPL
Conflicts: cron
Provides: cron
Submitter: xyproto
Maintainer: ptchinster
Last Packager: ptchinster
Votes: 36
Popularity: 0.003276
First Submitted: 2013-01-24 14:33 (UTC)
Last Updated: 2024-03-09 21:28 (UTC)

Dependencies (2)

Required by (18)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

giddie commented on 2015-06-17 10:56 (UTC)

It should be an array, like this: arch=('i686' 'x86_64' 'armv6h')

x33a commented on 2015-06-17 10:54 (UTC)

Thanks guys for the explanation. So, would it be fine if I put armv6h in the PKGBUILD, since Arch doesn't officially support anything other than i686 and x86_64?

giddie commented on 2015-06-17 10:52 (UTC)

The arch field doesn't describe the code; it describes the *package*. Once the package is built, it will declare "arch=any", but that's not the case: it contains a compiled binary, which ties it to a specific architecture. If I understand correctly, makepkg will choose the build arch from the list in the PKGBUILD, and that arch will be used for the package metadata. Using "any" in the PKGBUILD means that the package will be marked as suitable for "any", which is misleading.

JonnyJD commented on 2015-06-17 10:52 (UTC)

@x33a: running namcap on the any.pkg.tar.xz gives: dcron E: ELF file ('usr/sbin/crond') found in an 'any' package. dcron E: ELF file ('usr/bin/crontab') found in an 'any' package.

JonnyJD commented on 2015-06-17 10:50 (UTC)

@x33a: This is not about archicture specific _code_. The resulting binary package contains an ELF executable and is different for different architectures. So the binary package is not architecture independent, which is exactly what "any" in the PKGBUILD would mean.

x33a commented on 2015-06-17 10:47 (UTC)

@lilydjwg, can you point out any architecture specific code in dcron?

lilydjwg commented on 2015-06-17 07:34 (UTC)

I don't think "arch" should be "any". From man 5 PKGBUILD: arch (array) Defines on which architectures the given package is available (e.g., arch=('i686' 'x86_64')). Packages that contain no architecture specific files should use arch=('any'). But the dcron package contains architecture-specific binaries. It will harm anyone who tries to distribute built packages to different architectures, e.g. unofficial repositories and package cache for multiple systems.

x33a commented on 2015-06-17 06:08 (UTC)

@respiranto, I have changed the "arch" field to any.

x33a commented on 2015-06-14 04:51 (UTC)

@respiranto, will do that shortly. First I need to find some time to port the package to AUR4.

respiranto commented on 2015-06-13 18:40 (UTC)

Works fine on my raspberry-pi (armv6h). Could you add armv6h to the PKGBUILD? Or maybe even 'any'?