Commit 4da3b7b4 authored by Javier Fernandez-Sanguino Pen~a's avatar Javier Fernandez-Sanguino Pen~a Committed by Lock Lin

Import Debian patch 3.2.3-3

parent 70204beb
openvas-scanner (3.2.3-3) experimental; urgency=low
* debian/rules: set CMAKE_INSTALL_PREFIX to an empty variable and define
the other variables with absolute (not relative) paths
* debian/openvas-scanner.postrm: Fix typo
-- Javier Fernandez-Sanguino Pen~a <jfs@debian.org> Sun, 01 May 2011 09:13:37 +0200
openvas-scanner (3.2.3-2) experimental; urgency=low openvas-scanner (3.2.3-2) experimental; urgency=low
* Change variables defined for Cmake in debian/rules for a proper * Change variables defined for Cmake in debian/rules for a proper
......
...@@ -4,7 +4,7 @@ set -e ...@@ -4,7 +4,7 @@ set -e
if [ "$1" = "purge" ]; then if [ "$1" = "purge" ]; then
# Remove logs # Remove logs
if [ -e /var/log/openvassd.messages ] ; then if [ -e /var/log/openvassd.messages ] ; then
echo -e "Removing the OpenVAS Scanner logs" echo -n "Removing the OpenVAS Scanner logs"
rm -f /var/log/openvasmd.log* /var/log/openvassd.dump* rm -f /var/log/openvasmd.log* /var/log/openvassd.dump*
if [ $? -eq 0 ] ; then if [ $? -eq 0 ] ; then
echo "..done" echo "..done"
......
...@@ -30,7 +30,7 @@ build-stamp: patch-stamp ...@@ -30,7 +30,7 @@ build-stamp: patch-stamp
dh_testdir dh_testdir
# Create a build directory # Create a build directory
mkdir BUILD_DIR && tar -c --exclude='debian/*' --exclude='BUILD_DIR/*' --exclude=debian --exclude=BUILD_DIR -f - * | tar -C BUILD_DIR -xf - mkdir BUILD_DIR && tar -c --exclude='debian/*' --exclude='BUILD_DIR/*' --exclude=debian --exclude=BUILD_DIR -f - * | tar -C BUILD_DIR -xf -
cd BUILD_DIR && cmake -DCMAKE_INSTALL_PREFIX=/ -DSYSCONFDIR=etc -DEXEC_PREFIX=usr -DDATADIR=var/share -DMANDIR=usr/share/man/man8 -DLIBDIR=var/lib -DLOCALSTATEDIR=var -DCPACK_SET_DESTDIR=ON . cd BUILD_DIR && cmake -DCMAKE_INSTALL_PREFIX= -DSYSCONFDIR=/etc -DEXEC_PREFIX=/usr -DDATADIR=/var/share -DMANDIR=/usr/share/man/man8 -DLIBDIR=/var/lib -DLOCALSTATEDIR=/var -DCPACK_SET_DESTDIR=ON .
cd BUILD_DIR && $(MAKE) cd BUILD_DIR && $(MAKE)
cd BUILD_DIR && $(MAKE) doc cd BUILD_DIR && $(MAKE) doc
# For the time being we do not build the documentation with Doxygen since it does not add too much value. If added it # For the time being we do not build the documentation with Doxygen since it does not add too much value. If added it
......
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