]> git.pld-linux.org Git - packages/cronie.git/commitdiff
- supported way is to set via configure visible vars
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 11 Aug 2009 20:18:54 +0000 (20:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cronie-paths.patch -> 1.2
    cronie.spec -> 1.3

cronie-paths.patch [deleted file]
cronie.spec

diff --git a/cronie-paths.patch b/cronie-paths.patch
deleted file mode 100644 (file)
index 7bb1ceb..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
---- cronie-1.4.1/src/cron-paths.h~     2009-08-11 22:01:57.847314880 +0200
-+++ cronie-1.4.1/src/cron-paths.h      2009-08-11 22:06:36.364162561 +0200
-@@ -17,11 +17,11 @@
-               /* cron allow/deny file.  At least cron.deny must
-                * exist for ordinary users to run crontab.
-                */
--#define       CRON_ALLOW      "/etc/cron.allow"
--#define       CRON_DENY       "/etc/cron.deny"
-+#define       CRON_ALLOW      "/etc/cron/cron.allow"
-+#define       CRON_DENY       "/etc/cron/cron.deny"
-               /* 4.3BSD-style crontab f.e. /etc/crontab */
--#define SYSCRONTAB    "/etc/crontab"
-+#define SYSCRONTAB    "/etc/cron.d/crontab"
-               /* system crontab dir f.e. /etc/cron.d/ */
- #define SYS_CROND_DIR "/etc/cron.d"
index 78a364d2ea43dbe9a63515dbb627196601d5c109..c4e9b91015af65775c38c9fc12088d68da6cb629 100644 (file)
@@ -15,7 +15,6 @@ Source2:      cron.logrotate
 Source3:       cron.sysconfig
 Source4:       %{name}.crontab
 Source5:       %{name}.pam
-Patch0:                %{name}-paths.patch
 URL:           https://fedorahosted.org/cronie/
 BuildRequires: audit-libs-devel
 %{?with_selinux:BuildRequires: libselinux-devel}
@@ -59,10 +58,12 @@ however this could be overloaded in settings.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %configure \
+       SYSCRONTAB=/etc/cron.d/crontab \
+       SYS_CROND_DIR=/etc/cron.d \
+       --sysconfdir=/etc/cron.d \
        --with-pam \
        --with%{?!with_selinux:out}-selinux \
        --with-audit \
This page took 0.093058 seconds and 4 git commands to generate.