Hello community,

here is the log from the commit of package libcap-ng for openSUSE:Factory
checked in at Wed Aug 31 10:49:59 CEST 2011.



--------
--- libcap-ng/libcap-ng-python.changes  2010-11-20 11:15:59.000000000 +0100
+++ /mounts/work_src_done/STABLE/libcap-ng/libcap-ng-python.changes     
2011-08-31 03:52:56.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Aug 31 01:49:59 UTC 2011 - crrodrig...@opensuse.org
+
+-  Update to version 0.6.6
+- Add CAP_SYSLOG and CAP_WAKE_ALARM (needed for newish kernels)
+
+-------------------------------------------------------------------
libcap-ng.changes: same change

calling whatdependson for head-i586


Old:
----
  libcap-ng-0.6.5.tar.bz2

New:
----
  libcap-ng-0.6.6.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcap-ng-python.spec ++++++
--- /var/tmp/diff_new_pack.cojzeT/_old  2011-08-31 10:49:41.000000000 +0200
+++ /var/tmp/diff_new_pack.cojzeT/_new  2011-08-31 10:49:41.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libcap-ng-python (Version 0.6.5)
+# spec file for package libcap-ng-python
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -22,7 +22,7 @@
 Summary:        An alternate POSIX capabilities library
 
 Name:           libcap-ng-python
-Version:        0.6.5
+Version:        0.6.6
 Release:        1
 %define soname 0
 %define rname libcap-ng
@@ -45,6 +45,7 @@
 
 %package -n %{name}%{soname}
 
+
 Summary:        An alternate POSIX capabilities library
 License:        LGPLv2+
 Group:          System/Libraries
@@ -53,6 +54,7 @@
 Libcap-ng is a library that makes using posix capabilities easier
 
 %package devel
+
 Summary:        Header files for libcap-ng library
 License:        LGPLv2+
 Group:          Development/Libraries/C and C++
@@ -65,6 +67,7 @@
 applications that need to use the libcap-ng library.
 
 %package utils
+
 Summary:        Utilities for analysing and setting file capabilities
 License:        GPLv2+
 Group:          System/Base

libcap-ng.spec: same change
++++++ libcap-ng-0.6.5.tar.bz2 -> libcap-ng-0.6.6.tar.bz2 ++++++
++++ 8398 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libcap-ng-0.6.5/ChangeLog new/libcap-ng-0.6.6/ChangeLog
--- old/libcap-ng-0.6.5/ChangeLog       2010-11-03 18:31:59.000000000 +0100
+++ new/libcap-ng-0.6.6/ChangeLog       2011-06-24 22:29:55.000000000 +0200
@@ -1,3 +1,9 @@
+0.6.6
+- In netcap, make sure readlink is handled properly
+- Add CAP_SYSLOG
+- In netcap and pscap, ensure euid is initialized
+- Add CAP_WAKE_ALARM
+
 0.6.5
 - Fix self test build problem on clean system (Sterling X. Winter)
 - Only open regular files in filecap
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libcap-ng-0.6.5/bindings/python/capng.py 
new/libcap-ng-0.6.6/bindings/python/capng.py
--- old/libcap-ng-0.6.5/bindings/python/capng.py        2010-11-03 
18:32:11.000000000 +0100
+++ new/libcap-ng-0.6.6/bindings/python/capng.py        2011-06-24 
22:30:07.000000000 +0200
@@ -1,5 +1,5 @@
 # This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.40
+# Version 2.0.1
 #
 # Do not make changes to this file unless you know what you are doing--modify
 # the SWIG interface file instead.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libcap-ng-0.6.5/configure.ac new/libcap-ng-0.6.6/configure.ac
--- old/libcap-ng-0.6.5/configure.ac    2010-11-03 18:31:59.000000000 +0100
+++ new/libcap-ng-0.6.6/configure.ac    2011-06-24 22:29:55.000000000 +0200
@@ -29,7 +29,7 @@
 ])
 
 AC_REVISION($Revision: 1.3 $)dnl
-AC_INIT(libcap-ng,0.6.5)
+AC_INIT(libcap-ng,0.6.6)
 AC_PREREQ(2.12)dnl
 AM_CONFIG_HEADER(config.h)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libcap-ng-0.6.5/libcap-ng.spec new/libcap-ng-0.6.6/libcap-ng.spec
--- old/libcap-ng-0.6.5/libcap-ng.spec  2010-11-03 18:31:59.000000000 +0100
+++ new/libcap-ng-0.6.6/libcap-ng.spec  2011-06-24 22:29:55.000000000 +0200
@@ -2,7 +2,7 @@
 
 Summary: An alternate posix capabilities library
 Name: libcap-ng
-Version: 0.6.5
+Version: 0.6.6
 Release: 1
 License: LGPLv2+
 Group: System Environment/Libraries
@@ -111,6 +111,6 @@
 %attr(0644,root,root) %{_mandir}/man8/*
 
 %changelog
-* Wed Nov 03 2010 Steve Grubb <sgr...@redhat.com> 0.6.5-1
+* Fri Jun 24 2011 Steve Grubb <sgr...@redhat.com> 0.6.6-1
 - New upstream release
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libcap-ng-0.6.5/src/captab.h new/libcap-ng-0.6.6/src/captab.h
--- old/libcap-ng-0.6.5/src/captab.h    2010-11-03 18:31:59.000000000 +0100
+++ new/libcap-ng-0.6.6/src/captab.h    2011-06-24 22:29:55.000000000 +0200
@@ -1,5 +1,5 @@
 /* captab.h --
- * Copyright 2009 Red Hat Inc., Durham, North Carolina.
+ * Copyright 2009,2011 Red Hat Inc., Durham, North Carolina.
  * All Rights Reserved.
  *
  * This library is free software; you can redistribute it and/or
@@ -60,4 +60,10 @@
 #ifdef CAP_MAC_ADMIN
 _S(CAP_MAC_ADMIN,              "mac_admin"             )
 #endif
+#ifdef CAP_SYSLOG
+_S(CAP_SYSLOG,                 "syslog"                )
+#endif
+#ifdef CAP_WAKE_ALARM
+_S(CAP_WAKE_ALARM,             "wake_alarm"            )
+#endif
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libcap-ng-0.6.5/src/test/thread_test.c 
new/libcap-ng-0.6.6/src/test/thread_test.c
--- old/libcap-ng-0.6.5/src/test/thread_test.c  2010-11-03 18:31:58.000000000 
+0100
+++ new/libcap-ng-0.6.6/src/test/thread_test.c  2011-06-24 22:29:55.000000000 
+0200
@@ -32,7 +32,7 @@
 #endif
        capng_get_caps_process();
        if (capng_have_capabilities(CAPNG_SELECT_CAPS) != CAPNG_NONE) {
-               printf("Detected capabilities when they should not be any\n");
+               printf("Detected capabilities when there should not be any\n");
                exit(1);
        }
        capng_clear(CAPNG_SELECT_BOTH);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libcap-ng-0.6.5/utils/netcap.c new/libcap-ng-0.6.6/utils/netcap.c
--- old/libcap-ng-0.6.5/utils/netcap.c  2010-11-03 18:31:59.000000000 +0100
+++ new/libcap-ng-0.6.6/utils/netcap.c  2011-06-24 22:29:55.000000000 +0200
@@ -60,7 +60,7 @@
                capng_results_t caps;
                char buf[100];
                char *tmp, cmd[16], state, *text, *bounds;
-               int fd, len, euid;
+               int fd, len, euid = -1;
 
                // Skip non-process dir entries
                if(*ent->d_name<'0' || *ent->d_name>'9')
@@ -162,13 +162,15 @@
                        char line[256], ln[256], *s, *e;
                        unsigned long inode;
                        lnode node;
+                       int len;
 
                        if (ent->d_name[0] == '.')
                                continue;
                        snprintf(ln, 256, "%s/%s", buf, ent->d_name);
-                       if (readlink(ln, line, 255) < 0)
+                       if ((len = readlink(ln, line, sizeof(line)-1)) < 0)
                                continue;
-
+                       line[len] = 0;
+                       
                        // Only look at the socket entries
                        if (memcmp(line, "socket:", 7) == 0) {
                                // Type 1 sockets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libcap-ng-0.6.5/utils/pscap.c new/libcap-ng-0.6.6/utils/pscap.c
--- old/libcap-ng-0.6.5/utils/pscap.c   2010-11-03 18:31:59.000000000 +0100
+++ new/libcap-ng-0.6.6/utils/pscap.c   2011-06-24 22:29:55.000000000 +0200
@@ -69,7 +69,7 @@
                return 1;
        }
        while (( ent = readdir(d) )) {
-               int pid, ppid, uid = -1, euid;
+               int pid, ppid, uid = -1, euid = -1;
                char buf[100];
                char *tmp, cmd[16], state, *name = NULL;
                int fd, len;


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to