Ticket #34449: Portfile-fcron.diff

File Portfile-fcron.diff, 1.6 KB (added by compconsultant@…, 12 years ago)
  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name                    fcron
    6 version                 3.0.4
     6version                 3.0.6
    77categories              sysutils
    88platforms               darwin
    99maintainers             yahoo.com:compconsultant
     
    1818homepage                http://fcron.free.fr
    1919master_sites            ${homepage}/archives
    2020extract.suffix          .src.tar.gz
    21 checksums               md5 5a26a1dfd91fdc7e87401e98aef870e6 \
    22                         sha1 daaa5287be026a425ea5bb56959ad38b1b6d030a \
    23                         rmd160 2bb8eb489251eaa1380b4e37b6526d2040291313
    24 
    25 patchfiles              patch-fcrontab.c.diff
     21checksums               md5 69ebcb41921e2a282f41ebecb3a27053 \
     22                        sha1 6b0a886931d9a89c65df33228384b07d672238bf \
     23                        rmd160 fadcb39ce106dcd61f31e1d4d6ab7c2d1149b36b
    2624
    2725configure.args          --with-boot-install=no \
    2826                        --with-pam=no \
     
    3129startupitem.create      yes
    3230startupitem.name        fcron
    3331startupitem.start       "\[ -x ${prefix}/sbin/fcron \] && ${prefix}/sbin/fcron -b"
    34 startupitem.stop        "\[ -r ${prefix}/var/run/fcron/fcron.pid \] \\" \
    35                                         "&& kill -KILL `cat ${prefix}/var/run/fcron/fcron.pid`"
     32startupitem.stop        "\[ -r ${prefix}/var/run/fcron.pid \] \\" \
     33                                        "&& kill -KILL `cat ${prefix}/var/run/fcron.pid`"
    3634
    3735destroot.keepdirs       ${destroot}${prefix}/var/spool/fcron \
    3836                        ${destroot}${prefix}/var/run/fcron
     
    4543post-destroot {
    4644        set dp ${destroot}${prefix}
    4745        foreach file [glob ${dp}/etc/fcron*] {
    48                 file rename ${file} ${file}-default
     46                file rename ${file} ${file}.sample
    4947        }
    5048}
    5149
     50notes "
     51Please create the fcron configuration file $prefix/etc/fcron.conf\
     52by using the sample file $prefix/etc/fcron.conf.sample as a reference
     53"