Changeset 46099


Ignore:
Timestamp:
Jan 29, 2009, 2:37:40 PM (11 years ago)
Author:
macsforever2000@…
Message:

Updated to version 3.0.4. Added yahoo.com:compconsultant as maintainer. Removed patch file patch-configure. Added patch file patch-fcrontab.c.diff. (#18221)

Location:
trunk/dports/sysutils/fcron
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/fcron/Portfile

    r33297 r46099  
    44
    55name                    fcron
    6 version                 3.0.2
     6version                 3.0.4
    77categories              sysutils
    88platforms               darwin
    9 maintainers             nomaintainer
     9maintainers             yahoo.com:compconsultant
    1010description             fcron is an alternative scheduler aka cron daemon
    1111long_description        fcron is a scheduler. It aims at replacing Vixie Cron, so \
    12                                         it implements most of its functionalities. But contrary to \
    13                                         Vixie Cron, fcron does not need your system to be up 7 \
    14                                         days a week, 24 hours a day : it also works well with \
    15                                         systems which are not running neither all the time nor \
    16                                         regularly (contrary to anacrontab).
     12                        it implements most of its functionalities. But contrary to \
     13                        Vixie Cron, fcron does not need your system to be up 7 \
     14                        days a week, 24 hours a day : it also works well with \
     15                        systems which are not running neither all the time nor \
     16                        regularly (contrary to anacrontab).
    1717
    18 homepage                http://fcron.free.fr/
    19 master_sites    ${homepage}/archives/
    20 worksrcdir              ${distname}
    21 distname                ${distname}.src
    22 checksums               md5 f35e6af41d356ebcb38882f86a14fb94 \
    23                                 sha1 76df8bdfb874df78e81885eca90f1b9c91b0bd24 \
    24                                 rmd160 822f559550780c61c5822f4034fe99dd47577847
    25 patchfiles              patch-configure
     18homepage                http://fcron.free.fr
     19master_sites            ${homepage}/archives
     20extract.suffix          .src.tar.gz
     21checksums               md5 5a26a1dfd91fdc7e87401e98aef870e6 \
     22                        sha1 daaa5287be026a425ea5bb56959ad38b1b6d030a \
     23                        rmd160 2bb8eb489251eaa1380b4e37b6526d2040291313
    2624
     25patchfiles              patch-fcrontab.c.diff
    2726
    28 configure.args  --with-etcdir=${prefix}/etc \
    29                                 --with-piddir=${prefix}/var/run/fcron \
    30                                 --with-fifodir=${prefix}/var/run/fcron \
    31                                 --with-spooldir=${prefix}/var/spool/fcron \
    32                                 --with-boot-install=no \
    33                                 --with-pam=no
     27configure.args          --with-boot-install=no \
     28                        --with-pam=no \
     29                        --with-selinux=no
    3430
    3531startupitem.create      yes
     
    3935                                        "&& kill -KILL `cat ${prefix}/var/run/fcron/fcron.pid`"
    4036
     37destroot.keepdirs       ${destroot}${prefix}/var/spool/fcron \
     38                        ${destroot}${prefix}/var/run/fcron
    4139pre-destroot    {
    42         # add user:group 'fcron:fcron'
    4340        addgroup fcron
    4441        set gid [existsgroup fcron]
    45         adduser fcron shell=/bin/sh gid=${gid} \
    46                         home=${prefix}/var/run/fcron realname=fcron\ Server
     42        adduser fcron shell=/bin/bash gid=${gid} \
     43                        realname=fcronServer
    4744}
    4845post-destroot {
    4946        set dp ${destroot}${prefix}
    50         xinstall -m 755 -d ${dp}/var/run/fcron/ ${dp}/var/spool/fcron
    51         system "touch ${dp}/var/spool/fcron/fcron ${dp}/var/run/fcron/fcron.pid"
    52         file attributes ${dp}/var/spool/fcron -owner fcron -group fcron
    53         file attributes ${dp}/var/spool/fcron/fcron -owner fcron -group fcron
    54         file attributes ${dp}/var/run/fcron/fcron.pid -owner root -group wheel
     47        foreach file [glob ${dp}/etc/fcron*] {
     48                file rename ${file} ${file}-default
     49        }
    5550}
    5651
Note: See TracChangeset for help on using the changeset viewer.