---
name: fcron
version: 3.0.6_1
origin: sysutils/fcron
comment: A periodic command scheduler
arch: freebsd:9:x86:64
www: http://fcron.free.fr/
maintainer: rde@tavi.co.uk
prefix: /usr/local
licenselogic: single
licenses: [GPLv2]
flatsize: 581731
desc: "Fcron is a scheduler. It aims at replacing Vixie Cron, so it\nimplements most
  of its functionalities. But contrary to Vixie Cron,\nfcron does not need your system
  to be up 7 days a week, 24 hours a\nday : it also works well with systems which
  are not running neither\nall the time nor regularly (contrary to anacrontab). To
  do so, fcron\nallows you to use the standard mode in which you tell it to execute\none
  command at a given date and hour and to make it run a command\naccording to its
  time of execution, which is normally the same as\nsystem up time. \n\nThis is the
  stable release.\n\nWWW: http://fcron.free.fr/\n"
categories: [sysutils]
files:
  /etc/pam.d/fcron: a78cf217b7c44439939f1c7ff5fddae6eee01d8bf7d14df3fb712403c995702d
  /etc/pam.d/fcrontab: 4fd92635024a2ba4d1288b4832a8c23e1b86b7bb5afb965a58358356709ad64c
  /usr/local/bin/fcrondyn: fe584f2a26a46999deb44530a5b87e2ee783b5196c9890676845e7238f5a0da5
  /usr/local/bin/fcronsighup: d251a0f0d3b9ab630ef73b23716cb41e5a9e27732631d07c576aaae9bd383ab1
  /usr/local/bin/fcrontab: edcca301b9553e42d876ab5f92eaf771262a97a42a6e4a6580a6e0270fb2348c
  /usr/local/etc/fcron.allow.dist: 5ea2e50a7fe976fa813d4c7f0763f8a27437aaed27c03f0a732d13602e80206c
  /usr/local/etc/fcron.conf.dist: 6874967157634333005a567d44f12840b26b4d190584fcf3fee98208fdbe2752
  /usr/local/etc/fcron.deny.dist: de374c62947bc326521957fcbc60d4302a4d78576451ca604b4bf97e833641d5
  /usr/local/etc/rc.d/fcron: 56a123db476581c85a88913c6f3bb26e338cad604a5be7a7c259a5ebf02c216f
  /usr/local/man/man1/fcrontab.1.gz: e5521d54d71504b807ceb0f1e427fcfa50e9af654b55b19780b0424f6d0c24c8
  /usr/local/man/man5/fcron.conf.5.gz: fb177e7cbe39d27ff976995f4785a10d59f268095b8df939c09858117c87bb04
  /usr/local/man/man5/fcrontab.5.gz: 1285ef8a0b4b1f5c36f9a1dc96b0c882885ed4243f95fee27fb8cc1844bb2c30
  /usr/local/man/man8/fcron.8.gz: 074cdf40fad191418ab953b020ba12780aee2e703178fd281c22994d3a3e5a2e
  /usr/local/sbin/fcron: cbe876652231d1d8685cf953b82902c4780c4572329a248c024cf7a854953231
  /usr/local/share/doc/fcron/HTML/LEGALNOTICE.html: 60ab8c11db3014e58654b8bb7fb3cbbf2f76e111ce89d90d8d4b228f17c53432
  /usr/local/share/doc/fcron/HTML/changes.html: 1e4268df8d84fdec5ccf8b7449a471e0ab114019f4dd699f2008c3316a96bba0
  /usr/local/share/doc/fcron/HTML/faq.html: b772d94a267d60f181aeb57caca09edd68d15d76d56a471400a58db1e43d1f67
  /usr/local/share/doc/fcron/HTML/fcron.8.html: 1f00d271562df9e449d0671c5272535f49859349aa31af66bb0f5ff421884a23
  /usr/local/share/doc/fcron/HTML/fcron.conf.5.html: 3a3d7c8b6270a1df1368f09cdd42abf8fa34c772066ea325a2fd6352a3efd87b
  /usr/local/share/doc/fcron/HTML/fcrondyn.1.html: 46709e923b69fc37488de053ddb7efbacc29f9f5bf8421632fbc11a154b28a31
  /usr/local/share/doc/fcron/HTML/fcrontab.1.html: e9aedefbdedbbc447da9b970694ebdb16500ff2b8d4231db5bbcb26e60214d7f
  /usr/local/share/doc/fcron/HTML/fcrontab.5.html: ccbb8018a497dd178872dd13a5e916f8798f60654623e271736b596012090d04
  /usr/local/share/doc/fcron/HTML/fdl.html: 66e508113b4cfd3523111f31e056ded28641a2e691816e46f5771fcc3365aaa8
  /usr/local/share/doc/fcron/HTML/gpl.html: af22e371e5039dbc7e2c2fb18d710553fd10b733efedccf5af94c9d30cd38ccc
  /usr/local/share/doc/fcron/HTML/how-and-why.html: 6c0a13f127ed26226031d18b702ad69f331a587b05bdff87bfb1d5a0a69cd96b
  /usr/local/share/doc/fcron/HTML/index.html: 208447bc8f68038b984b793560217e8623b296a538288f87ec49000b578ed96b
  /usr/local/share/doc/fcron/HTML/install.html: b882e4606ced700bd68e91b3f2d82f3bec097ff824be2205c556393514e925f3
  /usr/local/share/doc/fcron/HTML/manpages.html: 517497643e5f63cc46d659fa1b591f5215fd685a605a6612eff02342353568b6
  /usr/local/share/doc/fcron/HTML/readme.html: 7feed9296f12e3bb75b7d494fcd8c95d75f584384fb1cfc19fd1ec313f1e99b1
  /usr/local/share/doc/fcron/HTML/relnotes.html: 77d3f3b1123e438e86316da4f70737311c425dde4f46b894a3a03434fd49e62a
  /usr/local/share/doc/fcron/HTML/thanks.html: 999b858ed0a6387be8784f655e507628a5a6faef789f6fa8ee62ab0b60029089
  /usr/local/share/doc/fcron/HTML/todo.html: 0a97c8443c9229e2b067cf0189dc8406c5d07b69bef5d2ca0e96c2bc235593d8
  /usr/local/share/doc/fcron/HTML/using-fcron.html: a5d4ddfac05373619d8fa40367845d7cf7e7f7be27913d334aaf1747c0522e9c
  /usr/local/share/doc/fcron/txt/changes.txt: 263fe878a64bedbb8c9e8e329bd215087680c9e11ea916177e9d8bdfb4ab2b32
  /usr/local/share/doc/fcron/txt/faq.txt: 052bd060f6ed29d4f8daa9672b982e3ce1b0ea80cb38a15d137e313d939adfab
  /usr/local/share/doc/fcron/txt/gpl.txt: 34f50a340cff132ae6129c6b2a569f04d85f0fdf19218260b5cd9153f1515605
  /usr/local/share/doc/fcron/txt/install.txt: a21c24a3307eb754b47dfc1296c7324e4f221ccd932d0eaafd7b893b4186fcd2
  /usr/local/share/doc/fcron/txt/readme.txt: 8e78335226bfcba3486641d944b4bab7cad61e0fc98d6fbcc2876c9cf003c0cc
  /usr/local/share/doc/fcron/txt/relnotes.txt: e5ebcbd35b8264c563d6827a8a0f1a5d427e230a4fbae97a27f3dd6fd0776531
  /usr/local/share/doc/fcron/txt/thanks.txt: 282e9f924d4ba87b168779da53f937583c07db75d6365950b80e4aa8ff99e1b5
  /usr/local/share/doc/fcron/txt/todo.txt: 2a36b953bbef794a8b29d9b061c58caa40e6fd1d46f70464ef923c6301114d33
  /usr/local/share/examples/fcron/fcron.pam: a78cf217b7c44439939f1c7ff5fddae6eee01d8bf7d14df3fb712403c995702d
  /usr/local/share/examples/fcron/fcrontab-operator: fc88d95c9706784c647b954b4c15436580e41b90617d9ba972ec9534f31f79b7
  /usr/local/share/examples/fcron/fcrontab-root: 1263544cfd87baae53ff42aeb9a8a533865cfc1901448508d734bca1a8fa5b62
  /usr/local/share/examples/fcron/fcrontab.pam: 4fd92635024a2ba4d1288b4832a8c23e1b86b7bb5afb965a58358356709ad64c
  /usr/local/share/licenses/fcron-3.0.6_1/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/fcron-3.0.6_1/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/fcron-3.0.6_1/catalog.mk: 750c03cbc5db0efc5b6b62b97bd96269f262e3f1c3a758559f9e39816ce8a97d
directories:
  /usr/local/share/licenses/fcron-3.0.6_1/: n
  /usr/local/share/licenses/: y
  /usr/local/share/examples/fcron/: n
  /usr/local/share/doc/fcron/txt/: n
  /usr/local/share/doc/fcron/HTML/: n
  /usr/local/share/doc/fcron/: n
  /etc/pam.d/: y
scripts:
  post-install: |
    cd /
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    cd /
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /
    cd /usr/local
    cd /usr/local
  install: "#!/bin/sh\n\nif [ \"$2\" = PRE-INSTALL ]; then\n\tuser=fcron\n\tgroup=fcron\n\tuid=247\n\tgid=247\n\n\tif
    /usr/sbin/pw groupshow $group 2>/dev/null; then\n\t\techo \"Using already existing
    group \\\"$group\\\".\"\n\telse\n\t\tif /usr/sbin/pw groupadd $group -g $gid;
    then\n\t\t\techo \"Added group \\\"$group\\\".\"\n\t\telse\n\t\t\techo \"Unable
    to add group \\\"$group\\\".\"\n\t\t\techo \"Please create it manually and try
    again.\"\n\t\t\texit 1\n\t\tfi\n\tfi\n\n\tif /usr/sbin/pw usershow $user 2>/dev/null;
    then\n\t\techo \"Using already existing user \\\"$user\\\".\"\n\telse\n\t\tif
    /usr/sbin/pw useradd $user -u $uid -g $group -s /sbin/nologin -c \"fcron pseudo-user\";
    then\n\t\t\techo \"Added user \\\"$user\\\".\"\n\t\telse\n\t\t\techo \"Unable
    to add user \\\"$user\\\".\"\n\t\t\techo \"Please create it manually and try again.\"\n\t\t\texit
    1\n\t\tfi\n\tfi\nelif [ \"$2\" = POST-INSTALL ]; then\n\t/usr/bin/install -o fcron
    -g fcron -m 770 -d /var/spool/fcron\n\n\tfor f in fcron.allow fcron.conf fcron.deny;
    do\n\t\tif ! [ -e $PKG_PREFIX/etc/$f ]; then\n\t\t\t/usr/bin/install -o root -g
    fcron -m 640 \\\n\t\t\t\t$PKG_PREFIX/etc/$f.dist $PKG_PREFIX/etc/$f\n\t\tfi\n\tdone\nfi\n"
  deinstall: "#!/bin/sh\nif [ \"$2\" = DEINSTALL ]; then\n\techo \"===============================================================================\"\n\techo
    \"If you are permanently removing this port:\"\n\techo \"\"\n\techo \"- You should
    manually remove the fcron user and group.\"\n\n\t/bin/rmdir /var/spool/fcron 2>/dev/null\n\tif
    [ -d /var/spool/fcron ]; then\n\t\techo \"- You should manually remove the /var/spool/fcron
    directory.\"\n\tfi\n\n\tfor f in fcron.allow fcron.conf fcron.deny; do\n\t\tif
    /usr/bin/cmp -s $PKG_PREFIX/etc/$f $PKG_PREFIX/etc/$f.dist; then\n\t\t\t/bin/rm
    -f $PKG_PREFIX/etc/$f\n\t\telse\n\t\t\techo \"- You should manually remove the
    $PKG_PREFIX/etc/$f file.\"\n\t\tfi\n\tdone\n\techo \"===============================================================================\"\nfi\n"
message: "===============================================================================\nTo
  enable fcron, and disable the default system cron, add the following lines\nto your
  /etc/rc.conf:\n\n\tfcron_enable=\"YES\"\n\tcron_enable=\"NO\"\n\nand move any jobs
  in /etc/crontab to the root fcrontab(5) file. See:\n\n/usr/local/share/examples/fcron\n\nfor
  a translation of the default FreeBSD /etc/crontab, and for sample PAM\nconfiguration
  files.\n===============================================================================\n"
