[Lunar-commits] r26697 - in moonbase/trunk/utils/vixie-cron: . pam.d

Stefan Wold ratler at lunar-linux.org
Sun Nov 11 14:04:26 CET 2007


Author: ratler
Date: 2007-11-11 14:04:26 +0100 (Sun, 11 Nov 2007)
New Revision: 26697

Modified:
   moonbase/trunk/utils/vixie-cron/BUILD
   moonbase/trunk/utils/vixie-cron/DEPENDS
   moonbase/trunk/utils/vixie-cron/DETAILS
   moonbase/trunk/utils/vixie-cron/pam.d/crond
Log:
Long awaited version bump. All the patches have been merged upstream.
Minor changes to pam.d/crond.



Modified: moonbase/trunk/utils/vixie-cron/BUILD
===================================================================
--- moonbase/trunk/utils/vixie-cron/BUILD	2007-11-11 07:43:42 UTC (rev 26696)
+++ moonbase/trunk/utils/vixie-cron/BUILD	2007-11-11 13:04:26 UTC (rev 26697)
@@ -1,33 +1,27 @@
 (
 
-  unpack $SOURCE2                                          &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-crond.patch 1 &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-Makefile.patch 1 &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-pathnames.patch 1 &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-vfork.patch 1 &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-saveuid.patch 1 &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-man.patch 1 &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-uninitialized.patch 1 &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-no_mail_validate.patch 1 &&
-  patch_it $MODULE-patches-$PVERSION/$MODULE-4.1-permfix.patch 1 &&
-
   if module_installed Linux-PAM; then
-        patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-pam.patch 1 
-        patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-log_facility.patch 1
+      OPTS+=" --with-pam"
   fi &&
 
-  make                                                    &&
-  prepare_install                                         &&
-  make    install                                         &&
+  sedit '/^pam_DATA/d' src/Makefile.am &&
 
-  install -c -m 755 $MODULE-patches-$PVERSION/run-parts /usr/bin/  &&
+  aclocal           &&
+  autoheader        &&
+  automake -a       &&
+  autoconf          &&
+  default_build     &&
 
+  chmod 6711 /usr/bin/crontab &&
+  install -m 755 $SOURCE_CACHE/$SOURCE2 /usr/bin/run-parts  &&
+
   mkdir -p /etc/cron.daily /etc/cron.hourly  /etc/cron.d\
-           /etc/cron.monthly /etc/cron.weekly             &&
+           /etc/cron.monthly /etc/cron.weekly               &&
 
+  touch /etc/cron.deny &&
+
   if [ ! -f /etc/crontab ]; then
-    install -c -m 600 $SCRIPT_DIRECTORY/crontab /etc/crontab
+    install -m 644 $SCRIPT_DIRECTORY/crontab /etc/crontab
   fi
-  gather_docs $SCRIPT_DIRECTORY/crontab
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/utils/vixie-cron/DEPENDS
===================================================================
--- moonbase/trunk/utils/vixie-cron/DEPENDS	2007-11-11 07:43:42 UTC (rev 26696)
+++ moonbase/trunk/utils/vixie-cron/DEPENDS	2007-11-11 13:04:26 UTC (rev 26697)
@@ -1,2 +1,2 @@
-depends chkconfig  &&
+depends chkconfig
 optional_depends "Linux-PAM" "" "" "for PAM support"

Modified: moonbase/trunk/utils/vixie-cron/DETAILS
===================================================================
--- moonbase/trunk/utils/vixie-cron/DETAILS	2007-11-11 07:43:42 UTC (rev 26696)
+++ moonbase/trunk/utils/vixie-cron/DETAILS	2007-11-11 13:04:26 UTC (rev 26697)
@@ -1,17 +1,19 @@
           MODULE=vixie-cron
-         VERSION=4.1
-        PVERSION=1.2
+         VERSION=4.3
           SOURCE=$MODULE-$VERSION.tar.bz2
-         SOURCE2=$MODULE-patches-$PVERSION.tar.bz2
+         SOURCE2=run-parts-0.1
       SOURCE_URL=http://download.lunar-linux.org/lunar/mirrors/
      SOURCE2_URL=$PATCH_URL
-      SOURCE_VFY=sha1:e353e13ef889fd27a8e52616a552fad64049aa6e
-     SOURCE2_VFY=sha1:9ce950c27a4cfa5e6baa2e0bb49c7362b1e76774
-        WEB_SITE=unknown
+      SOURCE_VFY=sha1:4b5692308b3548f8df92e2f3337a1226da0f45fd
+     SOURCE2_VFY=sha1:9051ae770851bc3e8a7be9c616e651c4fdfbc24e
+        WEB_SITE=https://hosted.fedoraproject.org/projects/vixie-cron/
       MAINTAINER=ratler at lunar-linux.org
          ENTERED=20030301
-         UPDATED=20050502
-           SHORT="periodic scheduler"
+         UPDATED=20071111
+           SHORT="A daemon that runs specified programs at scheduled times."
 cat << EOF
-This is a version of 'cron' that is known to run on linux systems.
+Vixie cron is a standard UNIX daemon that runs specified programs at scheduled
+times. Vixie cron adds better security and more powerful configuration
+options to the standard version of cron. This cron can use pam and
+selinux for higher level of security.
 EOF

Modified: moonbase/trunk/utils/vixie-cron/pam.d/crond
===================================================================
--- moonbase/trunk/utils/vixie-cron/pam.d/crond	2007-11-11 07:43:42 UTC (rev 26696)
+++ moonbase/trunk/utils/vixie-cron/pam.d/crond	2007-11-11 13:04:26 UTC (rev 26697)
@@ -1,10 +1,8 @@
 #%PAM-1.0
-auth		sufficient 	pam_rootok.so
-auth 		include		system-auth
-auth		required	pam_env.so
-account		include		system-auth
-session		include		system-auth
-# Sets up user limits, please uncomment and read /etc/security/limits.conf
-# to enable this functionality.
-# session    required   pam_limits.so
-#
+auth       sufficient pam_rootok.so
+auth       required   pam_env.so
+auth       include    system-auth
+account    required   pam_access.so
+account    include    system-auth
+session    required   pam_loginuid.so
+session    include    system-auth



More information about the Lunar-commits mailing list