Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement
petit
petit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File petit.spec of Package petit
Name: petit Summary: Log analysis tool for syslog, apache and raw log files Version: 1.1.1 Release: 1 License: GPL-3.0 Group: Applications/System URL: http://www.eyemg.com/opensource Source0: petit-current.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildArch: noarch Autoreq: 0 BuildRequires: python-devel Requires: python %description Log analysis tool which is useful to systems administrators & systems analysts This tool interact with syslog and apache logs to clarify what is happening in logs. %prep echo Building %{name}-%{version}-%{release} %setup -q -n %{name} %build tar xvf %{SOURCE0} %install # Remove ddold BUILD ROOT rm -rf ${RPM_BUILD_ROOT} # Main scripts & libraries install -d ${RPM_BUILD_ROOT}%{_bindir} install -d ${RPM_BUILD_ROOT}/usr/share/petit install -d ${RPM_BUILD_ROOT}/usr/share/petit/crunchtools install -d ${RPM_BUILD_ROOT}%{_mandir}/man1 install src/bin/petit ${RPM_BUILD_ROOT}%{_bindir}/petit install -m 0644 src/lib/crunchtools/* ${RPM_BUILD_ROOT}/usr/share/petit/crunchtools install -m 0644 src/man/petit.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/petit.1.gz # Filters install -d ${RPM_BUILD_ROOT}/var/lib/petit/filters install -m 0644 src/lib/filters/daemon.stopwords ${RPM_BUILD_ROOT}/var/lib/petit/filters/daemon.stopwords install -m 0644 src/lib/filters/host.stopwords ${RPM_BUILD_ROOT}/var/lib/petit/filters/host.stopwords install -m 0644 src/lib/filters/hash.stopwords ${RPM_BUILD_ROOT}/var/lib/petit/filters/hash.stopwords install -m 0644 src/lib/filters/words.stopwords ${RPM_BUILD_ROOT}/var/lib/petit/filters/words.stopwords # Fingerprints install -d ${RPM_BUILD_ROOT}/var/lib/petit/fingerprints install -m 0644 src/lib/fingerprints/fedora11-reboot.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprints/fedora11-reboot.fp install -m 0644 src/lib/fingerprints/ubuntu9.04-reboot.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprints/ubuntu9.04-reboot.fp install -m 0644 src/lib/fingerprints/rhel4-reboot.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprints/rhel4-reboot.fp install -m 0644 src/lib/fingerprints/rhel5-reboot.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprints/rhel5-reboot.fp # Fingerprint Library install -d ${RPM_BUILD_ROOT}/var/lib/petit/fingerprint_library install -m 0644 src/lib/fingerprint_library/fedora11-reboot-dell.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprint_library/fedora11-reboot-dell.fp install -m 0644 src/lib/fingerprint_library/ubuntu9.04-reboot-vmware.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprint_library/ubuntu9.04-reboot-vmware.fp install -m 0644 src/lib/fingerprint_library/rhel4-reboot-dl380.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprint_library/rhel4-reboot-dl380.fp install -m 0644 src/lib/fingerprint_library/rhel4-reboot-vmware.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprint_library/rhel4-reboot-vmware.fp install -m 0644 src/lib/fingerprint_library/rhel5-reboot-dl380.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprint_library/rhel5-reboot-dl380.fp install -m 0644 src/lib/fingerprint_library/rhel5-reboot-vmware.fp ${RPM_BUILD_ROOT}/var/lib/petit/fingerprint_library/rhel5-reboot-vmware.fp %clean rm -fr $RPM_BUILD_ROOT rm -rf src rm -rf %{SOURCE0} %files %defattr(-,root,root) %doc README AUTHORS COPYING %{_bindir}/petit /usr/share/petit /var/lib/petit %{_mandir}/man1/petit.1.gz %defattr(-,root,root,-) %changelog * Thu Jun 25 2010 Scott McCarty <smccarty@eyemg.com> - Patched to allow mixed precision when Ubuntu 8.04 logs to an Ubuntuo 10.04 server with high precision * Thu Jun 24 2010 Scott McCarty <smccarty@eyemg.com> - Added support rsyslogd precision time format - Added fingerprints for Ubuntu 10.04 - Added NAME section to man page * Sat Feb 27 2010 Scott McCarty <smccarty@eyemg.com> - Added apache error log support - Added apache error log tests - Added man page - Added fingerprints for Ubuntu 9.04 * Fri Feb 12 2010 Scott McCarty <smccarty@eyemg.com> - Moved a bunch of code into the select function of the Log object so that it can now randomly sample ten entries over and over until it determines what kind of file has been opened - Now passes all regression tests, all the time :-) * Mon Jan 18 2010 Scott McCarty <smccarty@eyemg.com> - Changed defaults for entries to 1900 so that time delta calculations do not fail - Changed log determination logic to use multiple samples - Fixed bug in SecureLog processing where sample line was not being checked for long enough line - Added string conversion to all known log types to resolve type bugs cating strings and numbers * Fri Jan 15 2010 Scott McCarty <smccarty@eyemg.com> - Removed first sample, replaced by random - Added Linux secure log processing capabilities - Changed to random sampling for log type determiniation - Fixed documentation/help menu text - Added month graph, caveat: syslog does not store year data, so don't reach wrong conclusions - Added year graph for completeness, same warning as month - Added year support in code - Fixed bug in value calculations of each bar of graph, values were erroring low - Added Days graph - Completely revamped date delta code using datetime built in functionality to calculate date/time ranges - Re-architected graphing logic - Redesigned graphing output to better mach cacti/RRD - Added normalization code, better differentiation of close values, handles most edge cases - Made design decision to stay with simplicity (Separate Classes) for each type of graph. Imaging the graphing code more as report writing than object oriented programming and you will find my zen * Tue Jul 31 2009 Scott McCarty <smccarty@eyemg.com> - First working version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor