Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 246042 Details for
Bug 311641
sys-libs/libcap-ng-0.6.4 released
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libcap-ng-0.6.4-python.patch
libcap-ng-0.6.4-python.patch (text/plain), 2.99 KB, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2010-09-04 21:04:35 UTC
(
hide
)
Description:
libcap-ng-0.6.4-python.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2010-09-04 21:04:35 UTC
Size:
2.99 KB
patch
obsolete
>https://fedorahosted.org/libcap-ng/changeset/9 > >--- bindings/python/Makefile.am >+++ bindings/python/Makefile.am >@@ -29,7 +29,8 @@ > pyexec_PYTHON = capng.py > pyexec_LTLIBRARIES = _capng.la > pyexec_SOLIBRARIES = _capng.so >-_capng_la_LDFLAGS = -module -avoid-version >+_capng_la_CFLAGS = -shared >+_capng_la_LDFLAGS = -module -avoid-version -shared > _capng_la_HEADERS: $(top_builddir)/config.h > _capng_la_DEPENDENCIES =${top_srcdir}/src/cap-ng.h ${top_builddir}/src/libcap-ng.la > nodist__capng_la_SOURCES = capng_wrap.c >--- bindings/python/test/capng-test.py >+++ bindings/python/test/capng-test.py >@@ -10,15 +10,15 @@ > import capng > last = capng.CAP_LAST_CAP > >-print "Doing basic bit tests..." >+print("Doing basic bit tests...") > capng.capng_clear(capng.CAPNG_SELECT_BOTH) > if capng.capng_have_capabilities(capng.CAPNG_SELECT_BOTH) != capng.CAPNG_NONE: >- print "Failed clearing capabilities\n" >+ print("Failed clearing capabilities\n") > sys.exit(1) > > capng.capng_fill(capng.CAPNG_SELECT_BOTH) > if capng.capng_have_capabilities(capng.CAPNG_SELECT_BOTH) != capng.CAPNG_FULL: >- print "Failed filling capabilities" >+ print("Failed filling capabilities") > sys.exit(1) > > text = capng.capng_print_caps_numeric(capng.CAPNG_PRINT_BUFFER, capng.CAPNG_SELECT_CAPS) >@@ -26,42 +26,42 @@ > if len < 80 and last > 30: > last = 30 > >-print "Doing advanced bit tests for %d capabilities...\n" % (last) >+print("Doing advanced bit tests for %d capabilities...\n" % (last)) > for i in range(last+1): > capng.capng_clear(capng.CAPNG_SELECT_BOTH) > rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) > if rc: >- print "Failed update test 1" >+ print("Failed update test 1") > sys.exit(1) > > rc = capng.capng_have_capability(capng.CAPNG_EFFECTIVE, int(i)) > if rc <= capng.CAPNG_NONE: >- print "Failed have capability test 1" >+ print("Failed have capability test 1") > capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS) > sys.exit(1) > > if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS) != capng.CAPNG_PARTIAL: >- print "Failed have capabilities test 1" >+ print("Failed have capabilities test 1") > sys.exit(1) > > capng.capng_fill(capng.CAPNG_SELECT_BOTH) > rc = capng.capng_update(capng.CAPNG_DROP, capng.CAPNG_EFFECTIVE, i) > if rc: >- print "Failed update test 3" >+ print("Failed update test 3") > sys.exit(1) > > if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS)!=capng.CAPNG_PARTIAL: >- print "Failed have capabilities test 3" >+ print("Failed have capabilities test 3") > capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS) > sys.exit(1) > > rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) > if rc: >- print "Failed update test 4" >+ print("Failed update test 4") > sys.exit(1) > > if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS) != capng.CAPNG_FULL: >- print "Failed have capabilities test 4" >+ print("Failed have capabilities test 4") > capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS) > sys.exit(1) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 311641
:
246039
| 246042 |
246044