Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 298203 Details for
Bug 226536
Merge Review: webalizer
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
conditionnally run the cron script
webalizer-sysconfig.diff (text/plain), 2.12 KB, created by
Patrice Dumas
on 2008-03-16 18:19:21 UTC
(
hide
)
Description:
conditionnally run the cron script
Filename:
MIME Type:
Creator:
Patrice Dumas
Created:
2008-03-16 18:19:21 UTC
Size:
2.12 KB
patch
obsolete
>? .build-2.01_10-36.log >? i386 >? webalizer-2.01-10 >? webalizer.sysconfig >Index: webalizer.cron >=================================================================== >RCS file: /cvs/pkgs/rpms/webalizer/devel/webalizer.cron,v >retrieving revision 1.2 >diff -u -3 -p -r1.2 webalizer.cron >--- webalizer.cron 21 Sep 2005 12:34:31 -0000 1.2 >+++ webalizer.cron 16 Mar 2008 18:18:24 -0000 >@@ -1,6 +1,11 @@ > #! /bin/bash > # update access statistics for the web site > >-if [ -s /var/log/httpd/access_log ]; then >- exec /usr/bin/webalizer -Q >-fi >+NAME=webalizer >+ >+[ -f /etc/sysconfig/$NAME ] || exit 0 >+source /etc/sysconfig/$NAME >+ >+[ "z$WEBALIZER_CRON" != "zyes" ] && exit 0 >+ >+exec /usr/bin/webalizer -Q >Index: webalizer.spec >=================================================================== >RCS file: /cvs/pkgs/rpms/webalizer/devel/webalizer.spec,v >retrieving revision 1.32 >diff -u -3 -p -r1.32 webalizer.spec >--- webalizer.spec 7 Feb 2008 16:33:39 -0000 1.32 >+++ webalizer.spec 16 Mar 2008 18:18:25 -0000 >@@ -12,6 +12,7 @@ Source0: ftp://ftp.mrunix.net/pub/webali > Source1: webalizer.conf > Source2: webalizer.cron > Source3: webalizer-httpd.conf >+Source4: webalizer.sysconfig > Patch0: webalizer-2.01-06-rh.patch > Patch1: dns-db1.patch > Patch2: webalizer-2.01_10-lfs.patch >@@ -84,6 +85,9 @@ install -p -m 755 $RPM_SOURCE_DIR/webali > mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d > install -p -m 644 $RPM_SOURCE_DIR/webalizer-httpd.conf \ > $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/webalizer.conf >+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig >+install -p -m 644 $RPM_SOURCE_DIR/webalizer.sysconfig \ >+ $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/webalizer > > rm -f $RPM_BUILD_ROOT%{_sysconfdir}/webalizer.conf.sample > >@@ -102,6 +106,7 @@ rm -rf $RPM_BUILD_ROOT > %config(noreplace) %{_sysconfdir}/webalizer.conf > %{_sysconfdir}/cron.daily/00webalizer > %config(noreplace) %{_sysconfdir}/httpd/conf.d/webalizer.conf >+%config(noreplace) %{_sysconfdir}/sysconfig/webalizer > %attr(-, webalizer, root) %dir %{_localstatedir}/www/usage > %attr(-, webalizer, root) %dir %{_localstatedir}/lib/webalizer > %attr(-, webalizer, root) %{_localstatedir}/www/usage/*.png
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226536
: 298203 |
298204