Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37861420
en ru br
ALT Linux repositórios
S:0.2-alt1

Group :: Sistema/Configurações/Rede
RPM: installer-feature-osec-log-stage3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

pax_global_header00006660000000000000000000000064113375223420014514gustar00rootroot0000000000000052 comment=407b99a67c0eef51ee77501210163b4ecefd4345
installer-feature-osec-log-stage3-0.1/000075500000000000000000000000001133752234200176725ustar00rootroot00000000000000installer-feature-osec-log-stage3-0.1/.gear/000075500000000000000000000000001133752234200206665ustar00rootroot00000000000000installer-feature-osec-log-stage3-0.1/.gear/rules000064400000000000000000000000061133752234200217370ustar00rootroot00000000000000tar: .installer-feature-osec-log-stage3-0.1/55-osec-log.sh000075500000000000000000000012671133752234200221760ustar00rootroot00000000000000#!/bin/sh -efu

a= . install2-init-functions
. shell-config

ALTERATOR_LOGS_DIR=/etc/alterator/logs
LOGROTATE_DIR=/etc/logrotate.d
OSEC_PIPE_CONF=/etc/osec/pipe.conf
OSEC_LOG=/var/log/osec.log

cat > "$destdir/$ALTERATOR_LOGS_DIR/osec.desktop" <<OSEC_DESKTOP
[Desktop Entry]
Type=Application
Categories=X-Alterator-Xorg
Icon=secure
Terminal=false
Name=Files integrity
Name[ru]=Проверка целостности файлов
X-Alterator-URI=$OSEC_LOG
OSEC_DESKTOP

cat > "$destdir/$LOGROTATE_DIR/osec" <<OSEC_LOGROTATE
$OSEC_LOG {
weekly
rotate 5
missingok
notifempty
compress
}
OSEC_LOGROTATE

shell_config_set "$destdir/$OSEC_PIPE_CONF" SEND_PIPE "'cat >>$OSEC_LOG'"

installer-feature-osec-log-stage3-0.1/installer-feature-osec-log-stage3.spec000064400000000000000000000012241133752234200270650ustar00rootroot00000000000000Name: installer-feature-osec-log-stage3
Version: 0.1
Release: alt1

Summary: Installer stage3 osec hook
License: GPL
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer/beans
Packager: Mikhail Efremov <sem@altlinux.org>
BuildArch: noarch
Requires: alterator-logs osec-mailreport
Source: %name-%version.tar

%description
This package contains installer stage3 hook for
enabling osec's log.

%prep
%setup

%install
%define hookdir %_datadir/install2/postinstall.d
mkdir -p %buildroot%hookdir
install -pm755 *.sh %buildroot%hookdir/

%files
%hookdir/*

%changelog
* Fri Feb 19 2010 Mikhail Efremov <sem@altlinux.org> 0.1-alt1
- Initial build
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009