Commit Graph

76 Commits

Author SHA256 Message Date
Richard Brown
1942a9febe Accepting request 922320 from Base:System
OBS-URL: https://build.opensuse.org/request/show/922320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=48
2021-10-08 20:04:30 +00:00
f932419bea Accepting request 921983 from home:polslinux:branches:Base:System
- update to 2.59:
  * Fixed a potential libcap memory leak by adding a destructor
  * Major improvement is that there is a path for Linux-PAM compliant
    applications to support setting Ambient vector Capabilities via pam_cap.so now
  * Added libcap cap_proc_root() API function
  * Added color support to captree
  * Fixed contrib/sucap/su to correctly handle the Inheritable flag
  * capsh enhancements
  * getcap -r / now generates readable output
  * The shared library objects: pam_cap.so, libcap.so and libpsx.so, are all now
    runnable as standalone binaries
  * The module pam_cap.so now contains support for a default=<IAB> module argument
  * Enhanced capsh --suggest to also compare against the capability value names
    and not just their descriptions
  * Added capsh --current support
  * Added a contrib/sucap/su.c pure-capabilities PAM implementation of su
  * Fix for a corner case infinite loop handling long strings
  * Added libcap cap_iab_compare() and cap_iab_get_pid() APIs
  * Added a Go utility, captree, to display the process (and thread) graph along with
    the POSIX.1e and IAB capabilities of each PID{TID} tree.

OBS-URL: https://build.opensuse.org/request/show/921983
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=64
2021-09-30 08:46:24 +00:00
Dominique Leuenberger
275d75d2fe Accepting request 906773 from Base:System
- update to 2.51:
  * Fix capsh installation
  * Add an autoauth module flag to pam_cap.so
  * Unified libcap/cap (Go) and libcap (C) default generation of external format binary data
  * API enhancement cap_fill() and (*cap.Set).Fill() - to permit copying one
    capability flag to another.
  * --explain=cap_foo: describe what cap_foo does
  * --suggest=phrase: search all the cap descriptions and describe those that match the phrase
  * Add "keepcaps" module argument support to pam_cap.so (reported by Zoltan Fridrich. Bug 212945)
  * extend libcap to include cap_prctl() and cap_prctlw() functions to regain
    feature parity with Go "cap" package. These are only needed when linking
    against -lpsx for keepcaps POSIX semantics.
  * this likely requires substantial application changes to make Ambient
    capability support usable in general, but doing our part for the admin.
  * Add a test case for recent kernel fix
  * Go pragma fix for convenience functions in "cap" module

OBS-URL: https://build.opensuse.org/request/show/906773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=47
2021-07-21 17:05:29 +00:00
5f59917f96 - update to 2.51:
* Fix capsh installation
  * Add an autoauth module flag to pam_cap.so
  * Unified libcap/cap (Go) and libcap (C) default generation of external format binary data
  * API enhancement cap_fill() and (*cap.Set).Fill() - to permit copying one
    capability flag to another.
  * --explain=cap_foo: describe what cap_foo does
  * --suggest=phrase: search all the cap descriptions and describe those that match the phrase
  * Add "keepcaps" module argument support to pam_cap.so (reported by Zoltan Fridrich. Bug 212945)
  * extend libcap to include cap_prctl() and cap_prctlw() functions to regain
    feature parity with Go "cap" package. These are only needed when linking
    against -lpsx for keepcaps POSIX semantics.
  * this likely requires substantial application changes to make Ambient
    capability support usable in general, but doing our part for the admin.
  * Add a test case for recent kernel fix
  * Go pragma fix for convenience functions in "cap" module

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=63
2021-07-17 06:36:52 +00:00
Dominique Leuenberger
d35f78de7e Accepting request 896907 from Base:System
OBS-URL: https://build.opensuse.org/request/show/896907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=46
2021-06-05 21:31:14 +00:00
687522c9a0 Accepting request 896875 from home:cgiboudeaux:branches:Base:System
- Fix a broken symlink. libcap-devel installs libpsx.so but
  didn't install the library it's pointing to.

OBS-URL: https://build.opensuse.org/request/show/896875
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=61
2021-06-02 11:43:33 +00:00
Dominique Leuenberger
50efae11fc Accepting request 886057 from Base:System
OBS-URL: https://build.opensuse.org/request/show/886057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=45
2021-04-19 19:05:45 +00:00
65df6bfa1d Accepting request 886056 from home:tiwai:branches:Base:System
- Add explicit dependency on libcap2 with version to libcap-progs
  (bsc#1184690)

OBS-URL: https://build.opensuse.org/request/show/886056
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=59
2021-04-16 14:38:53 +00:00
Richard Brown
de9c77f605 Accepting request 880541 from Base:System
- update to 2.49:
  * Implement cap_func_launcher() and cap.FuncLauncher().
  * More robust "psx" redirection for nocgo compilation - the documentation for
    the cgo implementation is now included in the nocgo one because the go.dev
    automated documentation builds the docs from the nocgo version.
  * Lots of documentation cleanups and added a few man pages: for IAB and
    Launching.
  * Some general no-op License changes that might cause folk to notice but only
    for formatting reasons. These were initially inspired by some lawyerly
    interactions, but I ended up rolling back half of them because they
    confused automated software infrastructure.

OBS-URL: https://build.opensuse.org/request/show/880541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=44
2021-04-06 15:28:40 +00:00
af2d1522ed - update to 2.49:
* Implement cap_func_launcher() and cap.FuncLauncher().
  * More robust "psx" redirection for nocgo compilation - the documentation for
    the cgo implementation is now included in the nocgo one because the go.dev
    automated documentation builds the docs from the nocgo version.
  * Lots of documentation cleanups and added a few man pages: for IAB and
    Launching.
  * Some general no-op License changes that might cause folk to notice but only
    for formatting reasons. These were initially inspired by some lawyerly
    interactions, but I ended up rolling back half of them because they
    confused automated software infrastructure.

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=57
2021-03-22 15:38:43 +00:00
Dominique Leuenberger
3e024ea9d1 Accepting request 870717 from Base:System
- update to 2.48:
  * More uniform use of $(MAKE) in Makefiles
  * No longer include symlinks in the git tree 
  * Provide support for make GOLANG=no ...
  * Provide support for pointing at a specific build of the go binary
  * camelCase the contrib/seccomp/explore.go program
  * A number of documentation fixes to man pages and source code comments
  * Last use of GO major version 0

OBS-URL: https://build.opensuse.org/request/show/870717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=43
2021-02-16 21:34:57 +00:00
eae0ad6ed8 - update to 2.48:
* More uniform use of $(MAKE) in Makefiles
  * No longer include symlinks in the git tree 
  * Provide support for make GOLANG=no ...
  * Provide support for pointing at a specific build of the go binary
  * camelCase the contrib/seccomp/explore.go program
  * A number of documentation fixes to man pages and source code comments
  * Last use of GO major version 0

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=55
2021-02-09 23:18:04 +00:00
Dominique Leuenberger
c6cf95028a Accepting request 867074 from Base:System
- update to 2.47:
  * Restructured gowns to default to uid base of getuid().
  * Augment NOPRIV libcap mode with the sticky NO_NEW_PRIVS prctl bit.
  * Improve the usage and diagnostic message for setcap
  * Documentation fixes, license declarations, example updates

OBS-URL: https://build.opensuse.org/request/show/867074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=42
2021-02-07 14:13:35 +00:00
b830e8a6f7 - update to 2.47:
* Restructured gowns to default to uid base of getuid().
  * Augment NOPRIV libcap mode with the sticky NO_NEW_PRIVS prctl bit.
  * Improve the usage and diagnostic message for setcap
  * Documentation fixes, license declarations, example updates

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=53
2021-01-27 07:55:14 +00:00
Dominique Leuenberger
472cc35d39 Accepting request 860344 from Base:System
- update to 2.46:
  * The bulk of this release concerns fixes and improvements to libpsx
  * Fix the capsh == argument handling and add a test case 
  * Added build support for systems that do not support libpthread
  * Added build support for not building shared libraries

OBS-URL: https://build.opensuse.org/request/show/860344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=41
2021-01-22 20:48:50 +00:00
2d43221364 OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=51 2021-01-04 21:48:19 +00:00
cdf0d9ed10 OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=50 2021-01-04 21:24:07 +00:00
2db9681bdf - add 0001-Improve-the-usage-and-diagnostic-message-for-setcap.patch
0002-No-longer-need-the-Go-build-tag-allthreadssyscall.patch
  0003-Minor-fixes-for-cap-package-documentation.patch
  0004-checkpoint.patch
  0005-Clean-up-the-exit-status-to-match-other-binaries.patch
  0006-People-keep-emailing-me-about-the-license-for-libcap.patch
  0007-Augment-NOPRIV-libcap-mode-with-the-sticky-NO_NEW_PR.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=49
2021-01-04 19:31:04 +00:00
60c579967a - update to 2.46:
* The bulk of this release concerns fixes and improvements to libpsx
  * Fix the capsh == argument handling and add a test case 
  * Added build support for systems that do not support libpthread
  * Added build support for not building shared libraries

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=48
2021-01-04 08:49:00 +00:00
Dominique Leuenberger
bec88c9ccd Accepting request 853758 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/853758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=40
2020-12-21 09:21:46 +00:00
80cf1e65e7 - update to 2.44:
Generally, this is a release to help package builders: no functional change
  to any of the generated code just documentation and make related fixes.

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=46
2020-11-16 08:56:29 +00:00
a5d442790b OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=45 2020-11-15 16:29:28 +00:00
37271ea66e OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=44 2020-11-15 16:29:16 +00:00
94f4e5b306 OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=43 2020-11-15 11:39:13 +00:00
4521466958 - update to 2.45:
* Fix the capsh == argument handling and add a test case - bug#209873 (report by Marcus Gelderie)
  * Add support for libpsx.so building - bug#206093
  * Added build support for systems that do not support libpthread (make PTHREADS=no ...)  - bug#209875 (requested by Heiko Thiery)
  * Recent golang builds (pre-release) default to ignoring GOPATH, so adjust the in-tree building to override this explicitly with GO111MODULE=off
  * Go package document updates since golang 1.15 is released.

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=42
2020-11-15 11:34:55 +00:00
Dominique Leuenberger
ff709d260a Accepting request 831514 from Base:System
- update to 2.43
  * Linus' kernel tree defines CAP_CHECKPOINT_RESTORE (40) so support it.
  * Fix the creation of the $(FAKEROOT)$(LIBDIR) for split install targets
  * Clean up a binary from the distribution
  * Added some more release time checks for non-git tracked files.
  * Fix a deadlock in libpsx that surfaced with a set of compiler optimizations by removing the psx wrapping harder.

OBS-URL: https://build.opensuse.org/request/show/831514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=39
2020-09-08 20:55:13 +00:00
126a1904a0 - update to 2.43
* Linus' kernel tree defines CAP_CHECKPOINT_RESTORE (40) so support it.
  * Fix the creation of the $(FAKEROOT)$(LIBDIR) for split install targets
  * Clean up a binary from the distribution
  * Added some more release time checks for non-git tracked files.
  * Fix a deadlock in libpsx that surfaced with a set of compiler optimizations by removing the psx wrapping harder.

OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=40
2020-09-02 18:43:34 +00:00
Dominique Leuenberger
b360759d90 Accepting request 825941 from Base:System
- Update to version 2.42:
  * Closed a potential issue with "libcap/psx" Go package and errno
  * Documentation updates
  * Minor optimization for cap_to_text() and (*cap.Set).String()
  * Discovered and added a missing function (*cap.Set).SetNSOwner() to achieve parity with libcap
  * Multiple fixes
  * Support Go module abstraction
  * A new kernel capability: CAP_BPF
  * Better support for cross-compilation
  * pam_cap now honors PAM_REINITIALIZE_CRED
  * implements cap_launch functionality

OBS-URL: https://build.opensuse.org/request/show/825941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=38
2020-08-17 09:59:59 +00:00
4adeb8ae2b Fix Copyright notice
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=38
2020-08-11 10:37:27 +00:00
93ba93e93c Update to 2.42 again but without submitting to FACTORY yet
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=37
2020-08-11 10:36:09 +00:00
2bb24dcaa3 Revert to the old good-working 2.32, as it breaks some other programs (bsc#1175076)
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=36
2020-08-11 10:19:52 +00:00
6cbcd0744a Accepting request 824647 from home:polslinux:branches:Base:System
- Update to version 2.42:
  * Closed a potential issue with "libcap/psx" Go package and errno
  * Documentation updates
  * Minor optimization for cap_to_text() and (*cap.Set).String()
  * Discovered and added a missing function (*cap.Set).SetNSOwner() to achieve parity with libcap
  * Multiple fixes
  * Support Go module abstraction
  * A new kernel capability: CAP_BPF
  * Better support for cross-compilation
  * pam_cap now honors PAM_REINITIALIZE_CRED
  * implements cap_launch functionality

OBS-URL: https://build.opensuse.org/request/show/824647
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=35
2020-08-10 16:17:11 +00:00
Dominique Leuenberger
2e56d93182 Accepting request 774610 from Base:System
OBS-URL: https://build.opensuse.org/request/show/774610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=37
2020-02-21 15:39:22 +00:00
cb7c5564db Accepting request 774608 from home:tiwai:branches:Base:System
- Update to version 2.32:
  * Bug fix for fakeroot incompatibility (boo#1162014)
  * Slight perf improvement for cap_get_bound().
  * C++ support for psx header inclusion.
  * Some new testing features for capsh

- Update to version 2.31:
  * primarily a documentation update
  * fix libpam.pc to not require libpsx.pc
  * changed the text format of the default output of getpcap

OBS-URL: https://build.opensuse.org/request/show/774608
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=33
2020-02-15 20:39:18 +00:00
2e95b104fc Accepting request 763961 from home:pluskalm:branches:Base:System
- Build using -ffat-lto-objects for static library

OBS-URL: https://build.opensuse.org/request/show/763961
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=32
2020-01-13 13:18:27 +00:00
6da5c4781b Accepting request 762391 from home:pluskalm:branches:Base:System
- Update to version 2.30:
  * BUGFIX: arm and i386 fixes C and Go setgroups choice - used
    wrong syscall in 2.29.
  * cleaned up make clean and make install to actually work as
    intended
  * updated Gentoo libpsx.pc file from Lars Wendler
  * refactored the way libpsx linkage with libcap performed mutual
    discovery.
  * Previously (2.28) libpsx had an API call overridden by libcap
    using weak linkage function in libpsx. In 2.30 this is reversed,
    namely libpsx provides the stronger function and libcap has a
    weak "no-op" version.
  * a bit more consistency in handling the 'all' sets in libcap
    (C) and libcap/cap (Go). Namely, they both dynamically discover
    the number of capabilities named by the kernel and use this as
    the definition of 'all' for the current runtime.
    + libcap (C) exports cap_max_bit() to export the number of
      supported capabilities
    + libcap/cap (Go) exports cap.MaxBits() for this same value.
- For changes for older releases see:
  * https://sites.google.com/site/fullycapable/release-notes-for-libcap
- Add glibc-static-devel as build requirement as tests need it
- Install libpsx.a as it seems to be needed in some cases:
  * https://bugs.gentoo.org/703912

OBS-URL: https://build.opensuse.org/request/show/762391
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=31
2020-01-10 16:37:07 +00:00
Dominique Leuenberger
e1e2bf50e0 Accepting request 757384 from Base:System
OBS-URL: https://build.opensuse.org/request/show/757384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=36
2019-12-21 11:40:31 +00:00
31075c8cee Accepting request 757364 from home:mgerstner:branches:Base:System
- Remove pam_cap (bsc#1150522) since this PAM module is a bad idea, security
  wise.

OBS-URL: https://build.opensuse.org/request/show/757364
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=29
2019-12-16 16:09:25 +00:00
Dominique Leuenberger
097dd2e8f9 Accepting request 580150 from Base:System
OBS-URL: https://build.opensuse.org/request/show/580150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=35
2018-02-28 18:55:15 +00:00
1b34ec62c5 Accepting request 580094 from home:favogt:licensetag
Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580094
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=27
2018-02-26 09:45:49 +00:00
Dominique Leuenberger
cca9766ee7 Accepting request 453788 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/453788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=34
2017-02-05 14:45:15 +00:00
a1a6bd025e Accepting request 453673 from home:matwey:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/453673
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=25
2017-02-01 11:00:58 +00:00
Dominique Leuenberger
8a786f808e Accepting request 448456 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/448456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=33
2017-01-19 09:33:40 +00:00
8af9f9938f Accepting request 448399 from home:jengelh:branches:Base:System
- RPM group association fix

OBS-URL: https://build.opensuse.org/request/show/448399
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=23
2017-01-02 08:55:28 +00:00
Dominique Leuenberger
211b2e8db1 Accepting request 423834 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/423834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=32
2016-09-05 19:10:54 +00:00
b686ff0d84 Accepting request 423725 from home:dimstar:Factory
Update to version 2.25 - NOTE: GNOME 3.22 requires at least version 2.23, TW currenly has 2.22; as we need to care for an update anyway, we bumped to 2.25 (current latest)

OBS-URL: https://build.opensuse.org/request/show/423725
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=21
2016-08-30 13:33:41 +00:00
7ca155fc10 Accepting request 285938 from home:posophe:branches:Base:System
Update and fix

OBS-URL: https://build.opensuse.org/request/show/285938
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=20
2015-02-16 08:13:36 +00:00
Stephan Kulow
42a93b02d4 Accepting request 238159 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/238159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=30
2014-06-24 13:15:42 +00:00
c3c6c92bf0 Accepting request 238088 from home:elvigia:branches:Base:System
- libcap-nolibattr.patch Do not link to libattr, it is 
  a bogus dependency. application uses sys/xattr from libc.

OBS-URL: https://build.opensuse.org/request/show/238088
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=18
2014-06-20 12:37:23 +00:00
Stephan Kulow
d025d2d761 Accepting request 157659 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/157659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=28
2013-03-08 20:15:37 +00:00