[arch-commits] Commit in dcron/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Paul Mattal paul at archlinux.org
Tue Jan 12 08:23:06 EST 2010


    Date: Tuesday, January 12, 2010 @ 08:23:05
  Author: paul
Revision: 62802

Merged revisions 62798 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/dcron/trunk

........
  r62798 | paul | 2010-01-12 08:19:28 -0500 (Tue, 12 Jan 2010) | 2 lines
  
  upgpkg: dcron 4.3-1
      upstream update to 4.3
........

Modified:
  dcron/repos/testing-x86_64/	(properties)
  dcron/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++----------------
 1 file changed, 11 insertions(+), 16 deletions(-)


Property changes on: dcron/repos/testing-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /dcron/trunk:1-62698
   + /dcron/trunk:1-62801

Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2010-01-12 13:20:04 UTC (rev 62801)
+++ testing-x86_64/PKGBUILD	2010-01-12 13:23:05 UTC (rev 62802)
@@ -1,36 +1,31 @@
 # Maintainer: Paul Mattal <paul.archlinux.org>
 
 pkgname=dcron
-pkgver=4.2
+pkgver=4.3
 pkgrel=1
 pkgdesc="dillon's lightweight cron daemon"
 arch=(i686 x86_64)
 license=('GPL')
 url="http://www.jimpryor.net/linux/dcron"
-backup=(var/spool/cron/root etc/rc.d/crond etc/logrotate.d/crond)
+backup=(var/spool/cron/root etc/logrotate.d/crond)
 depends=('glibc')
 provides=('cron')
 source=("http://www.jimpryor.net/linux/releases/${pkgname}-${pkgver}.tar.gz")
-md5sums=('0e19b88708aed7b1bc8426d4f237d431')
+md5sums=('763cf1fe9649bd8864cd034b538aa1c0')
 
 
 build() {
 	cd "$srcdir/${pkgname}-${pkgver}"
 
-	make || return 1
-	make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
-
-	# default make install sets root/wheel
-	chgrp root $pkgdir/{etc/cron.d,usr/sbin/crond,var/spool/cron,var/spool/cronstamps}
-	chgrp -R root $pkgdir/usr/share/man
+	make CRONTABS=/var/spool/cron CRONSTAMPS=/var/spool/cronstamps || return 1
 	# by default, any member of group "users" can edit their own crontab
-	chgrp users $pkgdir/usr/bin/crontab
-	chmod u+s $pkgdir/usr/bin/crontab
+	make DESTDIR="$pkgdir" PREFIX=/usr CRONTAB_GROUP=users CRONTABS=/var/spool/cron CRONSTAMPS=/var/spool/cronstamps install || return 1
 
-	install -d -m755 $pkgdir/etc/cron.{hourly,daily,weekly,monthly} || return 1
-	install -D -m755 extra/crond.rc $pkgdir/etc/rc.d/crond || return 1
-	install -D -m755 extra/run-cron $pkgdir/usr/sbin/run-cron || return 1
-	install -D -m0600 extra/root.crontab $pkgdir/var/spool/cron/root || return 1
-	install -D -m644 extra/crond.logrotate $pkgdir/etc/logrotate.d/crond || return 1
 
+	install -d -m755 "$pkgdir/etc/cron."{hourly,daily,weekly,monthly} || return 1
+	install -D -m755 extra/crond.rc "$pkgdir/etc/rc.d/crond" || return 1
+	install -D -m755 extra/run-cron "$pkgdir/usr/sbin/run-cron" || return 1
+	install -D -m0600 extra/root.crontab "$pkgdir/var/spool/cron/root" || return 1
+	install -D -m644 extra/crond.logrotate "$pkgdir/etc/logrotate.d/crond" || return 1
+
 }



More information about the arch-commits mailing list