Hello community, here is the log from the commit of package openvas-cli for openSUSE:Factory checked in at Tue Oct 18 14:24:43 CEST 2011.
-------- --- openSUSE:Factory/openvas-cli/openvas-cli.changes 2011-09-23 12:21:00.000000000 +0200 +++ /mounts/work_src_done/STABLE/openvas-cli/openvas-cli.changes 2011-10-16 14:31:34.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Oct 16 12:08:24 UTC 2011 - bitshuff...@opensuse.org + +- Updated to 1.1.3 + * The "omp" command now accepts XML input from stdin when using the "-X" + parameter. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- openvas-cli-1.1.2.tar.gz ovas-cli-add-needed.patch New: ---- debian.series openvas-cli-1.1.3-linking.patch openvas-cli-1.1.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openvas-cli.spec ++++++ --- /var/tmp/diff_new_pack.uubZh8/_old 2011-10-18 14:24:38.000000000 +0200 +++ /var/tmp/diff_new_pack.uubZh8/_new 2011-10-18 14:24:38.000000000 +0200 @@ -15,16 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: openvas-cli -Version: 1.1.2 -Release: 2 +Version: 1.1.3 +Release: 1.0 License: GPLv2+ Group: Productivity/Networking/Security Url: http://www.openvas.org Source: %{name}-%{version}.tar.gz +Patch0: openvas-cli-1.1.3-linking.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?mandriva_version} @@ -36,7 +36,6 @@ BuildRequires: libopenvas-devel BuildRequires: pkgconfig Summary: Command Line Tools for OpenVAS -Patch: ovas-cli-add-needed.patch %description OpenVAS-CLI collects command line tools @@ -46,7 +45,7 @@ %prep %setup -q -%patch +%patch0 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -71,4 +70,5 @@ %doc CHANGES COPYING README %{_bindir}/omp %{_mandir}/man8/omp.8* + %changelog ++++++ debian.changelog ++++++ --- /var/tmp/diff_new_pack.uubZh8/_old 2011-10-18 14:24:38.000000000 +0200 +++ /var/tmp/diff_new_pack.uubZh8/_new 2011-10-18 14:24:38.000000000 +0200 @@ -1,3 +1,11 @@ +openvas-cli (1.1.3-1) unstable; urgency=low + + * New upstream release. + - The "omp" command now accepts XML input from stdin when using the "-X" + parameter. + + -- Stephan Kleine <bitshuff...@opensuse.org> Sun, 16 Oct 2011 14:09:19 +0200 + openvas-cli (1.1.2-1) unstable; urgency=low * New upstream release. ++++++ debian.series ++++++ openvas-cli-1.1.3-linking.patch -p0 ++++++ openvas-cli-1.1.3-linking.patch ++++++ Index: omp/CMakeLists.txt =================================================================== --- omp/CMakeLists.txt.orig 2011-10-12 14:43:29.000000000 +0200 +++ omp/CMakeLists.txt 2011-10-16 16:50:29.919941843 +0200 @@ -75,7 +75,7 @@ else (MINGW) set_target_properties (omp PROPERTIES COMPILE_FLAGS "${HEADER_TEMP} ${GNUTLS_CFLAGS} ${OPENVAS_CFLAGS} ${GLIB_CFLAGS}") - target_link_libraries (omp openvas_omp) + target_link_libraries (omp openvas_misc openvas_omp glib-2.0) endif (MINGW) mark_as_advanced (LIB_TEMP) ++++++ openvas-cli-1.1.2.tar.gz -> openvas-cli-1.1.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-cli-1.1.2/CHANGES new/openvas-cli-1.1.3/CHANGES --- old/openvas-cli-1.1.2/CHANGES 2011-02-21 09:58:11.000000000 +0100 +++ new/openvas-cli-1.1.3/CHANGES 2011-10-12 14:43:29.000000000 +0200 @@ -1,3 +1,20 @@ +openvas-cli 1.1.3 (2011-10-12) + +This is the 1.1.3 release of the OpenVAS Command Line Interface (CLI) for the +Open Vulnerability Assessment System (OpenVAS). + +OpenVAS CLI 1.1 is part of OpenVAS 4 and supports the protocol OMP 2.0 protocol. + +This release adds support for reading XML input from stdin. + +Many thanks to everyone who has contributed to this release: +Matthew Mundell and Michael Wiegand. + +Main changes compared to 1.1.2: +* The "omp" command now accepts XML input from stdin when using the "-X" + parameter. + + openvas-cli 1.1.2 (2011-02-21) This is the 1.1.2 release of the OpenVAS Command Line Interface (CLI) for the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-cli-1.1.2/CMakeLists.txt new/openvas-cli-1.1.3/CMakeLists.txt --- old/openvas-cli-1.1.2/CMakeLists.txt 2011-02-21 09:58:11.000000000 +0100 +++ new/openvas-cli-1.1.3/CMakeLists.txt 2011-10-12 14:43:29.000000000 +0200 @@ -74,7 +74,7 @@ set (CPACK_TOPLEVEL_TAG "") set (CPACK_PACKAGE_VERSION_MAJOR "1") set (CPACK_PACKAGE_VERSION_MINOR "1") -set (CPACK_PACKAGE_VERSION_PATCH "2${SVN_REVISION}") +set (CPACK_PACKAGE_VERSION_PATCH "3${SVN_REVISION}") set (CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") set (CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}") set (CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-cli-1.1.2/ChangeLog new/openvas-cli-1.1.3/ChangeLog --- old/openvas-cli-1.1.2/ChangeLog 2011-02-21 09:58:11.000000000 +0100 +++ new/openvas-cli-1.1.3/ChangeLog 2011-10-12 14:43:29.000000000 +0200 @@ -1,3 +1,19 @@ +2011-10-12 Michael Wiegand <michael.wieg...@greenbone.net> + + Preparing the openvas-cli 1.1.3 release. + + * CHANGES: Updated. + +2011-03-29 Matthew Mundell <matthew.mund...@greenbone.net> + + * omp/omp.c (main): For -X, if XML is "-" then read XML from stdin. + +2011-02-21 Michael Wiegand <michael.wieg...@greenbone.net> + + Post release version bump. + + * CMakeLists.txt: Updated version number. + 2011-02-21 Michael Wiegand <michael.wieg...@greenbone.net> Preparing the openvas-cli 1.1.2 release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-cli-1.1.2/omp/omp.c new/openvas-cli-1.1.3/omp/omp.c --- old/openvas-cli-1.1.2/omp/omp.c 2011-02-21 09:58:11.000000000 +0100 +++ new/openvas-cli-1.1.3/omp/omp.c 2011-10-12 14:43:29.000000000 +0200 @@ -945,7 +945,7 @@ "Add text in stdin as file on task.", NULL}, /* Command as XML. */ {"xml", 'X', 0, G_OPTION_ARG_STRING, &cmd_xml, - "XML command (e.g. \"<help/>\", \"<get_version/>\")", + "XML command (e.g. \"<help/>\"\"). \"-\" to read from stdin.", "<command>"}, {G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &rest, NULL, NULL}, @@ -1412,6 +1412,32 @@ getchar (); } + if (strcmp (cmd_xml, "-") == 0) + { + GError *error; + gchar *content; + gsize content_len; + GIOChannel *stdin_channel; + + /* Mixing stream and file descriptor IO might lead to trouble. */ + error = NULL; + stdin_channel = g_io_channel_unix_new (fileno (stdin)); + g_io_channel_read_to_end (stdin_channel, &content, &content_len, + &error); + g_io_channel_shutdown (stdin_channel, TRUE, NULL); + g_io_channel_unref (stdin_channel); + if (error) + { + fprintf (stderr, "Failed to read from stdin: %s\n", + error->message); + g_error_free (error); + exit (EXIT_FAILURE); + } + + g_free (cmd_xml); + cmd_xml = content; + } + if (be_verbose) printf ("Sending to manager: %s\n", cmd_xml); ++++++ openvas-cli.dsc ++++++ --- /var/tmp/diff_new_pack.uubZh8/_old 2011-10-18 14:24:38.000000000 +0200 +++ /var/tmp/diff_new_pack.uubZh8/_new 2011-10-18 14:24:38.000000000 +0200 @@ -2,7 +2,7 @@ Source: openvas-cli Binary: openvas-cli Architecture: any -Version: 1.1.2-1 +Version: 1.1.3-1 Maintainer: Stephan Kleine <bitshuff...@opensuse.org> Homepage: http://www.openvas.org/ Standards-Version: 3.8.0 continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org