[Openvas-devel] [Fwd: [Openvas-commits] r5095 - trunk/openvas-libraries]

Vlatko Kosturjak kost at linux.hr
Mon Sep 21 15:09:19 CEST 2009


I'm including this on -devel and -distro mailing list as it is 
concerning package maintainers as well. It is regarding pkg-config 
implementation for new openvas-libraries in 3.x.

openvas-libraries ship with libnasl and openvas-lib now. As client 
doesn't need libnasl, should:

[1] we have more pkg-configs files for each configuration - e.g.
libopenvas-nasl for linking server type versions
libopenvas-client for linking client type versions
(or any other naming convention)

[2] ..or we should have single pkg-config which will link all libraries 
and that's it?

Also, would be correct to have version in libopenvas like glib have i.e. 
  libglib-2.0, or we should have single (libopenvas) and package 
mainteners would do it differently if they feel it for each distro?

Let me know, so we can proceed further with pkg-config support 
implementation.

-------- Original Message --------
Subject: [Openvas-commits] r5095 - trunk/openvas-libraries
Date: Mon, 21 Sep 2009 14:52:40 +0200 (CEST)
From: scm-commit at wald.intevation.org
Reply-To: openvas-devel at wald.intevation.org
To: openvas-commits at wald.intevation.org

Author: kost
Date: 2009-09-21 14:52:40 +0200 (Mon, 21 Sep 2009)
New Revision: 5095

Added:
    trunk/openvas-libraries/libopenvas.pc.in
Modified:
    trunk/openvas-libraries/ChangeLog
Log:
Initial support for pkg-config



Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog	2009-09-21 12:35:03 UTC (rev 5094)
+++ trunk/openvas-libraries/ChangeLog	2009-09-21 12:52:40 UTC (rev 5095)
@@ -1,3 +1,7 @@
+2009-09-21  Vlatko Kosturjak <kost at linux.hr>
+
+	* libopenvas.pc.in: new file, support for pkg-config
+
  2009-09-21  Felix Wolfsteller <felix.wolfsteller at intevation.de>

  	* base/openvas_certificate_file.c: Commented another show_error,

Added: trunk/openvas-libraries/libopenvas.pc.in
===================================================================
--- trunk/openvas-libraries/libopenvas.pc.in	2009-09-21 12:35:03 UTC 
(rev 5094)
+++ trunk/openvas-libraries/libopenvas.pc.in	2009-09-21 12:52:40 UTC 
(rev 5095)
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: openvas-libraries
+Description: OpenVAS libraries
+Version: @version@
+Requires: glib-2.0 = 2.8.0
+Cflags: -I${includedir}
+Libs: -L${libdir} -lglib

_______________________________________________
Openvas-commits mailing list
Openvas-commits at wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits


More information about the Openvas-devel mailing list