[Openvas-commits] r469 - in trunk/openvas-client/packaging: . debian

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 31 02:47:31 CET 2007


Author: timb
Date: 2007-10-31 02:47:30 +0100 (Wed, 31 Oct 2007)
New Revision: 469

Added:
   trunk/openvas-client/packaging/debian/
   trunk/openvas-client/packaging/debian/changelog
   trunk/openvas-client/packaging/debian/compat
   trunk/openvas-client/packaging/debian/control
   trunk/openvas-client/packaging/debian/copyright
   trunk/openvas-client/packaging/debian/dirs
   trunk/openvas-client/packaging/debian/docs
   trunk/openvas-client/packaging/debian/rules
Log:
Synched with jfs


Added: trunk/openvas-client/packaging/debian/changelog
===================================================================
--- trunk/openvas-client/packaging/debian/changelog	2007-10-31 01:12:15 UTC (rev 468)
+++ trunk/openvas-client/packaging/debian/changelog	2007-10-31 01:47:30 UTC (rev 469)
@@ -0,0 +1,42 @@
+openvas-client (1.0.1-2) unstable; urgency=low
+
+  * Make it Replace: nessus < 3 also
+  * Remove spaces before dots in the control definition
+  * Add a Homepage: to the control definition
+  * Added the SSL exemption from COPYING.OpenSSL to debian/copyright
+  * Added symlinks to both the binary and the manpage for users that
+    try to execute it using the package name
+  * Install the menu file so the application is available in Debian menus
+  * Install the desktop file in the proper location
+  * Compile and install the PO files to get translations also in the package.
+
+ -- Tim Brown <timb at nth-dimension.org.uk>  Wed, 31 Oct 2007 01:05:50 +0000
+
+openvas-client (1.0.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tim Brown <tmb at nth-dimension.org.uk>  Thu, 25 Oct 2007 02:13:16 +0100
+
+openvas-client (1.0.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tim Brown <timb at nth-dimension.org.uk>  Wed, 26 Sep 2007 00:41:58 +0100
+
+openvas-client (0.9.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Initial release (Closes: #435456)
+  * Added replaces: nessusclient
+  * Removed /usr/sbin from dirs
+  * Fixed copyright
+
+ -- Tim Brown <timb at nth-dimension.org.uk>  Wed, 01 Aug 2007 00:25:05 +0100
+
+openvas-client (0.9.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Tim Brown <timb at nth-dimension.org.uk>  Thu, 19 Jul 2007 12:18:13 +0100
+

Added: trunk/openvas-client/packaging/debian/compat
===================================================================
--- trunk/openvas-client/packaging/debian/compat	2007-10-31 01:12:15 UTC (rev 468)
+++ trunk/openvas-client/packaging/debian/compat	2007-10-31 01:47:30 UTC (rev 469)
@@ -0,0 +1 @@
+5

Added: trunk/openvas-client/packaging/debian/control
===================================================================
--- trunk/openvas-client/packaging/debian/control	2007-10-31 01:12:15 UTC (rev 468)
+++ trunk/openvas-client/packaging/debian/control	2007-10-31 01:47:30 UTC (rev 469)
@@ -0,0 +1,24 @@
+Source: openvas-client
+Section: net
+Priority: extra
+Maintainer: Tim Brown <timb at nth-dimension.org.uk>
+Uploaders: Javier Fernandez-Sanguino Pen� <jfs at debian.org>
+Build-Depends: debhelper (>= 5), autotools-dev, libssl-dev, libgtk2.0-dev
+Standards-Version: 3.7.2
+
+Package: openvas-client
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: nessusclient, nessus (<< 3)
+Description: Remote network security auditor, the client
+ The OpenVAS Security Scanner is a security auditing tool. It makes
+ possible to test security modules in an attempt to find vulnerable
+ spots that should be fixed.
+ .
+ It is made up of two parts: a server, and a client. The server/daemon,
+ openvasd, is in charge of the attacks, whereas the client,
+ OpenVAS-Client, provides the user a nice X11/GTK+ interface.
+ .
+ This package contains the GTK+ client.
+ .
+  Homepage: http://www.openvas.org/

Added: trunk/openvas-client/packaging/debian/copyright
===================================================================
--- trunk/openvas-client/packaging/debian/copyright	2007-10-31 01:12:15 UTC (rev 468)
+++ trunk/openvas-client/packaging/debian/copyright	2007-10-31 01:47:30 UTC (rev 469)
@@ -0,0 +1,44 @@
+This package was debianized by Tim Brown <timb at nth-dimension.org.uk> on
+Thu, 19 Jul 2007 12:18:13 +0100.
+
+It was downloaded from http://www.openvas.org/
+
+Upstream Author: OpenVAS <openvas-devel at wald.intevation.org>
+
+Copyright: Renaud Deraison <deraison at cvs.nessus.org>, DN-Systems GmbH
+and Intevation GmbH
+
+License:
+
+    This package 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 package 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 complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+In addition, as a special exception, the copyright holders give
+permission to link the code of portions of this program with the
+OpenSSL library under certain conditions as described in each
+individual source file, and distribute linked combinations
+including the two.
+You must obey the GNU General Public License in all respects
+for all of the code used other than OpenSSL.  If you modify
+file(s) with this exception, you may extend this exception to your
+version of the file(s), but you are not obligated to do so.  If
+you do not wish to do so, delete this exception statement from your
+version.  If you delete this exception statement from all source
+files in the program, then also delete it here.
+
+The Debian packaging is (C) 2007, Tim Brown <timb at nth-dimension.org.uk> and
+is licensed under the GPL, see above.

Added: trunk/openvas-client/packaging/debian/dirs
===================================================================
--- trunk/openvas-client/packaging/debian/dirs	2007-10-31 01:12:15 UTC (rev 468)
+++ trunk/openvas-client/packaging/debian/dirs	2007-10-31 01:47:30 UTC (rev 469)
@@ -0,0 +1 @@
+usr/bin

Added: trunk/openvas-client/packaging/debian/docs
===================================================================
--- trunk/openvas-client/packaging/debian/docs	2007-10-31 01:12:15 UTC (rev 468)
+++ trunk/openvas-client/packaging/debian/docs	2007-10-31 01:47:30 UTC (rev 469)
@@ -0,0 +1,4 @@
+README
+TODO
+CHANGES
+COPYING.OpenSSL

Added: trunk/openvas-client/packaging/debian/rules
===================================================================
--- trunk/openvas-client/packaging/debian/rules	2007-10-31 01:12:15 UTC (rev 468)
+++ trunk/openvas-client/packaging/debian/rules	2007-10-31 01:47:30 UTC (rev 469)
@@ -0,0 +1,108 @@
+#!/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
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/openvas-client.sgml > openvas-client.1
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+	rm -f config.sub config.guess
+	# Clean translations first
+	[ ! -f po/Makefile ] || [ ! -f nessus.tmpl ] || $(MAKE) -C po distclean
+	-rm -f po/*gmo # Not sure if we should use 'maintainer-clean' instead..
+	[ ! -f Makefile ] || $(MAKE) distclean
+	# These should not be removed, otherwise the package is unbuildable
+	# on the second run if the system does not have autoconf installed 
+	# rm -f config.sub config.guess
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs usr/share/applications
+
+	# Add here commands to install the package into debian/openvas-client.
+	$(MAKE) prefix=$(CURDIR)/debian/openvas-client/usr install
+	# Build translations
+	cd po && $(MAKE) prefix=$(CURDIR)/debian/openvas-client/usr install
+	# Create a symlink for the binary:
+	cd debian/openvas-client/usr/bin && ln -s OpenVAS-Client openvas-client
+	cd debian/openvas-client/usr/share/man/man1 && ln -s OpenVAS-Client.1.gz openvas-client.1.gz
+
+	# Install the desktop icon
+	install -m 644 nessus/OpenVAS-Client.desktop debian/openvas-client/usr/share/applications
+
+# 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 ChangeLog
+	dh_installdocs
+	dh_installman
+	dh_installmenu
+	dh_link
+	dh_strip
+	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 


Property changes on: trunk/openvas-client/packaging/debian/rules
___________________________________________________________________
Name: svn:executable
   + *



More information about the Openvas-commits mailing list