Hello community, here is the log from the commit of package openvas-administrator for openSUSE:Factory checked in at 2011-11-07 14:24:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openvas-administrator (Old) and /work/SRC/openSUSE:Factory/.openvas-administrator.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "openvas-administrator", Maintainer is "nadvornik@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/openvas-administrator/openvas-administrator.changes 2011-09-23 12:20:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openvas-administrator.new/openvas-administrator.changes 2011-11-07 14:24:28.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Nov 4 21:05:44 UTC 2011 - bitshuffler@opensuse.org + +- Updated to 1.1.2 + * Handling of the SIGHUP signal has been made consistent with the other OpenVAS + modules. This means that openvas-administrator will no longer exit upon + receiving a SIGHUP. + * OAP: The GET_VERSION command is now allowed before AUTHENTICATE to be + consistent with OMP. + +------------------------------------------------------------------- Old: ---- openvas-admin-add-needed.patch openvas-administrator-1.1.1-out_of_source_build.patch openvas-administrator-1.1.1.tar.gz New: ---- openvas-administrator-1.1.1-linking.patch openvas-administrator-1.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openvas-administrator.spec ++++++ --- /var/tmp/diff_new_pack.YxPpEm/_old 2011-11-07 14:24:32.000000000 +0100 +++ /var/tmp/diff_new_pack.YxPpEm/_new 2011-11-07 14:24:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: openvas-administrator -Version: 1.1.1 +Version: 1.1.2 Release: 2 License: GPLv2+ Group: Productivity/Networking/Security @@ -30,8 +30,7 @@ Source3: openvasad.init.suse Source4: openvasad.init.fedora Source5: openvasad.init.mandriva -Patch0: openvas-administrator-1.1.1-out_of_source_build.patch -Patch1: openvas-admin-add-needed.patch +Patch0: openvas-administrator-1.1.1-linking.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?mandriva_version} @@ -57,7 +56,6 @@ %prep %setup -q %patch0 -%patch1 %build %if 0%{?mandriva_version} ++++++ debian.changelog ++++++ --- /var/tmp/diff_new_pack.YxPpEm/_old 2011-11-07 14:24:32.000000000 +0100 +++ /var/tmp/diff_new_pack.YxPpEm/_new 2011-11-07 14:24:32.000000000 +0100 @@ -1,3 +1,14 @@ +openvas-administrator (1.1.2-1) UNRELEASED; urgency=low + + * New upstream release + - Handling of the SIGHUP signal has been made consistent with the other OpenVAS + modules. This means that openvas-administrator will no longer exit upon + receiving a SIGHUP. + - OAP: The GET_VERSION command is now allowed before AUTHENTICATE to be + consistent with OMP. + + -- Stephan Kleine <bitshuffler@opensuse.org> Fri, 04 Nov 2011 22:07:16 +0100 + openvas-administrator (1.1.1-1) UNRELEASED; urgency=low * New upstream release ++++++ debian.series ++++++ --- /var/tmp/diff_new_pack.YxPpEm/_old 2011-11-07 14:24:32.000000000 +0100 +++ /var/tmp/diff_new_pack.YxPpEm/_new 2011-11-07 14:24:32.000000000 +0100 @@ -1 +1 @@ -openvas-administrator-1.1.1-out_of_source_build.patch -p0 +openvas-administrator-1.1.1-linking.patch -p0 ++++++ openvas-administrator-1.1.1-linking.patch ++++++ Index: src/CMakeLists.txt =================================================================== --- src/CMakeLists.txt.orig 2011-02-21 11:04:30.000000000 +0100 +++ src/CMakeLists.txt 2011-10-16 17:24:38.163498293 +0200 @@ -45,7 +45,7 @@ set_target_properties (oap PROPERTIES CO ## Program add_executable (openvasad openvasad.c oxpd.c oapd.c) -target_link_libraries (openvasad oap admin openvas_misc openvas_base gnutls) +target_link_libraries (openvasad oap admin openvas_misc openvas_base gnutls glib-2.0) set_target_properties (openvasad PROPERTIES LINKER_LANGUAGE C) ++++++ openvas-administrator-1.1.1.tar.gz -> openvas-administrator-1.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-administrator-1.1.1/CHANGES new/openvas-administrator-1.1.2/CHANGES --- old/openvas-administrator-1.1.1/CHANGES 2011-02-21 11:04:30.000000000 +0100 +++ new/openvas-administrator-1.1.2/CHANGES 2011-11-03 09:59:38.000000000 +0100 @@ -1,3 +1,23 @@ +openvas-administrator 1.1.2 (2011-11-03) + +This is the second maintenance release of the OpenVAS Administrator 1.1, the +local and remote administrative tool for the Open Vulnerability Assessment +System release 4 (OpenVAS-4). + +This release makes signal handling and the protocol handshake more consistent +with other OpenVAS modules. + +Many thanks to everyone who has contributed to this release: +Stephan Kleine, Matthew Mundell and Michael Wiegand. + +Main changes since 1.1.1: +* Handling of the SIGHUP signal has been made consistent with the other OpenVAS + modules. This means that openvas-administrator will no longer exit upon + receiving a SIGHUP. +* OAP: The GET_VERSION command is now allowed before AUTHENTICATE to be + consistent with OMP. + + openvas-administrator 1.1.1 (2011-02-21) This is the second release of the OpenVAS Administrator 1.1, the local and remote diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-administrator-1.1.1/CMakeLists.txt new/openvas-administrator-1.1.2/CMakeLists.txt --- old/openvas-administrator-1.1.1/CMakeLists.txt 2011-02-21 11:04:30.000000000 +0100 +++ new/openvas-administrator-1.1.2/CMakeLists.txt 2011-11-03 09:59:38.000000000 +0100 @@ -78,7 +78,7 @@ set (CPACK_TOPLEVEL_TAG "") set (CPACK_PACKAGE_VERSION_MAJOR "1") set (CPACK_PACKAGE_VERSION_MINOR "1") -set (CPACK_PACKAGE_VERSION_PATCH "1${SVN_REVISION}") +set (CPACK_PACKAGE_VERSION_PATCH "2${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}") @@ -168,7 +168,7 @@ pkg_check_modules (LIBOPENVAS REQUIRED libopenvas>=4.0.0) pkg_check_modules (GNUTLS REQUIRED gnutls) -pkg_check_modules (GLIB REQUIRED glib-2.0) +pkg_check_modules (GLIB REQUIRED glib-2.0>=2.16) pkg_check_modules (UUID REQUIRED uuid) message (STATUS "Looking for pcap...") @@ -236,7 +236,7 @@ ## Install -install (FILES src/openvasad_log.conf +install (FILES ${CMAKE_BINARY_DIR}/src/openvasad_log.conf DESTINATION ${OPENVAS_SYSCONF_DIR}) install (FILES src/schema_formats/HTML/generate diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-administrator-1.1.1/ChangeLog new/openvas-administrator-1.1.2/ChangeLog --- old/openvas-administrator-1.1.1/ChangeLog 2011-02-21 11:04:30.000000000 +0100 +++ new/openvas-administrator-1.1.2/ChangeLog 2011-11-03 09:59:38.000000000 +0100 @@ -1,3 +1,44 @@ +2011-11-03 Michael Wiegand <michael.wiegand@greenbone.net> + + Preparing for the 1.1.2 release. + + * CHANGES: Updated. + +2011-05-16 Michael Wiegand <michael.wiegand@greenbone.net> + + * src/openvasad.c (handle_sighup): Do not exit upon receiving a + SIGHUP. Even though exiting in the default POSIX action, most current + distributions do not expect this behavior. + +2011-04-13 Matthew Mundell <matthew.mundell@greenbone.net> + + * src/oap.c (oap_xml_handle_start_element): Allow GET_VERSION before + AUTHENTICATE, as in Manager. + +2011-03-16 Michael Wiegand <michael.wiegand@greenbone.net> + + OpenVAS Administrator needs glib to be at least at version 2.16. + Document this fact and make the check for glib more precise. + + * INSTALL: Add required version to glib dependency. + + * CMakeLists.txt: Make check for glib check the version as well. + +2011-03-14 Henri Doreau <henri.doreau@greenbone.net> + + * src/admin.c (openvas_admin_add_user): release g_strdup_printf results + with g_free instead of free. + +2011-03-03 Stephan Kleine + + * CMakeLists.txt: Fix out of source build. + +2011-02-18 Michael Wiegand <michael.wiegand@greenbone.net> + + Post release version bump. + + * CMakeLists.txt: Updated version number. + 2011-02-18 Michael Wiegand <michael.wiegand@greenbone.net> Preparing for the 1.1.1 release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-administrator-1.1.1/INSTALL new/openvas-administrator-1.1.2/INSTALL --- old/openvas-administrator-1.1.1/INSTALL 2011-02-21 11:04:30.000000000 +0100 +++ new/openvas-administrator-1.1.2/INSTALL 2011-11-03 09:59:38.000000000 +0100 @@ -8,7 +8,7 @@ * openvas-libraries >= 4.0.0 * gnutls-dev * cmake >= 2.6.0 -* glib-dev +* glib-dev >= 2.16 * libuuid (from e2fsprogs) * pkg-config diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-administrator-1.1.1/src/admin.c new/openvas-administrator-1.1.2/src/admin.c --- old/openvas-administrator-1.1.1/src/admin.c 2011-02-21 11:04:30.000000000 +0100 +++ new/openvas-administrator-1.1.2/src/admin.c 2011-11-03 09:59:38.000000000 +0100 @@ -465,13 +465,13 @@ if (openvas_file_remove_recurse (user_dir_name)) g_warning ("Could not remove %s while trying to revert changes!", user_dir_name); - free (contents); + g_free (contents); g_free (uuid_file_name); g_free (user_dir_name); g_free (user_auth_dir_name); return -1; } - free (contents); + g_free (contents); g_free (uuid_file_name); /* Put the password hashes in auth/hash. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-administrator-1.1.1/src/oap.c new/openvas-administrator-1.1.2/src/oap.c --- old/openvas-administrator-1.1.1/src/oap.c 2011-02-21 11:04:30.000000000 +0100 +++ new/openvas-administrator-1.1.2/src/oap.c 2011-11-03 09:59:38.000000000 +0100 @@ -1057,6 +1057,12 @@ switch (client_state) { case CLIENT_TOP: + if (strcasecmp ("GET_VERSION", element_name) == 0) + { + set_client_state (CLIENT_VERSION); + break; + } + /*@fallthrough@*/ case CLIENT_COMMANDS: if (strcasecmp ("AUTHENTICATE", element_name) == 0) { @@ -1074,11 +1080,15 @@ { // TODO: If one of other commands, STATUS_ERROR_MUST_AUTH if (send_to_client - (XML_ERROR_SYNTAX ("oap", "First command must be AUTHENTICATE"))) + (XML_ERROR_SYNTAX ("oap", + "First command must be AUTHENTICATE," + " COMMANDS or GET_VERSION"))) { error_send_to_client (error); return; } + if (client_state == CLIENT_COMMANDS) + send_to_client ("</commands_response>"); g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_UNKNOWN_ELEMENT, "Must authenticate first."); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openvas-administrator-1.1.1/src/openvasad.c new/openvas-administrator-1.1.2/src/openvasad.c --- old/openvas-administrator-1.1.1/src/openvasad.c 2011-02-21 11:04:30.000000000 +0100 +++ new/openvas-administrator-1.1.2/src/openvasad.c 2011-11-03 09:59:38.000000000 +0100 @@ -383,7 +383,6 @@ void handle_sighup (int signal) { - exit (EXIT_SUCCESS); } /** ++++++ openvas-administrator.dsc ++++++ --- /var/tmp/diff_new_pack.YxPpEm/_old 2011-11-07 14:24:32.000000000 +0100 +++ /var/tmp/diff_new_pack.YxPpEm/_new 2011-11-07 14:24:32.000000000 +0100 @@ -2,12 +2,12 @@ Source: openvas-administrator Binary: openvas-administrator Architecture: any -Version: 1.1.1-1 +Version: 1.1.2-1 Maintainer: Stephan Kleine <bitshuffler@opensuse.org> Homepage: http://www.openvas.org/ Standards-Version: 3.8.0 Build-Depends: debhelper (>= 7), cmake, doxygen, hardening-wrapper, libopenvas3-dev | libopenvas4-dev, pkg-config Files: - 776ce4e1000137c9aec7863372c8c876 373800 openvas-administrator-1.1.1.orig.tar.gz - 131e6720b0526ade9405eade0d9150ac 56625 openvas-administrator-1.1.1.diff.gz + 776ce4e1000137c9aec7863372c8c876 373800 openvas-administrator-1.1.2.orig.tar.gz + 131e6720b0526ade9405eade0d9150ac 56625 openvas-administrator-1.1.2.diff.gz -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org