26 Commits

Author SHA256 Message Date
367fe355dd Accepting request 1178806 from home:hgraeber:branches:network
- Fix build for Leap 15.6

OBS-URL: https://build.opensuse.org/request/show/1178806
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=38
2024-06-06 08:20:27 +00:00
4ecd571bff - Fix build for SLE_15
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=36
2024-04-03 10:52:51 +00:00
9e6fb26a25 - Update to version 0.8
* Configuration files for firewalld added
  * Show device type and allow filtering in API's list command
  * Add option --metadata-timeout to set the timeout for the HTTP-based
    metadata exchange
  * The employed UUID is now read from /etc/{machine-id,hostid} before
    falling by back to the UUID derivation from the host name.
  * Handle addresses with zone id by ignoring the interface part
  * Do not crash with asyncio future error when non-existing interface is
    provided
- Remove some bashism from wsdd-init.sh
- Use the unmodified service files from wsdd for Leap 15.5 and below, else
  reuse ws-discovery-udp service from firewalld

OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=35
2024-04-01 09:44:47 +00:00
e21668b98e Accepting request 1149817 from home:pgajdos
- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1149817
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=33
2024-02-23 19:52:19 +00:00
6511c861ba Accepting request 1148148 from home:dimstar:rpm4.20:w
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1148148
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=31
2024-02-20 16:50:39 +00:00
30db9add25 Accepting request 1118629 from home:hgraeber:branches:network
- Leap 15.6 has no python 3.10 anymore, use 3.11 instead

OBS-URL: https://build.opensuse.org/request/show/1118629
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=29
2023-10-18 17:24:08 +00:00
3806dee3f8 Accepting request 1077685 from home:dimstar:Factory
- Fix previous change: really limit the forced change to python
  3.10 on suse_version <= 1500 (up to SLE/Leap 15); newer products
  already use python 3.10 (or newer) as default.

OBS-URL: https://build.opensuse.org/request/show/1077685
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=27
2023-04-06 10:06:25 +00:00
40894ea470 Accepting request 1077022 from home:hgraeber:branches:network
- Force the use of python 3.10 for openSUSE Leap
- Update to version 0.7.1
  * GitHub workflow for static analyses added (syntax, format, and type checks are performed).
  * Added EnvironmentFile and according example for systemd-based distros.
  * Make wsdd work (again) on MacOS (#139). Thanks to Eugene Gershnik.
  * Application profile for UFW has been added (#169)
  * Use of implicitly present async I/O loop instead created one for API servers. Fixes regression due
    to changed API in Python 3.10 (see #162)
  * Source code is spiced with type hints now.
  * man page moved to section 8.

OBS-URL: https://build.opensuse.org/request/show/1077022
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=25
2023-04-03 15:34:00 +00:00
55fdfae23a Accepting request 986075 from home:hgraeber:branches:network
Include ws-discovery-udp service from firewalld 1.0 as part of wsdd.xml, to restrict port 3702 to multicast use.

OBS-URL: https://build.opensuse.org/request/show/986075
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=23
2022-07-01 14:46:31 +00:00
3df4d29817 Accepting request 957413 from home:gmbr3:Active
- Add CONFIG parameter to %sysusers_generate_pre

OBS-URL: https://build.opensuse.org/request/show/957413
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=22
2022-02-24 20:29:01 +00:00
f0fef0e386 Accepting request 933928 from home:hgraeber:branches:network
- Update sources

OBS-URL: https://build.opensuse.org/request/show/933928
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=21
2021-11-25 21:46:55 +00:00
c1cb3ba88a Accepting request 933657 from home:hgraeber:branches:network
- Version 0.7.0
  * Using the server interface it is now possible to start and stop the
    host functionality (discoverable device) without terminating and
    restarting the daemon.
  * Support multiple IP addresses in 'hello' messages from other hosts (#89)
  * Support interfaces with IPv6-only configuration (#94)
  * Re-enable 'probe' command of API (#116)
  * Removed code marked as deprecated starting with Python 3.10.
  * The example systemd unit file now uses DynamicUser instead of the unsafe
    nobody:nobody combination. It also employs the rundir as chroot directory.
  * Code changed to use asyncio instead of selector-based
  * The server interface does not close connections after each command anymore.
  * For the 'list' command of the server interface, the list of discovered
    devices is terminated with a line containing only a single dot ('.')
  * Log device discovery only once per address and interface
- Some systemd hardening

OBS-URL: https://build.opensuse.org/request/show/933657
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=20
2021-11-25 11:15:33 +00:00
ccce31a471 Accepting request 892174 from home:dirkmueller:Factory
- stop owning directories provided by filesystem rpm (bsc#1184786)

OBS-URL: https://build.opensuse.org/request/show/892174
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=18
2021-05-11 08:08:50 +00:00
745c5bbe04 Accepting request 883672 from home:hgraeber:branches:network
- Remove unneccessary (and deprecated) PermissionsStartOnly=true
  (boo#1184446).

OBS-URL: https://build.opensuse.org/request/show/883672
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=16
2021-04-07 18:52:42 +00:00
Dominique Leuenberger
9e3a3129b2 Accepting request 876785 from home:dimstar:Factory
- Add %sysusers_requires: we are creating users in pre, thus need
  to ensure to have the tooling ready prior to package installation
  (boo#1183047).

type fixed

OBS-URL: https://build.opensuse.org/request/show/876785
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=14
2021-03-04 16:19:37 +00:00
7379460409 Accepting request 875976 from home:hgraeber:branches:network
- Use sysuser-tools for creation of the wsdd user and group
- Do not hijack the /run/sysconfig folder anymore
- Add missing '/'

OBS-URL: https://build.opensuse.org/request/show/875976
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=12
2021-03-01 12:44:16 +00:00
f2c7c22ed7 Accepting request 875798 from home:hgraeber:branches:network
Fix a missed place for use of %{_tmpfilesdir}

OBS-URL: https://build.opensuse.org/request/show/875798
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=11
2021-02-28 17:00:05 +00:00
ea428be4a8 Accepting request 875766 from home:hgraeber:branches:network
- Cleanup spec file
  * Use %{_tmpfilesdir} instead of explicit path
  * Fix requirements for %fillup_only

OBS-URL: https://build.opensuse.org/request/show/875766
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=10
2021-02-28 11:22:02 +00:00
f59af41c47 Accepting request 870070 from home:hgraeber:branches:network
- Version 0.6.4
  * send proper HTTP status codes in case of server side errors
  * send unicast and multicast UDP traffic in a standard-compliant fashion
  * add -V/--version option
  * copyright year update

OBS-URL: https://build.opensuse.org/request/show/870070
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=9
2021-02-07 10:57:57 +00:00
d4491dbc10 Accepting request 863286 from home:hgraeber:branches:network
- Version 0.6.3
  * Skip Netlink messages smaller than 4 bytes correctly (#77, and maybe #59).
  * Messages are sent via the correct socket to comply with the intended/specified
    message flow. This also eases the firewall configuration (#72).
  * Include instructions for adding repository keys under Debian/Ubuntu in README.

OBS-URL: https://build.opensuse.org/request/show/863286
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=8
2021-01-15 09:56:35 +00:00
5842229777 Accepting request 843255 from home:hgraeber:branches:network
- Run spec-cleaner

- Version 0.6.2
  * Lowered priority of non-essential, protocol-related and internal log
    messages (#53).
  * Do not use PID in Netlink sockets in order to avoid issues with duplicated
    PIDs, e.g., when Docker is used.
  * Prevent exceptions due to invalid incoming messages.
  * HTTP server address family wrong when interface address is added (#62)
  * Fixed error when interface address is removed (#62)

OBS-URL: https://build.opensuse.org/request/show/843255
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=7
2020-10-21 16:11:02 +00:00
47c93cab1b Accepting request 830478 from home:hgraeber:branches:network
- Fix use of /usr/lib and /usr/libexec

OBS-URL: https://build.opensuse.org/request/show/830478
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=6
2020-08-29 18:06:42 +00:00
abffde5c42 Accepting request 819066 from home:hgraeber:branches:network
- Version 0.6.1
  * ignore unknown interface indexes from Netlink message on Linux (caused
    "error in main loop")
  * prevent hosts from not being discovered due to misplaced socket registration
    at selector

OBS-URL: https://build.opensuse.org/request/show/819066
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=5
2020-07-06 20:58:36 +00:00
3a2ac0406a Accepting request 817523 from home:hgraeber:branches:network
- Version 0.6
  * new operation 'discovery' operation mode to scan for other hosts,
    exposed via minimalistic socket-based API
  * improved handling of address changes (prevents termination when
    system is currently starting up but no IP address has been assigned)
  * usage of tentative IPv6 addresses is avoided on Linux
  * chroot now works also an machines with international domain/host name
  * fixed handling of invalid messages
  * improved FreeBSD rc.d script
  * code heavily refactored

OBS-URL: https://build.opensuse.org/request/show/817523
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=4
2020-06-28 13:19:00 +00:00
48b59ef08f Accepting request 801369 from home:hgraeber:branches:network
- Fix handling of WSDD_WORKGROUP
- Let WSDD_DOMAIN override WSDD_WORKGROUP

OBS-URL: https://build.opensuse.org/request/show/801369
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=2
2020-05-07 19:16:51 +00:00
b3b9a88e93 Accepting request 798045 from home:hgraeber
Implementation of a ws-discovery protocol daemon. Helps to make samba servers more discoverable by windows clients and dolphin 20.04

OBS-URL: https://build.opensuse.org/request/show/798045
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=1
2020-04-28 07:53:42 +00:00