]> git.pld-linux.org Git - packages/logcheck.git/commitdiff
- updated to 1.1.1,
authorkloczek <kloczek@pld-linux.org>
Fri, 16 Feb 2001 05:21:49 +0000 (05:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- spec adapterized,
- make spec %%{debug} ready and use rpm automation,
- change permission on executables to 755.

Changed files:
    logcheck.spec -> 1.9

logcheck.spec

index e326f9b3d30ab7f5e4cdc159ce743fe5998b15d6..88a787b44d0298cba18ebaaec0077bc1805d4be5 100644 (file)
@@ -1,31 +1,37 @@
 Summary:       Logcheck system log analyzer
 Summary(pl):   Logcheck - analizator logów systemu
 Name:          logcheck
-Version:       1.1
-Release:       2
-Copyright:     Free. See LICENSE file.
-Group:         Utilities/System
-Source:                http://www.psionic.com/abacus/%{name}-%{version}.tar.gz
-Patch:         %{name}-pld.patch
+Version:       1.1.1
+Release:       1
+License:       Free. See LICENSE file.
+Group:         Applications/System
+Group(de):     Applikationen/System
+Group(pl):     Aplikacje/System
+Source0:       http://www.psionic.com/tools/%{name}-%{version}.tar.gz
+Patch0:                %{name}-pld.patch
 Vendor:                Craig Rowland <crowland@psionic.com>
 URL:           http://www.psionic.com/abacus
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sysconfdir     /etc/logcheck
+
 %description
-Logcheck is software package that is designed to automatically run and check
-system log files for security violations and unusual activity. Logcheck
-utilizes a program called logtail that remembers the last position it read
-from in a log file and uses this position on subsequent runs to process new
-information. All source code is available for review and the implementation
-was kept simple to avoid problems. This package is a clone of the
-frequentcheck.sh script from the Trusted Information Systems Gauntlet(tm)
-firewall package. TIS has granted permission for me to clone this package.
+Logcheck is software package that is designed to automatically run and
+check system log files for security violations and unusual activity.
+Logcheck utilizes a program called logtail that remembers the last
+position it read from in a log file and uses this position on
+subsequent runs to process new information. All source code is
+available for review and the implementation was kept simple to avoid
+problems. This package is a clone of the frequentcheck.sh script from
+the Trusted Information Systems Gauntlet(tm) firewall package. TIS has
+granted permission for me to clone this package.
 
 %description -l pl
-Pakiet zawiera logcheck - aplikacjê przeznaczon± do automatycznego analizowania
-logów systemowych i przesy³aniu ich po wstêpnjej obróbce poczt± elektroniczn± 
-do administratora systemu. Aplikacja ta jest klonem skryptu frequentcheck.sh z
-Trusted Information Systems Gauntlet(tm). 
+Pakiet zawiera logcheck - aplikacjê przeznaczon± do automatycznego
+analizowania logów systemowych i przesy³aniu ich po wstêpnjej obróbce
+poczt± elektroniczn± do administratora systemu. Aplikacja ta jest
+klonem skryptu frequentcheck.sh z Trusted Information Systems
+Gauntlet(tm).
 
 %prep
 %setup -q
@@ -33,20 +39,17 @@ Trusted Information Systems Gauntlet(tm).
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},etc/cron.hourly,%{_sbindir}}
 
-install -d $RPM_BUILD_ROOT{/etc/logcheck,%{_sbindir}}
-
-%{__make} CC="gcc" CFLAGS="$RPM_OPT_FLAGS" linux
+%{__make} linux \
+       CC=%{__cc} \
+       CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
 
-install -d $RPM_BUILD_ROOT/etc/cron.hourly
-
-cat <<EOF > $RPM_BUILD_ROOT/etc/cron.hourly/logcheck
+cat <<EOF > $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/logcheck
 #!/bin/sh
 exec %{_sbindir}/logcheck
 EOF
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_sbindir}/logtail
-
 gzip -9nf CHANGES CREDITS README* systems/linux/README*
 
 %clean
@@ -54,9 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {CHANGES,CREDITS,README*,systems/linux/README*}.gz
-%attr(700,root,root) %dir /etc/logcheck
-%attr(600,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logcheck/*
+%doc *.gz systems/linux/*.gz
+%attr(700,root,root) %dir %{_sysconfdir}
+%attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
 %attr(700,root,root) %config(missingok) /etc/cron.hourly/logcheck
-%attr(700,root,root) %{_sbindir}/logcheck
-%attr(700,root,root) %{_sbindir}/logtail
+%attr(755,root,root) %{_sbindir}/logcheck
+%attr(755,root,root) %{_sbindir}/logtail
This page took 0.297716 seconds and 4 git commands to generate.