SHA256
8
0
forked from pool/libcosmos

23 Commits

Author SHA256 Message Date
a5772e76df Accepting request 1255634 from devel:libraries:c_c++
- Add upstream patch to fix build on aarch64:
  * libcosmos-fix-aarch64.patch (forwarded request 1254181 from Guillaume_G)

OBS-URL: https://build.opensuse.org/request/show/1255634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcosmos?expand=0&rev=8
2025-03-25 21:10:27 +00:00
16810c7720 Accepting request 1254181 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Add upstream patch to fix build on aarch64:
  * libcosmos-fix-aarch64.patch

OBS-URL: https://build.opensuse.org/request/show/1254181
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=22
2025-03-24 13:18:19 +00:00
c146a22921 Accepting request 1253007 from devel:libraries:c_c++
- drop no longer needed provides/obsoletes

- update to version 0.4.0:
  This release contains major API additions and harmonization of the API
  modeling. The latter causes breaking changes.
  Bugfixes
  - fix bad value for SignalNr::TERM_STOP.
  - fix inconsistent state in SubProc when child is killed by a signal.
  - fix bugs in the error handling of the pthread API.
  Filesystem
  - added support for access() and faccessat().
  - added support for flock() API.
  - added file locking operations in FileDescriptor.
  - added for asynchronous signal-driven I/O in FileDescriptor.
  - added support for file lease support in FileDescriptor.
  - renamed TYPE_MASK and MODE_MASK enum values to avoid preprocessor macro name clashes on some GCC toolchains (e.g. Ubuntu arm cross toolchain).
  Signals
  - support for sending thread-directed signals.
  - add pause() wrapper.
  - add sigqueue() variant for sending signals.
  - support sigsuspend().
  - full support for asynchronous signal handling via sigaction()
    harmonize process state information by fully wrapping siginfo_t. This type
    is now used in cosmos::proc::wait() as well in asynchronous signal handling
    and cosmos::proc::wait_info() and some other locations. This replaces
    WaitRes, which was only a partial special-purpose wrapper over siginfo_t.
  - added wrapper for sigaltstack().
  Threads
  - use dedicated ThreadID that is distinct from ProcessID.
  ptrace() API

OBS-URL: https://build.opensuse.org/request/show/1253007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcosmos?expand=0&rev=7
2025-03-14 22:52:28 +00:00
d191c4781f - drop no longer needed provides/obsoletes
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=20
2025-03-14 09:18:11 +00:00
ad823f595f OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=19 2025-03-13 13:12:41 +00:00
d312d16772 - update to version 0.4.0:
This release contains major API additions and harmonization of the API
  modeling. The latter causes breaking changes.
  Bugfixes
  - fix bad value for SignalNr::TERM_STOP.
  - fix inconsistent state in SubProc when child is killed by a signal.
  - fix bugs in the error handling of the pthread API.
  Filesystem
  - added support for access() and faccessat().
  - added support for flock() API.
  - added file locking operations in FileDescriptor.
  - added for asynchronous signal-driven I/O in FileDescriptor.
  - added support for file lease support in FileDescriptor.
  - renamed TYPE_MASK and MODE_MASK enum values to avoid preprocessor macro name clashes on some GCC toolchains (e.g. Ubuntu arm cross toolchain).
  Signals
  - support for sending thread-directed signals.
  - add pause() wrapper.
  - add sigqueue() variant for sending signals.
  - support sigsuspend().
  - full support for asynchronous signal handling via sigaction()
    harmonize process state information by fully wrapping siginfo_t. This type
    is now used in cosmos::proc::wait() as well in asynchronous signal handling
    and cosmos::proc::wait_info() and some other locations. This replaces
    WaitRes, which was only a partial special-purpose wrapper over siginfo_t.
  - added wrapper for sigaltstack().
  Threads
  - use dedicated ThreadID that is distinct from ProcessID.
  ptrace() API
  - basic wrapper around the ptrace() ioctl like call
    more advanced type safe class Tracee which covers the individual ptrace requests in a type safe way

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=18
2025-03-12 10:30:11 +00:00
d2814713ce Accepting request 1191875 from devel:libraries:c_c++
- Setup obsoletes/provides to cover the renaming of the library SONAME. 

- update to first source tarball release v0.3.1. Drop git SCM service.

- change library package name from libcosmos-0_2_0 to libcosmos-0, because it
  needs to follow the library's SONAME which is libcosmos.so.0. 

- Update to version 0.2.1+gitcb2663e:
  * buildsystem: fix bug in passing multiple parameters via CXXFLAGS & friends
  * test/thread.cxx: fix potential race condition in isCallerThread()
  * buildsystem: passthrough ASAN_OPTIONS
  * tests: on unit test error cat logfile to stderr
  * bump lib version which now contains memory mapping API
  * github action: disable ODR iolation checks in unit tests in sanitizer build
  * README.md: add info about recent developments
  * check.py: support more fine tuning regarding which configs are built
  * tests: mman: disable core dumping for expected SEGFAULT
  * check.py: use dedicated buildroot that is cleaned before each config
  * LinkLayerAddress: make some exotic protocols optional
  * support older toolchains and non-x86 architectures better
  * buildsystem.py: be prepared for TERM not existing
  * buildsystem.py: satisfy flake8 "missing whitespace after comma"
  * check.py: refer to current HEAD, not to master
  * .github: add github action workflow file
  * global: fix spelling errors in comments and documentation
  * mman.hxx: fix doxygen list item indentation
  * README: remove mention of memory mappings, which are available by now
  * addrinfo test: switch UDP resolve from http to tftp
  * feature: add support for memory mapping functionality
  * FileBase: add runcate() member function

OBS-URL: https://build.opensuse.org/request/show/1191875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcosmos?expand=0&rev=6
2024-08-08 08:57:16 +00:00
7a3459800f - Setup obsoletes/provides to cover the renaming of the library SONAME.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=16
2024-08-06 13:00:01 +00:00
0d618ffb58 - update to first source tarball release v0.3.1. Drop git SCM service.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=15
2024-08-06 11:46:17 +00:00
78edede4de - change library package name from libcosmos-0_2_0 to libcosmos-0, because it
needs to follow the library's SONAME which is libcosmos.so.0. 

- Update to version 0.2.1+gitcb2663e:
  * buildsystem: fix bug in passing multiple parameters via CXXFLAGS & friends
  * test/thread.cxx: fix potential race condition in isCallerThread()
  * buildsystem: passthrough ASAN_OPTIONS
  * tests: on unit test error cat logfile to stderr
  * bump lib version which now contains memory mapping API
  * github action: disable ODR iolation checks in unit tests in sanitizer build
  * README.md: add info about recent developments
  * check.py: support more fine tuning regarding which configs are built
  * tests: mman: disable core dumping for expected SEGFAULT
  * check.py: use dedicated buildroot that is cleaned before each config
  * LinkLayerAddress: make some exotic protocols optional
  * support older toolchains and non-x86 architectures better
  * buildsystem.py: be prepared for TERM not existing
  * buildsystem.py: satisfy flake8 "missing whitespace after comma"
  * check.py: refer to current HEAD, not to master
  * .github: add github action workflow file
  * global: fix spelling errors in comments and documentation
  * mman.hxx: fix doxygen list item indentation
  * README: remove mention of memory mappings, which are available by now
  * addrinfo test: switch UDP resolve from http to tftp
  * feature: add support for memory mapping functionality
  * FileBase: add runcate() member function
  * FileDescriptor: provide default constructor to avoid initialization issues
  * thread: ignore destroy_res explicitly for NDEBUG builds
  * buildsystem: support NDEBUG build
  * buildsystem: support non standard compilers

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=14
2024-07-24 08:32:24 +00:00
f1c50cf8f4 Accepting request 1155512 from devel:libraries:c_c++
- Update to version 0.2.0+gita8e6f94:
  * GroupInfo: fix system include style
  * global: use angle bracket includes for libcosmos
  * string.hxx: add wide-string variant for to_lower(), to_upper()
  * string.hxx. support wide string strip() operation
  * byte_order: add default constructor for EndianNumber
- this fixes a broken -debugsource package generation

OBS-URL: https://build.opensuse.org/request/show/1155512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcosmos?expand=0&rev=5
2024-03-06 22:05:56 +00:00
b4d2ca857a - Update to version 0.2.0+gita8e6f94:
* GroupInfo: fix system include style
  * global: use angle bracket includes for libcosmos
  * string.hxx: add wide-string variant for to_lower(), to_upper()
  * string.hxx. support wide string strip() operation
  * byte_order: add default constructor for EndianNumber
- this fixes a broken -debugsource package generation

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=12
2024-03-06 09:50:07 +00:00
13124eda9e Accepting request 1148686 from devel:libraries:c_c++
- Update to version 0.2.0+gitff219ee:
  * ILogger: support a prefix() to be added to each log message
  * ILogger: use more robust way to detect std::cout and std::cerr
  * trivial: SocketAddress: remove superfluous slash in comment

OBS-URL: https://build.opensuse.org/request/show/1148686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcosmos?expand=0&rev=4
2024-02-21 17:01:14 +00:00
64fe88404a - Update to version 0.2.0+gitff219ee:
* ILogger: support a prefix() to be added to each log message
  * ILogger: use more robust way to detect std::cout and std::cerr
  * trivial: SocketAddress: remove superfluous slash in comment

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=10
2024-02-21 12:22:58 +00:00
1c5f4aceb8 Accepting request 1147055 from devel:libraries:c_c++
- Update to version 0.2.0+git7f2b8ee:
  * formatting: export another definition missing on 32-bit archs
  * scripts: use single quotes throughout
  * check.py: build all targets
  * buildsystem: support disabling doc build
  * check.py: select proper root directory for non-libcosmos projects
  * buildsystem: use single quotes throughout
  * buildsystem: use -fdiagnostics-color=auto instead of colorgcc wrapper
  * python files: incorporate Flake8 findings
  * check.py: also fun flake8 on Python files
  * buildsystem: support including local libraries with fallback to system pkg
  * PosixThread: fix race condition in setting m_pthread
  * buildsystem: support configuring default library type for project

- Update to version 0.2.0+git33d893b:
  * buildsystem: support transparent use of local lib or system lib

OBS-URL: https://build.opensuse.org/request/show/1147055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcosmos?expand=0&rev=3
2024-02-16 20:42:41 +00:00
542a3b33c7 - Update to version 0.2.0+git7f2b8ee:
* formatting: export another definition missing on 32-bit archs
  * scripts: use single quotes throughout
  * check.py: build all targets
  * buildsystem: support disabling doc build
  * check.py: select proper root directory for non-libcosmos projects
  * buildsystem: use single quotes throughout
  * buildsystem: use -fdiagnostics-color=auto instead of colorgcc wrapper
  * python files: incorporate Flake8 findings
  * check.py: also fun flake8 on Python files
  * buildsystem: support including local libraries with fallback to system pkg
  * PosixThread: fix race condition in setting m_pthread
  * buildsystem: support configuring default library type for project

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=8
2024-02-16 09:40:54 +00:00
db757d4b4d properly update tarball
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=7
2024-02-13 10:12:33 +00:00
2e23f0ec4d - Update to version 0.2.0+git33d893b:
* buildsystem: support transparent use of local lib or system lib
- use manual mode for service
- use clearer version format for tarball

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=6
2024-02-13 09:36:45 +00:00
3d74b697d8 Accepting request 1146102 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1146102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcosmos?expand=0&rev=2
2024-02-12 17:53:04 +00:00
57b9685d0a - Update to version c4e5e5e:
* SecretFile: fix compilation path where SYS_memfd_secret is not defined

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=4
2024-02-05 08:42:09 +00:00
3eb9dab11a Accepting request 1143580 from devel:libraries:c_c++
I'd like to add this new library to Factory.

OBS-URL: https://build.opensuse.org/request/show/1143580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcosmos?expand=0&rev=1
2024-02-02 14:47:36 +00:00
8f16499f2b - Update to version b459a4d:
* check: also build 32-bit configurations
  * FileDescriptor: fix fcntl(F_DUPFD_CLOEXEC) API
  * tests: formatting: use proper format string (triggers warning on 32-bit)
  * formatting: properly instantiate on 32-bit machines
  * buildsystem: support LDFLAGS extension
  * buildsystem: ensure we get a 64-bit off_t on Linux even on 32-bit machines
  * clone: fix cast of pidfd pointer for 32-bit platforms
  * DirEntry: use off_t for DirPos

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=2
2024-02-02 08:42:59 +00:00
548f4cbc4f Accepting request 1143051 from home:mgerstner
I'd like to get a devel project for this library

OBS-URL: https://build.opensuse.org/request/show/1143051
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcosmos?expand=0&rev=1
2024-01-31 14:58:57 +00:00