[inn/f16] Set PATH for user news to more resticted values
Jochen Schmitt
s4504kr at fedoraproject.org
Sun Sep 25 18:51:48 UTC 2011
commit 9ac72ac2f1a08a80b1f10d2a74da1c4e5dd56dcc
Author: root <root at zeus.inet.herr-schmitt.de>
Date: Mon Sep 19 21:07:04 2011 +0200
Set PATH for user news to more resticted values
inn.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/inn.spec b/inn.spec
index b17b04f..502e328 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
Summary: The InterNetNews system, an Usenet news server
Name: inn
Version: 2.5.2
-Release: 15%{?dist}
+Release: 16%{?dist}
#see LICENSE file for details
License: GPLv2+ and BSD and MIT and Public Domain
Group: System Environment/Daemons
@@ -185,7 +185,7 @@ touch $RPM_BUILD_ROOT%{_sharedstatedir}/news/history
#chmod 644 $RPM_BUILD_ROOT/var/lib/news/*
cat > $RPM_BUILD_ROOT%{_sysconfdir}/news/.profile <<EOF
-PATH=\$PATH:%{_libexecdir}/news
+PATH=/bin:%{_bindir}:%{_libexecdir}/news
export PATH
EOF
@@ -518,6 +518,9 @@ fi
%{_mandir}/man1/inews*
%changelog
+* Mon Sep 19 2011 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-16
+- Set PATH for user news to more resticted values
+
* Mon Sep 19 2011 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-15
- Move wrong place assigments in innd.service file
More information about the scm-commits
mailing list