Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[SSI] openssi/specs logrotate.spec,NONE,1.1.3.1.2.1: msg#00331

Subject: [SSI] openssi/specs logrotate.spec,NONE,1.1.3.1.2.1
Update of /cvsroot/ssic-linux/openssi/specs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8200/specs

Added Files:
      Tag: OPENSSI-RH
        logrotate.spec 
Log Message:
Added logrotate package to fix wtmp CDSL not being handled properly.

M openssi/Makefile
M openssi/install
M openssi/upgrade
        Changes to build and install logrotate package.
A openssi/logrotate/*
                 


--- NEW FILE: logrotate.spec ---
Summary: Rotates, compresses, removes and mails system log files.
Name: logrotate
Version: 3.6.8
Release: 1_ssi_1
License: GPL
Group: System Environment/Base
Source: logrotate-%{PACKAGE_VERSION}.tar.gz
Patch10: logrotate-ssi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}.root

%description
The logrotate utility is designed to simplify the administration of
log files on a system which generates a lot of log files.  Logrotate
allows for the automatic rotation compression, removal and mailing of
log files.  Logrotate can be set to handle a log file daily, weekly,
monthly or when the log file gets to a certain size.  Normally,
logrotate runs as a daily cron job.

Install the logrotate package if you need a utility to deal with the
log files on your system.

%prep
%setup
%patch10 -p1

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
make PREFIX=$RPM_BUILD_ROOT MANDIR=%{_mandir} install
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
mkdir -p $RPM_BUILD_ROOT/etc/cron.daily
mkdir -p $RPM_BUILD_ROOT/var/lib

install -m 644 examples/logrotate-default $RPM_BUILD_ROOT/etc/logrotate.conf
install -m 755 examples/logrotate.cron $RPM_BUILD_ROOT/etc/cron.daily/logrotate
touch $RPM_BUILD_ROOT/var/lib/logrotate.status

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc CHANGES
%attr(0755, root, root) /usr/sbin/logrotate
%attr(0644, root, root) %{_mandir}/man8/logrotate.8*
%attr(0755, root, root) /etc/cron.daily/logrotate
%attr(0644, root, root) %config(noreplace) /etc/logrotate.conf
%attr(0755, root, root) %dir /etc/logrotate.d
%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) 
/var/lib/logrotate.status

%changelog
* Mon Jan 20 2003 Elliot Lee <sopwith@xxxxxxxxxx> 3.6.8-1
- Old patch from pm@xxxxxxxxxx

* Tue Jan 14 2003 Elliot Lee <sopwith@xxxxxxxxxx> 3.6.7-1
- Fixes from bugzilla

* Fri Nov 15 2002 Elliot Lee <sopwith@xxxxxxxxxx> 3.6.6-1
- Commit patch from Fidelis Assis <fidelis@xxxxxxxxxxxxxxx>

* Thu Jun 20 2002 Elliot Lee <sopwith@xxxxxxxxxx> 3.6.5-1
- Commit fix for #65299

* Mon Apr 15 2002 Elliot Lee <sopwith@xxxxxxxxxx> 3.6.4-1
- Commit fix for #62560

* Wed Mar 13 2002 Elliot Lee <sopwith@xxxxxxxxxx> 3.6.3-1
- Apply various bugfix patches from the openwall people

* Tue Jan 29 2002 Elliot Lee <sopwith@xxxxxxxxxx> 3.6.2-1
- Fix bug #55809 (include logrotate.status in %files)
- Fix bug #58328 (incorrect error detection when reading state file)
- Allow 'G' size specifier from bug #57242

* Mon Dec 10 2001 Preston Brown <pbrown@xxxxxxxxxx>
- noreplace config file

* Wed Nov 28 2001 Preston Brown <pbrown@xxxxxxxxxx> 3.6-1
- patch from Alexander Kourakos <awk@xxxxxxxx> to stop the shared
  postrotate/prerotate scripts from running if none of the log(s) need
  rotating.  All log files are now checked for rotation in one batch,
  rather than sequentially.
- more fixes from Paul Martin <pm@xxxxxxxxxx>

* Thu Nov  8 2001 Preston Brown <pbrown@xxxxxxxxxx> 3.5.10-1
- fix from paul martin <pm@xxxxxxxxxx> for zero-length state files

* Tue Sep  4 2001 Preston Brown <pbrown@xxxxxxxxxx>
- fix segfault when logfile is in current directory.

* Tue Aug 21 2001 Preston Brown <pbrown@xxxxxxxxxx>
- fix URL for source location

* Thu Aug  2 2001 Preston Brown <pbrown@xxxxxxxxxx>
- man page cleanups, check for negative rotation counts

* Mon Jul  2 2001 Preston Brown <pbrown@xxxxxxxxxx>
- more minor manpage updates (#45625)

* Thu Jun 21 2001 Preston Brown <pbrown@xxxxxxxxxx> 3.5.6-1
- enable LFS support (debian bug #100810)
- quote filenames for running compress commands or pre/postrotate cmds (#21348)
- deprecate "errors" directive (see bug #16544 for explanation)
- update man page
- configurable compression command by Colm Buckley <colm@xxxxxxxxxx>

* Fri Jun  1 2001 Preston Brown <pbrown@xxxxxxxxxx> 3.5.5-1
- be less strict about whitespace near filenames.  Patch from Paul Martin 
<pm@xxxxxxxxxx>.

* Thu Jan  4 2001 Bill Nottingham <notting@xxxxxxxxxx>
- %%defattr

* Wed Jan 03 2001 Preston Brown <pbrown@xxxxxxxxxx>
- see CHANGES

* Tue Aug 15 2000 Erik Troan <ewt@xxxxxxxxxx>
- see CHANGES

* Sun Jul 23 2000 Erik Troan <ewt@xxxxxxxxxx>
- see CHANGES

* Tue Jul 11 2000 Erik Troan <ewt@xxxxxxxxxx>
- support spaces in filenames
- added sharedscripts

* Sun Jun 18 2000 Matt Wilson <msw@xxxxxxxxxx>
- use %%{_mandir} for man pages

* Thu Feb 24 2000 Erik Troan <ewt@xxxxxxxxxx>
- don't rotate lastlog

* Thu Feb 03 2000 Erik Troan <ewt@xxxxxxxxxx>
- gzipped manpages



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation