Hello community, here is the log from the commit of package arpwatch for openSUSE:Factory checked in at 2012-07-18 11:45:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/arpwatch (Old) and /work/SRC/openSUSE:Factory/.arpwatch.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arpwatch", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/arpwatch/arpwatch.changes 2011-09-23 01:52:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.arpwatch.new/arpwatch.changes 2012-07-18 11:45:44.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Jul 18 05:56:13 CEST 2012 - [email protected] + +- arpwatch-2.1a11-drop-privs.dif: call initgroups() with pw->pw_gid, + not NULL, to not have groupid 0 initialized. [bnc#764521] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arpwatch.spec ++++++ --- /var/tmp/diff_new_pack.Ozekh0/_old 2012-07-18 11:45:46.000000000 +0200 +++ /var/tmp/diff_new_pack.Ozekh0/_new 2012-07-18 11:45:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package arpwatch # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,17 @@ # - Name: arpwatch -BuildRequires: libpcap-devel postfix +BuildRequires: libpcap-devel +BuildRequires: postfix Url: http://www-nrg.ee.lbl.gov/nrg.html -License: BSD-3-Clause -Group: Productivity/Networking/Diagnostic Requires: arpwatch-ethercodes PreReq: /usr/bin/touch %insserv_prereq %fillup_prereq Summary: Arpwatch Keeps Track of Ethernet and IP Address Pairings +License: BSD-3-Clause +Group: Productivity/Networking/Diagnostic Version: 2.1a15 -Release: 132 +Release: 0 Source: %{name}-%{version}.tar.bz2 Source10: arpwatch.init Source11: sysconfig.arpwatch @@ -44,9 +44,8 @@ activity to syslog and reports certain changes via e-mail. %package ethercodes-build -License: BSD-3-Clause -Group: Productivity/Networking/Diagnostic Summary: Tool to create ethercodes.dat from IEEE.org meta data +Group: Productivity/Networking/Diagnostic %description ethercodes-build Tool and required files to create the ethercodes.dat file from the OUI ++++++ arpwatch-2.1a11-drop-privs.dif ++++++ --- /var/tmp/diff_new_pack.Ozekh0/_old 2012-07-18 11:45:46.000000000 +0200 +++ /var/tmp/diff_new_pack.Ozekh0/_new 2012-07-18 11:45:46.000000000 +0200 @@ -46,7 +46,7 @@ + exit(1); + } + free(arpfiledir); -+ if ( initgroups(pw->pw_name, NULL) != 0 || setgid(pw->pw_gid) != 0 || ++ if ( initgroups(pw->pw_name, pw->pw_gid) != 0 || setgid(pw->pw_gid) != 0 || + setuid(pw->pw_uid) != 0 ) { + syslog(LOG_ERR, "Fatal: Couldn't change to user/group '%.32s' uid=%d gid=%d", user, + pw->pw_uid, pw->pw_gid); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
