fcron: 3.0.4 -> 3.1.2

This commit is contained in:
Domen Kožar 2013-08-23 15:05:49 +02:00
parent 6c013fa841
commit e0819b1e26

View File

@ -2,28 +2,26 @@
# restart using 'killall -TERM fcron; fcron -b
# use convert-fcrontab to update fcrontab files
{ stdenv, fetchurl, perl }:
{ stdenv, fetchurl, perl, busybox, vim }:
stdenv.mkDerivation {
name = "fcron-3.0.4";
stdenv.mkDerivation rec {
name = "fcron-3.1.2";
src = fetchurl {
url = http://fcron.free.fr/archives/fcron-3.0.4.src.tar.gz;
sha256 = "15kgphsfa0nqgjd8yxyz947x2xyljj4iyh298kw4c8bz6iznqxn8";
url = "http://fcron.free.fr/archives/${name}.src.tar.gz";
sha256 = "0p8sn4m3frh2x2llafq2gbcm46rfrn6ck4qi0d0v3ql6mfx9k4hw";
};
buildInputs = [ perl ];
configureFlags =
[ "--with-sendmail=/var/setuid-wrappers/sendmail"
"--with-editor=/var/run/current-system/sw/bin/vi"
[ "--with-sendmail=${busybox}/sbin/sendmail"
"--with-editor=${vim}/bin/vi" # TODO customizable
"--with-bootinstall=no"
"--sysconfdir=/etc"
# fcron would have been default user/grp
"--with-username=root"
"--with-groupname=root"
# fcron must not try to verify that sendmail has already been installed int /var/setuid-wrappers/sendmail
"--disable-checks"
];
installTargets = "install-staged"; # install does also try to change permissions of /etc/* files
@ -52,5 +50,6 @@ stdenv.mkDerivation {
description="A command scheduler with extended capabilities over cron and anacron";
homepage = http://fcron.free.fr;
license = "GPLv2";
platforms = stdenv.lib.platforms.all;
};
}