|
|||||||||
Wednesday the 23rd of July, 2008 |
|||||||||
anacron most recent diff
Scroll down toward the bottom of the page to get installation instructions for anacron. The raw portfile for anacron 2.3 is located here: http://anacron.darwinports.com/dports/sysutils/anacron/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/anacron # $Id: Portfile 30254 2007-10-23 02:22:51Z jmpp PortSystem 1.0 Name: anacron Version: 2.3 revision 3 Category: sysutils Maintainers: nomaintainer Description: Schedules periodic jobs on systems that are not permanently up Long Description: Anacron is a periodic command scheduler. It executes commands at intervals specified in days. Unlike cron, it does not assume that the system is running continuously. Platform: darwin Homepage: http://sourceforge.net/projects/anacron master_sites sourceforge checksums md5 865cc1dfe1ed75c470d3e6de13763f03 patchfiles patch-Makefile patch-README patch-anacron.8 patch-anacrontab.5 patch-gregor.c post-patch { file copy ${filespath}/obstack.c ${filespath}/obstack.h ${workpath}/${worksrcdir}/ } use_configure no build.args PREFIX=${prefix} destroot.args PREFIX=${destroot}${prefix} destroot.keepdirs ${destroot}${prefix}/etc/cron.daily ${destroot}${prefix}/etc/cron.weekly ${destroot}${prefix}/etc/cron.monthly ${destroot}${prefix}/var/spool/anacron post-destroot { xinstall -m 755 ${filespath}/run-parts ${destroot}${prefix}/bin/ reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/share/man/man8/anacron.8 reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/share/man/man5/anacrontab.5 xinstall -m 0644 ${filespath}/anacrontab.sample ${destroot}${prefix}/etc/anacrontab-dist reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/etc/anacrontab-dist xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 -W ${worksrcpath} ChangeLog COPYING README TODO ${destroot}${prefix}/share/doc/${name} reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/share/doc/${name}/README # Create startup rc script (if non-Darwin) if {![variant_isset darwin]} { xinstall -d -m 0755 ${destroot}${prefix}/etc/rc.d xinstall -m 755 -c ${filespath}/anacron.sh ${destroot}${prefix}/etc/rc.d/ reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/etc/rc.d/anacron.sh } } post-activate { # If no anacrontab already installed, copy sample file if {![file exists ${prefix}/etc/anacrontab]} { xinstall -m 0644 ${prefix}/etc/anacrontab-dist ${prefix}/etc/anacrontab } } platform darwin { startupitem.create yes startupitem.name Anacron startupitem.start "\[ -n \"`grep anacron /etc/crontab`\" \] \\" startupitem.start-append "\t|| echo \"10 * * * * root ${prefix}/sbin/anacron -s\" >>/etc/crontab" startupitem.start-append "${prefix}/sbin/anacron -s" startupitem.stop "/usr/bin/killall -SIGUSR1 anacron" } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/anacronYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using anacron with these commands: % man anacron Where to find more information:
|
![]() |
![]() Digg anacron on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




