[Openvas-commits] r471 - in trunk/openvas-libraries: . packaging packaging/debian

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 31 03:40:31 CET 2007


Author: timb
Date: 2007-10-31 03:40:29 +0100 (Wed, 31 Oct 2007)
New Revision: 471

Added:
   trunk/openvas-libraries/packaging/
   trunk/openvas-libraries/packaging/debian/
   trunk/openvas-libraries/packaging/debian/changelog
   trunk/openvas-libraries/packaging/debian/compat
   trunk/openvas-libraries/packaging/debian/control
   trunk/openvas-libraries/packaging/debian/copyright
   trunk/openvas-libraries/packaging/debian/libopenvas-dev.dirs
   trunk/openvas-libraries/packaging/debian/libopenvas-dev.install
   trunk/openvas-libraries/packaging/debian/libopenvas.dirs
   trunk/openvas-libraries/packaging/debian/libopenvas.install
   trunk/openvas-libraries/packaging/debian/rules
Log:
Debian packaging files


Added: trunk/openvas-libraries/packaging/debian/changelog
===================================================================
--- trunk/openvas-libraries/packaging/debian/changelog	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/changelog	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1,12 @@
+openvas-libraries (0.9.1-2) unstable; urgency=low
+
+  * Minor updates to the control and copyright files
+
+ -- Tim Brown <timb at nth-dimension.org.uk>  Wed, 31 Oct 2007 02:29:25 +0000
+
+openvas-libraries (0.9.1-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Tim Brown <timb at nth-dimension.org.uk>  Wed, 19 Sep 2007 01:41:35 +0100
+

Added: trunk/openvas-libraries/packaging/debian/compat
===================================================================
--- trunk/openvas-libraries/packaging/debian/compat	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/compat	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1 @@
+5

Added: trunk/openvas-libraries/packaging/debian/control
===================================================================
--- trunk/openvas-libraries/packaging/debian/control	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/control	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1,41 @@
+Source: openvas-libraries
+Priority: extra
+Maintainer: Tim Brown <timb at nth-dimension.org.uk>
+Build-Depends: debhelper (>= 5), autotools-dev
+Standards-Version: 3.7.2
+Section: libs
+
+Package: libopenvas-dev
+Section: libdevel
+Architecture: any
+Depends: libopenvas (= ${Source-Version})
+Description: OpenVAS static libraries and headers
+ 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 required static libraries, headers, and
+ openvas-config script.
+
+  Homepage: http://www.openvas.org/
+
+Package: libopenvas
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: OpenVAS shared libraries
+ 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 required shared libraries.
+
+  Homepage: http://www.openvas.org/

Added: trunk/openvas-libraries/packaging/debian/copyright
===================================================================
--- trunk/openvas-libraries/packaging/debian/copyright	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/copyright	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1,31 @@
+This package was debianized by Tim Brown <timb at nth-dimension.org.uk> on
+Wed, 19 Sep 2007 01:41:35 +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'.
+
+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-libraries/packaging/debian/libopenvas-dev.dirs
===================================================================
--- trunk/openvas-libraries/packaging/debian/libopenvas-dev.dirs	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/libopenvas-dev.dirs	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1,2 @@
+usr/lib
+usr/includes

Added: trunk/openvas-libraries/packaging/debian/libopenvas-dev.install
===================================================================
--- trunk/openvas-libraries/packaging/debian/libopenvas-dev.install	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/libopenvas-dev.install	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1,6 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/lib/*.la
+usr/share/pkgconfig/*

Added: trunk/openvas-libraries/packaging/debian/libopenvas.dirs
===================================================================
--- trunk/openvas-libraries/packaging/debian/libopenvas.dirs	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/libopenvas.dirs	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1 @@
+usr/lib

Added: trunk/openvas-libraries/packaging/debian/libopenvas.install
===================================================================
--- trunk/openvas-libraries/packaging/debian/libopenvas.install	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/libopenvas.install	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1 @@
+usr/lib/lib*.so.*

Added: trunk/openvas-libraries/packaging/debian/rules
===================================================================
--- trunk/openvas-libraries/packaging/debian/rules	2007-10-31 02:06:16 UTC (rev 470)
+++ trunk/openvas-libraries/packaging/debian/rules	2007-10-31 02:40:29 UTC (rev 471)
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+# Derived from dh_make example.
+
+#export DH_VERBOSE=1
+export DH_COMPAT=4
+export DH_OPTIONS
+
+version		:= $(shell cat VERSION)
+tmp		:= $(CURDIR)/debian/tmp
+
+CFLAGS := -g -Wall -D_REENTRANT
+ifneq "$(findstring noopt,$(DEB_BUILD_OPTIONS))" ""
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+	$(MAKE) localstatedir=/var
+	touch $@
+
+config.status: configure
+	CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --sysconfdir=/etc \
+	--localstatedir=/var  --mandir='$${prefix}/share/man' \
+	--enable-static --enable-cipher
+
+clean:
+	dh_testdir
+	dh_testroot
+	touch openvas-libraries.tmpl
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean build-stamp
+
+install: DH_OPTIONS=
+install: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(MAKE) install prefix=$(tmp)/usr
+	dh_installdirs -plibopenvas-dev usr/share/doc/libopenvas
+	dh_install --sourcedir=debian/tmp 
+	find debian/libopenvas/usr -type d -empty | xargs -r rmdir -p --ignore-fail-on-non-empty
+	find debian/libopenvas-dev/usr -type d -empty | xargs -r rmdir -p --ignore-fail-on-non-empty
+
+binary-indep:
+# Nothing.
+
+binary-arch: DH_OPTIONS=-a
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	( cd debian/libopenvas-dev/usr/share/doc/ ; rm -rf libopenvas-dev; ln -s libopenvas libopenvas-dev; )
+	dh_installchangelogs
+ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" ""
+	dh_strip
+endif
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs -V "libopenvas (>= $(version))"
+	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-libraries/packaging/debian/rules
___________________________________________________________________
Name: svn:executable
   + *



More information about the Openvas-commits mailing list