Commit 2726bedb authored by Sophie Brun's avatar Sophie Brun

New upstream release and updated debian/ files

parent ef054c0b
openvas-scanner (4.0.2-0kali1) kali; urgency=medium
* New upstream release
* Add file debian/copyright
* Add file debian/source/format
* Update debian/rules to use debhelper 9
* Add "Default stop" 1 in .init
-- Sophie Brun <sophie@freexian.com> Thu, 31 Jul 2014 16:02:44 +0200
openvas-scanner (3.4.0-0kali1) kali; urgency=low
* New upsteam release.
......
......@@ -2,9 +2,9 @@ Source: openvas-scanner
Section: admin
Priority: optional
Maintainer: Stephan Kleine <bitshuffler@opensuse.org>
Build-Depends: debhelper (>= 6), devscripts, cmake, hardening-wrapper, libopenvas-dev (>= 6), libwrap0-dev, pkg-config, po-debconf
Build-Depends: debhelper (>= 9), devscripts, cmake, libopenvas-dev (>= 7), libwrap0-dev, pkg-config, po-debconf, doxygen
Homepage: http://www.openvas.org/
Standards-Version: 3.8.0
Standards-Version: 3.9.5
Package: openvas-scanner
Section: net
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: openvas-scanner
Source: https://wald.intevation.org/scm/viewvc.php/branches/?root=openvas
Files: *
Copyright: 1998-2006 Tenable Network Security, Inc
2006 Software in the Public Interest, Inc
License: GPL-2
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License version 2, as published by the Free Software Foundation.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
Files: src/otp.* tools/greenbone-nvt-sync
Copyright: 2009 Greenbone Networks GmbH
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
......@@ -17,7 +17,7 @@
# Should-Start:
# Should-Stop:
# Default-Start:
# Default-Stop: 0 6
# Default-Stop: 0 1 6
# Short-Description: Start and stop the OpenVAS daemon
# Description: Controls the main OpenVAS daemon "openvassd".
### END INIT INFO
......
#! /bin/bash
# Restart the OpenVAS daemon if running
if [ -x /etc/init.d/openvas-scanner ] && \
/etc/init.d/openvas-scanner status 2>&1 >/dev/null; then
if which invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d openvas-scanner restart
else
/etc/init.d/openvas-scanner restart
fi
fi
# We don't let dh_installinit touch this so we do it byhand
update-rc.d openvas-scanner stop 20 0 6 . >/dev/null
#!/bin/sh
if [ "$1" = "purge" ]; then
update-rc.d openvas-scanner remove >/dev/null
fi
exit 0
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
%:
dh $@
# Enable hardening-wrapper
export DEB_BUILD_HARDENING=1
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=release
config: config-stamp
override_dh_install:
dh_install --list-missing
config-stamp:
dh_testdir
# Add here commands to configure the package.
cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=release .
touch $@
build: build-stamp
build-stamp: config
dh_testdir
# Add here commands to compile the package.
$(MAKE) VERBOSE=1
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
for file in $(CURDIR)/debian/tmp/usr/*bin/openvas-* ; do \
if file $$file | grep -q "POSIX shell script"; then \
echo "Checking $$file for bashisms..." ; \
checkbashisms $$file || true ; \
fi ; \
done
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs CHANGES
dh_installdocs
dh_install --sourcedir=debian/tmp --list-missing
dh_installdebconf
dh_installlogrotate
dh_installinit -n -r -u stop 20 0 6 .
dh_installman
dh_link
override_dh_strip:
dh_strip --dbg-package=openvas-scanner-dbg
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment