|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Name: openvas-manager
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Summary: Manager Module for the Open Vulnerability Assessment System (OpenVAS)
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
Version: 2.0.3
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
Release: 1%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
URL: http://www.openvas.org
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
License: GPLv2+
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Group: System Environment/Libraries
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Source0: http://wald.intevation.org/frs/download.php/858/%{name}-%{version}.tar.gz
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Source1: openvas-manager.initd
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Source2: openvas-manager.logrotate
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Source3: openvas-manager.sysconfig
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
#Patch to avoid compile-time errors about variable set but not used
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Patch0: openvas-manager-notused.patch
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
#Put certs to /etc/pki as suggested by http://fedoraproject.org/wiki/PackagingDrafts/Certificates
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
#Not reported upstream as it is RedHat/Fedora specific
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Patch1: openvas-manager-pki.patch
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
#Patch to install to report templates with specified DESTDIR variabe
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
Patch2: openvas-manager-destdir.patch
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: openvas-libraries-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: cmake >= 2.6.0
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: glib2-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: sqlite-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: gnutls-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: libpcap-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: gpgme-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: doxygen
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
BuildRequires: pkgconfig
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
# This is introduced to accomodate difference in RHEL5/CentOS5
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
%if %{defined rhel}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
%if 0%{?rhel} <= 5
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
#RHEL5
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
BuildRequires: e2fsprogs-libs-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
%else
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
#RHEL6
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
BuildRequires: libuuid-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
%else
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
#Fedora 14 doesn't have "rhel" defined
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
BuildRequires: libuuid-devel
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Requires: logrotate
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Requires: /usr/bin/xsltproc
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Requires(post): chkconfig
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Requires(preun): chkconfig
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Requires(preun): initscripts
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%description
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
The OpenVAS Manager is the central service that consolidates plain vulnerability
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
scanning into a full vulnerability management solution. The Manager controls the
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Scanner via OTP and itself offers the XML-based, stateless OpenVAS Management
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
Protocol (OMP). All intelligence is implemented in the Manager so that it is
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
possible to implement various lean clients that will behave consistently e.g.
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
with regard to filtering or sorting scan results. The Manager also controls
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
a SQL database (sqlite-based) where all configuration and scan result data is
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
centrally stored.
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%setup -q
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%patch0 -p1 -b .notused
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%patch1 -p1 -b .pki
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
%patch2 -p1 -b .destdir
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%build
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
export CFLAGS="$RPM_OPT_FLAGS -Werror=unused-but-set-variable"
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%cmake -DLOCALSTATEDIR:PATH=%{_var}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
make %{?_smp_mflags} VERBOSE=1
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%install
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
rm -rf %{buildroot}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
#Config directory
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
mkdir -p %{buildroot}/%{_sysconfdir}/openvas
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
chmod 755 %{buildroot}/%{_sysconfdir}/openvas
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
#Log direcotry
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
mkdir -p %{buildroot}/%{_var}/log/openvas
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
touch %{buildroot}%{_var}/log/openvas/openvasmd.log
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
#Runtime lib directory
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
mkdir -p %{buildroot}/%{_var}/lib/openvas/mgr
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
# Install startup script
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
install -Dp -m 755 %{SOURCE1} %{buildroot}/%{_initddir}/%{name}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
# install log rotation stuff
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
install -m 644 -Dp %{SOURCE2} \
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%{buildroot}/%{_sysconfdir}/logrotate.d/%{name}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
# Install sysconfig configration
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
install -Dp -m 644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
#Fix permissions on templates
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
chmod -R a+r %{buildroot}%{_datadir}/openvas/openvasmd
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
find %{buildroot}%{_datadir}/openvas/openvasmd -name generate | xargs chmod 755
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%clean
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
[ "%{buildroot}" = "/" ] || rm -rf %{buildroot}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%post
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
# This adds the proper /etc/rc*.d links for the script
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
if [ "$1" -eq 1 ] ; then
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
/sbin/chkconfig --add openvas-manager
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%preun
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
if [ "$1" -eq 0 ] ; then
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
/sbin/service openvas-manager stop >/dev/null 2>&1
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
/sbin/chkconfig --del openvas-manager
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%postun
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
# only for upgrades not erasure
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
if [ "$1" -eq 1 ] ; then
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
/sbin/service openvas-manager condrestart >/dev/null 2>&1
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%files
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%defattr(-,root,root)
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%doc CHANGES COPYING README ChangeLog INSTALL TODO
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%doc doc/*.png doc/*.sql doc/*.html doc/report-format-HOWTO
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%doc report_formats
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%config(noreplace) %{_sysconfdir}/logrotate.d/openvas-manager
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%dir %{_sysconfdir}/openvas
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%dir %{_var}/lib/openvas
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%dir %{_var}/lib/openvas/mgr
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
%dir %{_var}/lib/openvas/openvasmd
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
%dir %{_var}/lib/openvas/openvasmd/report_formats
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%dir %{_var}/log/openvas
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%dir %{_datadir}/openvas
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%config(noreplace) %{_sysconfdir}/openvas/openvasmd_log.conf
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%{_initrddir}/%{name}
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%{_sbindir}/openvasmd
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%{_mandir}/man8/openvasmd.8*
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%{_datadir}/openvas/openvasmd
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%ghost %{_var}/log/openvas/openvasmd.log
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
* Tue Apr 19 2011 Michal Ambroz <rebus at, seznam.cz> - 2.0.3-1
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
- bump to bugfix release
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
48491e2 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
* Wed Apr 14 2011 Michal Ambroz <rebus at, seznam.cz> - 2.0.2-4
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
- apply BR for EL5 from openvas-scanner
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
6634bc7 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
* Wed Mar 30 2011 Michal Ambroz <rebus at, seznam.cz> - 2.0.2-3
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
- implement changes based on package review
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
* Wed Mar 30 2011 Michal Ambroz <rebus at, seznam.cz> - 2.0.2-2
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
- implement changes based on package review
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
* Mon Mar 28 2011 Michal Ambroz <rebus at, seznam.cz> - 2.0.2-1
|
|
![](https://seccdn.libravatar.org/avatar/464aa9814e0c408355916b02fa87223c5ad3d9fc023274f6c0d29a233834f9fb?s=16&d=retro) |
5667b94 |
- initial spec for openvas-manager based on openvas-scanner
|