c-toxcore/c-toxcore.spec

182 lines
6.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package c-toxcore
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 640683 from home:EGDFree:branches:server:messaging - update to 0.2.8 * #1224 Avoid use of IPv6 in tests if not supported (e.g. on Travis). * #1216 Fix memleak in tcp server by wiping priority queues on deletion * #1212 Fix logger level defaulting to TRACE in CMake * #1208 Remove a function-like macro and replace it with a function. * #1205 Use a working DHT node for bootstrap tests. * #1203 Revert "Improve cmake build for MSVC." * #1202 Reset onion search rate for a friend when we see evidence that they are online * #1199 Run tests on Appveyor (Windows native build). * #1198 Add Cirrus CI configuration. * #1197 Use new @pthread library from toktok-stack for Windows compat. * #1196 Run UBSAN (undefined behaviour sanitizer) on Circle CI. * #1195 Fix using uninitialized mutex on call end * #1192 Send rejoin packets on conference disconnection * #1191 Improve cmake build for MSVC * #1188 Fix yamllint test (it's gone from bazel, add a new one). * #1187 Fix typos in comments and log and test assertion messages. * #1165 Fixed a silly boolean practice using uint8_t * #1164 Format yaml files according to yamllint's requirements and remove branch filter for appveyor. * #1161 Use most recent version of Bazel (0.17.1). * #1158 Use C++ style casts in C++ code. * #1157 Use run_auto_test fixture in typing_test.c * #1155 Standardise header guards. * #1154 Assert that we don't kill tox before killing toxav. * #1153 Always use the passed logger (from Messenger) in msi_kill. * #1151 Fix typo: tcp_replays -> tcp_relays. * #1150 Use (void) for empty parameter lists in C. * #1147 Ignore "unused-result" warning in super_donators code. * #1145 Fix login issue on Travis-CI FreeBSD build * #1141 Include necessary opencv2 header on OSX. * #1140 Clean up add_to_list function a bit. * #1139 Avoid recursion in ip_is_lan and ip_is_local. * #1138 Add tool to find directly recursive calls in toxcore. * #1136 Remove the use of CLOCK_MONOTONIC_RAW. * #1135 Avoid use of global mutable state in mono_time on win32. * #1134 Use code font for tool names and flags in INSTALL.md. * #1126 Simplify configure.ac for faster autotools build. * #1095 Use test clock in run_auto_test tests and dht test * #1069 Add mechanism for recovering from disconnections in conferences * #1046 Finish the messenger state plugin system * #895 Feature bootstrap trace/debug log output * #1201 Windows cross-compilation is broken * #961 Can't send messages in persistent group chat * #960 Persistent groups don't work properly when using toxync bot * #838 How to get groupchat identifier? OBS-URL: https://build.opensuse.org/request/show/640683 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=25
2018-10-09 09:25:21 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Accepting request 589587 from home:ecsos:messenger:tox - update to 0.2.1 * Merged PRs: - #837 Update version to 0.2.1. - #833 Add missing tox_nospam_size() function - #832 Don't set RTP_LARGE_FRAME on rtp audio packets - #831 Don't throw away rtp packets from old Toxcore - #828 Make file transfers 50% faster. - changes from 0.2.0 * Merged PRs: - #821 Remove deprecated conference namelist change callback. - #820 Fix auto_tests to stop using the deprecated conference API. - #819 Change default username to empty string - #818 Change README to talk about cmake instead of autoreconf. - #817 Fix warning on Mac OS X and FreeBSD. - #815 Some minor cleanups suggested by cppcheck. - #814 Fix memory leak of Logger instance on error paths. - #813 Minor cleanups: dead stores and avoiding complex macros. - #808 Fix a bunch of compiler warnings and remove suppressions. - #807 Link all tests to the android cpufeatures library if available. - #806 Fix toxcore.pc generation. - #805 Add an option that allows us to specify that we require toxav. - #804 Fix OSX tests: find(1) doesn't work like on Linux. - #803 Fix the windows build: pthread needs to be linked after vpx. - #800 Make group number in the toxav public API uint32_t - #799 Implement the "persistent conference" callback changes as new functions. - #798 Add deprecation notices to functions that will go away in v0.3.0. - #796 Make some sizeof tests linux-only. - #794 Remove apidsl from the build. - #793 Add a bazel test that ensures all our projects are GPL-3.0. - #792 Increase range of ports available to Toxes during tests - #791 Run all tests in parallel on Travis. - #790 Disable lan discovery in most tests. - #789 Remove tox_test from autotools build. - #788 Don't print trace level logging in tests. - #787 Split up tox_test into multiple smaller tests - #783 Send 0 as peer number in CHANGE_OCCURRED group event. - #782 Use const more in C code. - #781 Don't build all the small sub-libraries. - #780 Get rid of the only GNU extension we used. - #779 Remove leftover symmetric key from DHT struct. - #778 Add static asserts for all the struct sizes in toxcore. - #776 Optionally use newer cmake features. - #774 Improve gtest finding, support local checkout. - #773 Add gtest include directory to -I flags if found. - #772 Reject discovery packets coming from outside the "LAN". - #771 Adopt the "change occurred" API change from isotoxin-groupchat. - #770 Add MSVC compilation instructions - #767 Build toxcore with libsodium.dll instead of libsodium.lib. - #766 Remove libcheck from the dependencies. - #764 Fix LAN discovery on FreeBSD. - #760 Make cmake script more forgiving. - #759 Use more ubuntu packages; remove hstox for now. - #757 Improve stability of crypto_memcmp test. - #756 Format .cpp files with format-source. - #755 Add some unit tests for util.h. - #754 Move the tox_sync tool to the toxins repository. - #753 Move irc_syncbot to the toxins repository. - #752 Move tox_shell program to the toxins repository. - #751 Use the markdown GPLv3 license in the c-toxcore repo. - #750 Remove csrc from the RTPHeader struct. - #748 Revert "Add correction message type" - #745 Change the "capabilities" field to a "flags" field. - #742 Improve conference test stability. - #741 Add -D__STDC_LIMIT_MACROS=1 for C++ code. - #739 Add RTP header fields for the full frame length and offset. - #737 Use nullptr as NULL pointer constant instead of NULL or 0. - #736 Avoid clashes with "build" directories on case-insensitive file systems. - #734 Make audio/video bit rates "properties" - #733 Fix link in README.md - #730 Fix out of bounds read in error case in messenger_test. - #729 Remove dead return statement. - #728 Disable the autotools build in PR builds. - #727 Rename some rtp header struct members to be clearer. - #725 Publish a single public BUILD target for c-toxcore. - #723 Use <stdlib.h> for alloca on FreeBSD. - #722 Use self-built portaudio instead of system-provided. - #721 Manually serialise RTPHeader struct instead of memcpy. - #718 Improve sending of large video frames in toxav. - #716 Add comment from #629 in ring_buffer.c. - #714 Make BUILD files more finely-grained. - #713 Add BUILD files for all the little tools in the repo. - #711 Make the monolith test a C++ binary. - #710 Don't allocate or dereference Tox_Options in tests. - #709 Remove nTox from the repo. - #708 Add testing/*.c (except av_test) to bazel build. - #707 Fix log message in simple_conference_test: invite -> message. - #703 Add a simple conference test with 3 friends. - #701 Add astyle to Circle CI build. - #700 Use more descriptive names in bwcontroller. - #699 Add some explanatory comments to the toxav audio code. - #698 Extract named constants from magic numbers in toxav/audio.c. - #697 Use C99 standard in bazel builds. - #694 Add bazel build scripts for c-toxcore. - #693 Make libcheck optional for windows builds. - #691 Don't install packages needlessly on Travis - #690 Run fewer Travis jobs during Pull Requests. - #689 Make Net_Crypto a module-private type. - #688 Make DHT a module-private type. - #687 Use apidsl to generate LAN_discovery.h. - #686 Remove hstox test for now. - #685 Add message type for correction - #684 Add random_u16 function and rename the others to match. - #682 Use larger arrays in crypto timing tests. - #681 Fix some memory or file descriptor leaks in test code. - #680 Filter out annoying log statements in unit tests. - #679 Use apidsl to generate ping.h. - #678 Sort monolith.h according to ls(1): uppercase first. - #677 Make pack/unpack_ip_port public DHT functions. - #675 Make Onion_Announce a module-private type. - #674 Make TCP_Client_Connection a module-private type. - #673 Move TCP_Secure_Connection from .h to .c file. - #672 Make Friend_Connections a module-private type. - #670 Make Friend_Requests a module-private type. - #669 Make Onion_Client a module-private type. - #668 Make Ping_Array a module-private type. - #667 pkg-config .pc files: added .private versions of Libs and Required - #665 Remove useless if statement - #662 Move Networking_Core struct into the .c file. - #661 Disable asan, since it seems to break on travis. - #660 Increase test retries to 10 (basically infinite). - #659 Fix formatting in some C files. - #658 Call freeaddrinfo on error paths in net_getipport. - #657 Zero-initialise stack-allocated objects in hstox driver. - #656 Fix file descriptor leak in hstox test. - #652 Add support for building the monolith test on android. - #650 Remove deprecated ToxDNS - #648 Make hstox compile on FreeBSD - #624 Update rpm spec and use variables in cmake instead of hardcoded paths - #616 Add projects link to Readme. - #613 Fix travis - #605 Fix OS X Travis. - #598 Fix typos in docs - #578 Split toxav_bit_rate_set() into two functions to hold the maximum bitrates libvpx supports - #477 Update install instructions to use CMake - #465 Add Alpine linux Dockerfile in addition to the existing Debian one - #442 Generate only one large library "libtoxcore". - #334 Change toxencryptsave API to never overwrite pass keys. * Closed issues: - #704 Add CORRECTION support to group chats - #620 Video bug: large video frames are not sent correctly - #606 groupId is int whereas friendId is uint32_t, reason? - #572 int32_t may be not large enough as a argument for video_bit_rate of vp8/9 codec - #566 LAYER #: modules for static linking - build issue - #42 Remove ToxDNS and related stuff from toxcore - rename from toxcore to c-toxcore - update to 0.1.11 * Merged PRs: - #643 Add .editorconfig - #637 Update tox-bootstrapd Dockerfile - #635 Separate FreeBSD Travis build in 2 stages - #632 Lift libconfig to v1.7.1 - #631 Add aspcud for Opam - #630 Fix for Travis fail on addr_resolve testing - #623 Split video payload into multiple RTP messages when too big to fit into one - #615 forget DHT pubkey of offline friend after DHT timeout - #611 Fix typo - #607 set onion pingid timeout to announce timeout (300s) - #592 Adjust docs of few toxencrypt function to the code - #587 Fix tox test - #586 Improve LAN discovery - #576 Replace include(CTest) on enable_testing() - #574 Reset hole-punching parameters after not punching for a while - #571 Configure needs to find libsodium headers. - #515 Network cleanup: reduce dependency on system-defined constants - #505 Add FreeBSD Travis - #500 Fixed the bug when receipts for messages sent from the receipt callback never arrived. * Closed issues: - #493 Receipts for messages sent from the receipt callback never arrive - drop msi.c_no-return-in-nonvoid-function.patch - update to 0.1.10 * Merged PRs: - #564 Fix Windows build - #542 Save bandwidth by moderating onion pinging - update to 0.1.9 * Merged PRs: - #561 Remove unused variable - #560 Fix non-portable zeroing out of doubles - #559 Fix theoretical memory leaks - #557 Document inverted mutex lock/unlock. - #556 Build tests on appveyor, the MSVC build, but don't run them yet. - #555 Fold hstox tests into the general linux test. - #554 Add a monolith_test that includes all toxcore sources. - #553 Factor out strict_abi cmake code into a separate module. - #552 Fix formatting and spelling in version-sync script. - #551 Forbid undefined symbols in shared libraries. - #546 Make variable names in file saving test less cryptic - #539 Make OSX test failures fail the Travis CI build. - #537 Fix TokTok/c-toxcore#535 - #534 Fix markdown formatting - #530 Implement missing TES constant functions. - #511 Save bandwidth by avoiding superfluous Nodes Requests to peers already on the Close List - #506 Add test case for title change - #498 DHT refactoring - #487 Split daemon's logging backends in separate modules - #468 Test for memberlist not changing after changing own name - #449 Use new encoding of Maybe in msgpack results. * Closed issues: - #482 CMake can't detect and compile ToxAV on OSX - update to 0.1.8 * Closed issues: - #535 OS X tests failing - #503 Undefined functions: tox_pass_salt_length, tox_pass_key_length, tox_pass_encryption_extra_length - #456 Tox.h doesn't expose the size of the nospam. - #411 Reduce CTest timeout to 2 minutes * Merged PRs: - #538 Reverting tox_loop PR changes - #526 Add TOX_NOSPAM_SIZE to the public API. - #525 Retry autotools tests the same way as cmake tests. - #524 Reduce ctest timeout to 2 minutes from 5 minutes. - #512 Add test for DHT pack_nodes and unpack_nodes - #504 CMake: install bootstrapd if it is built - #488 Save compiled Android artifacts after CircleCI builds. - #473 Added missing includes: <netinet/in.h> and <sys/socket.h> - #335 Implement tox_loop - update to 0.1.7 * Closed issues: - #482 CMake can't detect and compile ToxAV on OSX * Merged PRs: - #521 Fix appveyor script: install curl from chocolatey. - #510 Fix list malloc(0) bug - #509 Fix network malloc(0) bug - #497 Fix network - #496 Fix Travis always succeeding despite tests failing - #491 Add crypto_memzero for temp buffer - #490 Move c_sleep to helpers.h and misc_tools.h - #486 Remove empty line in Messenger.c - #483 Make BUILD_TOXAV an option and fail if dependencies are missing - #481 Remove dependency on strings.h - #480 Use VLA macro - #479 Fix pthreads in AppVeyor build - #471 Remove statics used in onion comparison functions. - #461 Replace part of network functions on platform-independent implementation - #452 Add VLA compatibility macro for C89-ish compilers. - update to 0.1.6 * Closed issues: - #415 Set up a native windows build on appveyor - #124 Don't include OS specific headers in .h files * Merged PRs: - #460 Release v0.1.6. - #454 Add appveyor build for native windows tests. - #448 Only retry failed tests on Circle CI instead of all. - #434 Replace redundant packet type check in handler with assert. - #432 Remove some static variables - #385 Add platform-independent Socket and IP implementation - update to 0.1.5 * Merged PRs: - #447 Release v0.1.5. - #446 Limit number of retries to 3. - #445 Make Travis tests slightly more robust by re-running them. - #443 Make building DHT_bootstrap in cmake optional. - #433 Add tutorial and "danger: experimental" banner to README. - #431 Update license headers and remove redundant file name comment. - #424 Fixed the FreeBSD build failure due to the undefined MSG_NOSIGNAL. - #420 Setup autotools to read .so version info from a separate file - #418 Clarify how the autotools build is done on Travis. - update to 0.1.4 * Closed issues: - #378 Replace all uses of make_quick_sort with qsort - #364 Delete misc_tools.h after replacing its use by qsort. - #363 Test against NaCl in addition to libsodium on Travis. * Merged PRs: - #422 Release v0.1.4. - #410 Fix NaCl build: tar was called incorrectly. - #409 Clarify that the pass key new function can fail. - #407 Don't use git.depth=1 anymore. - #404 Issue 404: semicolon not found - #403 Warn on -pedantic, don't error yet. - #401 Add logging callback to messenger_test. - #400 Run windows tests but ignore their failures. - #398 Portability Fixes - #397 Replace make_quick_sort with qsort - #396 Add an OSX build that doesn't run tests. - #394 CMake: Add soversion to library files to generate proper symlinks - #393 Set up autotools build to build against vanilla NaCl. - #392 Check that TCP connections aren't dropped in callbacks. - #391 Minor simplification in file_seek code. - #390 Always kill invalid file transfers when receiving file controls. - #388 Fix logging condition for IPv6 client timestamp updates. - #387 Eliminate dead return statement. - #386 Avoid accessing uninitialised memory in net_crypto. - #381 Remove TOX_DEBUG and have asserts always enabled. - update to 0.1.3 * Closed issues: - #347 Implement our own secure memcmp and memzero if libsodium isn't available * Merged PRs: - #395 Revert "Portability fixes" - #380 Test a few cmake option combinations before the build. - #377 Fix SSL verification in coveralls. - #376 Bring back autotools instructions - #373 Only fetch 1 revision from git during Travis builds. - #369 Integrate with CircleCI to build artifacts in the future - #366 Release v0.1.3. - #362 Remove .cabal-sandbox option from tox-spectest find line. - #361 Simplify integration as a third-party lib in cmake projects - #354 Add secure memcmp and memzero implementation. - #324 Do not compile and install DHT_bootstrap if it was disabled in configure - #297 Portability fixes - update to 0.1.2 * Closed issues: - #345 Array out of bounds read in "save" function - #342 Wrap all libsodium functions we use in toxcore in crypto_core. - #278 ToxAV use-after-free bug * Merged PRs: - #355 Release v0.1.2 - #353 Fix toxav use after free caused by premature MSI destruction - #346 Avoid array out of bounds read in friend saving. - #344 Remove unused get/set salt/key functions from toxencryptsave. - #343 Wrap all sodium/nacl functions in crypto_core.c. - #341 Add test to check if tox_new/tox_kill leaks. - #336 Correct TES docs to reflect how many bytes functions actually require. - #333 Use tox_options_set_* instead of direct member access. - update to 0.1.1 * Closed issues: - #327 The TOX_VERSION_REQUIRE macro is broken. - #221 Option to disable local peer detection * Merged PRs: - #337 Release v0.1.1 - #332 Add test for encrypted savedata. - #330 Strengthen the note about ABI compatibility in tox.h. - #328 Drop the broken TOX_VERSION_REQUIRE macro. - #326 Fix unresolved reference in toxencryptsave API docs. - #309 Fixed attempt to join detached threads (fixes toxav test crash) - #306 Add option to disable local peer discovery - migrate to fork https://github.com/toktok/c-toxcore Original was https://github.com/irungentoo/toxcore - change location of bootstrap daemon cfg - change user and group of bootstrap damon - update to git from 08.08.2015 - seperate librarys - insert systemd-services fpr bootstrapd - remove msi.c_no-return-in-nonvoid-function.patch - update to git from 23.06.2014 - update to ProjectTox-Core-f219fb4ac1bf60eea3117df4aa8615cd07738a69 - Update to ProjectTox-Core-aa78644aed020198f85c97fe63bea7fc88e4a8dc - Modified CMakeLists_curses_ncurses_link_typo.patch - Updated to tox-7379392d80 - CMakeLists_curses_ncurses_link_typo.patch fixes a typo to link with libncurses - New tox https://github.com/irungentoo/ProjectTox-Core/commit/b94d9d6765381e0a80f86a85edf45b1fd652a21a OBS-URL: https://build.opensuse.org/request/show/589587 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=2
2018-03-21 00:52:31 +01:00
%define _soversion 2
Name: c-toxcore
Accepting request 1168382 from home:EGDFree:branches:server:messaging - Update to 0.2.19 - Add cmake flag to disable unit tests. @iphydf (#2742) - Document that group topic lock is default on. @iphydf (#2744) - Add missing param docs for callbacks. @iphydf (#2743) - Don't expose Tox_System in the public API @nurupo (#2741) - Small API doc fixes @nurupo (#2735) - Rename out parameters to out_$something. @iphydf (#2726) - event length naming inconsistencies @Green-Sky (#2732) - flaky tcp test @Green-Sky (#2369) - Update and improve the Windows cross-compilation @nurupo (#2713) - Use a specific non-broken slimcc version. @iphydf (#2718) - Update github actions. @iphydf (#2712) - Update the list of CMake options @nurupo (#2710) - Rename Queries to Query to align with other enums. @iphydf (#2705) - Correct type for conference offline peer numbers. @iphydf (#2704) - Add pkgsrc build. @iphydf (#2699) - Add FreeBSD VM action on GitHub. @iphydf (#2700) - Build toxcore on NetBSD (VM). @iphydf (#2697) - Only install tox_private.h on request. @iphydf (#2698) - Don't serve files from websockify. @iphydf (#2695) - Correctly pass extended public keys to group moderation code. @iphydf (#2689) - Use structs for extended public/secret keys. @iphydf (#2672) - Compile libsodium reference implementation with compcert. @iphydf (#2686) - Don't use memcpy to cast arbitrary structs to uint8_t[]. @iphydf (#2684) - Pass array, not array pointer, to memcmp. @iphydf (#2683) - Never pass void* directly to memcpy. @iphydf (#2682) - Use tox rng to seed the keypair generation. @iphydf (#2671) - Small improvements found by PVS Studio. @iphydf (#2666) - Disable NGC saving by default, enable through Tox_Options. @iphydf (#2678) - Replace pointer arithmetic with explicit &arr[i]. @iphydf (#2675) - Use strong typedef for NGC peer id. @iphydf (#2643) - Simplify custom packet length check in NGC. @iphydf (#2659) - Correct a few potential null derefs in bootstrap daemon. @iphydf (#2662) - Add missing memunlock of local variable when it goes out of scope. @iphydf (#2660) - Zero out stack-allocated secret key before return. @iphydf (#2661) - Make prune_gc_sanctions_list more obviously correct. @iphydf (#2658) - Add static analysis tool list to README. @iphydf (#2656) - Run prettier-markdown on markdown files. @iphydf (#2664) - Use strong typedef instead of struct for Socket. @iphydf (#2640) - Fix some false positive from PVS Studio. @iphydf (#2657) - Check that WINXP macro exists before comparing it. @iphydf (#2655) - Make tox mutex non-recursive. @iphydf (#2652) - Fix up doxyfile. @iphydf (#2647) - Add more documentation to crypto_core. @iphydf (#2648) - Remove Tox * from tox_dispatch. @iphydf (#2645) - Don't rely on tox_dispatch passing tox in tests. @iphydf (#2644) - Use C++ mode for clang-tidy. @iphydf (#2642) - Check that both gtest and gmock exist for tests. @iphydf (#2637) - Add slimcc compiler compatibility test. @iphydf (#2624) - Add some comments to the astyle config. @iphydf (#2634) - Remove implicit bool conversions. @iphydf (#2621) - Rename C++ headers to .hh suffixes. @iphydf (#2626) - Further #include cleanups. @iphydf (#2617) - Only check the bootstrap daemon checksum on release. @iphydf (#2620) - Add more const where possible. @iphydf (#2622) - Use Bazel modules to enforce proper #include hygiene. @iphydf (#2614) - Move pack/unpack IP_Port from DHT into network module. @iphydf (#2612) - Really fix coverage docker image build. @iphydf (#2611) - Fix post-submit coverage image. @iphydf (#2610) - Don't use memcmp to compare IP_Ports. @iphydf (#2605) - Fix rpm build; add a CI check for it. @iphydf (#2604) - Speed up docker builds a bit by reducing layer count. @iphydf (#2603) - Add const where possible in auto tests. @iphydf (#2602) - Minor cleanup of event unpack code. @iphydf (#2580) - Rename system_{memory,...} to os_{memory,...}. @iphydf (#2598) - Remove all uses of SIZEOF_VLA. @iphydf (#2592) - Add goblint static analyser. @iphydf (#2597) - Use memzero(x, s) instead of memset(x, 0, s). @iphydf (#2594) - Use explicit 0 instead of PACKET_ID_PADDING. @iphydf (#2593) - Expand the Tox_Options accessor macros. @iphydf (#2591) - Remove plan9 support. @iphydf (#2588) - Add a simple new/delete test for Tox. @iphydf (#2590) - Add comment after every #endif. @iphydf (#2587) - Fix comment I broke in the events test PR. @iphydf (#2583) - Migrate auto_tests to new events API. @iphydf (#2559) - Add common msgpack array packer with callback. @iphydf (#2577) - Rename group to conference in groupav documentation. @iphydf (#2582) - Ensure handler params are named after callback params. @iphydf (#2581) - Pass this pointer as first param to s11n callbacks. @iphydf (#2575) - Allow NULL pointers for byte arrays in events. @iphydf (#2578) - Remove bin_pack_{new,free}. @iphydf (#2572) - Add dht_get_nodes_response event to the events system. @iphydf (#2568) - Use enum-specific pack functions for enum values. @iphydf (#2567) - Factor out union pack switch from event packer. @iphydf (#2565) - Move the 2-element array pack out of individual events. @iphydf (#2564) - Remove empty test doing nothing. @iphydf (#2566) - Add printf log statement to group_moderation_test. @iphydf (#2563) - Make event dispatch ordered by receive time. @iphydf (#2392) - tests use ipv6 by default, even with USE_IPV6 set to 0 @Green-Sky (#2468) - add clangd files to .gitignore @Green-Sky (#2562) - Move file streaming test to its own file. @iphydf (#2561) - window builds now build in parallel @Green-Sky (#2560) - Add C++ classes wrapping system interfaces. @iphydf (#2557) - Make all the fuzzers work again, and add a test for protodump. @iphydf (#2554) - Factor out malloc+memcpy into memdup. @iphydf (#2538) - Make sure there's enough space for CONSUME1 in fuzzers. @iphydf (#2552) - Add fuzz tests to the coverage run. @iphydf (#2547) - Move from gcov to llvm source-based coverage. @iphydf (#2551) - Use operator== for equality tests of Node_format. @iphydf (#2545) - Slightly nicer C++ interface to tox Random. @iphydf (#2543) - Minor refactoring of get_close_nodes functions. @iphydf (#2539) - Some more test cleanups, removing overly smart code. @iphydf (#2536) - Assign malloc return to a local variable first. @iphydf (#2530) - Add more unit tests for add_to_list. @iphydf (#2531) - Add "infer" CI check to github, remove from circle. @iphydf (#2529) - Add dynamically derived array sizes to the API. @iphydf (#2525) - Add explicit array sizes to toxencryptsave. @iphydf (#2524) - Add Toxav alias for ToxAV. @iphydf (#2527) - Make Tox_Options a typedef. @iphydf (#2526) - Simplify msvc build using vcpkg. @iphydf (#2498) - Move tox_get_system out of the public API. @iphydf (#2523) - Align group message sending with other send functions. @iphydf (#2519) - Make setters take non-const Tox *. @iphydf (#2522) - Mark arrays in the tox API as [] instead of *. @iphydf (#2520) - Make array params in toxav [] instead of *. @iphydf (#2521) - Add typedefs for public API int identifiers. @iphydf (#2518) - Add fetch-sha256 script to update bootstrap node hash. @iphydf (#2513) - Remove settings.yml in favour of hs-github-tools. @iphydf (#2516) - Use GPL license with https. @iphydf (#2515) - Move all vptr-to-ptr casts to the beginning of a function. @iphydf (#2512) - Use github actions matrix to simplify CI. @iphydf (#2510) - Use QueryPerformanceCounter on windows for monotonic time. @iphydf (#2509) - Add net_(new|kill)_strerror to cppcheck's allocators. @iphydf (#2508) - Run clang-tidy on headers, as well. @iphydf (#2507) - Make TCP connection failures a warning instead of error. @iphydf (#2506) - Make all .c files include the headers they need. @iphydf (#2505) - Upgrade to clang-tidy-17 and fix some warnings. @iphydf (#2503) - Upgrade cppcheck, fix some warnings. @iphydf (#2504) - Use pkg_search_module directly in cmake. @iphydf (#2502) - Use target_link_libraries directly in cmake. @iphydf (#2499) - Add IMPORTED_TARGET to pkg-config packages. @iphydf (#2501) - Remove NaCl support. @iphydf (#2497) - unpack enum function names in event impl generator @Green-Sky (#2494) - Disable targets for cross-compilation. @iphydf (#2493) - Build a docker image with coverage info in it. @iphydf (#2491) - Some portability/warning fixes for Windows builds. @iphydf (#2490) - Correct a use-after-free and fix some memory leaks. @iphydf (#2488) - Change all enum-like #define sequences into enums. @iphydf (#2487) - Fix make_single_file to support core-only. @iphydf (#2484) - Change the TCP_PACKET_* defines into an enum. @iphydf (#2486) - event generation tool for reorder pr @Green-Sky (#2485) - Give enum-from-int functions the ability to report errors. @iphydf (#2475) - Update github actions uses. @iphydf (#2481) - Make esp32 build actually try to instantiate tox. @iphydf (#2439) - Remove test net support. @iphydf (#2474) - add ngc related unpack functions @Green-Sky (#2480) - Add to_string functions for all public enums. @iphydf (#2479) - add real timeout test @Green-Sky (#2477) - Move s390x build to post-merge. @iphydf (#2476) - Slightly reduce bandwidth usage when there are few nodes. @iphydf (#2442) - Enable ubsan on bootstrap nodes. @iphydf (#2472) - Add check-c run to bazel build. @iphydf (#2470) - increase NGC lossy custom packet size @Green-Sky (#2384) - replace memset with a loop @nurupo (#2465) - also Install header for private/experimental API functions with autotools @zoff99 (#2458) - Enable debug flag for ubsan. @iphydf (#2459) - memory leaks @nurupo (#2454) - replace DEFAULT_TCP_RELAY_PORTS_COUNT with a compile-time calculation @nurupo (#2452) - clarify disabling of static assert checks @nurupo (#2451) - Use Bin_Pack for packing Node_format. @iphydf (#2420) - replace tabs with spaces @nurupo (#2449) - Docker tox-bootstrapd hash update failing when using BuildKit @nurupo (#2447) - Remove explicit layering_check feature. @iphydf (#2438) - Upgrade sonar-scan jvm to java 17. @iphydf (#2437) - Add missing htons call when adding configured TCP relay. @iphydf (#2436) - Cancel old PR builds on docker and sonar-scan workflows. @iphydf (#2434) - Retry freebsd tests 2 times. @iphydf (#2430) - Use C99 on MSVC instead of C11. @iphydf (#2432) - Add an s390x build (on alpine) for CI. @iphydf (#2429) - Add a compcert docker run script. @iphydf (#2428) - Use tcc docker image for CI. @iphydf (#2427) - allow for larger incoming NGC packets @zoff99 (#2380) - Fix memory leak in the error path of loading savedata. @iphydf (#2424) - get the number of close dht nodes with announce/store support @Green-Sky (#2357) - Add a bin_unpack_bin_max for max-length arrays. @iphydf (#2415) - Add more logging to loading conferences from savedata. @iphydf (#2416) - Fix GCC compatibility. @iphydf (#2413) - Ensure we have allocators available for the error paths. @iphydf (#2408) - Remove redundant -DSODIUM_EXPORT from definitions. @iphydf (#2407) - Fix a few more clang-tidy warnings. @iphydf (#2406) - Fix a few more clang-tidy warnings. @iphydf (#2405) - Enforce stricter identifier naming using clang-tidy. @iphydf (#2404) - Add mem module to allow tests to override allocators. @iphydf (#2393) - Add devcontainer setup for codespaces. @iphydf (#2396) - Fix doxygen config and remove some redundant comments. @iphydf (#2391) - Fix the Android CI job @robinlinden (#2390) - Add missing #include <array>. @iphydf (#2389) - add missing ngc constants getter declarations and definitions @Green-Sky (#2383) - Add missing module dependencies. @iphydf (#2388) - fix group_peer_exit_cb @Green-Sky (#2371) - resolve_bootstrap_node() not checking net_getipport() returned count correctly @Green-Sky (#2361) - fuzz support for TCP server @sudden6 (#2367) - potential endless loop under extremely high load @sudden6 (#2364) - enable tcp relay for bootstrap fuzzing @sudden6 (#2362) * Breaking changes - A more descriptive error for group invite accept function @JFreegman (#2736) - align group send err enum order @Green-Sky (#2731) - packet broadcast functions now return errors @JFreegman (#2542) - tox_new() should return null when savedata loading fails @JFreegman (#1944) - Increase max group message length by four bytes @JFreegman (#2351) - behaviour of group api function @JFreegman (#2370) - group custom packet size limits @JFreegman (#2355) * Features - add message IDs to private group messages @JFreegman (#2727) - Add groupchat API function that returns an IP address string for a peer @JFreegman (#2446) - group connection queries now return our own connection type @JFreegman (#2448) - Merge the remainder of the new groupchats implementation @JFreegman (#2269) * Bug Fixes - partially fix a bug that prevented group part messages from sending @JFreegman (#2609) - a few off by one errors in group autotests @JFreegman (#2601) - issues with packet broadcast error reporting @JFreegman (#2549) - DHTBootstrap should always respond to version packets with toxcore version @Tha14 (#2354) - inversed return values @JFreegman (#2414) - Increase max group message length by four bytes @JFreegman (#2351) - #1144 by forcing misc_tools to be a static lib @Green-Sky (#2341) - group custom packet size limits @JFreegman (#2355) - Remove cmake cache files after copying to container build directory @Tha14 (#2325) - missing net to host conversion of port in logging in group_chat.c @Green-Sky (#2340) - bug causing friend group invites to sometimes fail & improve logging @JFreegman (#2338) - missing net to host conversion of port in logging @Green-Sky (#2339) - unlock correct dht_friend @sudden6 (#2327) * Documentation - add the experimental api build option to INSTALL.md @JFreegman (#2708) - Remove defunct IRC channel from README.md @JFreegman (#2456) - incorrect documentation @JFreegman (#2381) - Update README for bootstrap node docker @Tha14 (#2333) - Update README.md to include cmp submodule info @Tha14 (#2323) * Maintenance (Grunt tasks) - Remove "mod" and "founder" from group API naming scheme @JFreegman (#2709) - Spellcheck tox-bootstrapd @nurupo (#2517) - tox_new() should return null when savedata loading fails @JFreegman (#1944) - Migrate from Appveyor to Azure Pipelines @robinlinden (#2271) - disable warning about pre C99 code @sudden6 (#2318) * Maintenance (Code cleanup) - A more descriptive error for group invite accept function @JFreegman (#2736) - use typedef for private message ID's in callback @JFreegman (#2729) - correct a few nullable annotations @JFreegman (#2685) - make some improvements to group moderation test @JFreegman (#2576) - skip a do_gc iteration before removing peers marked for deletion @JFreegman (#2573) - Make group packet entry creation less error-prone @JFreegman (#2540) - don't pass garbage data buffer to packet send functions @JFreegman (#2541) - Make group saving/loading more forgiving with data errors @JFreegman (#2466) - make it more clear that assert and uint32_t increment both only exist if NDEBUG is not defined @zoff99 (#2311) * Maintenance (Refactoring) - Observers/ignored peers can now send and receive custom packets @JFreegman (#2728) - Remove "mod" and "founder" from group API naming scheme @JFreegman (#2709) - packet broadcast functions now return errors @JFreegman (#2542) - Install header for private/experimental API functions @JFreegman (#2453) - Store time in Mono_Time in milliseconds. @iphydf (#2203) - Make some improvements to how often/when we announce a group @JFreegman (#2348) - Refactor: Extract shared key cache into separate file @sudden6 (#2317) - extract each case in handle packet in messenger @Green-Sky (#2329) * Maintenance (Tests) - save_compatibility_test failing on big-endian systems @nurupo (#2696) - Add a protocol dump test to generate initial fuzzer input. @iphydf (#2291) OBS-URL: https://build.opensuse.org/request/show/1168382 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=45
2024-04-16 17:44:02 +02:00
Version: 0.2.19
Release: 0
Summary: Secure decentralized instant messaging application
Accepting request 619562 from home:EGDFree:branches:server:messaging - update to 0.2.3 * #951 Only run astyle if the astyle binary exists. * #950 Remove utils.c and utils.h from toxencryptsave build. * #949 Fixes to the imported sodium sources to compile without warnings. * #948 Add a MAX_HOSTNAME_LENGTH constant. * #947 Remove the format test. * #937 Add new Circle CI configuration. * #935 Add a test for double conference invite. * #933 Add Logger to various net_crypto functions, and add const to Logger where possible. * #931 Avoid conditional-uninitialised warning for tcp test. * #930 Disable UDP when proxy is enabled. * #928 Use clang-format for C++ code. * #927 Add assertions to bootstrap tests for correct connection type. * #926 Make NULL options behave the same as default options. * #925 Add tests for what happens when passing an invalid proxy host. * #924 Make the net_crypto connection state an enum. * #922 Clarify/Improve test_some test * #921 Beginnings of a TCP_test.c overhaul * #920 Add test for creating multiple conferences in one tox. * #918 Merge irungentoo/master into toktok * #917 Add random testing program. * #916 Fix linking with address sanitizer. * #915 Remove resource_leak_test. * #914 Make dht_test more stable. * #913 Minor cleanup: return early on error condition. * #906 Sort bazel build file according to buildifier standard. * #905 In DEBUG mode, make toxcore crash on signed integer overflow. * #902 Log only the filename, not the full path in LOGGER. * #899 Fix macOS macro because of GNU Mach * #898 Fix enumeration of Crypto_Connection instances * #897 Fix ipport_isset: port 0 is not a valid port. * #894 Fix logging related crash in bootstrap node * #893 Fix bootstrap crashes, still * #892 Add empty logger to DHT bootstrap daemons. * #887 Fix FreeBSD build on Travis * #884 Fix the often call of event tox_friend_connection_status * #883 Make toxcore compile on BSD * #878 fix DHT_bootstrap key loading * #877 Add minitox to under "Other resources" section in the README * #875 Make bootstrap daemon use toxcore's version * #867 Improve network error reporting on Windows * #841 Only check full rtp offset if RTP_LARGE_FRAME is set * #823 Finish @Diadlo's network Family abstraction. * #822 Move system header includes from network.h to network. OBS-URL: https://build.opensuse.org/request/show/619562 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=12
2018-06-28 23:47:51 +02:00
License: GPL-3.0-only
Group: Productivity/Networking/Instant Messenger
Accepting request 787557 from home:EGDFree:branches:server:messaging - update to 0.2.11 * #1403 Install libsodium from apt instead of from source. * #1402 Remove bazel build from Travis. * #1400 Disable bazel remote cache on CI. * #1399 Periodically try to send direct packets when connected by TCP. * #1398 Minor cleanup: use assoc_timeout function where possible. * #1397 Check that LOGGER macros are only called with string literals. * #1396 Make function defns match their decls regarding storage class. * #1395 Mark file-local function definitions as static. * #1394 Enable remote cache for bazel builds. * #1393 Add another bootstrap node to the bootstrap test. * #1392 Clear out old conference connections. * #1391 Minor cleanups in network code. * #1390 Avoid casting back and forth between void-ptr. * #1389 Standardise on having a comma at the end of enums. * #1388 Fix up comments a bit to start being more uniform. * #1387 Use rules_cc instead of native cc_library rules. * #1386 Use spdx license identifier instead of GPL blurb. * #1383 Pass packet ID to custom packet handlers. * #1382 Add a mutex lock/unlock inside every public API function. * #1381 Use net_pack instead of casting bytes to ints. * #1380 Disable FreeBSD travis build until it is fixed. * #1379 Update and fix FreeBSD setup on Travis-CI * #1378 Use ninja build system for the cmake-linux build. * #1376 Remove testing/av_test.c. * #1375 Add "cimple_test" to the bazel build. * #1374 Handle invite to existing conference * #1372 Upgrade bazel to 2.1.1. * #1371 Bump to astyle-3.1 in travis build. * #1370 use -1 rather than ~0 in unsigned integer types * #1362 Workaround for message number saving * #1358 Allow Bazel to rerun tests marked as flaky * #1352 Update tests to use a working bootstrap node * #1349 Fix tox-bootstrapd's README and update Dockerfile * #1347 Fix pthread_mutex_destroy getting too many arguments * #1346 Fix most TSAN failures * #1345 fix concurrency issues in mono_time * #1343 Fix TSAN failures in tests * #1334 fix missing group title length check * #1330 Force IPv4 for cirrus-ci tests * #1329 bump libsodium version in appveyor.yml * #1322 Clean-up of group.c code * #1321 Some small fixes to groups. * #1299 Add VScode folder to .gitignore * #1297 Use net_pack/unpack instead of host_to_net. * #1373 handle crashes after group invites * #1368 Are tox clients also open source * #1366 Generate a link for websites (Friendship and proxy) * #1354 Unstable Tests * #1316 Documentation claims toxav_iteration_interval is threadsafe but it's not * #1274 build error * #850 GPG App Usage OBS-URL: https://build.opensuse.org/request/show/787557 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=31
2020-03-23 17:58:47 +01:00
URL: https://tox.chat/
Source0: https://github.com/TokTok/c-toxcore/archive/v%{version}.tar.gz#./%{name}-%{version}.tar.gz
Source1: %{name}-user.conf
Source2: %{name}.tmpfiles.d
Accepting request 985135 from home:ecsos:messenger:tox - Update to 0.2.18 * Features - Merge group announce portion of new groupchats implementation @JFreegman (#2230) - Allow overriding mono_time in tox_new. @iphydf (#2206) - Store announcements @zugz (#2147) - Add support for custom random number generator. @iphydf (#2190) - Merge moderation portion of new groupchats codebase @JFreegman (#2169) - Add support for overriding network functions. @iphydf (#2177) - Merge onion_announce changes from new groupchats fork @JFreegman (#2164) * Performance improvements - Make time move a lot faster in fuzzing runs. @iphydf (#2193) * Bug Fixes - remove the assert because buffer can be larger than UINT16_MAX. @zoff99 (#2299) - Don't allow onion paths to be built from real friends. @iphydf (#2287) - Fix potential array out-of-bounds in DHT onion path building. @iphydf (#2282) - Allow onion paths to be built from more random nodes. @iphydf (#2283) - Really fix overrun added in e49a477 @zugz (#2273) - Add missing return on error @JFreegman (#2272) - Fixed leak and overrun added in e49a477 @zugz (#2266) - Format IP as string again in error log. @iphydf (#2257) - Fix a stack overflow triggered by small DHT packets. @iphydf (#2255) - Don't crash if RNG init failed. @iphydf (#2246) - fix typo in git command in INSTALL.md @zugz (#2225) - Correct calculation of packet sent time @zugz (#2195) - Eliminate memory leak in toxav. @iphydf (#2155) - Allow port range in DHT_bootstrap.c. @iphydf (#2143) * Documentation - Add information regarding git submodules, cmp to INSTALL.md @Tha14 (#2201) - Put all the tox public api into a fake "tox" namespace. @iphydf (#2153) * Maintenance (Grunt tasks) - Release 0.2.18 @robinlinden (#2300) - Downgrade C++ version to 17 @JFreegman (#2275) - Upgrade to C++20 in CMake build. @iphydf (#2263) - Add initial ESP32 docker build. @iphydf (#2243) - Add MISRA-2012 check using cppcheck's misra addon. @iphydf (#2251) - Support producing shared libraries on Windows @robinlinden (#2204) - Add dependabot config. @iphydf (#2236) - Fix path to fuzzer binaries in clusterfuzz build. @iphydf (#2228) - Add uint8_t version of bin_pack for numbers. @iphydf (#2223) - Clone submodules in clusterfuzzlite Dockerfile. @iphydf (#2210) - Remove valgrind build. @iphydf (#2208) - Add third_party to toxcore-sources docker image. @iphydf (#2189) - Use "master" as the branch in toktok-fuzzer. @iphydf (#2173) - Enable memory sanitizer build. @iphydf (#2163) - Update the Appveyor build to VS2019 to work around conan issues @robinlinden (#2159) - Be even more explicit about integer range bounds. @iphydf (#2145) - Add testing/Dockerfile to the CI build. @iphydf (#2146) * Maintenance (Code cleanup) - remove unused field last_seen from Onion_Friend @zugz (#2297) - Avoid goto in msi.c. @iphydf (#2281) - Replace a series of if statements with a switch. @iphydf (#2233) - remove populate_path_nodes_tcp @zugz (#2250) - Use static_assert instead of assert where possible. @iphydf (#2242) - Make *_free and kill_* functions nullable. @iphydf (#2238) - Remove layers in the cmake build. @iphydf (#2229) - Add Network object parameter for addr_resolve. @iphydf (#2217) - Remove unused random_testing program. @iphydf (#2213) - Remove all uses of TOX_*_MAX_SIZE macros. @iphydf (#2214) - Add include for assert.h for the fuzzing build. @iphydf (#2224) - Move definitions of tox_private.h functions to tox_private.c. @iphydf (#2211) - Expand CONST_FUNCTION and remove the macro. @iphydf (#2212) - Mark Mono_Time const where possible. @iphydf (#2199) - Avoid name clash between struct field and function. @iphydf (#2202) - Add more null checks in tox_new. @iphydf (#2200) - Make addr_resolve a private function. @iphydf (#2188) - Use _Static_assert in gcc/clang. @iphydf (#2186) - improve CMakeLists.txt structure @sudden6 (#2101) - Expose struct Tox to internal code. @iphydf (#2158) - Reduce scope of array-typed variables where possible. @iphydf (#2167) - Reduce scope of variables as requested by cimple. @iphydf (#2166) - Avoid memset on structs. @iphydf (#2149) - Split the huge TCP client packet handler. @iphydf (#2157) - Sync doc comments between .h and .c files. @iphydf (#2156) - Move all the group.h structs into group.c. @iphydf (#2150) - Minor cleanups in TCP_connection.c. @iphydf (#2144) - Count re-adding an existing bootstrap node as success. @iphydf (#2142) - Disable LAN discovery in TCP-only mode. @iphydf (#2141) - Add assertion for decrypted data length. @iphydf (#2140) * Maintenance (Dependencies) - Use upstream cmp directly instead of our fork. @iphydf (#2240) * Maintenance (Refactoring) - Move crypto utilities from util to crypto_core. @iphydf (#2284) - Avoid static_cast in Fuzz_System functions. @iphydf (#2277) - Protect array unpacking against invalid lengths. @iphydf (#2261) - Rename announce functions into their own namespace. @iphydf (#2258) - Use a struct for the ip_ntoa buffer. @iphydf (#2248) - Allow NULL logger; make it no-op in NDEBUG. @iphydf (#2244) - Rename bin_pack/unpack functions the same as cmp funcs. @iphydf (#2219) - Use cmp instead of msgpack-c for events packing. @iphydf (#2175) * Maintenance (Tests) - Improve test hermeticity by using local TCP relay. @iphydf (#2280) - Add a Null_System used in toxsave_harness. @iphydf (#2289) - enable additional sanitizers for fuzzing @sudden6 (#2288) - Enable fuzzing for TCP. @iphydf (#2279) - Don't abort fuzz test when tox_new fails. @iphydf (#2285) - Improve error messages in toxav_basic_test. @iphydf (#2270) - Add more functionality to the bootstrap fuzz harness. @iphydf (#2234) - Improve stability of forwarding_test. @iphydf (#2249) - Add fuzzer support functions for internal toxcore objects. @iphydf (#2232) - Add DHT and tox_events fuzz tests to the cmake build. @iphydf (#2187) - Remove save_load_test from autotools build. @iphydf (#2196) - Enable more tests for msan. @iphydf (#2183) - Add some support functions to make writing fuzzers easier. @iphydf (#2184) - Improve stability of tox_many_tcp_test. @iphydf (#2182) - try to save the fuzzed save file again @sudden6 (#2176) - Add fuzzer tests to the bazel build. @iphydf (#2170) - Improve the stability of the save_load test @robinlinden (#2160) - Speed up toxav_many_test by using fake mono_time. @iphydf (#2154) - Changes from 0.2.17 * Performance improvements - Refactor onion_client.c do_friends() to reduce network traffic @JFreegman (#2078) - fix issue with friend finding taking too long after disconnects. @JFreegman (#2092) * Bug Fixes - Report failure to DHT bootstrap back to the client. @iphydf (#2104) - Null function pointer dereference. @iphydf (#2094) - out-of-memory condition by corrupted save file @sudden6 (#2084) - toxsave memory leak while loading groups @sudden6 (#2064) * Documentation - Clean up doxygen comments to be more doxygen-like. @iphydf (#2136) * Maintenance (Grunt tasks) - Enable a bunch more warnings in GCC builds. @iphydf (#2122) - remove cpufeatures.c @sudden6 (#2100) - remove DHT_test.c since it's unused @sudden6 (#2098) - Add a .clang-format that mostly agrees with astyle. @iphydf (#2075) - Make coverity scan a nightly job. @iphydf (#2074) - Simplify and speed up windows builds using docker image. @iphydf (#2072) - Fix build-args in win32/win64 docker build. @iphydf (#2073) - Add docker image builds for windows cross compiler. @iphydf (#2070) * Maintenance (Code cleanup) - Add explicit callback setters for MSI callbacks. @iphydf (#2134) - Split util.c out of the network library. @iphydf (#2131) - Remove redundant () around return expression. @iphydf (#2130) - Move test-only functions into tests. @iphydf (#2135) - Remove redundant Messenger and DHT tests. @iphydf (#2133) - Remove EAGAIN from the list of ignored errors. @iphydf (#2127) - Remove port from Broadcast_Info. @iphydf (#2126) - Don't reference local variables in macro bodies. @iphydf (#2125) - Remove some more implicit bool conversions. @iphydf (#2123) - Log at ERROR level when connect() fails. @iphydf (#2115) - Remove all boolean-int conversions. @iphydf (#2120) - Remove more boolean conversions (and a bugfix). @iphydf (#2116) - Comply with strict include ordering. @iphydf (#2117) - Avoid creating invalid enum values. @iphydf (#2114) - Remove superfluous parentheses on the rhs of assignments. @iphydf (#2113) - Change valid status of onion friend to bool. @iphydf (#2105) - Remove more implicit bool conversions. @iphydf (#2103) - Mark all local non-pointers as const where possible. @iphydf (#2102) - Reduce name shadowing; remove ptr-to-bool conversions. @iphydf (#2099) - Remove implicit conversions from uint32_t to bool. @iphydf (#2097) - Return boolean constants, not ints from bool functions. @iphydf (#2096) - Remove any disallowed casts. @iphydf (#2093) - Avoid casting function pointers. @iphydf (#2091) - Enable most cppcheck warnings as errors. @iphydf (#2086) - Remove all implicit bool conversions in if-conditions. @iphydf (#2088) - Remove unused execution trace library. @iphydf (#2079) * Maintenance (Refactoring) - Move tox_new_log to auto_test_support. @iphydf (#2090) * Maintenance (Tests) - Add unit test for create/handle request packets. @iphydf (#2128) - Add mallocfail and proxy test to our coverage runs. @iphydf (#2108) - Add test coverage docker build for local tests. @iphydf (#2106) - Changes from 0.2.16 * Features - Improve how we share TCP relays with friends @JFreegman (#2047) - add DHT queries to private API @JFreegman (#1935) - add bash-completion for tox-bootstrapd @nurupo (#2007) - Add unpacker functions for events structures. @iphydf (#1996) - Add binary packing functions for tox events. @iphydf (#1993) - Add async event handling (callbacks) code. @iphydf (#1952) * Performance improvements - Take advantage of fast networks for file transfers @zugz (#1668) - Reduce minimal encoding size of packed events. @iphydf (#2024) * Bug Fixes - properly deallocate frozen peers @sudden6 (#2058) - Fix return type of functions returning uint64_t. @iphydf (#2052) - file transfer bug introduced in commit 2073d02 @JFreegman (#2041) - remove bogus asserts in fuzzer harness @sudden6 (#2031) - syntax error introduced in 8bf3799 @sudden6 (#2028) - add continous fuzzing @sudden6 (#2027) - Coverty scan @nurupo (#2018) - shared toxcore autotools build failing @nurupo (#2015) - Conan build link failures @robinlinden (#2011) * Documentation - Add libmsgpack dependency in INSTALL.md @cryptogospod (#2016) * Maintenance (Grunt tasks) - Simplify and speed up nacl build using toxchat/nacl. @iphydf (#2069) - Add BUILD file for websockify. @iphydf (#2036) - fine tune fuzzing settings @sudden6 (#2035) - update the list of CMake options & Windows Docker build deps @nurupo (#2032) - expand fuzzing to toxsave @sudden6 (#2030) - Fix implicit declaration warning in fuzz build @robinlinden (#2026) - add continous fuzzing to our CI @sudden6 (#2025) - Set up an Android CI job @robinlinden (#1992) - Disable non-null attributes by default. @iphydf (#2021) - Silence clang compile warnings causing circle-ci/asan to fail @JFreegman (#2019) - Coverty scan @nurupo (#2018) - get skeletons out of the closet @nurupo (#2008) - shared toxcore autotools build failing @nurupo (#2015) - Remove duplicate source file in autotools build. @iphydf (#2010) - Add an undefined behaviour/integer sanitizer build. @iphydf (#2001) - Speed up cmake builds with UNITY_BUILD. @iphydf (#1999) - Add an easy way to run autotools and circleci builds locally. @iphydf (#1982) - Update readme header @robinlinden (#1979) * Maintenance (Code cleanup) - Enable tokstyle's -Wlarge-struct-params. @iphydf (#2053) - Avoid implicit bool conversions in logical operators. @iphydf (#2055) - Avoid implicit boolean and floating point conversions in decls. @iphydf (#2056) - Apply stronger type checks and fix errors. @iphydf (#2049) - Avoid implicit pointer-to-bool conversion in if in toxav. @iphydf (#2046) - Add some more error path logging to TCP server code. @iphydf (#2033) - Add wrapper library for msgpack pack functions @JFreegman (#2023) - Don't use VLAs for huge allocations. @iphydf (#2013) - Split tox_unpack into two smaller libs @JFreegman (#2022) - get skeletons out of the closet @nurupo (#2008) - Add more nonnull and nullable annotations. @iphydf (#2006) - Add nonnull annotations to function definitions. @iphydf (#2002) - Make LAN discovery thread-safe without data races. @iphydf (#1988) - Comply with new cimple callback rules. @iphydf (#1987) - Split msi callback array into 1 member per callback @robinlinden (#1985) * Maintenance (Refactoring) - Compare pointers in if conditions to nullptr. @iphydf (#2043) - Add a bit more logging; change WARNING to ERROR. @iphydf (#2039) * Maintenance (Tests) - Add a profiling script and Dockerfile. @iphydf (#2066) OBS-URL: https://build.opensuse.org/request/show/985135 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=37
2022-06-26 15:07:32 +02:00
# Dont't find right key at this time. :(
#Source3: https://github.com/TokTok/c-toxcore/releases/download/v%%{version}/%%{name}-%%{version}.tar.gz.asc
Source4: %{name}.keyring
Accepting request 985135 from home:ecsos:messenger:tox - Update to 0.2.18 * Features - Merge group announce portion of new groupchats implementation @JFreegman (#2230) - Allow overriding mono_time in tox_new. @iphydf (#2206) - Store announcements @zugz (#2147) - Add support for custom random number generator. @iphydf (#2190) - Merge moderation portion of new groupchats codebase @JFreegman (#2169) - Add support for overriding network functions. @iphydf (#2177) - Merge onion_announce changes from new groupchats fork @JFreegman (#2164) * Performance improvements - Make time move a lot faster in fuzzing runs. @iphydf (#2193) * Bug Fixes - remove the assert because buffer can be larger than UINT16_MAX. @zoff99 (#2299) - Don't allow onion paths to be built from real friends. @iphydf (#2287) - Fix potential array out-of-bounds in DHT onion path building. @iphydf (#2282) - Allow onion paths to be built from more random nodes. @iphydf (#2283) - Really fix overrun added in e49a477 @zugz (#2273) - Add missing return on error @JFreegman (#2272) - Fixed leak and overrun added in e49a477 @zugz (#2266) - Format IP as string again in error log. @iphydf (#2257) - Fix a stack overflow triggered by small DHT packets. @iphydf (#2255) - Don't crash if RNG init failed. @iphydf (#2246) - fix typo in git command in INSTALL.md @zugz (#2225) - Correct calculation of packet sent time @zugz (#2195) - Eliminate memory leak in toxav. @iphydf (#2155) - Allow port range in DHT_bootstrap.c. @iphydf (#2143) * Documentation - Add information regarding git submodules, cmp to INSTALL.md @Tha14 (#2201) - Put all the tox public api into a fake "tox" namespace. @iphydf (#2153) * Maintenance (Grunt tasks) - Release 0.2.18 @robinlinden (#2300) - Downgrade C++ version to 17 @JFreegman (#2275) - Upgrade to C++20 in CMake build. @iphydf (#2263) - Add initial ESP32 docker build. @iphydf (#2243) - Add MISRA-2012 check using cppcheck's misra addon. @iphydf (#2251) - Support producing shared libraries on Windows @robinlinden (#2204) - Add dependabot config. @iphydf (#2236) - Fix path to fuzzer binaries in clusterfuzz build. @iphydf (#2228) - Add uint8_t version of bin_pack for numbers. @iphydf (#2223) - Clone submodules in clusterfuzzlite Dockerfile. @iphydf (#2210) - Remove valgrind build. @iphydf (#2208) - Add third_party to toxcore-sources docker image. @iphydf (#2189) - Use "master" as the branch in toktok-fuzzer. @iphydf (#2173) - Enable memory sanitizer build. @iphydf (#2163) - Update the Appveyor build to VS2019 to work around conan issues @robinlinden (#2159) - Be even more explicit about integer range bounds. @iphydf (#2145) - Add testing/Dockerfile to the CI build. @iphydf (#2146) * Maintenance (Code cleanup) - remove unused field last_seen from Onion_Friend @zugz (#2297) - Avoid goto in msi.c. @iphydf (#2281) - Replace a series of if statements with a switch. @iphydf (#2233) - remove populate_path_nodes_tcp @zugz (#2250) - Use static_assert instead of assert where possible. @iphydf (#2242) - Make *_free and kill_* functions nullable. @iphydf (#2238) - Remove layers in the cmake build. @iphydf (#2229) - Add Network object parameter for addr_resolve. @iphydf (#2217) - Remove unused random_testing program. @iphydf (#2213) - Remove all uses of TOX_*_MAX_SIZE macros. @iphydf (#2214) - Add include for assert.h for the fuzzing build. @iphydf (#2224) - Move definitions of tox_private.h functions to tox_private.c. @iphydf (#2211) - Expand CONST_FUNCTION and remove the macro. @iphydf (#2212) - Mark Mono_Time const where possible. @iphydf (#2199) - Avoid name clash between struct field and function. @iphydf (#2202) - Add more null checks in tox_new. @iphydf (#2200) - Make addr_resolve a private function. @iphydf (#2188) - Use _Static_assert in gcc/clang. @iphydf (#2186) - improve CMakeLists.txt structure @sudden6 (#2101) - Expose struct Tox to internal code. @iphydf (#2158) - Reduce scope of array-typed variables where possible. @iphydf (#2167) - Reduce scope of variables as requested by cimple. @iphydf (#2166) - Avoid memset on structs. @iphydf (#2149) - Split the huge TCP client packet handler. @iphydf (#2157) - Sync doc comments between .h and .c files. @iphydf (#2156) - Move all the group.h structs into group.c. @iphydf (#2150) - Minor cleanups in TCP_connection.c. @iphydf (#2144) - Count re-adding an existing bootstrap node as success. @iphydf (#2142) - Disable LAN discovery in TCP-only mode. @iphydf (#2141) - Add assertion for decrypted data length. @iphydf (#2140) * Maintenance (Dependencies) - Use upstream cmp directly instead of our fork. @iphydf (#2240) * Maintenance (Refactoring) - Move crypto utilities from util to crypto_core. @iphydf (#2284) - Avoid static_cast in Fuzz_System functions. @iphydf (#2277) - Protect array unpacking against invalid lengths. @iphydf (#2261) - Rename announce functions into their own namespace. @iphydf (#2258) - Use a struct for the ip_ntoa buffer. @iphydf (#2248) - Allow NULL logger; make it no-op in NDEBUG. @iphydf (#2244) - Rename bin_pack/unpack functions the same as cmp funcs. @iphydf (#2219) - Use cmp instead of msgpack-c for events packing. @iphydf (#2175) * Maintenance (Tests) - Improve test hermeticity by using local TCP relay. @iphydf (#2280) - Add a Null_System used in toxsave_harness. @iphydf (#2289) - enable additional sanitizers for fuzzing @sudden6 (#2288) - Enable fuzzing for TCP. @iphydf (#2279) - Don't abort fuzz test when tox_new fails. @iphydf (#2285) - Improve error messages in toxav_basic_test. @iphydf (#2270) - Add more functionality to the bootstrap fuzz harness. @iphydf (#2234) - Improve stability of forwarding_test. @iphydf (#2249) - Add fuzzer support functions for internal toxcore objects. @iphydf (#2232) - Add DHT and tox_events fuzz tests to the cmake build. @iphydf (#2187) - Remove save_load_test from autotools build. @iphydf (#2196) - Enable more tests for msan. @iphydf (#2183) - Add some support functions to make writing fuzzers easier. @iphydf (#2184) - Improve stability of tox_many_tcp_test. @iphydf (#2182) - try to save the fuzzed save file again @sudden6 (#2176) - Add fuzzer tests to the bazel build. @iphydf (#2170) - Improve the stability of the save_load test @robinlinden (#2160) - Speed up toxav_many_test by using fake mono_time. @iphydf (#2154) - Changes from 0.2.17 * Performance improvements - Refactor onion_client.c do_friends() to reduce network traffic @JFreegman (#2078) - fix issue with friend finding taking too long after disconnects. @JFreegman (#2092) * Bug Fixes - Report failure to DHT bootstrap back to the client. @iphydf (#2104) - Null function pointer dereference. @iphydf (#2094) - out-of-memory condition by corrupted save file @sudden6 (#2084) - toxsave memory leak while loading groups @sudden6 (#2064) * Documentation - Clean up doxygen comments to be more doxygen-like. @iphydf (#2136) * Maintenance (Grunt tasks) - Enable a bunch more warnings in GCC builds. @iphydf (#2122) - remove cpufeatures.c @sudden6 (#2100) - remove DHT_test.c since it's unused @sudden6 (#2098) - Add a .clang-format that mostly agrees with astyle. @iphydf (#2075) - Make coverity scan a nightly job. @iphydf (#2074) - Simplify and speed up windows builds using docker image. @iphydf (#2072) - Fix build-args in win32/win64 docker build. @iphydf (#2073) - Add docker image builds for windows cross compiler. @iphydf (#2070) * Maintenance (Code cleanup) - Add explicit callback setters for MSI callbacks. @iphydf (#2134) - Split util.c out of the network library. @iphydf (#2131) - Remove redundant () around return expression. @iphydf (#2130) - Move test-only functions into tests. @iphydf (#2135) - Remove redundant Messenger and DHT tests. @iphydf (#2133) - Remove EAGAIN from the list of ignored errors. @iphydf (#2127) - Remove port from Broadcast_Info. @iphydf (#2126) - Don't reference local variables in macro bodies. @iphydf (#2125) - Remove some more implicit bool conversions. @iphydf (#2123) - Log at ERROR level when connect() fails. @iphydf (#2115) - Remove all boolean-int conversions. @iphydf (#2120) - Remove more boolean conversions (and a bugfix). @iphydf (#2116) - Comply with strict include ordering. @iphydf (#2117) - Avoid creating invalid enum values. @iphydf (#2114) - Remove superfluous parentheses on the rhs of assignments. @iphydf (#2113) - Change valid status of onion friend to bool. @iphydf (#2105) - Remove more implicit bool conversions. @iphydf (#2103) - Mark all local non-pointers as const where possible. @iphydf (#2102) - Reduce name shadowing; remove ptr-to-bool conversions. @iphydf (#2099) - Remove implicit conversions from uint32_t to bool. @iphydf (#2097) - Return boolean constants, not ints from bool functions. @iphydf (#2096) - Remove any disallowed casts. @iphydf (#2093) - Avoid casting function pointers. @iphydf (#2091) - Enable most cppcheck warnings as errors. @iphydf (#2086) - Remove all implicit bool conversions in if-conditions. @iphydf (#2088) - Remove unused execution trace library. @iphydf (#2079) * Maintenance (Refactoring) - Move tox_new_log to auto_test_support. @iphydf (#2090) * Maintenance (Tests) - Add unit test for create/handle request packets. @iphydf (#2128) - Add mallocfail and proxy test to our coverage runs. @iphydf (#2108) - Add test coverage docker build for local tests. @iphydf (#2106) - Changes from 0.2.16 * Features - Improve how we share TCP relays with friends @JFreegman (#2047) - add DHT queries to private API @JFreegman (#1935) - add bash-completion for tox-bootstrapd @nurupo (#2007) - Add unpacker functions for events structures. @iphydf (#1996) - Add binary packing functions for tox events. @iphydf (#1993) - Add async event handling (callbacks) code. @iphydf (#1952) * Performance improvements - Take advantage of fast networks for file transfers @zugz (#1668) - Reduce minimal encoding size of packed events. @iphydf (#2024) * Bug Fixes - properly deallocate frozen peers @sudden6 (#2058) - Fix return type of functions returning uint64_t. @iphydf (#2052) - file transfer bug introduced in commit 2073d02 @JFreegman (#2041) - remove bogus asserts in fuzzer harness @sudden6 (#2031) - syntax error introduced in 8bf3799 @sudden6 (#2028) - add continous fuzzing @sudden6 (#2027) - Coverty scan @nurupo (#2018) - shared toxcore autotools build failing @nurupo (#2015) - Conan build link failures @robinlinden (#2011) * Documentation - Add libmsgpack dependency in INSTALL.md @cryptogospod (#2016) * Maintenance (Grunt tasks) - Simplify and speed up nacl build using toxchat/nacl. @iphydf (#2069) - Add BUILD file for websockify. @iphydf (#2036) - fine tune fuzzing settings @sudden6 (#2035) - update the list of CMake options & Windows Docker build deps @nurupo (#2032) - expand fuzzing to toxsave @sudden6 (#2030) - Fix implicit declaration warning in fuzz build @robinlinden (#2026) - add continous fuzzing to our CI @sudden6 (#2025) - Set up an Android CI job @robinlinden (#1992) - Disable non-null attributes by default. @iphydf (#2021) - Silence clang compile warnings causing circle-ci/asan to fail @JFreegman (#2019) - Coverty scan @nurupo (#2018) - get skeletons out of the closet @nurupo (#2008) - shared toxcore autotools build failing @nurupo (#2015) - Remove duplicate source file in autotools build. @iphydf (#2010) - Add an undefined behaviour/integer sanitizer build. @iphydf (#2001) - Speed up cmake builds with UNITY_BUILD. @iphydf (#1999) - Add an easy way to run autotools and circleci builds locally. @iphydf (#1982) - Update readme header @robinlinden (#1979) * Maintenance (Code cleanup) - Enable tokstyle's -Wlarge-struct-params. @iphydf (#2053) - Avoid implicit bool conversions in logical operators. @iphydf (#2055) - Avoid implicit boolean and floating point conversions in decls. @iphydf (#2056) - Apply stronger type checks and fix errors. @iphydf (#2049) - Avoid implicit pointer-to-bool conversion in if in toxav. @iphydf (#2046) - Add some more error path logging to TCP server code. @iphydf (#2033) - Add wrapper library for msgpack pack functions @JFreegman (#2023) - Don't use VLAs for huge allocations. @iphydf (#2013) - Split tox_unpack into two smaller libs @JFreegman (#2022) - get skeletons out of the closet @nurupo (#2008) - Add more nonnull and nullable annotations. @iphydf (#2006) - Add nonnull annotations to function definitions. @iphydf (#2002) - Make LAN discovery thread-safe without data races. @iphydf (#1988) - Comply with new cimple callback rules. @iphydf (#1987) - Split msi callback array into 1 member per callback @robinlinden (#1985) * Maintenance (Refactoring) - Compare pointers in if conditions to nullptr. @iphydf (#2043) - Add a bit more logging; change WARNING to ERROR. @iphydf (#2039) * Maintenance (Tests) - Add a profiling script and Dockerfile. @iphydf (#2066) OBS-URL: https://build.opensuse.org/request/show/985135 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=37
2022-06-26 15:07:32 +02:00
Source10: https://github.com/camgunz/cmp/archive/v20/cmp-v20.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libconfig-devel
BuildRequires: libopus-devel
BuildRequires: libsodium-devel
BuildRequires: libtool
BuildRequires: libvpx-devel
BuildRequires: pkgconfig
BuildRequires: sysuser-tools
BuildRequires: pkgconfig(systemd)
Requires(pre): shadow
Provides: bundled(cmp) = 20
%sysusers_requires
%{?systemd_requires}
%description
Project Tox, also known as Tox, is a FOSS instant messaging
application aimed to replace Skype.
With the rise of government monitoring programs,
Tox provides an easy to use application that allows you to connect
with friends and family without anyone else listening in.
While other big-name services require you to pay for features,
Tox is totally free and comes without advertising
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: libtoxcore%{_soversion} = %{version}
%description devel
Development libraries and headers needed to build software using %{name}.
%package daemon
Summary: Bootstrap-daemon for toxcore
Group: Productivity/Networking/Instant Messenger
%description daemon
Bootstrap-daemon to dispose hashtable for toxcore.
%package -n libtoxcore%{_soversion}
Summary: Core library for toxcore
Group: System/Libraries
%description -n libtoxcore%{_soversion}
This are the Core library for toxcore.
%prep
%autosetup -p1
Accepting request 985135 from home:ecsos:messenger:tox - Update to 0.2.18 * Features - Merge group announce portion of new groupchats implementation @JFreegman (#2230) - Allow overriding mono_time in tox_new. @iphydf (#2206) - Store announcements @zugz (#2147) - Add support for custom random number generator. @iphydf (#2190) - Merge moderation portion of new groupchats codebase @JFreegman (#2169) - Add support for overriding network functions. @iphydf (#2177) - Merge onion_announce changes from new groupchats fork @JFreegman (#2164) * Performance improvements - Make time move a lot faster in fuzzing runs. @iphydf (#2193) * Bug Fixes - remove the assert because buffer can be larger than UINT16_MAX. @zoff99 (#2299) - Don't allow onion paths to be built from real friends. @iphydf (#2287) - Fix potential array out-of-bounds in DHT onion path building. @iphydf (#2282) - Allow onion paths to be built from more random nodes. @iphydf (#2283) - Really fix overrun added in e49a477 @zugz (#2273) - Add missing return on error @JFreegman (#2272) - Fixed leak and overrun added in e49a477 @zugz (#2266) - Format IP as string again in error log. @iphydf (#2257) - Fix a stack overflow triggered by small DHT packets. @iphydf (#2255) - Don't crash if RNG init failed. @iphydf (#2246) - fix typo in git command in INSTALL.md @zugz (#2225) - Correct calculation of packet sent time @zugz (#2195) - Eliminate memory leak in toxav. @iphydf (#2155) - Allow port range in DHT_bootstrap.c. @iphydf (#2143) * Documentation - Add information regarding git submodules, cmp to INSTALL.md @Tha14 (#2201) - Put all the tox public api into a fake "tox" namespace. @iphydf (#2153) * Maintenance (Grunt tasks) - Release 0.2.18 @robinlinden (#2300) - Downgrade C++ version to 17 @JFreegman (#2275) - Upgrade to C++20 in CMake build. @iphydf (#2263) - Add initial ESP32 docker build. @iphydf (#2243) - Add MISRA-2012 check using cppcheck's misra addon. @iphydf (#2251) - Support producing shared libraries on Windows @robinlinden (#2204) - Add dependabot config. @iphydf (#2236) - Fix path to fuzzer binaries in clusterfuzz build. @iphydf (#2228) - Add uint8_t version of bin_pack for numbers. @iphydf (#2223) - Clone submodules in clusterfuzzlite Dockerfile. @iphydf (#2210) - Remove valgrind build. @iphydf (#2208) - Add third_party to toxcore-sources docker image. @iphydf (#2189) - Use "master" as the branch in toktok-fuzzer. @iphydf (#2173) - Enable memory sanitizer build. @iphydf (#2163) - Update the Appveyor build to VS2019 to work around conan issues @robinlinden (#2159) - Be even more explicit about integer range bounds. @iphydf (#2145) - Add testing/Dockerfile to the CI build. @iphydf (#2146) * Maintenance (Code cleanup) - remove unused field last_seen from Onion_Friend @zugz (#2297) - Avoid goto in msi.c. @iphydf (#2281) - Replace a series of if statements with a switch. @iphydf (#2233) - remove populate_path_nodes_tcp @zugz (#2250) - Use static_assert instead of assert where possible. @iphydf (#2242) - Make *_free and kill_* functions nullable. @iphydf (#2238) - Remove layers in the cmake build. @iphydf (#2229) - Add Network object parameter for addr_resolve. @iphydf (#2217) - Remove unused random_testing program. @iphydf (#2213) - Remove all uses of TOX_*_MAX_SIZE macros. @iphydf (#2214) - Add include for assert.h for the fuzzing build. @iphydf (#2224) - Move definitions of tox_private.h functions to tox_private.c. @iphydf (#2211) - Expand CONST_FUNCTION and remove the macro. @iphydf (#2212) - Mark Mono_Time const where possible. @iphydf (#2199) - Avoid name clash between struct field and function. @iphydf (#2202) - Add more null checks in tox_new. @iphydf (#2200) - Make addr_resolve a private function. @iphydf (#2188) - Use _Static_assert in gcc/clang. @iphydf (#2186) - improve CMakeLists.txt structure @sudden6 (#2101) - Expose struct Tox to internal code. @iphydf (#2158) - Reduce scope of array-typed variables where possible. @iphydf (#2167) - Reduce scope of variables as requested by cimple. @iphydf (#2166) - Avoid memset on structs. @iphydf (#2149) - Split the huge TCP client packet handler. @iphydf (#2157) - Sync doc comments between .h and .c files. @iphydf (#2156) - Move all the group.h structs into group.c. @iphydf (#2150) - Minor cleanups in TCP_connection.c. @iphydf (#2144) - Count re-adding an existing bootstrap node as success. @iphydf (#2142) - Disable LAN discovery in TCP-only mode. @iphydf (#2141) - Add assertion for decrypted data length. @iphydf (#2140) * Maintenance (Dependencies) - Use upstream cmp directly instead of our fork. @iphydf (#2240) * Maintenance (Refactoring) - Move crypto utilities from util to crypto_core. @iphydf (#2284) - Avoid static_cast in Fuzz_System functions. @iphydf (#2277) - Protect array unpacking against invalid lengths. @iphydf (#2261) - Rename announce functions into their own namespace. @iphydf (#2258) - Use a struct for the ip_ntoa buffer. @iphydf (#2248) - Allow NULL logger; make it no-op in NDEBUG. @iphydf (#2244) - Rename bin_pack/unpack functions the same as cmp funcs. @iphydf (#2219) - Use cmp instead of msgpack-c for events packing. @iphydf (#2175) * Maintenance (Tests) - Improve test hermeticity by using local TCP relay. @iphydf (#2280) - Add a Null_System used in toxsave_harness. @iphydf (#2289) - enable additional sanitizers for fuzzing @sudden6 (#2288) - Enable fuzzing for TCP. @iphydf (#2279) - Don't abort fuzz test when tox_new fails. @iphydf (#2285) - Improve error messages in toxav_basic_test. @iphydf (#2270) - Add more functionality to the bootstrap fuzz harness. @iphydf (#2234) - Improve stability of forwarding_test. @iphydf (#2249) - Add fuzzer support functions for internal toxcore objects. @iphydf (#2232) - Add DHT and tox_events fuzz tests to the cmake build. @iphydf (#2187) - Remove save_load_test from autotools build. @iphydf (#2196) - Enable more tests for msan. @iphydf (#2183) - Add some support functions to make writing fuzzers easier. @iphydf (#2184) - Improve stability of tox_many_tcp_test. @iphydf (#2182) - try to save the fuzzed save file again @sudden6 (#2176) - Add fuzzer tests to the bazel build. @iphydf (#2170) - Improve the stability of the save_load test @robinlinden (#2160) - Speed up toxav_many_test by using fake mono_time. @iphydf (#2154) - Changes from 0.2.17 * Performance improvements - Refactor onion_client.c do_friends() to reduce network traffic @JFreegman (#2078) - fix issue with friend finding taking too long after disconnects. @JFreegman (#2092) * Bug Fixes - Report failure to DHT bootstrap back to the client. @iphydf (#2104) - Null function pointer dereference. @iphydf (#2094) - out-of-memory condition by corrupted save file @sudden6 (#2084) - toxsave memory leak while loading groups @sudden6 (#2064) * Documentation - Clean up doxygen comments to be more doxygen-like. @iphydf (#2136) * Maintenance (Grunt tasks) - Enable a bunch more warnings in GCC builds. @iphydf (#2122) - remove cpufeatures.c @sudden6 (#2100) - remove DHT_test.c since it's unused @sudden6 (#2098) - Add a .clang-format that mostly agrees with astyle. @iphydf (#2075) - Make coverity scan a nightly job. @iphydf (#2074) - Simplify and speed up windows builds using docker image. @iphydf (#2072) - Fix build-args in win32/win64 docker build. @iphydf (#2073) - Add docker image builds for windows cross compiler. @iphydf (#2070) * Maintenance (Code cleanup) - Add explicit callback setters for MSI callbacks. @iphydf (#2134) - Split util.c out of the network library. @iphydf (#2131) - Remove redundant () around return expression. @iphydf (#2130) - Move test-only functions into tests. @iphydf (#2135) - Remove redundant Messenger and DHT tests. @iphydf (#2133) - Remove EAGAIN from the list of ignored errors. @iphydf (#2127) - Remove port from Broadcast_Info. @iphydf (#2126) - Don't reference local variables in macro bodies. @iphydf (#2125) - Remove some more implicit bool conversions. @iphydf (#2123) - Log at ERROR level when connect() fails. @iphydf (#2115) - Remove all boolean-int conversions. @iphydf (#2120) - Remove more boolean conversions (and a bugfix). @iphydf (#2116) - Comply with strict include ordering. @iphydf (#2117) - Avoid creating invalid enum values. @iphydf (#2114) - Remove superfluous parentheses on the rhs of assignments. @iphydf (#2113) - Change valid status of onion friend to bool. @iphydf (#2105) - Remove more implicit bool conversions. @iphydf (#2103) - Mark all local non-pointers as const where possible. @iphydf (#2102) - Reduce name shadowing; remove ptr-to-bool conversions. @iphydf (#2099) - Remove implicit conversions from uint32_t to bool. @iphydf (#2097) - Return boolean constants, not ints from bool functions. @iphydf (#2096) - Remove any disallowed casts. @iphydf (#2093) - Avoid casting function pointers. @iphydf (#2091) - Enable most cppcheck warnings as errors. @iphydf (#2086) - Remove all implicit bool conversions in if-conditions. @iphydf (#2088) - Remove unused execution trace library. @iphydf (#2079) * Maintenance (Refactoring) - Move tox_new_log to auto_test_support. @iphydf (#2090) * Maintenance (Tests) - Add unit test for create/handle request packets. @iphydf (#2128) - Add mallocfail and proxy test to our coverage runs. @iphydf (#2108) - Add test coverage docker build for local tests. @iphydf (#2106) - Changes from 0.2.16 * Features - Improve how we share TCP relays with friends @JFreegman (#2047) - add DHT queries to private API @JFreegman (#1935) - add bash-completion for tox-bootstrapd @nurupo (#2007) - Add unpacker functions for events structures. @iphydf (#1996) - Add binary packing functions for tox events. @iphydf (#1993) - Add async event handling (callbacks) code. @iphydf (#1952) * Performance improvements - Take advantage of fast networks for file transfers @zugz (#1668) - Reduce minimal encoding size of packed events. @iphydf (#2024) * Bug Fixes - properly deallocate frozen peers @sudden6 (#2058) - Fix return type of functions returning uint64_t. @iphydf (#2052) - file transfer bug introduced in commit 2073d02 @JFreegman (#2041) - remove bogus asserts in fuzzer harness @sudden6 (#2031) - syntax error introduced in 8bf3799 @sudden6 (#2028) - add continous fuzzing @sudden6 (#2027) - Coverty scan @nurupo (#2018) - shared toxcore autotools build failing @nurupo (#2015) - Conan build link failures @robinlinden (#2011) * Documentation - Add libmsgpack dependency in INSTALL.md @cryptogospod (#2016) * Maintenance (Grunt tasks) - Simplify and speed up nacl build using toxchat/nacl. @iphydf (#2069) - Add BUILD file for websockify. @iphydf (#2036) - fine tune fuzzing settings @sudden6 (#2035) - update the list of CMake options & Windows Docker build deps @nurupo (#2032) - expand fuzzing to toxsave @sudden6 (#2030) - Fix implicit declaration warning in fuzz build @robinlinden (#2026) - add continous fuzzing to our CI @sudden6 (#2025) - Set up an Android CI job @robinlinden (#1992) - Disable non-null attributes by default. @iphydf (#2021) - Silence clang compile warnings causing circle-ci/asan to fail @JFreegman (#2019) - Coverty scan @nurupo (#2018) - get skeletons out of the closet @nurupo (#2008) - shared toxcore autotools build failing @nurupo (#2015) - Remove duplicate source file in autotools build. @iphydf (#2010) - Add an undefined behaviour/integer sanitizer build. @iphydf (#2001) - Speed up cmake builds with UNITY_BUILD. @iphydf (#1999) - Add an easy way to run autotools and circleci builds locally. @iphydf (#1982) - Update readme header @robinlinden (#1979) * Maintenance (Code cleanup) - Enable tokstyle's -Wlarge-struct-params. @iphydf (#2053) - Avoid implicit bool conversions in logical operators. @iphydf (#2055) - Avoid implicit boolean and floating point conversions in decls. @iphydf (#2056) - Apply stronger type checks and fix errors. @iphydf (#2049) - Avoid implicit pointer-to-bool conversion in if in toxav. @iphydf (#2046) - Add some more error path logging to TCP server code. @iphydf (#2033) - Add wrapper library for msgpack pack functions @JFreegman (#2023) - Don't use VLAs for huge allocations. @iphydf (#2013) - Split tox_unpack into two smaller libs @JFreegman (#2022) - get skeletons out of the closet @nurupo (#2008) - Add more nonnull and nullable annotations. @iphydf (#2006) - Add nonnull annotations to function definitions. @iphydf (#2002) - Make LAN discovery thread-safe without data races. @iphydf (#1988) - Comply with new cimple callback rules. @iphydf (#1987) - Split msi callback array into 1 member per callback @robinlinden (#1985) * Maintenance (Refactoring) - Compare pointers in if conditions to nullptr. @iphydf (#2043) - Add a bit more logging; change WARNING to ERROR. @iphydf (#2039) * Maintenance (Tests) - Add a profiling script and Dockerfile. @iphydf (#2066) OBS-URL: https://build.opensuse.org/request/show/985135 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=37
2022-06-26 15:07:32 +02:00
# install submodules
pushd third_party/cmp
tar -xvzf %{SOURCE10} --strip 1
Accepting request 985135 from home:ecsos:messenger:tox - Update to 0.2.18 * Features - Merge group announce portion of new groupchats implementation @JFreegman (#2230) - Allow overriding mono_time in tox_new. @iphydf (#2206) - Store announcements @zugz (#2147) - Add support for custom random number generator. @iphydf (#2190) - Merge moderation portion of new groupchats codebase @JFreegman (#2169) - Add support for overriding network functions. @iphydf (#2177) - Merge onion_announce changes from new groupchats fork @JFreegman (#2164) * Performance improvements - Make time move a lot faster in fuzzing runs. @iphydf (#2193) * Bug Fixes - remove the assert because buffer can be larger than UINT16_MAX. @zoff99 (#2299) - Don't allow onion paths to be built from real friends. @iphydf (#2287) - Fix potential array out-of-bounds in DHT onion path building. @iphydf (#2282) - Allow onion paths to be built from more random nodes. @iphydf (#2283) - Really fix overrun added in e49a477 @zugz (#2273) - Add missing return on error @JFreegman (#2272) - Fixed leak and overrun added in e49a477 @zugz (#2266) - Format IP as string again in error log. @iphydf (#2257) - Fix a stack overflow triggered by small DHT packets. @iphydf (#2255) - Don't crash if RNG init failed. @iphydf (#2246) - fix typo in git command in INSTALL.md @zugz (#2225) - Correct calculation of packet sent time @zugz (#2195) - Eliminate memory leak in toxav. @iphydf (#2155) - Allow port range in DHT_bootstrap.c. @iphydf (#2143) * Documentation - Add information regarding git submodules, cmp to INSTALL.md @Tha14 (#2201) - Put all the tox public api into a fake "tox" namespace. @iphydf (#2153) * Maintenance (Grunt tasks) - Release 0.2.18 @robinlinden (#2300) - Downgrade C++ version to 17 @JFreegman (#2275) - Upgrade to C++20 in CMake build. @iphydf (#2263) - Add initial ESP32 docker build. @iphydf (#2243) - Add MISRA-2012 check using cppcheck's misra addon. @iphydf (#2251) - Support producing shared libraries on Windows @robinlinden (#2204) - Add dependabot config. @iphydf (#2236) - Fix path to fuzzer binaries in clusterfuzz build. @iphydf (#2228) - Add uint8_t version of bin_pack for numbers. @iphydf (#2223) - Clone submodules in clusterfuzzlite Dockerfile. @iphydf (#2210) - Remove valgrind build. @iphydf (#2208) - Add third_party to toxcore-sources docker image. @iphydf (#2189) - Use "master" as the branch in toktok-fuzzer. @iphydf (#2173) - Enable memory sanitizer build. @iphydf (#2163) - Update the Appveyor build to VS2019 to work around conan issues @robinlinden (#2159) - Be even more explicit about integer range bounds. @iphydf (#2145) - Add testing/Dockerfile to the CI build. @iphydf (#2146) * Maintenance (Code cleanup) - remove unused field last_seen from Onion_Friend @zugz (#2297) - Avoid goto in msi.c. @iphydf (#2281) - Replace a series of if statements with a switch. @iphydf (#2233) - remove populate_path_nodes_tcp @zugz (#2250) - Use static_assert instead of assert where possible. @iphydf (#2242) - Make *_free and kill_* functions nullable. @iphydf (#2238) - Remove layers in the cmake build. @iphydf (#2229) - Add Network object parameter for addr_resolve. @iphydf (#2217) - Remove unused random_testing program. @iphydf (#2213) - Remove all uses of TOX_*_MAX_SIZE macros. @iphydf (#2214) - Add include for assert.h for the fuzzing build. @iphydf (#2224) - Move definitions of tox_private.h functions to tox_private.c. @iphydf (#2211) - Expand CONST_FUNCTION and remove the macro. @iphydf (#2212) - Mark Mono_Time const where possible. @iphydf (#2199) - Avoid name clash between struct field and function. @iphydf (#2202) - Add more null checks in tox_new. @iphydf (#2200) - Make addr_resolve a private function. @iphydf (#2188) - Use _Static_assert in gcc/clang. @iphydf (#2186) - improve CMakeLists.txt structure @sudden6 (#2101) - Expose struct Tox to internal code. @iphydf (#2158) - Reduce scope of array-typed variables where possible. @iphydf (#2167) - Reduce scope of variables as requested by cimple. @iphydf (#2166) - Avoid memset on structs. @iphydf (#2149) - Split the huge TCP client packet handler. @iphydf (#2157) - Sync doc comments between .h and .c files. @iphydf (#2156) - Move all the group.h structs into group.c. @iphydf (#2150) - Minor cleanups in TCP_connection.c. @iphydf (#2144) - Count re-adding an existing bootstrap node as success. @iphydf (#2142) - Disable LAN discovery in TCP-only mode. @iphydf (#2141) - Add assertion for decrypted data length. @iphydf (#2140) * Maintenance (Dependencies) - Use upstream cmp directly instead of our fork. @iphydf (#2240) * Maintenance (Refactoring) - Move crypto utilities from util to crypto_core. @iphydf (#2284) - Avoid static_cast in Fuzz_System functions. @iphydf (#2277) - Protect array unpacking against invalid lengths. @iphydf (#2261) - Rename announce functions into their own namespace. @iphydf (#2258) - Use a struct for the ip_ntoa buffer. @iphydf (#2248) - Allow NULL logger; make it no-op in NDEBUG. @iphydf (#2244) - Rename bin_pack/unpack functions the same as cmp funcs. @iphydf (#2219) - Use cmp instead of msgpack-c for events packing. @iphydf (#2175) * Maintenance (Tests) - Improve test hermeticity by using local TCP relay. @iphydf (#2280) - Add a Null_System used in toxsave_harness. @iphydf (#2289) - enable additional sanitizers for fuzzing @sudden6 (#2288) - Enable fuzzing for TCP. @iphydf (#2279) - Don't abort fuzz test when tox_new fails. @iphydf (#2285) - Improve error messages in toxav_basic_test. @iphydf (#2270) - Add more functionality to the bootstrap fuzz harness. @iphydf (#2234) - Improve stability of forwarding_test. @iphydf (#2249) - Add fuzzer support functions for internal toxcore objects. @iphydf (#2232) - Add DHT and tox_events fuzz tests to the cmake build. @iphydf (#2187) - Remove save_load_test from autotools build. @iphydf (#2196) - Enable more tests for msan. @iphydf (#2183) - Add some support functions to make writing fuzzers easier. @iphydf (#2184) - Improve stability of tox_many_tcp_test. @iphydf (#2182) - try to save the fuzzed save file again @sudden6 (#2176) - Add fuzzer tests to the bazel build. @iphydf (#2170) - Improve the stability of the save_load test @robinlinden (#2160) - Speed up toxav_many_test by using fake mono_time. @iphydf (#2154) - Changes from 0.2.17 * Performance improvements - Refactor onion_client.c do_friends() to reduce network traffic @JFreegman (#2078) - fix issue with friend finding taking too long after disconnects. @JFreegman (#2092) * Bug Fixes - Report failure to DHT bootstrap back to the client. @iphydf (#2104) - Null function pointer dereference. @iphydf (#2094) - out-of-memory condition by corrupted save file @sudden6 (#2084) - toxsave memory leak while loading groups @sudden6 (#2064) * Documentation - Clean up doxygen comments to be more doxygen-like. @iphydf (#2136) * Maintenance (Grunt tasks) - Enable a bunch more warnings in GCC builds. @iphydf (#2122) - remove cpufeatures.c @sudden6 (#2100) - remove DHT_test.c since it's unused @sudden6 (#2098) - Add a .clang-format that mostly agrees with astyle. @iphydf (#2075) - Make coverity scan a nightly job. @iphydf (#2074) - Simplify and speed up windows builds using docker image. @iphydf (#2072) - Fix build-args in win32/win64 docker build. @iphydf (#2073) - Add docker image builds for windows cross compiler. @iphydf (#2070) * Maintenance (Code cleanup) - Add explicit callback setters for MSI callbacks. @iphydf (#2134) - Split util.c out of the network library. @iphydf (#2131) - Remove redundant () around return expression. @iphydf (#2130) - Move test-only functions into tests. @iphydf (#2135) - Remove redundant Messenger and DHT tests. @iphydf (#2133) - Remove EAGAIN from the list of ignored errors. @iphydf (#2127) - Remove port from Broadcast_Info. @iphydf (#2126) - Don't reference local variables in macro bodies. @iphydf (#2125) - Remove some more implicit bool conversions. @iphydf (#2123) - Log at ERROR level when connect() fails. @iphydf (#2115) - Remove all boolean-int conversions. @iphydf (#2120) - Remove more boolean conversions (and a bugfix). @iphydf (#2116) - Comply with strict include ordering. @iphydf (#2117) - Avoid creating invalid enum values. @iphydf (#2114) - Remove superfluous parentheses on the rhs of assignments. @iphydf (#2113) - Change valid status of onion friend to bool. @iphydf (#2105) - Remove more implicit bool conversions. @iphydf (#2103) - Mark all local non-pointers as const where possible. @iphydf (#2102) - Reduce name shadowing; remove ptr-to-bool conversions. @iphydf (#2099) - Remove implicit conversions from uint32_t to bool. @iphydf (#2097) - Return boolean constants, not ints from bool functions. @iphydf (#2096) - Remove any disallowed casts. @iphydf (#2093) - Avoid casting function pointers. @iphydf (#2091) - Enable most cppcheck warnings as errors. @iphydf (#2086) - Remove all implicit bool conversions in if-conditions. @iphydf (#2088) - Remove unused execution trace library. @iphydf (#2079) * Maintenance (Refactoring) - Move tox_new_log to auto_test_support. @iphydf (#2090) * Maintenance (Tests) - Add unit test for create/handle request packets. @iphydf (#2128) - Add mallocfail and proxy test to our coverage runs. @iphydf (#2108) - Add test coverage docker build for local tests. @iphydf (#2106) - Changes from 0.2.16 * Features - Improve how we share TCP relays with friends @JFreegman (#2047) - add DHT queries to private API @JFreegman (#1935) - add bash-completion for tox-bootstrapd @nurupo (#2007) - Add unpacker functions for events structures. @iphydf (#1996) - Add binary packing functions for tox events. @iphydf (#1993) - Add async event handling (callbacks) code. @iphydf (#1952) * Performance improvements - Take advantage of fast networks for file transfers @zugz (#1668) - Reduce minimal encoding size of packed events. @iphydf (#2024) * Bug Fixes - properly deallocate frozen peers @sudden6 (#2058) - Fix return type of functions returning uint64_t. @iphydf (#2052) - file transfer bug introduced in commit 2073d02 @JFreegman (#2041) - remove bogus asserts in fuzzer harness @sudden6 (#2031) - syntax error introduced in 8bf3799 @sudden6 (#2028) - add continous fuzzing @sudden6 (#2027) - Coverty scan @nurupo (#2018) - shared toxcore autotools build failing @nurupo (#2015) - Conan build link failures @robinlinden (#2011) * Documentation - Add libmsgpack dependency in INSTALL.md @cryptogospod (#2016) * Maintenance (Grunt tasks) - Simplify and speed up nacl build using toxchat/nacl. @iphydf (#2069) - Add BUILD file for websockify. @iphydf (#2036) - fine tune fuzzing settings @sudden6 (#2035) - update the list of CMake options & Windows Docker build deps @nurupo (#2032) - expand fuzzing to toxsave @sudden6 (#2030) - Fix implicit declaration warning in fuzz build @robinlinden (#2026) - add continous fuzzing to our CI @sudden6 (#2025) - Set up an Android CI job @robinlinden (#1992) - Disable non-null attributes by default. @iphydf (#2021) - Silence clang compile warnings causing circle-ci/asan to fail @JFreegman (#2019) - Coverty scan @nurupo (#2018) - get skeletons out of the closet @nurupo (#2008) - shared toxcore autotools build failing @nurupo (#2015) - Remove duplicate source file in autotools build. @iphydf (#2010) - Add an undefined behaviour/integer sanitizer build. @iphydf (#2001) - Speed up cmake builds with UNITY_BUILD. @iphydf (#1999) - Add an easy way to run autotools and circleci builds locally. @iphydf (#1982) - Update readme header @robinlinden (#1979) * Maintenance (Code cleanup) - Enable tokstyle's -Wlarge-struct-params. @iphydf (#2053) - Avoid implicit bool conversions in logical operators. @iphydf (#2055) - Avoid implicit boolean and floating point conversions in decls. @iphydf (#2056) - Apply stronger type checks and fix errors. @iphydf (#2049) - Avoid implicit pointer-to-bool conversion in if in toxav. @iphydf (#2046) - Add some more error path logging to TCP server code. @iphydf (#2033) - Add wrapper library for msgpack pack functions @JFreegman (#2023) - Don't use VLAs for huge allocations. @iphydf (#2013) - Split tox_unpack into two smaller libs @JFreegman (#2022) - get skeletons out of the closet @nurupo (#2008) - Add more nonnull and nullable annotations. @iphydf (#2006) - Add nonnull annotations to function definitions. @iphydf (#2002) - Make LAN discovery thread-safe without data races. @iphydf (#1988) - Comply with new cimple callback rules. @iphydf (#1987) - Split msi callback array into 1 member per callback @robinlinden (#1985) * Maintenance (Refactoring) - Compare pointers in if conditions to nullptr. @iphydf (#2043) - Add a bit more logging; change WARNING to ERROR. @iphydf (#2039) * Maintenance (Tests) - Add a profiling script and Dockerfile. @iphydf (#2066) OBS-URL: https://build.opensuse.org/request/show/985135 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=37
2022-06-26 15:07:32 +02:00
popd
# change location of bootstrap bin
sed -ri 's:%{_prefix}/local/bin/tox-bootstrapd:%{_bindir}/tox-bootstrapd:g' other/bootstrap_daemon/tox-bootstrapd.service
# change user and of bootstrapd
sed -ri 's:User=tox-bootstrapd:User=tox:g' other/bootstrap_daemon/tox-bootstrapd.service
sed -ri 's:Group=tox-bootstrapd:Group=toxcmd:g' other/bootstrap_daemon/tox-bootstrapd.service
# change location of bootstrap kyes
sed -ri 's:%{_localstatedir}/lib/tox-bootstrapd/keys:%{_sysconfdir}/tox/bootstrapd/keys:g' other/bootstrap_daemon/tox-bootstrapd.conf
%build
# system user config
%sysusers_generate_pre %{SOURCE1} %{name} %{name}-user.conf
# SHARED_LIBS=ON produces a stray libmisc_tools.so which is not part of `make install`.
# SHARED_LIBS=OFF still produces libtoxcore.so.2, so... *shrug*
#
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DBUILD_TOXAV=ON \
-DMUST_BUILD_TOXAV=ON \
-DBOOTSTRAP_DAEMON=ON \
-DDHT_BOOTSTRAP=ON \
-DENABLE_STATIC=OFF \
-DBUILD_SHARED_LIBS:BOOL=OFF \
..
%cmake_build
%install
%cmake_install
# system user config
install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}-user.conf
# Install dir /var/run/graylog2-server
install -d -m 0755 %{buildroot}%{_prefix}/lib/tmpfiles.d/
install -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/tmpfiles.d/tox-bootstrapd.conf
# Install dir /var/lib/tox-bootstrapd
install -d -m 0755 %{buildroot}%{_localstatedir}/lib/tox-bootstrapd/
# Install dir /etc/tox/bootstrapd/keys
install -d -m 0700 %{buildroot}%{_sysconfdir}/tox/bootstrapd/keys
# Install dir /etc and bootstrap-config
mkdir -p %{buildroot}/%{_sysconfdir}
install -D -m 0640 other/bootstrap_daemon/tox-bootstrapd.conf %{buildroot}%{_sysconfdir}/tox/bootstrapd/tox-bootstrapd.conf
# Install init-scripts
mkdir -p %{buildroot}/%{_sbindir}
install -D -m 0644 other/bootstrap_daemon/tox-bootstrapd.service %{buildroot}%{_unitdir}/tox-bootstrapd.service
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rctox-bootstrapd
%pre daemon -f %{name}.pre
%service_add_pre tox-bootstrapd.service
%post daemon
%service_add_post tox-bootstrapd.service
systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/tox-bootstrapd.conf
%post -n libtoxcore%{_soversion} -p /sbin/ldconfig
%preun daemon
%service_del_preun tox-bootstrapd.service
%postun daemon
%service_del_postun tox-bootstrapd.service
%postun -n libtoxcore%{_soversion} -p /sbin/ldconfig
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%dir %{_includedir}/tox
%{_includedir}/tox/*
%files
%license LICENSE
%doc README.md DONATORS CHANGELOG.md
%files daemon
%dir %{_sysconfdir}/tox
%dir %{_sysconfdir}/tox/bootstrapd
%{_sysusersdir}/%{name}-user.conf
%config(noreplace) %{_sysconfdir}/tox/bootstrapd/tox-bootstrapd.conf
Accepting request 985135 from home:ecsos:messenger:tox - Update to 0.2.18 * Features - Merge group announce portion of new groupchats implementation @JFreegman (#2230) - Allow overriding mono_time in tox_new. @iphydf (#2206) - Store announcements @zugz (#2147) - Add support for custom random number generator. @iphydf (#2190) - Merge moderation portion of new groupchats codebase @JFreegman (#2169) - Add support for overriding network functions. @iphydf (#2177) - Merge onion_announce changes from new groupchats fork @JFreegman (#2164) * Performance improvements - Make time move a lot faster in fuzzing runs. @iphydf (#2193) * Bug Fixes - remove the assert because buffer can be larger than UINT16_MAX. @zoff99 (#2299) - Don't allow onion paths to be built from real friends. @iphydf (#2287) - Fix potential array out-of-bounds in DHT onion path building. @iphydf (#2282) - Allow onion paths to be built from more random nodes. @iphydf (#2283) - Really fix overrun added in e49a477 @zugz (#2273) - Add missing return on error @JFreegman (#2272) - Fixed leak and overrun added in e49a477 @zugz (#2266) - Format IP as string again in error log. @iphydf (#2257) - Fix a stack overflow triggered by small DHT packets. @iphydf (#2255) - Don't crash if RNG init failed. @iphydf (#2246) - fix typo in git command in INSTALL.md @zugz (#2225) - Correct calculation of packet sent time @zugz (#2195) - Eliminate memory leak in toxav. @iphydf (#2155) - Allow port range in DHT_bootstrap.c. @iphydf (#2143) * Documentation - Add information regarding git submodules, cmp to INSTALL.md @Tha14 (#2201) - Put all the tox public api into a fake "tox" namespace. @iphydf (#2153) * Maintenance (Grunt tasks) - Release 0.2.18 @robinlinden (#2300) - Downgrade C++ version to 17 @JFreegman (#2275) - Upgrade to C++20 in CMake build. @iphydf (#2263) - Add initial ESP32 docker build. @iphydf (#2243) - Add MISRA-2012 check using cppcheck's misra addon. @iphydf (#2251) - Support producing shared libraries on Windows @robinlinden (#2204) - Add dependabot config. @iphydf (#2236) - Fix path to fuzzer binaries in clusterfuzz build. @iphydf (#2228) - Add uint8_t version of bin_pack for numbers. @iphydf (#2223) - Clone submodules in clusterfuzzlite Dockerfile. @iphydf (#2210) - Remove valgrind build. @iphydf (#2208) - Add third_party to toxcore-sources docker image. @iphydf (#2189) - Use "master" as the branch in toktok-fuzzer. @iphydf (#2173) - Enable memory sanitizer build. @iphydf (#2163) - Update the Appveyor build to VS2019 to work around conan issues @robinlinden (#2159) - Be even more explicit about integer range bounds. @iphydf (#2145) - Add testing/Dockerfile to the CI build. @iphydf (#2146) * Maintenance (Code cleanup) - remove unused field last_seen from Onion_Friend @zugz (#2297) - Avoid goto in msi.c. @iphydf (#2281) - Replace a series of if statements with a switch. @iphydf (#2233) - remove populate_path_nodes_tcp @zugz (#2250) - Use static_assert instead of assert where possible. @iphydf (#2242) - Make *_free and kill_* functions nullable. @iphydf (#2238) - Remove layers in the cmake build. @iphydf (#2229) - Add Network object parameter for addr_resolve. @iphydf (#2217) - Remove unused random_testing program. @iphydf (#2213) - Remove all uses of TOX_*_MAX_SIZE macros. @iphydf (#2214) - Add include for assert.h for the fuzzing build. @iphydf (#2224) - Move definitions of tox_private.h functions to tox_private.c. @iphydf (#2211) - Expand CONST_FUNCTION and remove the macro. @iphydf (#2212) - Mark Mono_Time const where possible. @iphydf (#2199) - Avoid name clash between struct field and function. @iphydf (#2202) - Add more null checks in tox_new. @iphydf (#2200) - Make addr_resolve a private function. @iphydf (#2188) - Use _Static_assert in gcc/clang. @iphydf (#2186) - improve CMakeLists.txt structure @sudden6 (#2101) - Expose struct Tox to internal code. @iphydf (#2158) - Reduce scope of array-typed variables where possible. @iphydf (#2167) - Reduce scope of variables as requested by cimple. @iphydf (#2166) - Avoid memset on structs. @iphydf (#2149) - Split the huge TCP client packet handler. @iphydf (#2157) - Sync doc comments between .h and .c files. @iphydf (#2156) - Move all the group.h structs into group.c. @iphydf (#2150) - Minor cleanups in TCP_connection.c. @iphydf (#2144) - Count re-adding an existing bootstrap node as success. @iphydf (#2142) - Disable LAN discovery in TCP-only mode. @iphydf (#2141) - Add assertion for decrypted data length. @iphydf (#2140) * Maintenance (Dependencies) - Use upstream cmp directly instead of our fork. @iphydf (#2240) * Maintenance (Refactoring) - Move crypto utilities from util to crypto_core. @iphydf (#2284) - Avoid static_cast in Fuzz_System functions. @iphydf (#2277) - Protect array unpacking against invalid lengths. @iphydf (#2261) - Rename announce functions into their own namespace. @iphydf (#2258) - Use a struct for the ip_ntoa buffer. @iphydf (#2248) - Allow NULL logger; make it no-op in NDEBUG. @iphydf (#2244) - Rename bin_pack/unpack functions the same as cmp funcs. @iphydf (#2219) - Use cmp instead of msgpack-c for events packing. @iphydf (#2175) * Maintenance (Tests) - Improve test hermeticity by using local TCP relay. @iphydf (#2280) - Add a Null_System used in toxsave_harness. @iphydf (#2289) - enable additional sanitizers for fuzzing @sudden6 (#2288) - Enable fuzzing for TCP. @iphydf (#2279) - Don't abort fuzz test when tox_new fails. @iphydf (#2285) - Improve error messages in toxav_basic_test. @iphydf (#2270) - Add more functionality to the bootstrap fuzz harness. @iphydf (#2234) - Improve stability of forwarding_test. @iphydf (#2249) - Add fuzzer support functions for internal toxcore objects. @iphydf (#2232) - Add DHT and tox_events fuzz tests to the cmake build. @iphydf (#2187) - Remove save_load_test from autotools build. @iphydf (#2196) - Enable more tests for msan. @iphydf (#2183) - Add some support functions to make writing fuzzers easier. @iphydf (#2184) - Improve stability of tox_many_tcp_test. @iphydf (#2182) - try to save the fuzzed save file again @sudden6 (#2176) - Add fuzzer tests to the bazel build. @iphydf (#2170) - Improve the stability of the save_load test @robinlinden (#2160) - Speed up toxav_many_test by using fake mono_time. @iphydf (#2154) - Changes from 0.2.17 * Performance improvements - Refactor onion_client.c do_friends() to reduce network traffic @JFreegman (#2078) - fix issue with friend finding taking too long after disconnects. @JFreegman (#2092) * Bug Fixes - Report failure to DHT bootstrap back to the client. @iphydf (#2104) - Null function pointer dereference. @iphydf (#2094) - out-of-memory condition by corrupted save file @sudden6 (#2084) - toxsave memory leak while loading groups @sudden6 (#2064) * Documentation - Clean up doxygen comments to be more doxygen-like. @iphydf (#2136) * Maintenance (Grunt tasks) - Enable a bunch more warnings in GCC builds. @iphydf (#2122) - remove cpufeatures.c @sudden6 (#2100) - remove DHT_test.c since it's unused @sudden6 (#2098) - Add a .clang-format that mostly agrees with astyle. @iphydf (#2075) - Make coverity scan a nightly job. @iphydf (#2074) - Simplify and speed up windows builds using docker image. @iphydf (#2072) - Fix build-args in win32/win64 docker build. @iphydf (#2073) - Add docker image builds for windows cross compiler. @iphydf (#2070) * Maintenance (Code cleanup) - Add explicit callback setters for MSI callbacks. @iphydf (#2134) - Split util.c out of the network library. @iphydf (#2131) - Remove redundant () around return expression. @iphydf (#2130) - Move test-only functions into tests. @iphydf (#2135) - Remove redundant Messenger and DHT tests. @iphydf (#2133) - Remove EAGAIN from the list of ignored errors. @iphydf (#2127) - Remove port from Broadcast_Info. @iphydf (#2126) - Don't reference local variables in macro bodies. @iphydf (#2125) - Remove some more implicit bool conversions. @iphydf (#2123) - Log at ERROR level when connect() fails. @iphydf (#2115) - Remove all boolean-int conversions. @iphydf (#2120) - Remove more boolean conversions (and a bugfix). @iphydf (#2116) - Comply with strict include ordering. @iphydf (#2117) - Avoid creating invalid enum values. @iphydf (#2114) - Remove superfluous parentheses on the rhs of assignments. @iphydf (#2113) - Change valid status of onion friend to bool. @iphydf (#2105) - Remove more implicit bool conversions. @iphydf (#2103) - Mark all local non-pointers as const where possible. @iphydf (#2102) - Reduce name shadowing; remove ptr-to-bool conversions. @iphydf (#2099) - Remove implicit conversions from uint32_t to bool. @iphydf (#2097) - Return boolean constants, not ints from bool functions. @iphydf (#2096) - Remove any disallowed casts. @iphydf (#2093) - Avoid casting function pointers. @iphydf (#2091) - Enable most cppcheck warnings as errors. @iphydf (#2086) - Remove all implicit bool conversions in if-conditions. @iphydf (#2088) - Remove unused execution trace library. @iphydf (#2079) * Maintenance (Refactoring) - Move tox_new_log to auto_test_support. @iphydf (#2090) * Maintenance (Tests) - Add unit test for create/handle request packets. @iphydf (#2128) - Add mallocfail and proxy test to our coverage runs. @iphydf (#2108) - Add test coverage docker build for local tests. @iphydf (#2106) - Changes from 0.2.16 * Features - Improve how we share TCP relays with friends @JFreegman (#2047) - add DHT queries to private API @JFreegman (#1935) - add bash-completion for tox-bootstrapd @nurupo (#2007) - Add unpacker functions for events structures. @iphydf (#1996) - Add binary packing functions for tox events. @iphydf (#1993) - Add async event handling (callbacks) code. @iphydf (#1952) * Performance improvements - Take advantage of fast networks for file transfers @zugz (#1668) - Reduce minimal encoding size of packed events. @iphydf (#2024) * Bug Fixes - properly deallocate frozen peers @sudden6 (#2058) - Fix return type of functions returning uint64_t. @iphydf (#2052) - file transfer bug introduced in commit 2073d02 @JFreegman (#2041) - remove bogus asserts in fuzzer harness @sudden6 (#2031) - syntax error introduced in 8bf3799 @sudden6 (#2028) - add continous fuzzing @sudden6 (#2027) - Coverty scan @nurupo (#2018) - shared toxcore autotools build failing @nurupo (#2015) - Conan build link failures @robinlinden (#2011) * Documentation - Add libmsgpack dependency in INSTALL.md @cryptogospod (#2016) * Maintenance (Grunt tasks) - Simplify and speed up nacl build using toxchat/nacl. @iphydf (#2069) - Add BUILD file for websockify. @iphydf (#2036) - fine tune fuzzing settings @sudden6 (#2035) - update the list of CMake options & Windows Docker build deps @nurupo (#2032) - expand fuzzing to toxsave @sudden6 (#2030) - Fix implicit declaration warning in fuzz build @robinlinden (#2026) - add continous fuzzing to our CI @sudden6 (#2025) - Set up an Android CI job @robinlinden (#1992) - Disable non-null attributes by default. @iphydf (#2021) - Silence clang compile warnings causing circle-ci/asan to fail @JFreegman (#2019) - Coverty scan @nurupo (#2018) - get skeletons out of the closet @nurupo (#2008) - shared toxcore autotools build failing @nurupo (#2015) - Remove duplicate source file in autotools build. @iphydf (#2010) - Add an undefined behaviour/integer sanitizer build. @iphydf (#2001) - Speed up cmake builds with UNITY_BUILD. @iphydf (#1999) - Add an easy way to run autotools and circleci builds locally. @iphydf (#1982) - Update readme header @robinlinden (#1979) * Maintenance (Code cleanup) - Enable tokstyle's -Wlarge-struct-params. @iphydf (#2053) - Avoid implicit bool conversions in logical operators. @iphydf (#2055) - Avoid implicit boolean and floating point conversions in decls. @iphydf (#2056) - Apply stronger type checks and fix errors. @iphydf (#2049) - Avoid implicit pointer-to-bool conversion in if in toxav. @iphydf (#2046) - Add some more error path logging to TCP server code. @iphydf (#2033) - Add wrapper library for msgpack pack functions @JFreegman (#2023) - Don't use VLAs for huge allocations. @iphydf (#2013) - Split tox_unpack into two smaller libs @JFreegman (#2022) - get skeletons out of the closet @nurupo (#2008) - Add more nonnull and nullable annotations. @iphydf (#2006) - Add nonnull annotations to function definitions. @iphydf (#2002) - Make LAN discovery thread-safe without data races. @iphydf (#1988) - Comply with new cimple callback rules. @iphydf (#1987) - Split msi callback array into 1 member per callback @robinlinden (#1985) * Maintenance (Refactoring) - Compare pointers in if conditions to nullptr. @iphydf (#2043) - Add a bit more logging; change WARNING to ERROR. @iphydf (#2039) * Maintenance (Tests) - Add a profiling script and Dockerfile. @iphydf (#2066) OBS-URL: https://build.opensuse.org/request/show/985135 OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=37
2022-06-26 15:07:32 +02:00
%{_datadir}/bash-completion/completions/tox-bootstrapd
%{_bindir}/DHT_bootstrap
%{_bindir}/tox-bootstrapd
%{_unitdir}/tox-bootstrapd.service
%{_tmpfilesdir}/tox-bootstrapd.conf
%{_sbindir}/rctox-bootstrapd
%dir %{_localstatedir}/lib/tox-bootstrapd
%dir %attr(0770,tox,toxcmd) %{_sysconfdir}/tox/bootstrapd/keys
%files -n libtoxcore%{_soversion}
%{_libdir}/libtoxcore.so.%{_soversion}*
%changelog