[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Friday, January 11, 2019 @ 08:24:21 Author: foutrelis Revision: 422346 Readline 8.0 rebuild Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-01-11 08:23:51 UTC (rev 422345) +++ PKGBUILD2019-01-11 08:24:21 UTC (rev 422346) @@ -6,7 +6,7 @@ pkgname=fcron pkgver=3.2.1 -pkgrel=3 +pkgrel=4 pkgdesc='Feature-rich cron implementation' arch=(x86_64) url='http://fcron.free.fr'
[arch-commits] Commit in fcron/trunk (PKGBUILD fcron.install fcron.sysusers)
Date: Monday, January 8, 2018 @ 20:40:54 Author: eschwartz Revision: 280575 upgpkg: fcron 3.2.1-3 migrate to systemd-sysusers Added: fcron/trunk/fcron.sysusers Modified: fcron/trunk/PKGBUILD fcron/trunk/fcron.install + PKGBUILD |5 - fcron.install | 27 +-- fcron.sysusers |1 + 3 files changed, 6 insertions(+), 27 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-08 20:11:50 UTC (rev 280574) +++ PKGBUILD2018-01-08 20:40:54 UTC (rev 280575) @@ -7,7 +7,7 @@ pkgname=fcron pkgver=3.2.1 -pkgrel=2 +pkgrel=3 pkgdesc='Feature-rich cron implementation' arch=(x86_64) url='http://fcron.free.fr' @@ -30,9 +30,11 @@ install=$pkgname.install source=("http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz; "http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz.sign; +"fcron.sysusers" 'systab.orig') md5sums=('bd4996e941a40327d11efc5e3fd1f839' 'SKIP' + 'aef8c3887202cbc1252cdcfecc2db1dd' 'afecbfd98caa49e8e4aa239fa1b19255') validpgpkeys=('7733B98B987784DF27707D41F8E544EC485EE7BC') @@ -62,6 +64,7 @@ make DESTDIR="$pkgdir/" install install -Dm644 files/fcron.pam "$pkgdir/etc/pam.d/fcron" install -Dm644 files/fcrontab.pam "$pkgdir/etc/pam.d/fcrontab" + install -Dm644 "$srcdir/fcron.sysusers" "$pkgdir/usr/lib/sysusers.d/fcron.conf" # Install a default fcrontab so that fcron can completely replace dcron # We don't use binary format which is incompatible between arch and may cause crash Modified: fcron.install === --- fcron.install 2018-01-08 20:11:50 UTC (rev 280574) +++ fcron.install 2018-01-08 20:40:54 UTC (rev 280575) @@ -1,8 +1,6 @@ # arg 1: the new package version post_install() { - # we need a dedicated fcron user - getent group fcron >/dev/null || groupadd -g 23 fcron - getent passwd fcron >/dev/null || useradd -r -d /var/spool/fcron -u 23 -g 23 fcron + systemd-sysusers fcron.conf # Generate binary format which is incompatible between arch fcrontab -z -u systab &>/dev/null } @@ -11,29 +9,6 @@ # arg 2: the old package version post_upgrade() { post_install "$1" - if (( $(vercmp $2 3.1.2-8) < 0 )); then -echo 'Previous versions of fcron allow root priviledge escalation by using' -echo 'runas option in crontabs. fcron check rights at crontab compilation.' -echo 'Thus, the migration script will recreate the binary crontabs' -echo 'for you (with all side effects) and fix the files rights.' -# fix invalid etc files -for _f in /etc/fcron/fcron.{conf,allow,deny}; do - [[ -e $_f ]] || continue - chown root:fcron "$_f" - chmod 640 "$_f" -done -# fix invalid spool directory -chown fcron:fcron /var/spool/fcron -chmod 770 /var/spool/fcron -# regen user fcron files -cd /var/spool/fcron -for _f in *; do - if [[ "${_f%.orig}" != "$_f" ]]; then -chgrp fcron "$_f" -fcrontab -z -u "${_f%.orig}" &>/dev/null - fi -done - fi } # vim:set ts=2 sw=2 et: Added: fcron.sysusers === --- fcron.sysusers (rev 0) +++ fcron.sysusers 2018-01-08 20:40:54 UTC (rev 280575) @@ -0,0 +1 @@ +u fcron 23 - /var/spool/fcron
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Sunday, November 6, 2016 @ 20:04:45 Author: foutrelis Revision: 194765 readline 7.0 rebuild Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-11-06 20:02:26 UTC (rev 194764) +++ PKGBUILD2016-11-06 20:04:45 UTC (rev 194765) @@ -7,7 +7,7 @@ pkgname=fcron pkgver=3.2.1 -pkgrel=1 +pkgrel=2 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr'
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Sunday, September 25, 2016 @ 13:04:33 Author: ttoepper Revision: 190478 upgpkg: fcron 3.2.1-1 Modified: fcron/trunk/PKGBUILD --+ PKGBUILD | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-09-25 13:01:29 UTC (rev 190477) +++ PKGBUILD2016-09-25 13:04:33 UTC (rev 190478) @@ -6,8 +6,8 @@ # Maintainer: Thorsten Töpperpkgname=fcron -pkgver=3.2.0 -pkgrel=3 +pkgver=3.2.1 +pkgrel=1 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' @@ -29,9 +29,12 @@ options=('emptydirs' '!makeflags') install=$pkgname.install source=("http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz; +"http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz.sign; 'systab.orig') -md5sums=('4b031c2fba32a98fa814d1557158b0e9' +md5sums=('bd4996e941a40327d11efc5e3fd1f839' + 'SKIP' 'afecbfd98caa49e8e4aa239fa1b19255') +validpgpkeys=('7733B98B987784DF27707D41F8E544EC485EE7BC') build() { cd $pkgname-$pkgver @@ -61,7 +64,7 @@ install -Dm644 files/fcrontab.pam "$pkgdir/etc/pam.d/fcrontab" # Install a default fcrontab so that fcron can completely replace dcron - # We doesn't use binary format which is incompatible between arch and may cause crash + # We don't use binary format which is incompatible between arch and may cause crash # We regenerate the binary format at each update install -Dm640 "$srcdir/systab.orig" "$pkgdir/var/spool/fcron/systab.orig"
[arch-commits] Commit in fcron/trunk (PKGBUILD fcron.install)
Date: Monday, March 28, 2016 @ 12:21:09 Author: jelle Revision: 168691 FS#47266 / User/Group management TODO Keep group/user after removal for security reasons Modified: fcron/trunk/PKGBUILD fcron/trunk/fcron.install ---+ PKGBUILD |2 +- fcron.install |5 - 2 files changed, 1 insertion(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-28 10:20:22 UTC (rev 168690) +++ PKGBUILD2016-03-28 10:21:09 UTC (rev 168691) @@ -7,7 +7,7 @@ pkgname=fcron pkgver=3.2.0 -pkgrel=2 +pkgrel=3 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' Modified: fcron.install === --- fcron.install 2016-03-28 10:20:22 UTC (rev 168690) +++ fcron.install 2016-03-28 10:21:09 UTC (rev 168691) @@ -36,9 +36,4 @@ fi } -post_remove() { - userdel fcron &>/dev/null - groupdel fcron &>/dev/null -} - # vim:set ts=2 sw=2 et:
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Friday, January 29, 2016 @ 18:42:08 Author: anatolik Revision: 159417 vim-minimal packages has been merged to vim Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-01-29 16:07:40 UTC (rev 159416) +++ PKGBUILD2016-01-29 17:42:08 UTC (rev 159417) @@ -13,13 +13,13 @@ url='http://fcron.free.fr' license=('GPL') depends=('pam' 'run-parts') -makedepends=('smtp-forwarder' 'vim-minimal' 'fcron') +makedepends=('smtp-forwarder' 'vim' 'fcron') # use fcron as recursive deps to have user fcron installed during installation # else add the following in build chroot # groupadd -g 23 fcron # useradd -r -d /var/spool/fcron -u 23 -g 23 fcron optdepends=('smtp-forwarder: to send mails from cron jobs' -'vim-minimal: default editor for fcrontab') +'vim: default editor for fcrontab') provides=('cron') conflicts=('dcron') backup=('etc/fcron/fcron.conf'
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Sunday, August 9, 2015 @ 07:55:12 Author: ttoepper Revision: 138127 upgpkg: fcron 3.2.0-2 - replace vi FS#44671 Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-08-09 03:50:40 UTC (rev 138126) +++ PKGBUILD2015-08-09 05:55:12 UTC (rev 138127) @@ -7,19 +7,19 @@ pkgname=fcron pkgver=3.2.0 -pkgrel=1 +pkgrel=2 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' license=('GPL') depends=('pam' 'run-parts') -makedepends=('smtp-forwarder' 'vi' 'fcron') +makedepends=('smtp-forwarder' 'vim-minimal' 'fcron') # use fcron as recursive deps to have user fcron installed during installation # else add the following in build chroot # groupadd -g 23 fcron # useradd -r -d /var/spool/fcron -u 23 -g 23 fcron optdepends=('smtp-forwarder: to send mails from cron jobs' -'vi: default editor for fcrontab') +'vim-minimal: default editor for fcrontab') provides=('cron') conflicts=('dcron') backup=('etc/fcron/fcron.conf' @@ -49,7 +49,7 @@ --localstatedir=/var \ --with-systemdsystemunitdir=/usr/lib/systemd/system \ --with-piddir=/run \ - --with-editor=/usr/bin/vi \ + --with-editor=/usr/bin/vim \ --with-sendmail=/usr/bin/sendmail make }
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Monday, July 7, 2014 @ 02:32:31 Author: seblu Revision: 115219 upgpkg: fcron 3.2.0-1 Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-07-06 18:52:28 UTC (rev 115218) +++ PKGBUILD2014-07-07 00:32:31 UTC (rev 115219) @@ -6,8 +6,8 @@ # Maintainer: Thorsten Töpper atsutane...@freethoughts.de pkgname=fcron -pkgver=3.1.3 -pkgrel=2 +pkgver=3.2.0 +pkgrel=1 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' @@ -30,7 +30,7 @@ install=$pkgname.install source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz; 'systab.orig') -md5sums=('b58ce88344eb4c80a353066547d20a24' +md5sums=('4b031c2fba32a98fa814d1557158b0e9' 'afecbfd98caa49e8e4aa239fa1b19255') build() {
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Saturday, June 14, 2014 @ 13:13:12 Author: ttoepper Revision: 113139 upgpkg: fcron 3.1.3-2 FS 40636 Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-06-14 07:25:33 UTC (rev 113138) +++ PKGBUILD2014-06-14 11:13:12 UTC (rev 113139) @@ -7,7 +7,7 @@ pkgname=fcron pkgver=3.1.3 -pkgrel=1 +pkgrel=2 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' @@ -24,7 +24,8 @@ conflicts=('dcron') backup=('etc/fcron/fcron.conf' 'etc/fcron/fcron.allow' -'etc/fcron/fcron.deny') +'etc/fcron/fcron.deny' +'var/spool/fcron/systab.orig') options=('emptydirs' '!makeflags') install=$pkgname.install source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz;
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Monday, May 12, 2014 @ 12:09:07 Author: seblu Revision: 111044 upgpkg: fcron 3.1.3-1 - and remove html and txt docs. only mans are left. Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-05-12 09:28:42 UTC (rev 111043) +++ PKGBUILD2014-05-12 10:09:07 UTC (rev 111044) @@ -6,8 +6,8 @@ # Maintainer: Thorsten Töpper atsutane...@freethoughts.de pkgname=fcron -pkgver=3.1.2 -pkgrel=8 +pkgver=3.1.3 +pkgrel=1 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' @@ -29,7 +29,7 @@ install=$pkgname.install source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz; 'systab.orig') -md5sums=('36bf213e15f3a480f2274f8e46cced0a' +md5sums=('b58ce88344eb4c80a353066547d20a24' 'afecbfd98caa49e8e4aa239fa1b19255') build() { @@ -70,6 +70,9 @@ install -d -m755 $pkgdir/etc/cron.monthly install -d -m755 $pkgdir/etc/cron.weekly + # remove docs + rm -r $pkgdir/usr/share/doc + # avoid conflict with filesystem=2012.06 rmdir $pkgdir/{var/,}run
[arch-commits] Commit in fcron/trunk (PKGBUILD fcron.install)
Date: Wednesday, August 28, 2013 @ 17:03:56 Author: seblu Revision: 96422 upgpkg: fcron 3.1.2-8 Fix distro specific security breach in fcron. Thanks to Anh K. Huynh ky...@theslinux.org for his quiet report. Modified: fcron/trunk/PKGBUILD fcron/trunk/fcron.install ---+ PKGBUILD | 23 +-- fcron.install | 31 +++ 2 files changed, 44 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-28 11:35:15 UTC (rev 96421) +++ PKGBUILD2013-08-28 15:03:56 UTC (rev 96422) @@ -7,13 +7,17 @@ pkgname=fcron pkgver=3.1.2 -pkgrel=7 +pkgrel=8 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' license=('GPL') depends=('pam' 'run-parts') -makedepends=('smtp-forwarder' 'vi') +makedepends=('smtp-forwarder' 'vi' 'fcron') +# use fcron as recursive deps to have user fcron installed during installation +# else add the following in build chroot +# groupadd -g 23 fcron +# useradd -r -d /var/spool/fcron -u 23 -g 23 fcron optdepends=('smtp-forwarder: to send mails from cron jobs' 'vi: default editor for fcrontab') provides=('cron') @@ -30,13 +34,14 @@ build() { cd $pkgname-$pkgver + # Don't use --username=root and --groupname=root, this completly break + # fcron security and allow local root escalation. + # Thanks to Anh K. Huynh ky...@theslinux.org for reporting it. ./configure --prefix=/usr \ --sbindir=/usr/bin \ --sysconfdir=/etc/fcron \ --with-answer-all=no \ --with-boot-install=no \ - --with-username=root \ - --with-groupname=root \ --datarootdir=/usr/share \ --datadir=/usr/share \ --with-docdir=/usr/share/doc \ @@ -44,22 +49,20 @@ --with-systemdsystemunitdir=/usr/lib/systemd/system \ --with-piddir=/run \ --with-editor=/usr/bin/vi \ - --with-sendmail=/usr/sbin/sendmail + --with-sendmail=/usr/bin/sendmail make } package() { cd $pkgname-$pkgver - make DESTDIR=$pkgdir/ install - install -D -m644 $srcdir/$pkgname-$pkgver/files/fcron.pam $pkgdir/etc/pam.d/fcron + install -Dm644 files/fcron.pam $pkgdir/etc/pam.d/fcron + install -Dm644 files/fcrontab.pam $pkgdir/etc/pam.d/fcrontab - install -D -m644 $srcdir/$pkgname-$pkgver/files/fcrontab.pam $pkgdir/etc/pam.d/fcrontab - # Install a default fcrontab so that fcron can completely replace dcron # We doesn't use binary format which is incompatible between arch and may cause crash # We regenerate the binary format at each update - install -D -m640 $srcdir/systab.orig $pkgdir/var/spool/fcron/systab.orig + install -Dm640 $srcdir/systab.orig $pkgdir/var/spool/fcron/systab.orig # Add cron.* directories install -d -m755 $pkgdir/etc/cron.daily Modified: fcron.install === --- fcron.install 2013-08-28 11:35:15 UTC (rev 96421) +++ fcron.install 2013-08-28 15:03:56 UTC (rev 96422) @@ -1,5 +1,8 @@ # arg 1: the new package version post_install() { + # we need a dedicated fcron user + getent group fcron /dev/null || groupadd -g 23 fcron + getent passwd fcron /dev/null || useradd -r -d /var/spool/fcron -u 23 -g 23 fcron # Generate binary format which is incompatible between arch fcrontab -z -u systab /dev/null } @@ -8,6 +11,34 @@ # arg 2: the old package version post_upgrade() { post_install $1 + if (( $(vercmp $2 3.1.2-8) 0 )); then +echo 'Previous versions of fcron allow root priviledge escalation by using' +echo 'runas option in crontabs. fcron check rights at crontab compilation.' +echo 'Thus, the migration script will recreate the binary crontabs' +echo 'for you (with all side effects) and fix the files rights.' +# fix invalid etc files +for _f in /etc/fcron/fcron.{conf,allow,deny}; do + [[ -e $_f ]] || continue + chown root:fcron $_f + chmod 640 $_f +done +# fix invalid spool directory +chown fcron:fcron /var/spool/fcron +chmod 770 /var/spool/fcron +# regen user fcron files +cd /var/spool/fcron +for _f in *; do + if [[ ${_f%.orig} != $_f ]]; then +chgrp fcron $_f +fcrontab -z -u ${_f%.orig} /dev/null + fi +done + fi } +post_remove() { + userdel fcron /dev/null + groupdel fcron /dev/null +} + # vim:set ts=2 sw=2 et:
[arch-commits] Commit in fcron/trunk (PKGBUILD fcron.install systab)
Date: Wednesday, May 29, 2013 @ 02:38:09 Author: seblu Revision: 91895 upgpkg: fcron 3.1.2-7 - systab crontab binary is now generated on target host by install script It fix a crash on i686 with binary format generaed on x86_64 - systab.orig is no more backuped This allow updating system wide cron (/etc/cron.*) without user intervention and even fcron restart. Added: fcron/trunk/fcron.install Modified: fcron/trunk/PKGBUILD Deleted: fcron/trunk/systab ---+ PKGBUILD | 16 ++-- fcron.install | 13 + 2 files changed, 19 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-28 20:22:04 UTC (rev 91894) +++ PKGBUILD2013-05-29 00:38:09 UTC (rev 91895) @@ -7,7 +7,7 @@ pkgname=fcron pkgver=3.1.2 -pkgrel=6 +pkgrel=7 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' @@ -20,15 +20,12 @@ conflicts=('dcron') backup=('etc/fcron/fcron.conf' 'etc/fcron/fcron.allow' -'etc/fcron/fcron.deny' -'var/spool/fcron/systab' -'var/spool/fcron/systab.orig') +'etc/fcron/fcron.deny') options=('emptydirs' '!makeflags') +install=$pkgname.install source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz; -'systab' 'systab.orig') md5sums=('36bf213e15f3a480f2274f8e46cced0a' - '5f321747d86686f351ada7dce5774803' 'afecbfd98caa49e8e4aa239fa1b19255') build() { @@ -58,11 +55,10 @@ install -D -m644 $srcdir/$pkgname-$pkgver/files/fcron.pam $pkgdir/etc/pam.d/fcron install -D -m644 $srcdir/$pkgname-$pkgver/files/fcrontab.pam $pkgdir/etc/pam.d/fcrontab - # Install default fcrontab so that fcron can completely replace dcron - install -D -m640 $srcdir/systab $pkgdir/var/spool/fcron/systab - # In order to preserve the systab crontab in any case it is better to have - # it in non-binary form too + # Install a default fcrontab so that fcron can completely replace dcron + # We doesn't use binary format which is incompatible between arch and may cause crash + # We regenerate the binary format at each update install -D -m640 $srcdir/systab.orig $pkgdir/var/spool/fcron/systab.orig # Add cron.* directories Added: fcron.install === --- fcron.install (rev 0) +++ fcron.install 2013-05-29 00:38:09 UTC (rev 91895) @@ -0,0 +1,13 @@ +# arg 1: the new package version +post_install() { + # Generate binary format which is incompatible between arch + fcrontab -z -u systab /dev/null +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: Deleted: systab === (Binary files differ)
[arch-commits] Commit in fcron/trunk (PKGBUILD run-cron systab systab.orig)
Date: Tuesday, May 21, 2013 @ 21:34:17 Author: seblu Revision: 91395 upgpkg: fcron 3.1.2-6 - use run-parts instead of our run-cron script - remplace smtp-server by smtp-forwarder Modified: fcron/trunk/PKGBUILD fcron/trunk/systab fcron/trunk/systab.orig Deleted: fcron/trunk/run-cron -+ PKGBUILD| 19 +++ run-cron| 14 -- systab.orig |8 3 files changed, 11 insertions(+), 30 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-21 16:28:38 UTC (rev 91394) +++ PKGBUILD2013-05-21 19:34:17 UTC (rev 91395) @@ -7,14 +7,14 @@ pkgname=fcron pkgver=3.1.2 -pkgrel=5 +pkgrel=6 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' license=('GPL') -depends=('pam') -makedepends=('smtp-server' 'vi') -optdepends=('smtp-server: to receive mails from cron jobs' +depends=('pam' 'run-parts') +makedepends=('smtp-forwarder' 'vi') +optdepends=('smtp-forwarder: to send mails from cron jobs' 'vi: default editor for fcrontab') provides=('cron') conflicts=('dcron') @@ -26,12 +26,10 @@ options=('emptydirs' '!makeflags') source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz; 'systab' -'systab.orig' -'run-cron') +'systab.orig') md5sums=('36bf213e15f3a480f2274f8e46cced0a' - '55be3e80fb2545608feae6f2e0eebece' - '5384c607d842ca3d5cbb612ac1dceb15' - '524eba827447a6b7ef7515eedf305698') + '5f321747d86686f351ada7dce5774803' + 'afecbfd98caa49e8e4aa239fa1b19255') build() { cd $pkgname-$pkgver @@ -73,9 +71,6 @@ install -d -m755 $pkgdir/etc/cron.monthly install -d -m755 $pkgdir/etc/cron.weekly - # Install run-cron script to make fcron run without dcron - install -D -m755 $srcdir/run-cron $pkgdir/usr/bin/run-cron - # avoid conflict with filesystem=2012.06 rmdir $pkgdir/{var/,}run Deleted: run-cron === --- run-cron2013-05-21 16:28:38 UTC (rev 91394) +++ run-cron2013-05-21 19:34:17 UTC (rev 91395) @@ -1,14 +0,0 @@ -#!/bin/bash - - -if [[ -z $1 ]]; then - echo Usage: $0 crondir - exit 1 -fi - -for cron in $1/* ; do - if [[ -x $cron ]]; then - $cron - fi -done -unset cron Modified: systab === (Binary files differ) Modified: systab.orig === --- systab.orig 2013-05-21 16:28:38 UTC (rev 91394) +++ systab.orig 2013-05-21 19:34:17 UTC (rev 91395) @@ -1,4 +1,4 @@ -bootrun 01 * * * * /usr/bin/run-cron /etc/cron.hourly -bootrun 02 00 * * * /usr/bin/run-cron /etc/cron.daily -bootrun 22 00 * * 0 /usr/bin/run-cron /etc/cron.weekly -bootrun 42 00 1 * * /usr/bin/run-cron /etc/cron.monthly +bootrun 01 * * * * /usr/bin/run-parts /etc/cron.hourly +bootrun 02 00 * * * /usr/bin/run-parts /etc/cron.daily +bootrun 22 00 * * 0 /usr/bin/run-parts /etc/cron.weekly +bootrun 42 00 1 * * /usr/bin/run-parts /etc/cron.monthly
[arch-commits] Commit in fcron/trunk (PKGBUILD systab systab.orig)
Date: Wednesday, May 15, 2013 @ 02:13:07 Author: seblu Revision: 90860 upgpkg: fcron 3.1.2-5 - fix path in systab Modified: fcron/trunk/PKGBUILD fcron/trunk/systab fcron/trunk/systab.orig -+ PKGBUILD|6 +++--- systab.orig |8 2 files changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-15 00:05:19 UTC (rev 90859) +++ PKGBUILD2013-05-15 00:13:07 UTC (rev 90860) @@ -7,7 +7,7 @@ pkgname=fcron pkgver=3.1.2 -pkgrel=4 +pkgrel=5 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' @@ -29,8 +29,8 @@ 'systab.orig' 'run-cron') md5sums=('36bf213e15f3a480f2274f8e46cced0a' - '938722c6654ef7b07f4aa10001905ba1' - 'bfb7daa22ebe22b9917e455c1ca4a382' + '55be3e80fb2545608feae6f2e0eebece' + '5384c607d842ca3d5cbb612ac1dceb15' '524eba827447a6b7ef7515eedf305698') build() { Modified: systab === (Binary files differ) Modified: systab.orig === --- systab.orig 2013-05-15 00:05:19 UTC (rev 90859) +++ systab.orig 2013-05-15 00:13:07 UTC (rev 90860) @@ -1,4 +1,4 @@ -bootrun 01 * * * * /usr/sbin/run-cron /etc/cron.hourly -bootrun 02 00 * * * /usr/sbin/run-cron /etc/cron.daily -bootrun 22 00 * * 0 /usr/sbin/run-cron /etc/cron.weekly -bootrun 42 00 1 * * /usr/sbin/run-cron /etc/cron.monthly +bootrun 01 * * * * /usr/bin/run-cron /etc/cron.hourly +bootrun 02 00 * * * /usr/bin/run-cron /etc/cron.daily +bootrun 22 00 * * 0 /usr/bin/run-cron /etc/cron.weekly +bootrun 42 00 1 * * /usr/bin/run-cron /etc/cron.monthly
[arch-commits] Commit in fcron/trunk (PKGBUILD run-cron)
Date: Tuesday, May 14, 2013 @ 02:23:55 Author: seblu Revision: 90795 upgpkg: fcron 3.1.2-3 Modified: fcron/trunk/PKGBUILD fcron/trunk/run-cron --+ PKGBUILD | 59 ++- run-cron | 10 +- 2 files changed, 31 insertions(+), 38 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-14 00:21:11 UTC (rev 90794) +++ PKGBUILD2013-05-14 00:23:55 UTC (rev 90795) @@ -2,61 +2,66 @@ # Contributor: Giorgio Lando lando at imap dot cc # Contributor: Sergej Pupykin # Contributor: Thomas Bächler +# Contributor: Sébastien Luttringer # Maintainer: Thorsten Töpper atsutane...@freethoughts.de pkgname=fcron pkgver=3.1.2 -pkgrel=2 +pkgrel=3 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) -url=http://fcron.free.fr; +url='http://fcron.free.fr' license=('GPL') depends=('pam') makedepends=('smtp-server' 'vi') -optdepends=('smtp-server: to receive mails from cron jobs') +optdepends=('smtp-server: to receive mails from cron jobs' +'vi: default editor for fcrontab') provides=('cron') conflicts=('dcron') -backup=(etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny \ -var/spool/fcron/systab var/spool/fcron/systab.orig) +backup=('etc/fcron/fcron.conf' +'etc/fcron/fcron.allow' +'etc/fcron/fcron.deny' +'var/spool/fcron/systab' +'var/spool/fcron/systab.orig') options=('emptydirs' '!makeflags') -source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz \ -systab systab.orig run-cron) +source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz; +'systab' +'systab.orig' +'run-cron') md5sums=('36bf213e15f3a480f2274f8e46cced0a' '938722c6654ef7b07f4aa10001905ba1' 'bfb7daa22ebe22b9917e455c1ca4a382' - '5ff0cdcb9ec99778938ac6ef26800327') + '524eba827447a6b7ef7515eedf305698') build() { - cd $srcdir/$pkgname-$pkgver + cd $pkgname-$pkgver ./configure --prefix=/usr \ + --sbindir=/usr/bin \ --sysconfdir=/etc/fcron \ --with-answer-all=no \ --with-boot-install=no \ --with-username=root \ --with-groupname=root \ --datarootdir=/usr/share \ - --datadir=/usr/share \ + --datadir=/usr/share \ --with-docdir=/usr/share/doc \ --localstatedir=/var \ --with-systemdsystemunitdir=/usr/lib/systemd/system \ --with-piddir=/run \ - --with-editor=/usr/bin/vi \ + --with-editor=/usr/bin/vi \ --with-sendmail=/usr/sbin/sendmail make - - # Temporary bugfix make install expects the file in the files directory. - # cp script/fcron.init.systemd files } package() { - cd $srcdir/$pkgname-$pkgver - + cd $pkgname-$pkgver + make DESTDIR=$pkgdir/ install install -D -m644 $srcdir/$pkgname-$pkgver/files/fcron.pam $pkgdir/etc/pam.d/fcron - + install -D -m644 $srcdir/$pkgname-$pkgver/files/fcrontab.pam $pkgdir/etc/pam.d/fcrontab # Install default fcrontab so that fcron can completely replace dcron - + install -D -m644 $srcdir/systab $pkgdir/var/spool/fcron/systab # In order to preserve the systab crontab in any case it is better to have # it in non-binary form too @@ -67,30 +72,18 @@ install -d -m755 $pkgdir/etc/cron.hourly install -d -m755 $pkgdir/etc/cron.monthly install -d -m755 $pkgdir/etc/cron.weekly - - # Make files readable for all users - #35088 - chmod 644 $pkgdir/etc/fcron/fcron.allow - chmod 644 $pkgdir/etc/fcron/fcron.conf - chmod 644 $pkgdir/etc/fcron/fcron.deny - chmod 755 $pkgdir/usr/bin/fcrondyn - chmod 755 $pkgdir/usr/bin/fcronsighup - chmod 755 $pkgdir/usr/bin/fcrontab - chmod 755 $pkgdir/usr/sbin/fcron - chmod 755 $pkgdir/var/spool/fcron - # Install run-cron script to make fcron run without dcron - install -D -m755 $srcdir/run-cron $pkgdir/usr/sbin/run-cron + install -D -m755 $srcdir/run-cron $pkgdir/usr/bin/run-cron # avoid conflict with filesystem=2012.06 - rmdir $pkgdir/var/run || true - rmdir $pkgdir/run || true + rmdir $pkgdir/{var/,}run # avoid conflict with libbsd - #31259 rm $pkgdir/usr/share/man/man3/bitstring.3 \ $pkgdir/usr/share/man/fr/man3/bitstring.3 rmdir --ignore-fail-on-non-empty $pkgdir/usr/share/man/man3 \ -$pkgdir/usr/share/man/fr/man3 || true +$pkgdir/usr/share/man/fr/man3 } # vim:set ts=2 sw=2 et: Modified: run-cron === --- run-cron2013-05-14 00:21:11 UTC (rev 90794) +++ run-cron2013-05-14 00:23:55 UTC (rev 90795) @@ -1,14 +1,14 @@ -#!/bin/sh +#!/bin/bash -if [ -z $1 ]; then +if [[ -z $1 ]]; then echo Usage: $0 crondir exit 1 fi -for cron in $1/* ; do - if [ -x $cron ]; then - $cron
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Tuesday, May 14, 2013 @ 03:20:48 Author: seblu Revision: 90799 upgpkg: fcron 3.1.2-4 changelog for -3 and -4 - fix FS#35230 - https://www.archlinux.org/todo/move-files-to-usrbin-if-possible/ - fix bad in systab right - fix run-cron to handle files/directories with spaces - add vi as optdeps (default editor) - Cleanup PKGBUILD syntax Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-14 00:32:33 UTC (rev 90798) +++ PKGBUILD2013-05-14 01:20:48 UTC (rev 90799) @@ -7,7 +7,7 @@ pkgname=fcron pkgver=3.1.2 -pkgrel=3 +pkgrel=4 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' @@ -62,10 +62,10 @@ install -D -m644 $srcdir/$pkgname-$pkgver/files/fcrontab.pam $pkgdir/etc/pam.d/fcrontab # Install default fcrontab so that fcron can completely replace dcron - install -D -m644 $srcdir/systab $pkgdir/var/spool/fcron/systab + install -D -m640 $srcdir/systab $pkgdir/var/spool/fcron/systab # In order to preserve the systab crontab in any case it is better to have # it in non-binary form too - install -D -m644 $srcdir/systab.orig $pkgdir/var/spool/fcron/systab.orig + install -D -m640 $srcdir/systab.orig $pkgdir/var/spool/fcron/systab.orig # Add cron.* directories install -d -m755 $pkgdir/etc/cron.daily
[arch-commits] Commit in fcron/trunk (PKGBUILD fcron.rc)
Date: Monday, May 6, 2013 @ 20:58:13 Author: ttoepper Revision: 89989 upgpkg: fcron 3.1.2-2 - Fix #35088 Modified: fcron/trunk/PKGBUILD Deleted: fcron/trunk/fcron.rc --+ PKGBUILD | 28 +++- fcron.rc | 36 2 files changed, 19 insertions(+), 45 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-06 18:29:21 UTC (rev 89988) +++ PKGBUILD2013-05-06 18:58:13 UTC (rev 89989) @@ -6,23 +6,22 @@ pkgname=fcron pkgver=3.1.2 -pkgrel=1 +pkgrel=2 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url=http://fcron.free.fr; license=('GPL') depends=('pam') -makedepends=('smtp-server') +makedepends=('smtp-server' 'vi') optdepends=('smtp-server: to receive mails from cron jobs') provides=('cron') conflicts=('dcron') backup=(etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny \ var/spool/fcron/systab var/spool/fcron/systab.orig) options=('emptydirs' '!makeflags') -source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz fcron.rc \ +source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz \ systab systab.orig run-cron) md5sums=('36bf213e15f3a480f2274f8e46cced0a' - 'e0c3f0bdc3c98fbbe46eff19001c18f2' '938722c6654ef7b07f4aa10001905ba1' 'bfb7daa22ebe22b9917e455c1ca4a382' '5ff0cdcb9ec99778938ac6ef26800327') @@ -46,23 +45,22 @@ make # Temporary bugfix make install expects the file in the files directory. - cp script/fcron.init.systemd files + # cp script/fcron.init.systemd files } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir/ install - install -D -m755 $srcdir/fcron.rc $pkgdir/etc/rc.d/fcron install -D -m644 $srcdir/$pkgname-$pkgver/files/fcron.pam $pkgdir/etc/pam.d/fcron install -D -m644 $srcdir/$pkgname-$pkgver/files/fcrontab.pam $pkgdir/etc/pam.d/fcrontab # Install default fcrontab so that fcron can completely replace dcron - install -D -m600 $srcdir/systab $pkgdir/var/spool/fcron/systab + install -D -m644 $srcdir/systab $pkgdir/var/spool/fcron/systab # In order to preserve the systab crontab in any case it is better to have # it in non-binary form too - install -D -m600 $srcdir/systab.orig $pkgdir/var/spool/fcron/systab.orig + install -D -m644 $srcdir/systab.orig $pkgdir/var/spool/fcron/systab.orig # Add cron.* directories install -d -m755 $pkgdir/etc/cron.daily @@ -70,11 +68,23 @@ install -d -m755 $pkgdir/etc/cron.monthly install -d -m755 $pkgdir/etc/cron.weekly + # Make files readable for all users - #35088 + chmod 644 $pkgdir/etc/fcron/fcron.allow + chmod 644 $pkgdir/etc/fcron/fcron.conf + chmod 644 $pkgdir/etc/fcron/fcron.deny + chmod 755 $pkgdir/usr/bin/fcrondyn + chmod 755 $pkgdir/usr/bin/fcronsighup + chmod 755 $pkgdir/usr/bin/fcrontab + chmod 755 $pkgdir/usr/sbin/fcron + chmod 755 $pkgdir/var/spool/fcron + + # Install run-cron script to make fcron run without dcron install -D -m755 $srcdir/run-cron $pkgdir/usr/sbin/run-cron # avoid conflict with filesystem=2012.06 - rmdir $pkgdir/var/run + rmdir $pkgdir/var/run || true + rmdir $pkgdir/run || true # avoid conflict with libbsd - #31259 rm $pkgdir/usr/share/man/man3/bitstring.3 \ Deleted: fcron.rc === --- fcron.rc2013-05-06 18:29:21 UTC (rev 89988) +++ fcron.rc2013-05-06 18:58:13 UTC (rev 89989) @@ -1,36 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/fcron` -case $1 in - start) -stat_busy Starting Fcron Daemon -[ -z $PID ] /usr/sbin/fcron -b -if [ $? -gt 0 ]; then - stat_fail -else - add_daemon fcron - stat_done -fi -;; - stop) -stat_busy Stopping Fcron Daemon -[ -n $PID ] kill $PID /dev/null -if [ $? -gt 0 ]; then - stat_fail -else - rm_daemon fcron - stat_done -fi -;; - restart) -$0 stop -sleep 1 -$0 start -;; - *) -echo usage: $0 {start|stop|restart} -esac -exit 0
[arch-commits] Commit in fcron/trunk (PKGBUILD)
Date: Tuesday, March 19, 2013 @ 11:30:33 Author: ttoepper Revision: 86557 upgpkg: fcron 3.1.2-1 Modified: fcron/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-03-19 10:07:42 UTC (rev 86556) +++ PKGBUILD2013-03-19 10:30:33 UTC (rev 86557) @@ -5,7 +5,7 @@ # Maintainer: Thorsten Töpper atsutane...@freethoughts.de pkgname=fcron -pkgver=3.1.1 +pkgver=3.1.2 pkgrel=1 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) @@ -21,7 +21,7 @@ options=('emptydirs' '!makeflags') source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz fcron.rc \ systab systab.orig run-cron) -md5sums=('230b91f308e6012957a3a71a94f03838' +md5sums=('36bf213e15f3a480f2274f8e46cced0a' 'e0c3f0bdc3c98fbbe46eff19001c18f2' '938722c6654ef7b07f4aa10001905ba1' 'bfb7daa22ebe22b9917e455c1ca4a382'