[packages/openvas-libraries] add the openvas-check-setup tool to openvas-common
jajcus
jajcus at pld-linux.org
Sun Jan 19 15:45:21 CET 2014
commit 124819143b6f457c1b267f6991c80adc8d7ad222
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sun Jan 19 15:27:39 2014 +0100
add the openvas-check-setup tool to openvas-common
openvas-libraries.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/openvas-libraries.spec b/openvas-libraries.spec
index 0bb34ce..806d503 100644
--- a/openvas-libraries.spec
+++ b/openvas-libraries.spec
@@ -15,6 +15,8 @@ License: GPL v2
Group: Libraries
Source0: http://wald.intevation.org/frs/download.php/1417/%{name}-%{version}.tar.gz
# Source0-md5: ece48f91998597d4ad700ce3fb1d5fa3
+Source1: https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup
+# Source1-md5: f9d9ef34c50794fcb3ffedbad90a7585
Patch0: link_gpgme.patch
URL: http://www.openvas.org/
BuildRequires: bison
@@ -118,9 +120,13 @@ cd build
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/openvas-check-setup
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -137,6 +143,7 @@ rm -rf $RPM_BUILD_ROOT
%files -n openvas-common
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/openvas-nasl
+%attr(755,root,root) %{_sbindir}/openvas-check-setup
%dir %{_sysconfdir}/openvas
%dir %{_datadir}/openvas
%{_datadir}/openvas/openvas-services
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openvas-libraries.git/commitdiff/124819143b6f457c1b267f6991c80adc8d7ad222
More information about the pld-cvs-commit
mailing list