From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] cronie: Update to 1.5.1
Date: Thu, 20 Oct 2016 09:31:06 +0200 [thread overview]
Message-ID: <1476948666-29445-1-git-send-email-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2328 bytes --]
This is a major update to the latest stable version of cronie.
* Drop support for SELinux.
Fixes #11201.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
cronie/cronie.nm | 8 +++++---
cronie/patches/cronie-1.4.10-use-setenv.patch | 27 ---------------------------
2 files changed, 5 insertions(+), 30 deletions(-)
delete mode 100644 cronie/patches/cronie-1.4.10-use-setenv.patch
diff --git a/cronie/cronie.nm b/cronie/cronie.nm
index c541043..80a82fe 100644
--- a/cronie/cronie.nm
+++ b/cronie/cronie.nm
@@ -4,7 +4,7 @@
###############################################################################
name = cronie
-version = 1.4.9
+version = 1.5.1
release = 1
groups = System/Environment/Base
@@ -27,7 +27,6 @@ build
bison
libcap-devel
libedit-devel
- libselinux-devel
pam-devel
readline-devel
systemd-units
@@ -37,12 +36,15 @@ build
configure_options += \
--with-pam \
--with-audit \
- --with-selinux \
--with-inotify \
--enable-anacron \
--enable-pie \
--enable-relro
+ test
+ # Cronie does not provide any kind of testsuite.
+ end
+
install_cmds
mkdir -pv %{BUILDROOT}%{localstatedir}/spool/{ana,}cron
diff --git a/cronie/patches/cronie-1.4.10-use-setenv.patch b/cronie/patches/cronie-1.4.10-use-setenv.patch
deleted file mode 100644
index ddbfbbb..0000000
--- a/cronie/patches/cronie-1.4.10-use-setenv.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 5ac31751adfa31c5e5e316afc2f800037bd1cdca Mon Sep 17 00:00:00 2001
-From: Tomas Mraz <tmraz(a)fedoraproject.org>
-Date: Thu, 6 Jun 2013 20:13:26 +0200
-Subject: [PATCH] Do not use putenv with string literal.
-
----
- src/cron.c | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/cron.c b/src/cron.c
-index 9974887..08d0812 100644
---- a/src/cron.c
-+++ b/src/cron.c
-@@ -244,8 +244,8 @@ int main(int argc, char *argv[]) {
- check_spool_dir();
-
- if (ChangePath) {
-- if (putenv("PATH=" _PATH_DEFPATH) < 0) {
-- log_it("CRON", pid, "DEATH", "can't putenv PATH",
-+ if (setenv("PATH", _PATH_DEFPATH, 1) < 0) {
-+ log_it("CRON", pid, "DEATH", "can't setenv PATH",
- errno);
- exit(1);
- }
---
-1.7.7.6
-
--
2.7.4
reply other threads:[~2016-10-20 7:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1476948666-29445-1-git-send-email-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox